Closed daniel1302 closed 7 months ago
There is a new structure that defines stuff We want to monitor.
[[Monitoring.EthereumChain]] Period = "1m15s" ChainId = 100 NetworkId = 100 RPCEndpoint = "https://rpc.ankr.com/gnosis/XXXXXXX" Accounts = [ "0xda81a723E748C782284Bbb06AB74e3D0A9dBBC77", "0xd653d30e3e9aec42f98f2eb43d1a0ba40cc71e7a", "0xd653d30e3e9aec42f98f2eb43d1a0ba40cc71e7a" ] [[Monitoring.EthereumChain.Calls]] Address = "0x719abd606155442c21b7d561426d42bd0e40a776" Abi = "[{\n \"inputs\": [\n {\n \"internalType\": \"bytes32\",\n \"name\": \"id\",\n \"type\": \"bytes32\"\n }\n ],\n \"name\": \"getPrice\",\n \"outputs\": [\n {\n \"internalType\": \"int256\",\n \"name\": \"\",\n \"type\": \"int256\"\n }\n ],\n \"stateMutability\": \"view\",\n \"type\": \"function\"\n }]" Method = "getPrice" Args = [ "0xc63e2a7f37a04e5e614c07238bedb25dcc38927fba8fe890597a593c0b2fa4ad" ] OutputTransform = "float_price:18"
Changes:
On chain monitoring
There is a new structure that defines stuff We want to monitor.