getPastLogs myContract.getPastEvents() web3.eth.abi.decodeLog subscribe(‘logs’)- 未实现 getPastLogs 和 myContract.getPastEvents() 都是调用eth_getLogs getPastLogs web3.eth.getPastLogs(options [, callback]) new Method({ name: 'getPastLogs', call: 'eth_getLogs', params: 1, inputFormatter: [formatter.inputLogFormatter], outputFormatter: formatter.outputLogFormatter