Jungle 4 (Testnet)

oracle.gm

Contract

The data structures defined by this contract.

  • Action parameter in addoracle

    {
      "name": "addoracle",
      "base": "",
      "fields": [
        {
          "name": "oracle",
          "type": "name"
        }
      ]
    }
  • Action parameter in advance

    {
      "name": "advance",
      "base": "",
      "fields": []
    }
  • Action parameter in cmplastepoch

    {
      "name": "cmplastepoch",
      "base": "",
      "fields": [
        {
          "name": "drops",
          "type": "uint64"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Action parameter in commit

    {
      "name": "commit",
      "base": "",
      "fields": [
        {
          "name": "oracle",
          "type": "name"
        },
        {
          "name": "epoch",
          "type": "uint64"
        },
        {
          "name": "commit",
          "type": "checksum256"
        }
      ]
    }
  • Table row type of commit

    {
      "name": "commit_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "epoch",
          "type": "uint64"
        },
        {
          "name": "oracle",
          "type": "name"
        },
        {
          "name": "commit",
          "type": "checksum256"
        }
      ]
    }
  • Action parameter in computedrops

    {
      "name": "computedrops",
      "base": "",
      "fields": [
        {
          "name": "epoch",
          "type": "uint64"
        },
        {
          "name": "drops",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in computeepoch

    {
      "name": "computeepoch",
      "base": "",
      "fields": [
        {
          "name": "epoch",
          "type": "uint64"
        }
      ]
    }
  • Table row type of epoch

    Action return type for advance

    {
      "name": "epoch_row",
      "base": "",
      "fields": [
        {
          "name": "epoch",
          "type": "uint64"
        },
        {
          "name": "oracles",
          "type": "name[]"
        },
        {
          "name": "completed",
          "type": "uint64"
        },
        {
          "name": "drops",
          "type": "checksum256"
        }
      ]
    }
  • Action parameter in finishreveal

    {
      "name": "finishreveal",
      "base": "",
      "fields": [
        {
          "name": "epoch",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": []
    }
  • Table row type of oracle

    {
      "name": "oracle_row",
      "base": "",
      "fields": [
        {
          "name": "oracle",
          "type": "name"
        }
      ]
    }
  • Action parameter in removeoracle

    {
      "name": "removeoracle",
      "base": "",
      "fields": [
        {
          "name": "oracle",
          "type": "name"
        }
      ]
    }
  • Action parameter in reveal

    {
      "name": "reveal",
      "base": "",
      "fields": [
        {
          "name": "oracle",
          "type": "name"
        },
        {
          "name": "epoch",
          "type": "uint64"
        },
        {
          "name": "reveal",
          "type": "string"
        }
      ]
    }
  • Table row type of reveal

    {
      "name": "reveal_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "epoch",
          "type": "uint64"
        },
        {
          "name": "oracle",
          "type": "name"
        },
        {
          "name": "reveal",
          "type": "string"
        }
      ]
    }
  • Action parameter in subscribe

    {
      "name": "subscribe",
      "base": "",
      "fields": [
        {
          "name": "subscriber",
          "type": "name"
        }
      ]
    }
  • Table row type of subscriber

    {
      "name": "subscriber_row",
      "base": "",
      "fields": [
        {
          "name": "subscriber",
          "type": "name"
        }
      ]
    }
  • Action parameter in unsubscribe

    {
      "name": "unsubscribe",
      "base": "",
      "fields": [
        {
          "name": "subscriber",
          "type": "name"
        }
      ]
    }
  • Action parameter in wipe

    {
      "name": "wipe",
      "base": "",
      "fields": []
    }