[SOLVED] Syncs: new interface - ABI

Hi,

There is a new interface for creating a sync task, and from what I see the interface changed: now we are supposed to provide the whole contract ABI and not only the event ABI.

I’m using solc, and getting the ABI generated: it does not work, the topic always mention ‘no data’

I’m removing the bytecode, no progress, the immutablereferences, same thing…

Can you give a sample of a simple working ABI (so I can guess the required format) ?

Cheers

try to use this syntax: [ your_event_ABI_here ]

It tried… but still “no data”

Blockquote
{
“anonymous”: false,
“inputs”: [
{
“indexed”: true,
“internalType”: “address”,
“name”: “user”,
“type”: “address”
},
{
“indexed”: true,
“internalType”: “uint256”,
“name”: “bet”,
“type”: “uint256”
},
{
“indexed”: true,
“internalType”: “bool”,
“name”: “win”,
“type”: “bool”
},
{
“indexed”: false,
“internalType”: “uint8”,
“name”: “side”,
“type”: “uint8”
}
],
“name”: “bet”,
“type”: “event”
}

Ouuuch, it worked waiting a while !!!

1 Like