zeekay d353b8c2d3 fix(deps): patch the AWS SDK EventStream DoS
Panic-driven denial of service in the AWS SDK for Go v2 EventStream decoder:

    aws/protocol/eventstream  -> v1.7.8   (patched in 1.7.8)
    service/s3                -> v1.97.3  (patched in 1.97.3)

Minimum patched versions rather than latest, so the change carries the fix and
nothing else; go get pulled the usual transitive companions at patch level
within v1.x.

Verified: go build ./... exit 0. go test ./... 3 ok, 0 fail.
2026-07-26 05:37:45 -07:00
2026-06-28 20:54:32 -07:00
2026-01-02 06:59:05 -08:00
2026-05-19 08:37:35 -07:00
2026-01-02 06:59:05 -08:00
2026-02-14 05:26:22 -08:00
2026-05-19 08:37:35 -07:00
2026-05-19 08:37:35 -07:00
2026-06-28 20:54:33 -07:00
2026-05-19 08:37:35 -07:00

oracle

Lux Oracle

License: AGPL-3.0-only

This repository contains the UMA-derived Optimistic Oracle and registry contracts for the Lux prediction market ecosystem.

Why AGPL?

These contracts are derived from UMA Protocol's Optimistic Oracle which is licensed under AGPL-3.0. To comply with the copyleft requirements, this code is maintained in a separate repository and imported as a library by other Lux projects.

Contracts

Prediction Oracle (contracts/prediction/)

  • Oracle.sol - Optimistic Oracle with assert-dispute-settle pattern
  • IOracle.sol - Oracle interface with callbacks

Registry (contracts/registry/)

  • Finder.sol - Service locator for ecosystem contracts
  • Store.sol - Fee management and final fees
  • IdentifierWhitelist.sol - Supported query identifiers

Usage

Add as a git submodule or forge dependency:

forge install luxfi/oracle

Then import:

import "@luxfi/oracle/prediction/Oracle.sol";
import "@luxfi/oracle/registry/Finder.sol";
  • Lux Standard (@luxfi/contracts) - MIT-licensed contracts that use this lib
  • UMA Protocol - Original source of the Optimistic Oracle design
S
Description
Blockchain oracle which trustlessly records any verifiable data on the blockchain.
Readme BSD-3-Clause
25 MiB
Languages
Go 58.7%
Solidity 41.3%