Key takeaways
- The ABI a node returns is the deployer's declaration. If the deployer submits one, it goes in the deploy transaction, and it can be empty, stale, or far larger than the code behind it.
- Verified source is an explorer's compile-and-compare result. The protocol's contract record has no verification field, and a match leaves open what the source allows.
- A contract has two kinds of owner. The protocol's
origin_addresscontrols three record settings. The roles that can pause, blacklist, or upgrade are defined in contract code and must be read from it. - The bytecode at a proxy's address is fixed, but the code it delegates to can change. Read the implementation from its storage slot or the proxy's own getter, and treat an explorer's proxy flag as a lead to confirm.
An address in a trace turns out to be a contract. The type check that establishes this is covered in Contract Accounts vs. Externally Owned Accounts. The harder questions come next: what the contract does, who can change what it does, and whether the code at the address is the code that runs.
An explorer page appears to answer all three at once. It shows a name, a verification mark, a list of functions, an owner, and sometimes a proxy flag. These items come from different places. Some are chain state, some are the deployer’s own description, and some are the explorer’s bookkeeping.
This article takes each item back to where it comes from and shows the call that reads it. The examples are live mainnet contracts. Every value read from them is a snapshot taken on 17 November 2026, because owners, admins, and implementations are changeable by design.
What the chain stores about a contract
A node keeps one record per contract, and one call returns it. wallet/getcontract returns the protocol’s SmartContract message, which has 11 fields: origin_address, contract_address, abi, bytecode, call_value, consume_user_resource_percent, name, origin_energy_limit, code_hash, trx_hash, and version.
POST https://api.trongrid.io/wallet/getcontract
{"value":"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t","visible":true}
That address is USDT, the token described in USDT on TRON. On 17 November 2026, TronGrid’s wallet/getcontract returned the contract name TetherToken, the origin THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC, and an ABI of 46 entries: 33 functions, 12 events, and 1 constructor.
Creation code and runtime code
The bytecode field is what ran once, at deployment, to set the contract up. This is the creation code. The part that answers calls afterwards is the runtime code, and a second endpoint returns it. The TRON Developer Hub states that wallet/getcontractinfo returns “not only the bytecode but also the runtime bytecode of the contract”, and that the runtime bytecode lacks the constructor and its parameters. In java-tron v4.8.2.4 the same call also returns a contract state record with the fields energy_usage, energy_factor, and update_cycle.
The two differ in size. On 17 November 2026, USDT’s stored bytecode was 15,575 bytes and its runtime code was 14,945 bytes.
A contract’s code_hash, when set, is the Keccak-256 hash of the runtime code the node stores for it. That is the code wallet/getcontractinfo returns. In java-tron v4.8.2.4 the node writes it at deployment while the Constantinople switch is on. For a contract deployed before that, the field can stay empty until the virtual machine first asks for the contract’s code hash. Hashing USDT’s runtime code from that day’s read reproduced its code_hash, and hashing the stored creation bytecode produced a different value. Two contracts with the same non-empty code_hash have the same runtime code at their addresses, which makes the field a quick way to compare them. Two proxies with the same hash can still delegate to different implementations.
The ABI is the deployer’s declaration
An ABI (application binary interface) is the list of a contract’s functions and events, with their parameter types. Wallets and explorers use it to label calls and logs. On TRON the deployer supplies it. A CreateSmartContract transaction contains a whole SmartContract message, ABI included. The node keeps the ABI in a separate store and merges it into the record when wallet/getcontract is called.
The node does little to check it. In java-tron v4.8.2.4, deploy validation checks that the signer equals origin_address, that the name is at most 32 bytes, and that the resource percentage is between 0 and 100. The file that runs the deploy in the virtual machine does not reference the ABI at all. In a java-tron issue thread, a maintainer noted of the deploy endpoint that “today we mostly get protobuf-shape validation, not ABI semantic validation”.
The stored format also loses detail. An ABI parameter has the fields indexed, name, and type, and no field for the inner shape of a struct. A maintainer noted in the same thread that struct shapes are dropped at deploy and only the literal tuple is stored.
Nothing corrects an ABI afterwards. The protocol’s transaction list has one type that writes an ABI, the deploy, and one that erases it. It has no type that updates one, and the maintainers described the ABI as write-once. They also stated their position that the ABI belongs off-chain and that the on-chain store is a historical carryover kept for backward compatibility. The maintainers decided not to move forward with semantic validation at deploy, and the issue was closed on 8 May 2026.
In the USDC proxy, the declared ABI has drifted far from the code at the same address. Circle discontinued USDC on TRON, as Stablecoins Beyond USDT covers, and on 17 November 2026 the contract could still be read. That day, TronGrid returned the name FiatTokenProxy for TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8, a runtime code of 1,956 bytes, and a stored ABI of 412 entries. The function entries used 55 distinct names, and blacklist, configureMinter, and pause each appeared six times. The list describes the implementation the proxy forwards to, repeated across versions.
The name field has the same standing. The deployer types it, and the node caps it at 32 bytes. On 17 November 2026, TronGrid returned OptimizedTransparentUpgradeableP as the name of two proxies, a pattern name cut off at 32 characters.
When the ABI is missing
A contract with no stored ABI may look suspicious on first read. There are three ordinary ways to arrive at one, and none of them changes what the code does.
Created by another contract
Contracts can deploy contracts. When one does, java-tron v4.8.2.4 writes a record with the new address, a consume_user_resource_percent of 100, and an origin_address equal to the creating contract. It sets no ABI, no name, and no bytecode, and it creates the account under the account name CreatedByContract.
USDD is an example. On 17 November 2026, TronGrid’s record for TXDk8mbtRbXeYuMNS83CfKPaYYT8XWv9Hz had five keys: an empty abi, code_hash, a consume_user_resource_percent of 100, the contract address, and the origin THuAY3Dqaf5EMdUPcQtmFew85ZSTEENAYk. That origin is itself a contract, named UsddFab. Two exchange contracts read the same day had no ABI and no bytecode either. Their origin was a contract named JustswapFactory, which TronScan tags “SUN: SunSwapV1 Factory”.
So origin_address is the account that created the contract. It may be a wallet or another contract, and the type check applies to it as it does to any address.
Deployed with an empty ABI
A deployer can submit no ABI. The sTRX proxy TU3kjFuhtEo42tsCBtfYUAZxoqQ4yuSLQ5, the token behind Liquid Staking and sTRX, was deployed directly on 14 April 2023 under the name STRXProxy, and its deploy transaction has an empty ABI. On 17 November 2026, TronGrid returned an empty ABI for the proxy and for STRXG2, the implementation it pointed to that day.
Cleared by the origin
The protocol’s transaction type for erasing an ABI is ClearABIContract, type 48. In java-tron v4.8.2.4 only the contract’s origin_address can send it, and the node rejects anyone else as “not the owner of the contract”. Execution writes one thing, an empty ABI into the ABI store for that address, and the transaction has no fee. The 2019 proposal that introduced it gave the reason plainly: “The contract does not need ABI anymore” once nodes offered a call that simulates execution.
Clearing does not remove the ABI from history. The TRON Developer Hub states that users “can still retrieve the ABI by querying the original contract creation transaction”. The deploy transaction keeps its own copy. On 17 November 2026, TronGrid still returned the 46-entry ABI and the name TetherToken from USDT’s deploy transaction, signed on 16 April 2019.
In the issue thread, a java-tron maintainer reported a count from a 16 April 2026 mainnet snapshot. In it, 2,323,413 of the 3,026,157 rows in the ABI store were zero-byte, or 76.78%. The maintainer did not break the count down into contracts created by contracts, deployed empty, and cleared.
Reading a contract with no ABI
The ABI labels calls, but calls work without it. wallet/triggerconstantcontract takes a function signature directly. The TRON Developer Hub states that the endpoint “simulates contract execution without broadcasting a transaction”, commits no state changes, and consumes no Bandwidth or Energy.
POST https://api.trongrid.io/wallet/triggerconstantcontract
{"owner_address":"T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb","contract_address":"TXDk8mbtRbXeYuMNS83CfKPaYYT8XWv9Hz","function_selector":"name()","parameter":"","visible":true}
On 17 November 2026 that call returned the string Usdd Stablecoin from USDD, and the same signature returned staked TRX from the sTRX proxy. The owner_address in the example is the Base58Check form of the all-zero address, 41 followed by 20 zero bytes. Neither contract had a stored ABI. A missing ABI means the reader supplies the signatures, from published source or from the standard a token follows.
Verified source is an explorer’s attestation
Verification is a service an explorer runs, and the explorer keeps the result in its own database. The TRON Developer Hub describes it as a TronScan process that “compares your contract’s source code with the bytecode deployed on-chain and, if they match, makes the source publicly available”. TronScan compiles the submitted source with the submitted settings and compares the output with the on-chain bytecode.
The protocol has no part in this. None of the 11 fields in the SmartContract record stores a verification result or a source reference, so a node cannot report one.
An unverified contract may have no hidden purpose at all. The match is strict and the tooling is narrow. The Developer Hub states that each compiler setting must match the deployment value, and that “even a one-character mismatch causes verification to fail”. It adds that TRON and Ethereum use distinct compiler distributions and that the TRON compiler version must match. On 17 November 2026 the Developer Hub stated that TronScan did not accept multi-file contracts with subdirectory layouts. A developer who never submits source, or whose build does not fit these limits, leaves the contract unverified.
A verified contract may still be dangerous to hold. With a match, the explorer has established that the published source produces the deployed code. Any power the source grants is still there, and the next two sections show how to read it.
The word verified has a second meaning on explorers. A verified public tag is a claim about who controls an address, checked by a signed message, as The Address Label Ecosystem explains. Verified source concerns what code is deployed. Neither one implies the other.
Two kinds of owner
The word owner covers two unrelated things on a TRON contract. One is a protocol field with narrow powers. The other is whatever the contract’s code defines, and that is where the powers over users’ funds are.
The protocol’s origin
origin_address is set at creation. In java-tron v4.8.2.4, the node accepts the transaction types ClearABIContract (type 48), UpdateSettingContract (type 33), and UpdateEnergyLimitContract (type 45) only from that address. The last two change who pays for execution and how much Energy the origin will cover, which Contract-Execution Economics explains. No transaction type in the protocol’s list changes origin_address itself.
These three types cover the stored ABI and two resource settings. In java-tron v4.8.2.4 no other transaction type checks the origin, so its protocol powers end there.
Roles defined in code
The powers that matter to a token holder are written into the contract. The OpenZeppelin library’s source describes three patterns:
- Ownable gives one account “exclusive access to specific functions”. The deployer sets the first owner, and the owner can transfer the role.
- AccessControl defines named roles. Its source states that it “doesn’t allow enumerating role members except through off-chain means by accessing the contract event logs”, so a reader rebuilds the member list from events. The
DEFAULT_ADMIN_ROLE“is also its own admin”. - Pausable is “an emergency stop mechanism that can be triggered by an authorized account”.
The TRON contracts in the live reads below have role functions of this kind. The getter names differ between contracts, so the stored ABI or the published source is the place to find them.
USDT has the two owners side by side. On 17 November 2026, its origin_address was THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC, and its owner() function returned a different address, TBPxhVAsuzoFnKyXtc1o2UySEydPHgATto. The ABI read that day listed addBlackList, pause, and transferOwnership among its functions. The owner role is the one behind the freeze power described in The Issuer’s Key.
That owner is a contract. On 17 November 2026, TronGrid returned the name MultiSigWallet for it, its required() function returned 2, and getOwners() returned three addresses. The 2-of-3 rule exists only in that contract’s code. wallet/getaccount for the same address returned an account of type Contract with no owner or active permission. At the account level, each of the three signer addresses was an ordinary single-key account that day.
The USDC contract splits its powers further. On 17 November 2026, the role getters owner(), pauser(), blacklister(), and masterMinter(), called through the proxy, each returned a different address. The proxy’s admin() returned a fifth. The token is discontinued, but its roles were all still assigned.
Three of those five addresses had never been activated. wallet/getaccount returned an empty object for the pauser address TEJVoNTz4F4sA12XhJdbmrUohvexoV5GCF, for the owner address, and for the proxy admin address. An address that has never been activated has never sent a transaction from its own account, so none of the three roles had been exercised from those addresses by that day. That is an inference from the empty account. An unactivated address can still hold a role, because the contract keeps the role in its own storage. The masterMinter was a contract named MasterMinter, and the blacklister was an activated single-key account.
Following a role to a key
A role getter returns an address, and that address is only the start. The method is a loop. Read the role, check whether the holder is a contract or an account, and repeat until the holder is an account. Then read that account’s permissions, which The TRON Account Model explains.
A role that ends in governance contracts
JustLend’s main contract is named Unitroller, at TGjYzgCyPobsNS9n6WcbdLVR9dH7mWqFx7. On 17 November 2026, its admin() returned TRWNvb15NmfNKNLhQpxefFz7cNjrYjEw7x, a contract named Timelock, and its pendingAdmin() returned the zero address. Raw storage slot 0 of the Unitroller returned the same Timelock address, which confirms the getter without relying on it.
The Timelock’s delay() returned 172,800 seconds, or two days. Its own admin() returned TEqiF5JbhDPD77yjEfnEMncGRZNDt2uogD, a contract named GovernorBravoDelegator. That governor is itself a proxy, and its admin() and timelock() both returned the Timelock. The jUSDD market contract returned the same Timelock as its admin.
On that day the walk never reached an account. The admin of JustLend’s main contract was a delay contract controlled by a governor contract. The next step is to find who can pass an action through that governor, and the governor’s code sets that.
A role that ends in a multi-signature account
In OpenZeppelin’s transparent proxy design, upgrades run through a small contract named ProxyAdmin. OpenZeppelin’s source calls it “the administrative interface of the proxy”, and transferring its ownership changes who can upgrade.
On 17 November 2026, the admin slot of the proxy TT3kgJohTQJNKDUWwTxtRDMHNNWNvNG3i4 returned a ProxyAdmin contract, TDieCvJCyPTSSw6x1ePi1V4ZanVHufsTTM. Its owner() returned TWu42JDPx5tMS572E273TZYrVxZJMxxZTp. That address is an account, and its Owner permission had a threshold of 3, with its own key at weight 2 and three other keys at weight 1. No one key met the Owner threshold.
The same account had one Active permission, with a threshold of 1 and its own key. On 17 November 2026 that permission’s operations bitmap did not include contract calls. Its TriggerSmartContract bit was unset. A call to the ProxyAdmin therefore needed the Owner permission at threshold 3. The account’s own key with any one of the other three keys met that threshold, and so did all three other keys together.
The same walk on a different proxy ends differently. On 17 November 2026, TronScan tagged TLw8tyzdGvBQAJ8udJaqW3gUeB6FanjBZZ as a LayerZero endpoint. The same day, its admin slot returned a ProxyAdmin whose owner() was TLpERAU6XgmQD1Cd8qTqBo6mBcSKscKSGN, a single-key account.
One key in several roles
Roles in different contracts can lead to the same account. On 17 November 2026, TronGrid returned the address TLntW9Z59LYY5KEi9cmwk3PKjQga828ird in three places. It was the admin() of the sTRX proxy, the admin slot of a proxy TronScan tagged GasFree Endpoint, and the owner() of a contract named PoolManager. wallet/getaccount returned a single-key account, with an Owner threshold of 1 and its own key at weight 1.
One key could therefore act in all three roles that day. This is a lead that the three contracts share an operator. This article found no name on the chain for the person or organisation behind the key, and names none.
Proxies: one address, replaceable code
A proxy is a small contract that keeps the address and the storage and delegates each call to a separate logic contract, the implementation. The virtual machine described in Smart Contracts and the TVM has the DELEGATECALL opcode that makes this work. Whoever holds the upgrade role can point the proxy at a new implementation.
Some protocols ship a new version as a new contract at a new address, and the router redeployments in Decentralized Exchanges on TRON are an example. A proxy does the opposite. The address in every trace stays the same while the code behind it changes. In the java-tron issue thread, a maintainer asserted, without a measurement, that most mainstream TRON DEX, lending, and stablecoin contracts are proxied.
Where the implementation address is kept
ERC-1967 is an Ethereum standard that fixes a storage slot for a proxy’s implementation, another for its admin, and a third for a beacon. This article reads the first two. The implementation slot is 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc, and the standard says it “Holds the address of the logic contract that this proxy delegates to”. The admin slot is 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103, for the address allowed to upgrade. The standard’s stated purpose is to let “clients like block explorers” extract this information. It applies on TRON only where a contract was built to follow it.
Calling a getter is the obvious way to read the implementation, but on a transparent proxy it fails. OpenZeppelin’s source states that when any account other than the admin calls the proxy, “the call will be forwarded to the implementation”. On 17 November 2026, implementation() and admin() on two such proxies both returned REVERT opcode executed, and both ERC-1967 slots on each returned addresses.
The slot is read through the node’s JSON-RPC interface:
POST https://api.trongrid.io/jsonrpc
{"method":"eth_getStorageAt","params":["0x<proxy address in hex>","0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc","latest"]}
The address argument is the T-address’s 21-byte hex form with the leading 41 removed. To turn a 32-byte result back into a T-address, take its last 20 bytes, put 41 in front, and encode the result in Base58Check.
This read has a hard limit. On 17 November 2026 the TRON Developer Hub documented that the block parameter “currently only supports” the value latest, and java-tron v4.8.2.4 rejects any other block tag. The node’s HTTP API in that version has no storage-read endpoint. A slot read therefore gives the value at the time of the call and no history.
Proxies that do not follow the standard
Some proxies use other layouts. A zero in both standard slots does not rule out a proxy. These four were read on 17 November 2026:
| Contract | ERC-1967 slots | Where the implementation was found |
|---|---|---|
USDC FiatTokenProxy | Both zero | The older ZeppelinOS slots, keccak256 of org.zeppelinos.proxy.implementation and org.zeppelinos.proxy.admin. The first returned a contract named FiatTokenV2_1. |
| TUSD proxy | Both zero | The implementation() getter, which returned a contract named TrueUSD. proxyOwner() and owner() both returned a contract named TokenController. |
JustLend Unitroller | Both zero | Storage slot 2, matching comptrollerImplementation(). It returned a contract named Comptroller. |
sTRX STRXProxy | Both zero | The implementation() getter, which returned STRXG2. Neither contract had a stored ABI. |
When the standard slots are empty, the proxy’s own source or ABI names the getter or the slot to read.
Upgrade history comes from events
In java-tron v4.8.2.4, storage reads are latest-only, so a reader rebuilds a proxy’s past from its logs, the subject of Event Logs and How Token Transfers Are Read. The standard expects ERC-1967 proxies to announce changes with Upgraded and AdminChanged events. Other designs use their own names.
On 17 November 2026, TronGrid’s event endpoint returned four NewImplementation events for the JustLend Unitroller, dated 5 December 2020, 26 June 2022, 18 January 2023, and 11 July 2026. It returned four Upgraded events for TT3kgJohTQJNKDUWwTxtRDMHNNWNvNG3i4, dated 22 January 2024, 24 January 2024, 16 January 2025, and 24 November 2025. At each address, the proxy emitted the first event when its starting implementation was set. It emitted each of the other three when the code was replaced while the address stayed the same.
An empty result from a by-name event query needs care. A java-tron maintainer noted in the issue thread that the node’s event-trigger code decodes a proxy’s logs against the proxy’s stored ABI, which lacks the implementation’s event entries. In java-tron v4.8.2.4 that code runs only when a node enables its event listener. The sources read for this article do not say whether TronGrid’s event endpoint uses that code. On 17 November 2026 the endpoint returned a named BridgedWithdrawal event for TT3kgJohTQJNKDUWwTxtRDMHNNWNvNG3i4, an event the proxy’s stored ABI did not list, with no decoded parameters. Those sources also do not say how TronGrid obtained the name. An empty by-name result therefore remains weaker than proof that no upgrade happened.
Explorer proxy flags are a lead
TronScan’s contract record has its own proxy fields, and they can lag or misfire. Compared with chain reads made the same day, 17 November 2026, the record differed for five contracts:
- For the Unitroller it still named the implementation that was replaced on 11 July 2026.
- For the proxy
TRSWzPDgkEothRpgexJv7Ewsqo66PCqQ55it named one implementation, while the ERC-1967 slot andimplementation()both returned another. - For two LayerZero-tagged proxies it gave
is_proxy: false, although both had addresses in the ERC-1967 implementation and admin slots. - For
STRXG2, which is an implementation, it flagged a proxy pointing at the all-zero address.
It matched the chain for TUSD, sTRX, the USDC proxy, TT3kgJohTQJNKDUWwTxtRDMHNNWNvNG3i4, and the proxy TronScan tags GasFree Endpoint. The explorer’s flag is a useful place to start, and the slot or getter read is the confirmation.
Where the chain stops
An investigator can read addresses, thresholds, code, and events from the chain. The people behind them are not on it, and some of the chain’s own state has no history.
For a wallet, control is in account state. One wallet/getaccount call returns the keys and thresholds, with no contract decoding, as Who Controls a TRON Wallet? and Same-Permission-Key Detection describe. That statement is about account control. A contract’s admin powers are in its code and storage, and wallet/getaccount cannot see them. The USDT owner is an example. On 17 November 2026, the account call returned no permissions for it, and only calls to the contract’s own functions returned its 2-of-3 rule.
Three limits remain after every read in this article:
- Identity. A role getter returns an address. The chain does not record who holds its key, or whether three signers are three independent parties.
- History of storage. In java-tron v4.8.2.4, slot reads are latest-only. A role or implementation that changed without an event the reader can find leaves no trace in a slot read.
- Unused keys. A role can be assigned to an address that has never been activated, so there is no account history to study.
An investigator can still record each read with its date and its endpoint, and rerun it before relying on it.
A reading order for any contract
- Confirm the address is a contract, then call
wallet/getcontractandwallet/getcontractinfo. Noteorigin_address,name,code_hash, and the size of the runtime code. On a contract deployed before the Constantinople switch,code_hashcan be empty. - Check whether
origin_addressis a wallet or another contract. - Read the stored ABI as a declaration. If it is empty, fetch the deploy transaction, or call known signatures through
wallet/triggerconstantcontract. - Check the explorer for verified source, and read the source for role and upgrade functions. Treat the absence of verified source as unknown.
- Call each role getter:
owner(),admin(), and any pauser, blacklister, or minter role the code defines. - Follow each holder. If it is a contract, read its own roles, thresholds, and delays. If it is an account, read its permissions.
- Test for a proxy. Read both ERC-1967 slots with
eth_getStorageAt, then try the getters and layouts the source names. - Pull the upgrade events, and compare the implementation found on-chain with the one the explorer shows.
- Date every result.
Reading a contract this way produces a short list of facts: what code runs, who can replace it, who can pause or freeze, and how many keys stand behind each role. Each fact was true on the day it was read. The next step is to rerun the role and slot reads on the day the answer matters, and to compare them with the earlier ones.
Sources
- protocol/core/contract/smart_contract.proto at 8432beca98c52ba04c82aea0b48ae9f9f882c82a · tronprotocol/protocol · GitHub — the protocol definition of the
SmartContractrecord (11 fields, none for verification), the ABIParammessage (three fields), andCreateSmartContract, which carries the whole record. - protocol/core/contract/smart_contract.proto at master · tronprotocol/protocol · GitHub — the same file on the master branch, which pointed to commit 8432beca98c52ba04c82aea0b48ae9f9f882c82a when it was read on 17 November 2026. It declares the contract message types this article names.
- protocol/core/Tron.proto at 8432beca98c52ba04c82aea0b48ae9f9f882c82a · tronprotocol/protocol · GitHub — the transaction type list:
CreateSmartContract30,UpdateSettingContract33,UpdateEnergyLimitContract45,ClearABIContract48, with no type that updates an ABI or changes a contract’s origin. - protocol/core/Tron.proto at master · tronprotocol/protocol · GitHub — the same file on the master branch, which pointed to that commit when it was read on 17 November 2026. Cited for the transaction type numbers.
- tronprotocol/java-tron — VMActuator at commit 4e8389f — node source at the v4.8.2.4 release: the deploy checks on signer, name length, and percentage, in a file that does not reference the ABI.
- tronprotocol/java-tron — Wallet at commit 4e8389f — node source:
getContractmerges the ABI in from the ABI store, and the contract-info call adds the runtime code and the contract state. - tronprotocol/java-tron — Program at commit 4e8389f — node source: the record written for a contract created by another contract, and the
CreatedByContractaccount name, and the later fill of an emptycode_hashfrom the stored code. - tronprotocol/java-tron — RepositoryImpl at commit 4e8389f — node source: saving a contract’s code sets
code_hashto the hash of that saved code while the Constantinople switch is on. - tronprotocol/java-tron — Hash at commit 4e8389f — node source: the node’s
sha3function is Keccak-256. - tronprotocol/java-tron — ClearABIContractActuator at commit 4e8389f — node source: the origin-only check, the single write of an empty ABI, and the zero fee.
- tronprotocol/java-tron — UpdateSettingContractActuator at commit 4e8389f — node source: the same origin-only check for the resource-percentage setting.
- tronprotocol/java-tron — UpdateEnergyLimitContractActuator at commit 4e8389f — node source: the same origin-only check for the origin energy limit.
- tronprotocol/java-tron — actuator (directory) at commit 4e8389f — node source: the transaction actuator directory, where only the three origin-only types check the caller against a contract’s origin.
- tronprotocol/java-tron — LogInfoTriggerParser at commit 4e8389f — node source: the event-trigger code that decodes a transaction’s logs with the emitting contract’s stored ABI. It runs only when the node’s event listener is enabled.
- tronprotocol/java-tron — Op at commit 4e8389f — node source: the TVM opcode table, including
DELEGATECALL. - tronprotocol/java-tron — TronJsonRpcImpl at commit 4e8389f — node source:
getStorageAtrejects every block tag other than latest. - tronprotocol/java-tron — http (directory) at commit 4e8389f — node source: the HTTP servlet directory, which has contract readers and no storage-read servlet.
- [Feature] Add ABI semantic validation for
/wallet/deploycontract· Issue #6674 · tronprotocol/java-tron · GitHub — a maintainer issue thread, not official documentation: collaborator comments on deploy-time ABI validation, the write-once ABI, dropped struct shapes, the off-chain position, the 16 April 2026 ABI-store snapshot, the node’s event-trigger decoding under proxies, and the unmeasured statement that most mainstream contracts are proxied. Closed 8 May 2026. - TRC: Clear the ABI of contract · Issue #32 · tronprotocol/tips · GitHub — the 2019 proposal for
ClearABIContractand its stated motivation. Its type number was superseded by the shipped protocol definition. - GetContractInfo — TRON Developer Hub: the endpoint returns the runtime bytecode, which lacks the constructor and its parameters.
- ClearAbi — TRON Developer Hub: a cleared ABI remains retrievable from the contract creation transaction.
- Trigger constant contract — TRON Developer Hub API reference — TRON Developer Hub: the call simulates execution, commits no state, and consumes no Bandwidth or Energy.
- Contract verification — TRON Developer Hub: TronScan’s compile-and-compare process, the exact-match rule for compiler settings, TRON’s own compiler distribution, and the multi-file limit.
- Accounts and keys — TRON Developer Hub: the 21-byte address, its hex and Base58Check forms, and the 20-byte form left after dropping the leading 41.
- Account Permission Management — TRON Developer Hub: how an Active permission’s operations bitmap maps to transaction types, used to decode the bitmap read from
wallet/getaccount. - eth_getStorageAt — TRON Developer Hub: the storage read and its latest-only block parameter.
- ERC-1967: Proxy Storage Slots — the Ethereum standard for the implementation, admin, and beacon slots and the
UpgradedandAdminChangedevents. Cited for the slot definitions. Its use on TRON is shown by the slot reads below. - openzeppelin-contracts/contracts/access/Ownable.sol at v5.4.0 · OpenZeppelin/openzeppelin-contracts · GitHub — library source: the single-owner pattern.
- openzeppelin-contracts/contracts/access/AccessControl.sol at v5.4.0 · OpenZeppelin/openzeppelin-contracts · GitHub — library source: named roles, members found from event logs, and the default admin role.
- openzeppelin-contracts/contracts/utils/Pausable.sol at v5.4.0 · OpenZeppelin/openzeppelin-contracts · GitHub — library source: the emergency-stop pattern.
- Proxy | OpenZeppelin Docs — library documentation generated from the source comments: forwarding of every non-admin call, the
ProxyAdminas the administrative interface. - TronGrid API: wallet/getcontract — read on 17 November 2026 for the stored records of USDT, the USDC proxy, USDD and its origin, two exchange contracts and their factory
JustswapFactory, the sTRX proxy and its implementation, two LayerZero-tagged proxies, and the names of the role-holder contracts in this article. - TronGrid API: wallet/getcontractinfo — read on 17 November 2026 for the runtime code of USDT and the USDC proxy. The Keccak-256 comparison with
code_hashwas computed locally from this read. - TronGrid API: wallet/gettransactionbyid — read on 17 November 2026 for the USDT deploy transaction
3b27180746e68744e5e2e981ae6fa54d502f2aa6e18b8a98824fd1a69069d55aand the sTRX proxy deploy transaction991af52e497c4367de77b9f012a379d6a43363265af341349eaec8580b4adfe4, and the deploy transaction ofTT3kgJohTQJNKDUWwTxtRDMHNNWNvNG3i4,2dc0f91bbd4a235df1cb8dd8f866e856cae6562358c6fc70d379b5d10ed0ac10, which carries its firstUpgradedevent. - TronGrid API: wallet/triggerconstantcontract — read on 17 November 2026 for every getter result in this article: names, owners, admins, role holders, implementations, the multisig’s threshold and owners, and the Timelock’s delay.
- TronGrid API: wallet/getaccount — read on 17 November 2026 for the account type and permissions of each role holder followed to an account, and for the three unactivated USDC role addresses.
- TronGrid API: jsonrpc eth_getStorageAt — read on 17 November 2026 for the ERC-1967 slots, the ZeppelinOS slots on the USDC proxy, and slots 0 and 2 of the JustLend Unitroller.
- TronGrid API: v1/contracts/{addr}/events NewImplementation — read on 17 November 2026 for the Unitroller’s four implementation events: its initial setting and three later changes.
- TronGrid API: v1/contracts/{addr}/events Upgraded — read on 17 November 2026 for that proxy’s four
Upgradedevents: one at deployment and three later upgrades. - TronGrid API: v1/contracts/{addr}/events BridgedWithdrawal — read on 17 November 2026 for a named event that the same proxy’s stored ABI did not list, returned with no decoded parameters.
- TronScan API: api/contract (GasFree proxy) — explorer metadata, read on 17 November 2026 for the tag on the proxy whose admin slot was compared.
- TronScan API: api/contract (Unitroller) — explorer metadata, read on 17 November 2026 for the proxy implementation field that still named the replaced implementation.
- TronScan API: api/contract (TRSWzP) — explorer metadata, read on 17 November 2026 for the proxy implementation field that differed from the slot and getter reads.
- TronScan API: api/contract (LayerZero EndpointV2 + Executor) — explorer metadata, read on 17 November 2026 for the tags and the proxy flag on two proxies with populated ERC-1967 slots.
- TronScan API: api/contract (SunSwap V1 factory) — explorer metadata, read on 17 November 2026 for the “SUN: SunSwapV1 Factory” tag on the contract whose on-chain name is
JustswapFactory. - TronScan API: api/contract (STRXG2) — explorer metadata, read on 17 November 2026 for the proxy flag on an implementation contract.
- TronScan API: api/contract (four records) — explorer metadata, read on 17 November 2026 for four of the five proxy records that matched the chain reads. The fifth is the GasFree proxy record above.