BSC Smart Contract Sync doesn't work

Hello, is there a bug with syncing smart contract events on BSC?

If I try to add a new smart contract sync for BEP-20 Token it doesn’t show up on the list also no tables created in dashboard :confused:

it could be multiple issues, from abi, to topic, to a previous event sync with an invalid abi
we need more info

In the past I was syncing multiple events on the old UI and it was working, but now I’ve tried different approaches and nothing happens, even with the simplest ideas…

and after proceeding I still get a blank panel

you can paste, server url, abi, topic

if you added an invalid event with an invalid abi in the past, no new added event will sync as the server will get stuck at that invalid event with an invalid abi

Contract address: 0xe0c255a5d89b6d9fedb5c4e43c11341a072e3bcc

Method let’s say stake, but I’m not sure that I could get historical data of that

ABI: {“constant”:false,“inputs”:[{“internalType”:“uint256”,“name”:“amount”,“type”:“uint256”}],“name”:“stake”,“outputs”:[],“payable”:false,“stateMutability”:“nonpayable”,“type”:“function”}

Topic: transfer(address, address, uint256) or stake(address, address, uint256)

the abi only for an event, not for the entire contract

Otherwise

Method: Staked

Topic: transfer(address, uint256) or staked(address, uint256)

ABI: {“anonymous”:false,“inputs”:[{“indexed”:true,“internalType”:“address”,“name”:“user”,“type”:“address”},{“indexed”:false,“internalType”:“uint256”,“name”:“amount”,“type”:“uint256”}],“name”:“Staked”,“type”:“event”}

seems fine, what is the server url?

I’m not sure how I was doing that, but I can’t add any sync to the server

but I was working last 2 days with bscscan API, everything would be fine, but I can’t get token txlist by address with methods and I’ve got some troubles to make an leaderboard of stakers… Stake - (unstake + withdraw) smth like that

there is an invalid abi added for an event sync on that server, it will not work until that event sync is fixed

How you do this that you can get all the transfers by the topic with token values? :blush:

Ohh ok, probably added by the legacy UI and other won’t sync until the first one is fixed?

yes, nothing will work as long as the server got stuck on an invalid abi from an event

Ok thanks, I guess it will be fine for now

You obtain the data by the ABI and topic somehow

The abi that you provide in event sync is used