Contract 0xEC26Bf7c978Fc8Fb06b395C4A3e7e91EA5948E8D

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
Ad
Ad
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb700a850ac0960dca688058194207f3a81bbbec7e3994a917e07b4ee2cf384bfMint218430682021-11-27 2:00:103 days 7 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108003
0xb87ea9f44f334ccfaaef891159ba535f126af4475363d4d0f9e39e15325c284dMint211415322021-11-08 20:01:3821 days 13 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0xcf693c3eefa4947d2f1ba48accc9f59eaf908d9971f7d1b7d4e7d7e8a67b8c65Mint211024052021-11-07 20:00:2122 days 13 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0xbca9aad943b0e5e16cdf98cb4b4b6db54e2b6aede916498af082032254cc3480Mint211024032021-11-07 20:00:1722 days 13 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x48580e5c0abfc375ac8787e2010c69d994b1c624f5295159d55c4942f24a3311Mint211024032021-11-07 20:00:1722 days 13 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x0e7d97f9cb75815e21f7b9ee540b089ea789dce408b94bb1304fbf19e7cb8f64Mint211024012021-11-07 20:00:1322 days 13 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x13082fc9eeb3760de8e380aafa5a0ac9888bbb2bc14d0cdebc98746128b8b058Mint210415682021-11-06 7:00:1124 days 2 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x97ddc72e1e7ada78c2bbbcd1c3a627b67f17f6c6cea22399a2649bc67903d016Mint209922802021-11-05 1:00:1225 days 8 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00159339
0xc2dbdcb4e7746a3d88aeb3483d655e1505258d334d657793005e41132a5bcab7Mint208309212021-10-31 19:35:5129 days 13 hrs ago0x9cf2b1ee40a140c40ae562540f87003a19143fa4 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.000069385359
0xfc340e4178c157a863caef7b24787605ee36bc2ee9c4e3209830d2b704296ce7Mint208301792021-10-31 19:01:4629 days 14 hrs ago0x9cf2b1ee40a140c40ae562540f87003a19143fa4 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.000076323895
0xb73f1bcc97fd84d4e294294def3c001799a29b93a26c92d1e6986cac31d5dac4Mint208301502021-10-31 19:00:3129 days 14 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x1890e7bb74db9a3a2b813fb9a9e02c5006efe0d082c51ea13f103c0cdd9dfbf8Mint208301492021-10-31 19:00:2929 days 14 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x1524b888493a0b5d3cec72ddc7378b4cc57e582b73d8ae992f7da64826aac9d3Mint208301482021-10-31 19:00:2729 days 14 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x4c2634673c2b85ca60edec3c8409740fcdb189f1ee41cf83e86ae512546e3c4dMint208301472021-10-31 19:00:2529 days 14 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x3d37f862cec9e4ee6df84e9fc46bea41451acb4dc83ebb8cf57ab0b6cecdd0b8Mint208301422021-10-31 19:00:1129 days 14 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0xd13892ab811c144c84ee2a06206d27b80ac28a1e6614e240024cdc0a2e1210f7Mint207224292021-10-29 1:00:4232 days 8 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x09b6196cd36ff32b798ac63af6288130413545c5dbea21c9510c9c11fa3683ebMint207224292021-10-29 1:00:4232 days 8 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x0ada2d17a9082dcca4c5bcc089ea777bd42cfb4e51088e3c861b910446a954c5Mint204612972021-10-21 19:00:0939 days 14 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x5883fb5c17dbcfdb512a83d2cd4416358db9730fda80ec9e28c108dffb02bcb3Mint203210812021-10-17 19:00:1243 days 14 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0xa19c6d21263ec0a1ae972dfe81dc426fd6e138a6e873334fcfc795100fd2bed9Mint203210802021-10-17 19:00:1043 days 14 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x8d1185b81772ccd12c5871da556b7a512fc0d569ada5997ec305b03d1436f0baMint201832522021-10-13 19:05:1647 days 14 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108003
0x69570ff4b3e6b53d72cd9da92af09a520e0252fad0b71d75bef506b9c9aa9659Mint200724892021-10-10 19:00:2450 days 14 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x721233d2dab25ac292b2a9b3bf211b9f731f6d8d45b80034d6eab6671903a0daMint200724892021-10-10 19:00:2450 days 14 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x16db338f3e6e741a87db1ea136af81d83c7766e4ebfc34c42e488525af6c2845Mint200724882021-10-10 19:00:2250 days 14 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
0x496b9c801dee6890660d53c8e4995d3d57335018cf8310522fca778b8bc2ac53Mint199842242021-10-08 13:00:0952 days 20 hrs ago0x57956f2ab04db1f743abe332d38beed9c7546ef5 IN  0xec26bf7c978fc8fb06b395c4a3e7e91ea5948e8d0 MATIC0.00108039
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.8

