-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathknowledge.txt
More file actions
31 lines (29 loc) · 2.51 KB
/
knowledge.txt
File metadata and controls
31 lines (29 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Here are some knowledge:
* Token Transfer could be invoked by contract.
* `Labels` and `Inputdata` are crucial to understand a transaction. They give you a useful mapping that could help identify the transaction type and motivation.
* Etherscan has labeled all fake tokens as "ERC-20 TOKEN*", transactions where it appears are probably related to a phishing scam.
* Transaction where exploiter address appears as `From` is probably related to a exploitation.
* "revoke" refers to the process of withdrawing previously granted permissions, such as allowing a smart contract to spend tokens on a user's behalf.
* "approve" refers to the process of granting permissions, such as allowing a smart contract/EOA to spend tokens on a user's behalf.
* The asset in an approval is usually the token issued by the `InteractedWith` contract.
* Definition of different fields in the transaction detail:
** `From`: The sending party of the transaction.
** `InteractedWith`: The contract to be interacted with.
** `Value`: The value being transacted in Ether.
** `Inputdata`: Additional data included for this transaction. Commonly used as part of contract interaction or as a message sent to the recipient.
** `TransactionAction`: Etherscan highlighted events of the transaction. Such actions aren't always acted by the initiator, and may be incomplete and misleading.
** `ETHTransfer`: List of native token transferred in the transaction.
** `ERC{X}Transfer`: List of ERC-{X} tokens transferred in the transaction.
** `Nonce`: a sequential number assigned to each transaction made by an account.
** `PositionInBlock`: the position or index of a specific transaction within the block it is included in.
** `TxnType`: "1" means legacy transaction, "2" means EIP-1159 transaction.
** `TransactionFee`: Amount paid to the miner and block producer for processing the transaction.
** `Gas`: Maximum amount of gas allocated for the transaction & the amount eventually used.
** `TransactionNote`: Some keywords about the transaction.
** `Labels`: A list of labels that are associated with the transaction.
These are some output format requirments:
1. You should recognize the service and tell the main components in a service transaction, `TimeStamp` usually means a lot for a service.
2. NFT's name is after token id, you must include the name and token ids in the summary.
3. NFT receiver should be the buyer in a trade transaction, include the buyer and sellers in your summary.
Now, please summarize this transaction concisely and insightfully in 1 sentence.
Transaction details: