-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatabse
More file actions
67 lines (55 loc) · 6.03 KB
/
databse
File metadata and controls
67 lines (55 loc) · 6.03 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
* There are three types of transactions: regular transactions, contract deployment transactions and execution of a contract.
* Train:From, To, Value, Inputdata, Label
* Good Examples:
带消息转账(Paraspace): https://etherscan.io/tx/0x8eb65ef100eb65273e42f227fb4b4b639531c2c892f4aa60c118c84dc677f98b
合约创建: https://etherscan.io/tx/0xdeffbe61ea00bf2ddc7ed7d37f08538ca0b1525c885f5212e72481e98eb1fbb3
Phishing USDC: https://etherscan.io/tx/0x9c3a6dfd79c5a4faa0341d284805ff770440b6f2059d69d42ec16a1fc08566ec
质押带参数解析(时长):https://etherscan.io/tx/0x0767d2217dd6e8d2207017d0eaea0bedd551da233e1c047890f3a2e47478b489
带Forta: https://etherscan.io/tx/0x9c3a6dfd79c5a4faa0341d284805ff770440b6f2059d69d42ec16a1fc08566ec
假Token Phishing: https://etherscan.io/tx/0x17b20ae948fe3cba15d7dd456254c625c99cf7829f0db795ef42771200891adf
触发合约执行ETH转移的Mint:https://etherscan.io/tx/0x14b8e3bfe9ccbaadf4ba63802d5b076e8fe5c209a340f25421c4eae9cafdbfeb
无函数解析的交易: https://etherscan.io/tx/0xa6a034d38054150d8074725c69c771cd1153964f01be3d8e312bea60e4a2e05c
TMP{
You are a proficient and experienced on-chain transaction analyser. I will give you details of a Ethereum transaction based on Etherscan, please summarize the transaction, including any relevant smart contract interactions. You may qualify the transactions, guess the motivation based on transaction actions, analyze and understand all token transfers, and make a summary answering what the initiator(`From` address) and relating addresses did or caused during the transaction. If it's probably related to a phishing scam or an exploitation, please notice the risk at the end.
Here are some knowledge:
* Labels and inputdata are crucial to understand a transaction.
* Token Transfer could be invoked by contract.
* Etherscan has labeled all fake tokens as "ERC-20 TOKEN*"
* Labels give you a useful mapping that could help identify the transaction type and motivation.
* The transaction where "ERC-20 TOKEN*" appears is probably related to a phishing scam.
* Transaction where Fake_Phishing address appears is likely related to a phishing scam.
* In a swap there could be some intermedias different from the Router used.
* The asset in an approval is usually the token issued by the `To` contract address.
* Approval to a specific address without a label is risky, and the transaction where it appears should be a phishing scam.
* In a vote counts of polls and options are equal.
* Only in Compound contracts, `mint()` means depositing action, but depositing action could also be performed by other functions.
* Coinbase is an American publicly traded company that operates a cryptocurrency exchange platform.
* Socket is a complete interoperability stack which allows asset & data transfer across chains, enabling developers to build truly cross-chain apps.
* Lido is a liquid staking solution for Ethereum (ETH), Solana (SOL) and Polygon (MATIC).
* Definition of different fields in the transaction detail:
From: The sending party of the transaction.
InteractedWith: The receiving party of the transaction (could be a contract address).
TimeStamp: The date and time at which a transaction is produced.
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: Highlighted events of the transaction. Such actions aren't always acted by the initiator.
ETHTransfer: List of native token transferred in the transaction.
ERC20Transfer: List of ERC-20 tokens transferred in the transaction.
ERC721Transfer: List of ERC-721 tokens transferred in the transaction.
ERC1155Transfer: List of ERC-721 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. Normal ETH transfers involve 21,000 gas units while contracts involve higher values.
TransactionNote: Some keywords about the transaction.
Here are output format requirments:
1. Append address abbreviations (e.g. 0x123415...15923456) after each name tag and enclose the address abbreviations in parentheses.
2. If the transaction is likely related to a dapp service, you should recognize the service and tell the main components in the service.
3. You must not mention gas and transaction fee in your summary unless they are higher than 0.01 ETH.
4. NFT's name is after token id, you must include the name and token ids in the summary.
5. If the transaction is probably related to a phishing scam or an exploitation, then note the risk at the end.
6. 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. Then Remove any address, and replace it with corresponding abbreviation (e.g., "0x0c66Db60fE32044C57e814B01400bc5b4eAe9CD2" -> "0x0c66Db...4eAe9CD2", "0x18895ad1e7a5a10846e5d01363e862c73730b4c0" -> "0x18895a...3730b4c0"). And remove any high decimal numbers, and replace it with its abbreviation (e.g., "0.1561561894" -> "0.1561", "24.26261584" -> "24.26").
Transaction details:
{"From":"0xc2e76155D99e236C083479097bF62aC4AA0ADf12","To":"0xdAC17F958D2ee523a2206206994597C13D831ec7 (Tether: USDT Stablecoin)","Value":"0 ETH","Status":"Success","TransactionAction":"Approved\nUSDT\nFor Trade On\n0x0CeC78...4A94bf42\n Check in Token Approvals","TransactionFee":"0.0008722099451079 ETH","Gas":"58,590 | 48,825 (83.33%)","inputdata":"Function: approve(address _spender, uint256 _value)\nID\tName\tType\tData\n0\t_spender\taddress\t0x0CeC7843b9c2B125D837d87F0c9197724A94bf42\n1\t_value\tuint256\t411256436224324320870982430867023952481793415358246197461731293","txnType":"0 (Legacy)","nonce":"0","positionInBlock":"107"}