Monitoring of the xDai Chain bridge

wiki

#1

Bridge monitoring for xDai Chain is deployed here https://bridge-monitoring.poa.net/dai/eventsStats from https://github.com/poanetwork/bridge-monitor GitHub repository.

When there are no differences in balances on different networks the bridge stats looks as presented here:

{
"onlyInHomeDeposits": [],
"onlyInForeignDeposits": [],
"onlyInHomeWithdrawals": [],
"onlyInForeignWithdrawals": [],
"lastChecked": 1549452673,
"timeDiff": 11,
"ok": true
}

Here is a JSON with differences in balances which is normal because validators wait for at least 8 blocks on xDai chain to achieve more probabilistic finality and block are not always with free capacity on Ethereum Mainnet.

{
"onlyInHomeDeposits": [
{
"address": "0x7301CFA0e1756B71869E93d4e4Dca5c7d0eb0AA6",
"blockHash": "0xfab2c64a612d7a067d41eb4215d345d43f4e244b97627b1f381db55026b40b4f",
"blockNumber": 2041297,
"logIndex": 0,
"removed": false,
"transactionHash": "0x08ae6c6414ff211fdd0660267fa545c99992607066f2a01cb4f506199251914f",
"transactionIndex": 0,
"transactionLogIndex": "0x0",
"type": "mined",
"id": "log_1580906e",
"returnValues": {
"0": "0xA84944735B66e957Fe385567dcc85975022Fe68A",
"1": "10000000000000000000",
"recipient": "0xA84944735B66e957Fe385567dcc85975022Fe68A",
"value": "10000000000000000000"
},
"event": "UserRequestForSignature",
"signature": "0x127650bcfb0ba017401abe4931453a405140a8fd36fece67bae2db174d3fdd63",
"raw": {
"data": "0x000000000000000000000000a84944735b66e957fe385567dcc85975022fe68a0000000000000000000000000000000000000000000000008ac7230489e80000",
"topics": [
"0x127650bcfb0ba017401abe4931453a405140a8fd36fece67bae2db174d3fdd63"
]
}
}
],
"onlyInForeignDeposits": [],
"onlyInHomeWithdrawals": [],
"onlyInForeignWithdrawals": [],
"lastChecked": 1549452866,
"timeDiff": 39,
"ok": false
}