This commit is contained in:
aozhiwei 2023-07-03 19:31:56 +08:00
parent a78ca5a6e4
commit a4854c9bbc

View File

@ -86,7 +86,7 @@ class PullBcEvent extends BaseService {
't_last_block', 't_last_block',
[ [
['net_id', this.getNetId()], ['net_id', this.getNetId()],
['address', this.getContractAddress()], ['contract_address', this.getContractAddress()],
['event_name', this.getEventName()], ['event_name', this.getEventName()],
] ]
); );
@ -160,19 +160,21 @@ class PullBcEvent extends BaseService {
['txhash', event['transactionHash']], ['txhash', event['transactionHash']],
['log_index', event['logIndex']], ['log_index', event['logIndex']],
['net_id', this.bc.getNetId()], ['net_id', this.bc.getNetId()],
['contract_name', this.getContractAddress()],
],
[
],
[
['instance_name', this.getContractName()],
['event_name', this.getEventName()], ['event_name', this.getEventName()],
['contract_address', this.getContractAddress()],
],
[
],
[
['txhash', event['transactionHash']], ['txhash', event['transactionHash']],
['log_index', event['logIndex']], ['log_index', event['logIndex']],
['net_id', this.bc.getNetId()],
['event_name', this.getEventName()],
['contract_address', this.getContractAddress()],
['contract_name', this.getContractName()],
['block_number', event['blockNumber']], ['block_number', event['blockNumber']],
['raw_data', utils.jsonEncode(event)], ['raw_data', utils.jsonEncode(event)],
['return_values', utils.jsonEncode(returnValues)], ['return_values', utils.jsonEncode(returnValues)],
['net_id', this.bc.getNetId()],
['createtime', utils.getUtcTime()], ['createtime', utils.getUtcTime()],
['modifytime', utils.getUtcTime()], ['modifytime', utils.getUtcTime()],
] ]