---
title: 'What can a token contract''s owner do? · Reverse Engineer Projects showcase'
url: https://reverseengineerprojects.com/showcase/token-owner/
---

[Home](https://reverseengineerprojects.com/) / [Showcases](https://reverseengineerprojects.com/showcase/) / Token contract

  Token contract · EVM bytecode

# What can this token's owner do?

  A token page shows a logo and a chart. The contract decides who can mint, freeze or wipe balances. Its deployed bytecode lists every function it has, whether the project mentions them or not.

- 01
### Pull the bytecode
The code that is really deployed, from any public node.

- 02
### List the functions
Every entry point is a 4-byte selector in the code.

- 03
### Find the owner powers
Name the selectors, then read who may call each one.

## Ask your agent

    Your coding agentCopy

      ›Use REP on this token contract's bytecode. List every function it exposes, mark the ones only the owner can call, and tell me what each of those lets the owner do to holders.

    REP reads EVM bytecode directly: the function table, the selectors and their argument types, without needing the source. Your agent names them and, when the source is published, checks each one against it.

## A real example: the largest stablecoin on Ethereum

    We read the deployed code of USDT (Tether) at 0xdAC17F958D2ee523a2206206994597C13D831ec7 from a public Ethereum node at block 26,542,153: 11,075 bytes. Its function table holds 35 selectors, and all 35 match a known signature. Ten of them are marked onlyOwner in the contract's verified source:

      SelectorFunctionWho can call it

0x0ecb93c0addBlackList(address)owner only
0xe4997dc5removeBlackList(address)owner only
0xf3bdc228destroyBlackFunds(address)owner only
0xcc872b66issue(uint256)owner only
0xdb006a75redeem(uint256)owner only
0x0753c30cdeprecate(address)owner only
0xc0324c77setParams(uint256,uint256)owner only
0x8456cb59pause()owner only
0x3f4ba83aunpause()owner only
0xf2fde38btransferOwnership(address)owner only
0xa9059cbbtransfer(address,uint256)anyone / read
0x23b872ddtransferFrom(address,address,uint256)anyone / read
0x095ea7b3approve(address,uint256)anyone / read
0x70a08231balanceOf(address)anyone / read
0x18160dddtotalSupply()anyone / read
0xdd62ed3eallowance(address,address)anyone / read
0x06fdde03name()anyone / read
0x95d89b41symbol()anyone / read
0x313ce567decimals()anyone / read
0x8da5cb5bowner()anyone / read
0x893d20e8getOwner()anyone / read
0x5c975abbpaused()anyone / read
0xe47d6060isBlackListed(address)anyone / read
0x59bf1abegetBlackListStatus(address)anyone / read
0x26976e3fupgradedAddress()anyone / read
0x0e136b19deprecated()anyone / read
0xdd644f72basisPointsRate()anyone / read
0x35390714maximumFee()anyone / read
0x3eaaf86b_totalSupply()anyone / read
0x27e235e3balances(address)anyone / read
0xe5b5019aMAX_UINT()anyone / read
0x5c658165allowed(address,address)anyone / read
0x6e18980atransferByLegacy(address,address,uint256)anyone / read
0x8b477adbtransferFromByLegacy(address,address,address,uint256)anyone / read
0xaee92d33approveByLegacy(address,address,uint256)anyone / read

## What those powers mean for a holder

- addBlackList + destroyBlackFunds: the owner can put an address on a list, then set that address's balance to zero and reduce the total supply by the same amount.

- issue / redeem: the owner can create new tokens in its own balance, or remove them.

- pause: the owner can stop every transfer.

- deprecate: the owner can point the contract at a new one, which then handles every call.

- setParams: the owner can switch on a transfer fee, but the code caps it: require(newBasisPoints < 20) and require(newMaxFee < 50).

    None of this is hidden for this token: its issuer documents it. The point is the method. The same read on a new token with no website copy tells you at once whether there is a mint, a blacklist, a pause, a fee switch or a swap-to-new-contract door, and the code tells you who holds the key.

    TetherToken.sol · verified source (excerpt)

```
function destroyBlackFunds (address _blackListedUser) public onlyOwner {
    require(isBlackListed[_blackListedUser]);
    uint dirtyFunds = balanceOf(_blackListedUser);
    balances[_blackListedUser] = 0;
    _totalSupply -= dirtyFunds;
    DestroyedBlackFunds(_blackListedUser, dirtyFunds);
}
```

## Read your own contract

      Paste a contract's deployed bytecode (hex, from eth_getCode or a block explorer)

      Read the functionsUse the example above

      Function signature —

    Runs in your browser. A selector only proves a function exists; who may call it is in the function's own code, which is where your agent reads next.

  On this page[Ask](#ask)[A real example](#example)[What the powers mean](#powers)[Read your own contract](#try)
