Module Overview
Module Name outcome_registry
Module Reference ec4b9ffc05
Verification Status Unverifiable
Age 16 days
Sender 19309
More Info
Deployed in block 50,977,131
Deployed in tx 5710
Methods 10
Contracts 4
Module Build Info
Verification Status:Unverifiable
Build Image Used:N/A
Build Command Used:N/A
Archive Hash:N/A
Link to Source Code:N/A
Explanation:No embedded build information found.
Module Schema
Initialization

Parameters
{
  "registry": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}
Errors
None
Event
{
  "Enum": [
    {
      "Committed": {
        "agent_id": "<UInt64>",
        "claim": "<String>",
        "commitment": [
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>",
          "<UInt8>"
        ],
        "committer": "<AccountAddress>",
        "resolves_at": "<UInt64>",
        "seq": "<UInt64>"
      }
    },
    {
      "Revealed": {
        "probability_bps": "<UInt16>",
        "seq": "<UInt64>"
      }
    },
    {
      "Resolved": {
        "outcome": "<Bool>",
        "seq": "<UInt64>"
      }
    },
    {
      "Scored": {
        "agent_id": "<UInt64>",
        "brier": "<UInt64>",
        "seq": "<UInt64>"
      }
    },
    {
      "Forfeited": {
        "agent_id": "<UInt64>",
        "seq": "<UInt64>"
      }
    },
    {
      "OperatorChanged": {
        "agent_id": "<UInt64>",
        "allowed": "<Bool>",
        "operator": "<AccountAddress>",
        "owner": "<AccountAddress>"
      }
    }
  ]
}
Methods

Parameters
"<UInt64>"
Errors
None
Return
{
  "brier_sum": "<UInt64>",
  "committed": "<UInt64>",
  "forfeited": "<UInt64>",
  "probability_sum": "<UInt64>",
  "resolved": "<UInt64>",
  "revealed": "<UInt64>",
  "scored": "<UInt64>",
  "yes": "<UInt64>"
}

Parameters
[
  {
    "agent_id": "<UInt64>",
    "claim": "<String>",
    "commitment": [
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>"
    ],
    "evidence": [
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>"
    ],
    "resolver": "<AccountAddress>",
    "resolves_at": "<UInt64>",
    "reveal": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            {
              "probability_bps": "<UInt16>",
              "salt": [
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>",
                "<UInt8>"
              ]
            }
          ]
        }
      ]
    },
    "reveal_window": "<UInt64>"
  }
]
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "NotAgentOwner": []
    },
    {
      "Unauthorized": []
    },
    {
      "NotFound": []
    },
    {
      "TooLong": []
    },
    {
      "EmptyBatch": []
    },
    {
      "BatchTooLarge": []
    },
    {
      "InvalidProbability": []
    },
    {
      "ResolvesInPast": []
    },
    {
      "RevealWindowTooLong": []
    },
    {
      "CommitmentMismatch": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "AlreadyResolved": []
    },
    {
      "TooEarly": []
    },
    {
      "RevealClosed": []
    },
    {
      "NotForfeitable": []
    },
    {
      "RegistryCall": []
    }
  ]
}
Return
[
  "<UInt64>"
]

Parameters
"<UInt64>"
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "NotAgentOwner": []
    },
    {
      "Unauthorized": []
    },
    {
      "NotFound": []
    },
    {
      "TooLong": []
    },
    {
      "EmptyBatch": []
    },
    {
      "BatchTooLarge": []
    },
    {
      "InvalidProbability": []
    },
    {
      "ResolvesInPast": []
    },
    {
      "RevealWindowTooLong": []
    },
    {
      "CommitmentMismatch": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "AlreadyResolved": []
    },
    {
      "TooEarly": []
    },
    {
      "RevealClosed": []
    },
    {
      "NotForfeitable": []
    },
    {
      "RegistryCall": []
    }
  ]
}
Return
{
  "agent_id": "<UInt64>",
  "brier": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<UInt64>"
        ]
      }
    ]
  },
  "claim": "<String>",
  "commitment": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "committed_at": "<UInt64>",
  "committer": "<AccountAddress>",
  "evidence": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "outcome": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<Bool>"
        ]
      }
    ]
  },
  "outcome_evidence": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "probability_bps": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<UInt16>"
        ]
      }
    ]
  },
  "resolved_at": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          "<UInt64>"
        ]
      }
    ]
  },
  "resolver": "<AccountAddress>",
  "resolves_at": "<UInt64>",
  "reveal_by": "<UInt64>",
  "status": {
    "Enum": [
      {
        "Open": []
      },
      {
        "Revealed": []
      },
      {
        "Scored": []
      },
      {
        "Forfeited": []
      }
    ]
  }
}

