ERC-20
Overview
Max Total Supply
10,000,000,000,000 MAMM
Holders
3
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
9,998,743,427,106.3902875515486204 MAMMValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x8846b7E2...395C2495A 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.4.0
Contract Source Code (Vyper language format)
#pragma version >0.3.10 from ethereum.ercs import IERC20 from ethereum.ercs import IERC20Detailed implements: IERC20 implements: IERC20Detailed name: public(String[32]) symbol: public(String[32]) decimals: public(uint8) # NOTE: By declaring `balanceOf` as public, vyper automatically generates a 'balanceOf()' getter # method to allow access to account balances. 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) @deploy def __init__(_name: String[32], _symbol: String[32], _decimals: uint8, _supply: uint256): init_supply: uint256 = _supply * 10 ** convert(_decimals, uint256) self.name = _name self.symbol = _symbol self.decimals = _decimals self.balanceOf[msg.sender] = init_supply self.totalSupply = init_supply log IERC20.Transfer(empty(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 IERC20.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 IERC20.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. @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 IERC20.Approval(msg.sender, _spender, _value) return True @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 != empty(address) self.totalSupply -= _value self.balanceOf[_to] -= _value log IERC20.Transfer(_to, empty(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)
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"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":"burn","inputs":[{"name":"_value","type":"uint256"}],"outputs":[]},{"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":"nonpayable","type":"constructor","inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_decimals","type":"uint8"},{"name":"_supply","type":"uint256"}],"outputs":[]}]
Contract Creation Code
3461012a5760206105845f395f51602081610584015f395f516020811161012a57506020602082610584015f395f5101808261058401604039505060206105a45f395f51602081610584015f395f516020811161012a57506020602082610584015f395f5101808261058401608039505060206105c45f395f518060081c61012a5760c05260206105e45f395f5160c051604d811161012a5780600a0a905080820281158383830414171561012a579050905060e0526040515f5560605160015560805160025560a05160035560c05160045560e0516005336020525f5260405f205560e051600755335f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60e051610100526020610100a361044261012e61000039610442610000f35b5f80fd5f3560e01c60026009820660011b61043001601e395f51565b63a9059cbb81186103b35760443610341761042c576004358060a01c61042c576040526005336020525f5260405f20805460243580820382811161042c579050905081555060056040516020525f5260405f20805460243580820182811061042c5790509050815550604051337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60243560605260206060a3600160605260206060f35b6323b872dd81186101a35760643610341761042c576004358060a01c61042c576040526024358060a01c61042c5760605260056040516020525f5260405f20805460443580820382811161042c579050905081555060056060516020525f5260405f20805460443580820182811061042c579050905081555060066040516020525f5260405f2080336020525f5260405f209050805460443580820382811161042c57905090508155506060516040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60443560805260206080a3600160805260206080f35b63095ea7b381186103b35760443610341761042c576004358060a01c61042c576040526024356006336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f35b6342966c6881186103b35760243610341761042c57336040526004356060526102476103b7565b005b6306fdde0381186103b3573461042c57602080604052806040015f54815260015460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b6395d89b4181186103b3573461042c5760208060405280604001600254815260035460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b63313ce56781186103b3573461042c5760045460405260206040f35b6370a08231811861033f5760243610341761042c576004358060a01c61042c5760405260056040516020525f5260405f205460605260206060f35b6318160ddd81186103b3573461042c5760075460405260206040f35b63dd62ed3e81186103b35760443610341761042c576004358060a01c61042c576040526024358060a01c61042c5760605260066040516020525f5260405f20806060516020525f5260405f2090505460805260206080f35b5f5ffd5b6040511561042c5760075460605180820382811161042c579050905060075560056040516020525f5260405f20805460605180820382811161042c57905090508155505f6040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60605160805260206080a3565b5f80fd035b030400bc02e8024902200298001803b384190442811200a1657679706572830004000014000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000009184e72a000000000000000000000000000000000000000000000000000000000000000000a426c7565205768616c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004424c554500000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x5f3560e01c60026009820660011b61043001601e395f51565b63a9059cbb81186103b35760443610341761042c576004358060a01c61042c576040526005336020525f5260405f20805460243580820382811161042c579050905081555060056040516020525f5260405f20805460243580820182811061042c5790509050815550604051337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60243560605260206060a3600160605260206060f35b6323b872dd81186101a35760643610341761042c576004358060a01c61042c576040526024358060a01c61042c5760605260056040516020525f5260405f20805460443580820382811161042c579050905081555060056060516020525f5260405f20805460443580820182811061042c579050905081555060066040516020525f5260405f2080336020525f5260405f209050805460443580820382811161042c57905090508155506060516040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60443560805260206080a3600160805260206080f35b63095ea7b381186103b35760443610341761042c576004358060a01c61042c576040526024356006336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f35b6342966c6881186103b35760243610341761042c57336040526004356060526102476103b7565b005b6306fdde0381186103b3573461042c57602080604052806040015f54815260015460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b6395d89b4181186103b3573461042c5760208060405280604001600254815260035460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b63313ce56781186103b3573461042c5760045460405260206040f35b6370a08231811861033f5760243610341761042c576004358060a01c61042c5760405260056040516020525f5260405f205460605260206060f35b6318160ddd81186103b3573461042c5760075460405260206040f35b63dd62ed3e81186103b35760443610341761042c576004358060a01c61042c576040526024358060a01c61042c5760605260066040516020525f5260405f20806060516020525f5260405f2090505460805260206080f35b5f5ffd5b6040511561042c5760075460605180820382811161042c579050905060075560056040516020525f5260405f20805460605180820382811161042c57905090508155505f6040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60605160805260206080a3565b5f80fd035b030400bc02e8024902200298001803b3
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.