ERC-20
Finance
Overview
Max Total Supply
24,999,802 EVOW
Holders
10,062 (0.00%)
Market
Price
$0.00 @ 0.000000 MATIC
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x53FcFc3D...e8Ec47197 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
Contract Source Code (Vyper language format)
# @dev Implementation of ERC-20 token standard. # Notes: # Cross Chain Interoperability Protocol Event Monitor # Burn Mechanism # @c1im4cu5 - [email protected] from vyper.interfaces import ERC20 from vyper.interfaces import ERC20Detailed implements: ERC20 implements: ERC20Detailed event Transfer: sender: indexed(address) receiver: indexed(address) value: uint256 event Approval: owner: indexed(address) spender: indexed(address) value: uint256 event Burnt: value: uint256 event Bridge: minter: address to: String[10] value: uint256 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) minter: address @external 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 self.minter = msg.sender log 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 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 != empty(address) self.totalSupply += _value self.balanceOf[_to] += _value log Transfer(empty(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 != empty(address) self.totalSupply -= _value self.balanceOf[_to] -= _value log 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) log Burnt(_value) @external def bridgeBurn(_value: uint256, _chain: String[10]): """ @dev Burn an amount of the token of msg.sender. @param _value The amount that will be burned. @param _chain The chain that will be notified to mint """ self._burn(msg.sender, _value) log Bridge(msg.sender, _chain, _value) @external def bridgeMint(_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 != empty(address) self.totalSupply += _value self.balanceOf[_to] += _value log Transfer(empty(address), _to, _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
- 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"},{"name":"Burnt","inputs":[{"name":"value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"Bridge","inputs":[{"name":"minter","type":"address","indexed":false},{"name":"to","type":"string","indexed":false},{"name":"value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_decimals","type":"uint8"},{"name":"_supply","type":"uint256"}],"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":"mint","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"burn","inputs":[{"name":"_value","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"bridgeBurn","inputs":[{"name":"_value","type":"uint256"},{"name":"_chain","type":"string"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"bridgeMint","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"burnFrom","inputs":[{"name":"_to","type":"address"},{"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"}]}]
Contract Creation Code
3461012a5760206108415f395f516020602082610841015f395f511161012a576020602082610841015f395f5101808261084101604039505060206108615f395f516020602082610841015f395f511161012a576020602082610841015f395f5101808261084101608039505060206108815f395f518060081c61012a5760c05260206108a15f395f5160c051604d811161012a5780600a0a905080820281158383830414171561012a579050905060e0526040515f5560605160015560805160025560a05160035560c05160045560e0516005336020525f5260405f205560e05160075533600855335f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60e051610100526020610100a36106fe61012e610000396106fe610000f35b5f80fd5f3560e01c6002600f820660011b6106e001601e395f51565b6306fdde03811861006757346106dc57602080604052806040015f54815260015460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b63a63d3a4f8118610663576064361034176106dc57602435600401600a8135116106dc576020813501808260a0375050336040526004356060526100a9610667565b7f4b36a11bc5468941a871f89c3f962b486e72824a42f5e6e3721adaf660b6837b60603360e05280610100528060e00160a051815260c05160208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506004356101205260e0a100610663565b6395d89b41811861066357346106dc5760208060405280604001600254815260035460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f3610663565b63313ce567811861066357346106dc5760045460405260206040f3610663565b6370a082318118610663576024361034176106dc576004358060a01c6106dc5760405260056040516020525f5260405f205460605260206060f3610663565b63dd62ed3e8118610663576044361034176106dc576004358060a01c6106dc576040526024358060a01c6106dc5760605260066040516020525f5260405f20806060516020525f5260405f2090505460805260206080f3610663565b6318160ddd811861066357346106dc5760075460405260206040f3610663565b63a9059cbb81186102ee576044361034176106dc576004358060a01c6106dc576040526005336020525f5260405f2080546024358082038281116106dc579050905081555060056040516020525f5260405f2080546024358082018281106106dc5790509050815550604051337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60243560605260206060a3600160605260206060f35b638c2a993e8118610663576044361034176106dc576004358060a01c6106dc5760405260085433186106dc57604051156106dc576007546024358082018281106106dc579050905060075560056040516020525f5260405f2080546024358082018281106106dc57905090508155506040515f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60243560605260206060a300610663565b6323b872dd811861047a576064361034176106dc576004358060a01c6106dc576040526024358060a01c6106dc5760605260056040516020525f5260405f2080546044358082038281116106dc579050905081555060056060516020525f5260405f2080546044358082018281106106dc579050905081555060066040516020525f5260405f2080336020525f5260405f20905080546044358082038281116106dc57905090508155506060516040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60443560805260206080a3600160805260206080f35b63095ea7b38118610663576044361034176106dc576004358060a01c6106dc576040526024356006336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f3610663565b6340c10f198118610663576044361034176106dc576004358060a01c6106dc5760405260085433186106dc57604051156106dc576007546024358082018281106106dc579050905060075560056040516020525f5260405f2080546024358082018281106106dc57905090508155506040515f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60243560605260206060a300610663565b6342966c688118610663576024361034176106dc57336040526004356060526105c7610667565b7f4cd1cedac1faabaf2d2d626f6caa6a7df4cf69ec7ecc3bcae2f938bdedc8607160043560a052602060a0a100610663565b6379cc67908118610663576044361034176106dc576004358060a01c6106dc5760a052600660a0516020525f5260405f2080336020525f5260405f20905080546024358082038281116106dc579050905081555060a051604052602435606052610661610667565b005b5f5ffd5b604051156106dc576007546060518082038281116106dc579050905060075560056040516020525f5260405f2080546060518082038281116106dc57905090508155505f6040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60605160805260206080a3565b5f80fd011b018f05f901ce00180663016f024a05a00663022a066304fb06630393841906fe81181e00a16576797065728300030a0015000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000017d7840000000000000000000000000000000000000000000000000000000000000000965566f7720436f696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000445564f5700000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x5f3560e01c6002600f820660011b6106e001601e395f51565b6306fdde03811861006757346106dc57602080604052806040015f54815260015460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b63a63d3a4f8118610663576064361034176106dc57602435600401600a8135116106dc576020813501808260a0375050336040526004356060526100a9610667565b7f4b36a11bc5468941a871f89c3f962b486e72824a42f5e6e3721adaf660b6837b60603360e05280610100528060e00160a051815260c05160208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506004356101205260e0a100610663565b6395d89b41811861066357346106dc5760208060405280604001600254815260035460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f3610663565b63313ce567811861066357346106dc5760045460405260206040f3610663565b6370a082318118610663576024361034176106dc576004358060a01c6106dc5760405260056040516020525f5260405f205460605260206060f3610663565b63dd62ed3e8118610663576044361034176106dc576004358060a01c6106dc576040526024358060a01c6106dc5760605260066040516020525f5260405f20806060516020525f5260405f2090505460805260206080f3610663565b6318160ddd811861066357346106dc5760075460405260206040f3610663565b63a9059cbb81186102ee576044361034176106dc576004358060a01c6106dc576040526005336020525f5260405f2080546024358082038281116106dc579050905081555060056040516020525f5260405f2080546024358082018281106106dc5790509050815550604051337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60243560605260206060a3600160605260206060f35b638c2a993e8118610663576044361034176106dc576004358060a01c6106dc5760405260085433186106dc57604051156106dc576007546024358082018281106106dc579050905060075560056040516020525f5260405f2080546024358082018281106106dc57905090508155506040515f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60243560605260206060a300610663565b6323b872dd811861047a576064361034176106dc576004358060a01c6106dc576040526024358060a01c6106dc5760605260056040516020525f5260405f2080546044358082038281116106dc579050905081555060056060516020525f5260405f2080546044358082018281106106dc579050905081555060066040516020525f5260405f2080336020525f5260405f20905080546044358082038281116106dc57905090508155506060516040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60443560805260206080a3600160805260206080f35b63095ea7b38118610663576044361034176106dc576004358060a01c6106dc576040526024356006336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f3610663565b6340c10f198118610663576044361034176106dc576004358060a01c6106dc5760405260085433186106dc57604051156106dc576007546024358082018281106106dc579050905060075560056040516020525f5260405f2080546024358082018281106106dc57905090508155506040515f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60243560605260206060a300610663565b6342966c688118610663576024361034176106dc57336040526004356060526105c7610667565b7f4cd1cedac1faabaf2d2d626f6caa6a7df4cf69ec7ecc3bcae2f938bdedc8607160043560a052602060a0a100610663565b6379cc67908118610663576044361034176106dc576004358060a01c6106dc5760a052600660a0516020525f5260405f2080336020525f5260405f20905080546024358082038281116106dc579050905081555060a051604052602435606052610661610667565b005b5f5ffd5b604051156106dc576007546060518082038281116106dc579050905060075560056040516020525f5260405f2080546060518082038281116106dc57905090508155505f6040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60605160805260206080a3565b5f80fd011b018f05f901ce00180663016f024a05a00663022a066304fb06630393
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.