Parameters
{
  "from": "<UInt64>",
  "limit": "<UInt64>"
}
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "NotAgentOwner": []
    },
    {
      "Unauthorized": []
    },
    {
      "NotFound": []
    },
    {
      "TooLong": []
    },
    {
      "EmptyBatch": []
    },
    {
      "BatchTooLarge": []
    },
    {
      "InvalidProbability": []
    },
    {
      "ResolvesInPast": []
    },
    {
      "RevealWindowTooLong": []
    },
    {
      "CommitmentMismatch": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "AlreadyResolved": []
    },
    {
      "TooEarly": []
    },
    {
      "RevealClosed": []
    },
    {
      "NotForfeitable": []
    },
    {
      "RegistryCall": []
    }
  ]
}
Return
[
  [
    "<UInt64>",
    {
      "agent_id": "<UInt64>",
      "brier": {
        "Enum": [
          {
            "None": []
          },
          {
            "Some": [
              "<UInt64>"
            ]
          }
        ]
      },
      "claim": "<String>",
      "commitment": [
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>"
      ],
      "committed_at": "<UInt64>",
      "committer": "<AccountAddress>",
      "evidence": [
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>"
      ],
      "outcome": {
        "Enum": [
          {
            "None": []
          },
          {
            "Some": [
              "<Bool>"
            ]
          }
        ]
      },
      "outcome_evidence": [
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>"
      ],
      "probability_bps": {
        "Enum": [
          {
            "None": []
          },
          {
            "Some": [
              "<UInt16>"
            ]
          }
        ]
      },
      "resolved_at": {
        "Enum": [
          {
            "None": []
          },
          {
            "Some": [
              "<UInt64>"
            ]
          }
        ]
      },
      "resolver": "<AccountAddress>",
      "resolves_at": "<UInt64>",
      "reveal_by": "<UInt64>",
      "status": {
        "Enum": [
          {
            "Open": []
          },
          {
            "Revealed": []
          },
          {
            "Scored": []
          },
          {
            "Forfeited": []
          }
        ]
      }
    }
  ]
]

Parameters
[
  "<UInt64>"
]
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "NotAgentOwner": []
    },
    {
      "Unauthorized": []
    },
    {
      "NotFound": []
    },
    {
      "TooLong": []
    },
    {
      "EmptyBatch": []
    },
    {
      "BatchTooLarge": []
    },
    {
      "InvalidProbability": []
    },
    {
      "ResolvesInPast": []
    },
    {
      "RevealWindowTooLong": []
    },
    {
      "CommitmentMismatch": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "AlreadyResolved": []
    },
    {
      "TooEarly": []
    },
    {
      "RevealClosed": []
    },
    {
      "NotForfeitable": []
    },
    {
      "RegistryCall": []
    }
  ]
}
Return
None

Parameters
None
Errors
None
Return
{
  "count": "<UInt64>",
  "registry": {
    "index": "<UInt64>",
    "subindex": "<UInt64>"
  }
}

Parameters
{
  "agent_id": "<UInt64>",
  "operator": "<AccountAddress>"
}
Errors
None
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        "<AccountAddress>"
      ]
    }
  ]
}

Parameters
[
  {
    "evidence": [
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>"
    ],
    "outcome": "<Bool>",
    "seq": "<UInt64>"
  }
]
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "NotAgentOwner": []
    },
    {
      "Unauthorized": []
    },
    {
      "NotFound": []
    },
    {
      "TooLong": []
    },
    {
      "EmptyBatch": []
    },
    {
      "BatchTooLarge": []
    },
    {
      "InvalidProbability": []
    },
    {
      "ResolvesInPast": []
    },
    {
      "RevealWindowTooLong": []
    },
    {
      "CommitmentMismatch": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "AlreadyResolved": []
    },
    {
      "TooEarly": []
    },
    {
      "RevealClosed": []
    },
    {
      "NotForfeitable": []
    },
    {
      "RegistryCall": []
    }
  ]
}
Return
None

Parameters
[
  {
    "probability_bps": "<UInt16>",
    "salt": [
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>"
    ],
    "seq": "<UInt64>"
  }
]
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "NotAgentOwner": []
    },
    {
      "Unauthorized": []
    },
    {
      "NotFound": []
    },
    {
      "TooLong": []
    },
    {
      "EmptyBatch": []
    },
    {
      "BatchTooLarge": []
    },
    {
      "InvalidProbability": []
    },
    {
      "ResolvesInPast": []
    },
    {
      "RevealWindowTooLong": []
    },
    {
      "CommitmentMismatch": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "AlreadyResolved": []
    },
    {
      "TooEarly": []
    },
    {
      "RevealClosed": []
    },
    {
      "NotForfeitable": []
    },
    {
      "RegistryCall": []
    }
  ]
}
Return
None

Parameters
[
  {
    "agent_id": "<UInt64>",
    "allowed": "<Bool>",
    "operator": "<AccountAddress>"
  }
]
Errors
{
  "Enum": [
    {
      "ParseParams": []
    },
    {
      "LogFull": []
    },
    {
      "NotAgentOwner": []
    },
    {
      "Unauthorized": []
    },
    {
      "NotFound": []
    },
    {
      "TooLong": []
    },
    {
      "EmptyBatch": []
    },
    {
      "BatchTooLarge": []
    },
    {
      "InvalidProbability": []
    },
    {
      "ResolvesInPast": []
    },
    {
      "RevealWindowTooLong": []
    },
    {
      "CommitmentMismatch": []
    },
    {
      "AlreadyRevealed": []
    },
    {
      "AlreadyResolved": []
    },
    {
      "TooEarly": []
    },
    {
      "RevealClosed": []
    },
    {
      "NotForfeitable": []
    },
    {
      "RegistryCall": []
    }
  ]
}
Return
None
Module Usage