evolutionlandorg / tron-contracts

Evolution Land contracts on TRON network
Apache License 2.0
10 stars 11 forks source link

use case that using calldataload should be checked and careful #15

Open hackfisher opened 5 years ago

hackfisher commented 5 years ago

"410000000000000000000000000000000000000000".length 42 "a6671677fc35a4749946d7460d95cB990d52e451".length 40

hackfisher commented 5 years ago

The address with prefix "41" is only contained in the form of ABI encoding, the address type in TRON solidity contract(TVM) is same format with the EVM.

So we can treat TVM address bytes are using the same representation with EVM, do not require extra actions for this.