Hi,
I have NodeJS code running server-side, monitoring the PairCreated event on PancakeSwap’s 0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73
Event:
PairCreated(address indexed token0, address indexed token1, address pair, uint)
ABI:
{
“anonymous”: false,
“inputs”: [
{
“indexed”: true,
“internalType”: “address”,
“name”: “token0”,
“type”: “address”
},
{
“indexed”: true,
“internalType”: “address”,
“name”: “token1”,
“type”: “address”
},
{
“indexed”: false,
“internalType”: “address”,
“name”: “pair”,
“type”: “address”
},
{
“indexed”: false,
“internalType”: “uint256”,
“name”: “”,
“type”: “uint256”
}
],
“name”: “PairCreated”,
“type”: “event”
}
When I use NodeJS’s ethers library to monitor (connecting to a BSC mainnet speedy node), I receive the events as expected.
When I setup a sync using the same ABI/event/address, I get nothing, the database remains at 0 documents.
It’s set to sync to the table “tokens”
I can see the sync data in the EventSync table, but nothing in the tokens table.
What am I doing wrong?