Optimization Enabled:
N/A

Other Settings:
, GNU LGPLv3 license

Contract Source Code (Vyper language format)

#
#
# "Have I gone mad?" 
# - Alice
#
#
# "I'm afraid so, but let me tell you something, the best people usually are."
# - Mad Hatter
#
#
# "We're all mad here. I'm mad. You're mad." 
# - Cheshire Cat
#
#
# Madcoin (MAD) Contract
#
#
# madcoin.eth (0x57956F2ab04Db1F743abe332d38bEeD9C7546Ef5)
# https://madcoin.io
# 
#
# For creators who are mad enough to create, you are MAD!! 
#
#
# @dev Implementation of ERC-20 token standard.
# @author Takayuki Jimba (@yudetamago)
# https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md

from vyper.interfaces import ERC20

implements: ERC20

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

event Approval:
    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(HashMap[address, uint256])
# By declaring `allowance` as public, vyper automatically generates the `allowance()` getter
allowance: public(HashMap[address, HashMap[address, uint256]])
# By declaring `totalSupply` as public, we automatically create the `totalSupply()` getter
totalSupply: public(uint256)
minter: address


@external
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.totalSupply = init_supply
    self.minter = msg.sender
    log Transfer(ZERO_ADDRESS, msg.sender, init_supply)



@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
    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
    """
    # NOTE: vyper does not allow underflows
    #       so the following subtraction would revert on insufficient balance
    self.balanceOf[_from] -= _value
    self.balanceOf[_to] += _value
    # NOTE: vyper does not allow underflows
    #      so the following subtraction would revert on insufficient allowance
    self.allowance[_from][msg.sender] -= _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 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.totalSupply += _value
    self.balanceOf[_to] += _value
    log Transfer(ZERO_ADDRESS, _to, _value)


@internal
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.totalSupply -= _value
    self.balanceOf[_to] -= _value
    log Transfer(_to, ZERO_ADDRESS, _value)


@external
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)


@external
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.allowance[_to][msg.sender] -= _value
    self._burn(_to, _value)

Contract Security Audit

Contract ABI

[{"name":"Transfer","inputs":[{"type":"address","name":"sender","indexed":true},{"type":"address","name":"receiver","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"}],"stateMutability":"nonpayable","type":"constructor"},{"name":"transfer","outputs":[{"type":"bool","name":""}],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":74683},{"name":"transferFrom","outputs":[{"type":"bool","name":""}],"inputs":[{"type":"address","name":"_from"},{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":111038},{"name":"approve","outputs":[{"type":"bool","name":""}],"inputs":[{"type":"address","name":"_spender"},{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":37764},{"name":"mint","outputs":[],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":75614},{"name":"burn","outputs":[],"inputs":[{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":75323},{"name":"burnFrom","outputs":[],"inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":111674},{"name":"name","outputs":[{"type":"string","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":7673},{"name":"symbol","outputs":[{"type":"string","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":6726},{"name":"decimals","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":1331},{"name":"balanceOf","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"arg0"}],"stateMutability":"view","type":"function","gas":1576},{"name":"allowance","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"arg0"},{"type":"address","name":"arg1"}],"stateMutability":"view","type":"function","gas":1821},{"name":"totalSupply","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":1421}]

608061085a610140396060602061085a60c03960c05161085a016101c0396040602061085a60c03960c05160040135111561003957600080fd5b60406020602061085a0160c03960c05161085a016102403960206020602061085a0160c03960c05160040135111561007057600080fd5b6101a051604e610180511061008457600080fd5b61018051600a0a808202821582848304141761009f57600080fd5b809050905090506102a0526101c080600060c052602060c020602082510161012060006003818352015b826101205160200211156100dc576100fe565b61012051602002850151610120518501555b81516001018083528114156100c9575b50505050505061024080600160c052602060c020602082510161012060006002818352015b8261012051602002111561013657610158565b61012051602002850151610120518501555b8151600101808352811415610123575b505050505050610180516002556102a05160033360e05260c052604060c020556102a051600555336006556102a0516102c0523360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206102c0a361084256341561000a57600080fd5b600436101561001857610682565b600035601c5263a9059cbb60005114156100d35760043560a01c1561003c57600080fd5b60033360e05260c052604060c02080546024358082101561005c57600080fd5b80820390509050815550600360043560e05260c052604060c020805460243581818301101561008a57600080fd5b8082019050905081555060243561014052600435337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f350005b6323b872dd60005114156101d45760043560a01c156100f157600080fd5b60243560a01c1561010157600080fd5b600360043560e05260c052604060c02080546044358082101561012357600080fd5b80820390509050815550600360243560e05260c052604060c020805460443581818301101561015157600080fd5b80820190509050815550600460043560e05260c052604060c0203360e05260c052604060c02080546044358082101561018957600080fd5b80820390509050815550604435610140526024356004357fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3600160005260206000f350005b63095ea7b360005114156102515760043560a01c156101f257600080fd5b60243560043360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f350005b6340c10f19600051141561030f5760043560a01c1561026f57600080fd5b600654331461027d57600080fd5b60006004351861028c57600080fd5b600580546024358181830110156102a257600080fd5b80820190509050815550600360043560e05260c052604060c02080546024358181830110156102d057600080fd5b808201905090508155506024356101405260043560007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610140a3005b6000156103bb575b6101805261014052610160526000610140511861033357600080fd5b60058054610160518082101561034857600080fd5b8082039050905081555060036101405160e05260c052604060c0208054610160518082101561037657600080fd5b80820390509050815550610160516101a0526000610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101a0a361018051565b6342966c6860005114156103eb57336101405260043561016052610160516101405160065801610317565b600050005b6379cc679060005114156104655760043560a01c1561040957600080fd5b600460043560e05260c052604060c0203360e05260c052604060c02080546024358082101561043757600080fd5b808203905090508155506004356101405260243561016052610160516101405160065801610317565b600050005b6306fdde03600051141561050e5760008060c052602060c020610180602082540161012060006003818352015b826101205160200211156104a5576104c7565b61012051850154610120516020028501525b8151600101808352811415610492575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6395d89b4160005114156105b75760018060c052602060c020610180602082540161012060006002818352015b8261012051602002111561054e57610570565b61012051850154610120516020028501525b815160010180835281141561053b575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b63313ce56760005114156105d35760025460005260206000f350005b6370a08231600051141561060d5760043560a01c156105f157600080fd5b600360043560e05260c052604060c0205460005260206000f350005b63dd62ed3e60005114156106655760043560a01c1561062b57600080fd5b60243560a01c1561063b57600080fd5b600460043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f350005b6318160ddd60005114156106815760055460005260206000f350005b5b60006000fd5b6101ba610842036101ba6000396101ba610842036000f3000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000a41000000000000000000000000000000000000000000000000000000000000000074d6164636f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d41440000000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000a41000000000000000000000000000000000000000000000000000000000000000074d6164636f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d41440000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Madcoin
Arg [1] : _symbol (string): MAD
Arg [2] : _decimals (uint256): 18
Arg [3] : _supply (uint256): 42000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000000000000000000000000000000000000000a410
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 4d6164636f696e00000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4d41440000000000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.