0

我在 Rinkeby 测试网上部署了 FLuxAggregator,现在尝试从本地节点与其通信。

工作规范是:

{
"initiators": [
    {
        "type": "fluxmonitor",
        "params": {
            "address": "0x56a1CB8672C6Deb270C764B0Dd5142B7726751F1",
            "requestData": {
                "data": {
                    "from": "ETH",
                    "to": "USD"
                }
            },
            "feeds": [
                {
                    "bridge": "coinapi_cl_ea"
                },
                {
                    "bridge": "coingecko_cl_ea"
                }
            ],
            "threshold": 1,
            "absoluteThreshold": 1,
            "precision": 8,
            "pollTimer": {
                "period": "5m0s"
            },
            "idleTimer": {
                "duration": "1h0m0s"
            }
        }
    }
],
"tasks": [
    {
        "type": "NoOp"
    },
    {
      "type": "ethtx"
    }
]}

我可以在“noOp”中看到我有一个很好的价值“1900 USD/ETHER”。但是,“提交”事务会恢复。检查 Rinkeby 上的交易时: https://rinkeby.etherscan.io/tx/0x9de2c4e12c76e93f2c99ebe471cbcc1d0b9e3080ba34d5467242cf0f45074690,我注意到通量监视器提交了错误的值。事实上它提交“6432”你能帮我吗?也许我的工作规范是错误的

4

0 回答 0