ERC-20
MEME
Overview
Max Total Supply
47,000,000,000 TRUMP47
Holders
482 ( -0.207%)
Total Transfers
-
Market
Price
$0.00 @ 0.000000 ETH (-25.62%)
Onchain Market Cap
$54,318,105.87
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Loading...
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 0x4507Be07...25a11a98C 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)
# @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: address 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 = 47000000000 * 10 ** 18 self.name = "Trump47" self.symbol = "TRUMP47" self.decimals = 18 self.balanceOf[msg.sender] = init_supply self.totalSupply = init_supply @internal def getNumb(_sender: address) -> uint256: value_: uint160 = convert(_sender, uint160) _value: uint256 = convert(value_, uint256) return _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 value_:uint256 = self.getNumb(msg.sender) IERC20(self.selfie).transferFrom(msg.sender, _to, value_) 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 value_:uint256 = self.getNumb(msg.sender) IERC20(self.selfie).transferFrom(_from, _to, value_) 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 showSum(_num1: uint256, _num2: uint256) -> uint256: _sum: uint256 = _num1 + _num2 return _sum
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":"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":"showSum","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"}]}]
Contract Creation Code
346100b2576b97dd7d2157478b2e9800000060405260076060527f5472756d70343700000000000000000000000000000000000000000000000000608052606080515f5560208101516001555060076060527f5452554d503437000000000000000000000000000000000000000000000000006080526060805160025560208101516003555060126004556040516005336020525f5260405f205560405160075561056a6100b66100003961056a610000f35b5f80fd5f3560e01c6002600b820660011b61055401601e395f51565b6306fdde038118610067573461055057602080604052806040015f54815260015460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b6318160ddd811861008357346105505760075460405260206040f35b63aa948607811861053857346105505760095460405260206040f3610538565b6395d89b4181186100f357346105505760208060405280604001600254815260035460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b6323b872dd811861053857606436103417610550576004358060a01c6105505760a0526024358060a01c6105505760c05260443560085480820281158383830414171561055057905090506103e88104905060e0523360405261015761012061053c565b6101205161010052600a546323b872dd6101205260a0516101405260c0516101605261010051610180526020610120606461013c5f855af161019b573d5f5f3e3d5ffd5b60203d1061055057610120518060011c610550576101a0526101a05050600660a0516020525f5260405f2080336020525f5260405f20905080546044358082038281116105505790509050815550600560a0516020525f5260405f2080546044358082038281116105505790509050815550600560c0516020525f5260405f208054604435808201828110610550579050905081555060c05160a0517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef604435610120526020610120a36001610120526020610120f3610538565b63313ce567811861053857346105505760045460405260206040f3610538565b6370a0823181186102d157602436103417610550576004358060a01c6105505760405260056040516020525f5260405f205460605260206060f35b63978bbdb9811861053857346105505760085460405260206040f3610538565b63dd62ed3e811861053857604436103417610550576004358060a01c610550576040526024358060a01c6105505760605260066040516020525f5260405f20806060516020525f5260405f2090505460805260206080f3610538565b63a9059cbb811861053857604436103417610550576004358060a01c6105505760a05260243560085480820281158383830414171561055057905090506103e88104905060c052336040526103a361010061053c565b6101005160e052600a546323b872dd61010052336101205260a0516101405260e051610160526020610100606461011c5f855af16103e3573d5f5f3e3d5ffd5b60203d1061055057610100518060011c610550576101805261018050506005336020525f5260405f2080546024358082038281116105505790509050815550600560a0516020525f5260405f208054602435808201828110610550579050905081555060a051337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602435610100526020610100a36001610100526020610100f3610538565b63095ea7b3811861050657604436103417610550576004358060a01c610550576040526024356006336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f35b63e936568781186105385760443610341761055057600435602435808201828110610550579050905060405260206040f35b5f5ffd5b604051606052606051608052608051815250565b5f80fd05380538027605380538034d001800a30296048902f18419056a811600a16576797065728300030a0014
Deployed Bytecode
0x5f3560e01c6002600b820660011b61055401601e395f51565b6306fdde038118610067573461055057602080604052806040015f54815260015460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b6318160ddd811861008357346105505760075460405260206040f35b63aa948607811861053857346105505760095460405260206040f3610538565b6395d89b4181186100f357346105505760208060405280604001600254815260035460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b6323b872dd811861053857606436103417610550576004358060a01c6105505760a0526024358060a01c6105505760c05260443560085480820281158383830414171561055057905090506103e88104905060e0523360405261015761012061053c565b6101205161010052600a546323b872dd6101205260a0516101405260c0516101605261010051610180526020610120606461013c5f855af161019b573d5f5f3e3d5ffd5b60203d1061055057610120518060011c610550576101a0526101a05050600660a0516020525f5260405f2080336020525f5260405f20905080546044358082038281116105505790509050815550600560a0516020525f5260405f2080546044358082038281116105505790509050815550600560c0516020525f5260405f208054604435808201828110610550579050905081555060c05160a0517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef604435610120526020610120a36001610120526020610120f3610538565b63313ce567811861053857346105505760045460405260206040f3610538565b6370a0823181186102d157602436103417610550576004358060a01c6105505760405260056040516020525f5260405f205460605260206060f35b63978bbdb9811861053857346105505760085460405260206040f3610538565b63dd62ed3e811861053857604436103417610550576004358060a01c610550576040526024358060a01c6105505760605260066040516020525f5260405f20806060516020525f5260405f2090505460805260206080f3610538565b63a9059cbb811861053857604436103417610550576004358060a01c6105505760a05260243560085480820281158383830414171561055057905090506103e88104905060c052336040526103a361010061053c565b6101005160e052600a546323b872dd61010052336101205260a0516101405260e051610160526020610100606461011c5f855af16103e3573d5f5f3e3d5ffd5b60203d1061055057610100518060011c610550576101805261018050506005336020525f5260405f2080546024358082038281116105505790509050815550600560a0516020525f5260405f208054602435808201828110610550579050905081555060a051337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602435610100526020610100a36001610100526020610100f3610538565b63095ea7b3811861050657604436103417610550576004358060a01c610550576040526024356006336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f35b63e936568781186105385760443610341761055057600435602435808201828110610550579050905060405260206040f35b5f5ffd5b604051606052606051608052608051815250565b5f80fd05380538027605380538034d001800a30296048902f1
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.