├── .cargo ├── audit.toml └── config.toml ├── .github └── workflows │ ├── docker.yml │ ├── refresh-docker-cache.yml │ ├── release.yml │ └── tests.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── Dockerfile ├── LICENSE.md ├── README.md ├── config.base.yaml ├── config.example.yaml ├── dist-workspace.toml ├── docker-compose.yaml ├── mainnet-config ├── alonzo-genesis.json ├── byron-genesis.json ├── config.json ├── conway-genesis.json ├── shelley-genesis.json └── topology.json ├── prebuilt.Dockerfile ├── src ├── api.rs ├── bin │ └── keygen.rs ├── cbor.rs ├── config.rs ├── dkg.rs ├── dkg │ ├── logic.rs │ └── tests.rs ├── health.rs ├── instrumentation.rs ├── keys.rs ├── lib.rs ├── main.rs ├── network.rs ├── network │ ├── channel.rs │ ├── core.rs │ ├── test.rs │ └── types.rs ├── price_aggregator.rs ├── price_aggregator │ ├── conversions.rs │ ├── gema.rs │ ├── persistence.rs │ ├── source_adapter.rs │ ├── synth_config_source.rs │ └── utils.rs ├── price_feed.rs ├── price_feed │ ├── codec.rs │ ├── generic.rs │ └── synthetic.rs ├── publisher.rs ├── raft.rs ├── raft │ ├── client.rs │ ├── logic.rs │ └── tests.rs ├── signature_aggregator.rs ├── signature_aggregator │ ├── consensus_aggregator.rs │ ├── price_comparator.rs │ ├── price_instrumentation.rs │ ├── signer.rs │ └── single_aggregator.rs └── sources │ ├── binance.rs │ ├── bybit.rs │ ├── coinbase.rs │ ├── crypto_com.rs │ ├── fxratesapi.rs │ ├── kucoin.rs │ ├── kupo.rs │ ├── maestro.rs │ ├── minswap.rs │ ├── mod.rs │ ├── okx.rs │ ├── source.rs │ ├── splash.rs │ ├── sundaeswap.rs │ ├── sundaeswap_kupo.rs │ ├── vyfi.rs │ └── wingriders.rs └── test_data └── keys └── private.pem /.cargo/audit.toml: -------------------------------------------------------------------------------- 1 | [advisories] 2 | informational_warnings = [] -------------------------------------------------------------------------------- /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.github/workflows/docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/.github/workflows/docker.yml -------------------------------------------------------------------------------- /.github/workflows/refresh-docker-cache.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/.github/workflows/refresh-docker-cache.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /data 2 | /keys 3 | /target 4 | /volumes 5 | .env 6 | config.yaml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/README.md -------------------------------------------------------------------------------- /config.base.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/config.base.yaml -------------------------------------------------------------------------------- /config.example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/config.example.yaml -------------------------------------------------------------------------------- /dist-workspace.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/dist-workspace.toml -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /mainnet-config/alonzo-genesis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/mainnet-config/alonzo-genesis.json -------------------------------------------------------------------------------- /mainnet-config/byron-genesis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/mainnet-config/byron-genesis.json -------------------------------------------------------------------------------- /mainnet-config/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/mainnet-config/config.json -------------------------------------------------------------------------------- /mainnet-config/conway-genesis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/mainnet-config/conway-genesis.json -------------------------------------------------------------------------------- /mainnet-config/shelley-genesis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/mainnet-config/shelley-genesis.json -------------------------------------------------------------------------------- /mainnet-config/topology.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/mainnet-config/topology.json -------------------------------------------------------------------------------- /prebuilt.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/prebuilt.Dockerfile -------------------------------------------------------------------------------- /src/api.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/api.rs -------------------------------------------------------------------------------- /src/bin/keygen.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/bin/keygen.rs -------------------------------------------------------------------------------- /src/cbor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/cbor.rs -------------------------------------------------------------------------------- /src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/config.rs -------------------------------------------------------------------------------- /src/dkg.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/dkg.rs -------------------------------------------------------------------------------- /src/dkg/logic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/dkg/logic.rs -------------------------------------------------------------------------------- /src/dkg/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/dkg/tests.rs -------------------------------------------------------------------------------- /src/health.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/health.rs -------------------------------------------------------------------------------- /src/instrumentation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/instrumentation.rs -------------------------------------------------------------------------------- /src/keys.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/keys.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/network.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/network.rs -------------------------------------------------------------------------------- /src/network/channel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/network/channel.rs -------------------------------------------------------------------------------- /src/network/core.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/network/core.rs -------------------------------------------------------------------------------- /src/network/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/network/test.rs -------------------------------------------------------------------------------- /src/network/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/network/types.rs -------------------------------------------------------------------------------- /src/price_aggregator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/price_aggregator.rs -------------------------------------------------------------------------------- /src/price_aggregator/conversions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/price_aggregator/conversions.rs -------------------------------------------------------------------------------- /src/price_aggregator/gema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/price_aggregator/gema.rs -------------------------------------------------------------------------------- /src/price_aggregator/persistence.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/price_aggregator/persistence.rs -------------------------------------------------------------------------------- /src/price_aggregator/source_adapter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/price_aggregator/source_adapter.rs -------------------------------------------------------------------------------- /src/price_aggregator/synth_config_source.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/price_aggregator/synth_config_source.rs -------------------------------------------------------------------------------- /src/price_aggregator/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/price_aggregator/utils.rs -------------------------------------------------------------------------------- /src/price_feed.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/price_feed.rs -------------------------------------------------------------------------------- /src/price_feed/codec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/price_feed/codec.rs -------------------------------------------------------------------------------- /src/price_feed/generic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/price_feed/generic.rs -------------------------------------------------------------------------------- /src/price_feed/synthetic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/price_feed/synthetic.rs -------------------------------------------------------------------------------- /src/publisher.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/publisher.rs -------------------------------------------------------------------------------- /src/raft.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/raft.rs -------------------------------------------------------------------------------- /src/raft/client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/raft/client.rs -------------------------------------------------------------------------------- /src/raft/logic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/raft/logic.rs -------------------------------------------------------------------------------- /src/raft/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/raft/tests.rs -------------------------------------------------------------------------------- /src/signature_aggregator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/signature_aggregator.rs -------------------------------------------------------------------------------- /src/signature_aggregator/consensus_aggregator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/signature_aggregator/consensus_aggregator.rs -------------------------------------------------------------------------------- /src/signature_aggregator/price_comparator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/signature_aggregator/price_comparator.rs -------------------------------------------------------------------------------- /src/signature_aggregator/price_instrumentation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/signature_aggregator/price_instrumentation.rs -------------------------------------------------------------------------------- /src/signature_aggregator/signer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/signature_aggregator/signer.rs -------------------------------------------------------------------------------- /src/signature_aggregator/single_aggregator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/signature_aggregator/single_aggregator.rs -------------------------------------------------------------------------------- /src/sources/binance.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/binance.rs -------------------------------------------------------------------------------- /src/sources/bybit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/bybit.rs -------------------------------------------------------------------------------- /src/sources/coinbase.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/coinbase.rs -------------------------------------------------------------------------------- /src/sources/crypto_com.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/crypto_com.rs -------------------------------------------------------------------------------- /src/sources/fxratesapi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/fxratesapi.rs -------------------------------------------------------------------------------- /src/sources/kucoin.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/kucoin.rs -------------------------------------------------------------------------------- /src/sources/kupo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/kupo.rs -------------------------------------------------------------------------------- /src/sources/maestro.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/maestro.rs -------------------------------------------------------------------------------- /src/sources/minswap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/minswap.rs -------------------------------------------------------------------------------- /src/sources/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/mod.rs -------------------------------------------------------------------------------- /src/sources/okx.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/okx.rs -------------------------------------------------------------------------------- /src/sources/source.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/source.rs -------------------------------------------------------------------------------- /src/sources/splash.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/splash.rs -------------------------------------------------------------------------------- /src/sources/sundaeswap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/sundaeswap.rs -------------------------------------------------------------------------------- /src/sources/sundaeswap_kupo.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/sundaeswap_kupo.rs -------------------------------------------------------------------------------- /src/sources/vyfi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/vyfi.rs -------------------------------------------------------------------------------- /src/sources/wingriders.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/src/sources/wingriders.rs -------------------------------------------------------------------------------- /test_data/keys/private.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/butaneprotocol/oracles/HEAD/test_data/keys/private.pem --------------------------------------------------------------------------------