Skip to content

Transfer event not returned in getEvents #11

@dafky2000

Description

@dafky2000

evm: v0.2.0
node: v11.14.0

There is a Transfer event defined on this contract but not return by the getEvents method of EVM
https://etherscan.io/address/0x5d00d312e171be5342067c09bae883f9bcb2003b#code
event Transfer(address indexed _from, address indexed _to, uint256 indexed _tokenId)

Reproduce:

const code = await web3.eth.getCode('0x5d00d312e171be5342067c09bae883f9bcb2003b');                                        
const evm = new EVM(code);                                
const events = evm.getEvents();
console.log(events);

Expected:

[ 'Transfer(address,address,uint256)', 'Approval(address,address,uint256)', 'ApprovalForAll(address,address,bool)' ]

Actual:

[ 'Approval(address,address,uint256)', 'ApprovalForAll(address,address,bool)' ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions