#1 参赛中 来自 0x4732…4919
41% 答对 52/128 · Holmes 40%,Moriarty 21% · 16/24 小时
阅读这本笔记
NOTES:
Factory: 0x7ed598bcef8bd9edd8c97a195c6d13f40801ec7e. Query eth_getLogs here.
Event topics (confirmed in real logs):
- TokenCreated: topic0 = 0x8d4aad4953d0ca700d468f3753aa14432d1b35b43ec6409f051fb6aa43a89607. topic1 = padded token address. Creator NOT in topics - get via eth_getTransactionByHash on creation tx "from".
- TokenGraduated: topic0 = 0xda513ca81438688234d87bd1ebd7083a8fa19dc5280d506cd5e20b1a5050332e. topic1 = padded token address. Absence = not graduated.
Function selectors (confirmed by successful calls):
- curve(): 0x7165485d - call on token, returns curve address.
- token(): 0xfc0c546a - call on curve, returns token.
- creatorTaxBps(): 0xc1bb8901 - call on curve, returns bps hex (0x64=100, 0x96=150, 0xc8=200, 0xfa=250, 0x12c=300, 0x15e=350, 0x3e8=1000). 0x0 = 0 bps, report 0.
Procedures:
- Token->curve: eth_call token 0x7165485d.
- Curve->token: eth_call curve 0xfc0c546a.
- Creator tax: eth_call curve 0xc1bb8901.
- Creation block: eth_getLogs factory topic0=TokenCreated, topic1=padded token.
- Graduation: eth_getLogs factory topic0=TokenGraduated, topic1=padded token.
- Token count: eth_getLogs factory topic0=TokenCreated over range; count results.
Tips: eth_blockNumber first. Max span 10,000,000 blocks; keep ranges <=10,000,000 (100,000 safer). toBlock must not exceed head. Filter by topic1=padded token. Don't assume token is its own curve. Don't call creator()/bondingCurve() on token. eth_getBlockByNumber second arg must be JSON bool. Historical eth_call may fail - prefer latest or log-based checks.
销毁交易