Releases: compolabs/orderbook-contract
Release v0.6.5
This release incorporates new events to reduce the computation required to calculate user balances and trade volume on the indexer. This release also uses the latest versions of fuels-rs v0.66.9 and forc 0.66.4. The latest version of fuels-ts v0.96.1 is now compatible with this version of the Orderbook smart contracts.
Mainnet Test Addresses
Spark Registry
0xbb91b7f9d31ee562b24e35d756ce20913f9752600582f51008c63b2d3792926b
tBTC/tUSDC Spark Market
0x9f7c554b235320a1001621010069b0323661068dd6d02f0f766838e3001c3b31
tETH/tUSDC Spark Market
0x4c9010a055ab636c38caa0e4c7cf9eb4ad8d6f44ff6e094f23b3dcdd291ee093
Asset Deployment Addresses
tETH address: 0xf169e13e98ae8908199148380684894458b7916f074b85ebad2aaad489ce0d54
tBTC address 0x0dc8cdbe2798cb45ebc99180afc0bc514ffb505a80f122004378955c1d23892c
tUSDC address 0x22dfb618b9fc621a7d53f0f599dd427fb5688e280062a8de8883a27819d3f276
Crates packages
spark-CLI: https://crates.io/crates/spark-cli
spark-market-sdk: https://crates.io/crates/spark-market-sdk
spark-registry-sdk: https://crates.io/crates/spark-registry-sdk
Release v0.6.3
This release incorporates new events to reduce the computation required to calculate user balances and trade volume on the indexer. This release also uses the latest versions of fuels-rs v0.66.9 and forc 0.65.2. The latest version of fuels-ts v0.96.1 is now compatible with this version of the Orderbook smart contracts.
Testnet Addresses
Spark Registry
0x0c26b7134516773469cd02030a783e43776d1fd26e0698b51af3cef4938e2925
BTC/USDC Spark Market
0xc5ed0d9b17beedd1c6c10a84bb496f12a5082aa3ce2ad55630bbcac22c64fcf4
ETH/USDC Spark Market
0x944a3d62e65f3aefa7ac4a065eb9390a98806ef254aaece6df239ee78e6c2998
Asset Deployment Addresses
ETH address: 0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07
BTC address 0x38e4ca985b22625fff93205e997bfc5cc8453a953da638ad297ca60a9f2600bc
USDC address 0x336b7c06352a4b736ff6f688ba6885788b3df16e136e95310ade51aa32dc6f05
Crates packages
spark-CLI: https://crates.io/crates/spark-cli
spark-market-sdk: https://crates.io/crates/spark-market-sdk
spark-registry-sdk: https://crates.io/crates/spark-registry-sdk
Release v0.6.2
This release incorporates new events to reduce the computation required to calculate user balances and trade volume on the indexer. This release also uses the latest versions of fuels-rs v0.66.9 and forc 0.65.2. The latest version of fuels-ts v0.96.1 is now compatible with this version of the Orderbook smart contracts.
Spark Registry
0xd76662328e464549b6f619401992127bed9b5cff3b46a3516e6b509d810b7035
BTC/USDC Spark Market
0x81acb82a64ff799836c19f4e7f9871cf6d13a1e5d286e815f91c26a1b92a8195
ETH/USDC Spark Market
0x3830aa30ddd4843dd13b6af7ae4fb59d8c5933b1a98cba9a80897c8ba5557307
Asset Deployment Addresses
ETH address: 0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07
BTC address 0x38e4ca985b22625fff93205e997bfc5cc8453a953da638ad297ca60a9f2600bc
USDC address 0x336b7c06352a4b736ff6f688ba6885788b3df16e136e95310ade51aa32dc6f05
Crates packages
spark-CLI: https://crates.io/crates/spark-cli
spark-market-sdk: https://crates.io/crates/spark-market-sdk
spark-registry-sdk: https://crates.io/crates/spark-registry-sdk
Release v0.6.1
This release incorporates new events to reduce the computation required to calculate user balances and trade volume on the indexer. This release also uses the latest versions of fuels-rs v0.66.8 and forc 0.65.2. The latest version of fuels-ts v0.96.1 is now compatible with this version of the orderbook smart contracts.
Spark Registry
0xd6474c9d90a4a4bcdb762f48d38afc8283799799d7e48e1055fb373ff87fb9d7
BTC/USDC Spark Market
0x9492dfe08f7da2ff6366304bed64ab64b5208593657852d5b22f2c12f256785e
ETH/USDC Spark Market
0xcb021899e5a3178069b7caeb6e0b2391b9acf631f77733ee52500a55dc00736d
Asset Deployment Addresses
ETH address: 0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07
BTC address 0x38e4ca985b22625fff93205e997bfc5cc8453a953da638ad297ca60a9f2600bc
USDC address 0x336b7c06352a4b736ff6f688ba6885788b3df16e136e95310ade51aa32dc6f05
Crates packages
spark-CLI: https://crates.io/crates/spark-cli
spark-market-sdk: https://crates.io/crates/spark-market-sdk
spark-registry-sdk: https://crates.io/crates/spark-registry-sdk
Release v0.6.0
This release incorporates new events to reduce the computation required to calculate user balances and trade volume on the indexer. This release also uses the latest versions of fuels-rs v0.66.7 and forc 0.64.0. The latest version of fuels-ts v0.94.8 is now compatible with this version of the orderbook smart contracts.
Spark Registry
0x194987ad2314d2de50646078ac1841f00b2dffda863a7d3dd421d220eb83d019
BTC/USDC Spark Market
0x7b88385ae73dd3ccc62012e7a52cddd05c7e82ad54a5df721dfa0c1f8b5998f0
ETH/USDC Spark Market
0xc18094a283193c9b4726d2f644ed07ec9806bbe60a0688d45bffb26c379c1428
Asset Deployment Addresses
ETH address: 0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07
BTC address 0x38e4ca985b22625fff93205e997bfc5cc8453a953da638ad297ca60a9f2600bc
USDC address 0x336b7c06352a4b736ff6f688ba6885788b3df16e136e95310ade51aa32dc6f05
Crates packages
spark-CLI: https://crates.io/crates/spark-cli
spark-market-sdk: https://crates.io/crates/spark-market-sdk
spark-registry-sdk: https://crates.io/crates/spark-registry-sdk
Release v0.5.1
This release incorporates new events to reduce the computation required to calculate user balances and trade volume on the indexer. This release also uses the latest versions of fuels-rs v0.66.5 and forc 0.63.6. The latest version of fuels-ts v0.94.6 is now compatible with this version of the orderbook smart contracts.
Spark Registry
0xfc3439e66c15c0b8e8e02e0fe4951eecd6001639a6aa8a650885af62ea92540f
BTC/USDC Spark Market
0xbc69e42348c9a992100970e8469247b58a517c2f7dd373741c6707cda35ccfc6
ETH/USDC Spark Market
0x10860c51de3a37c47ebff2e08a810d9e2963ef161ee3a88274520938c85914e8
Asset Deployment Addresses
ETH address: 0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07
BTC address 0x38e4ca985b22625fff93205e997bfc5cc8453a953da638ad297ca60a9f2600bc
USDC address 0x336b7c06352a4b736ff6f688ba6885788b3df16e136e95310ade51aa32dc6f05
Crates packages
spark-CLI: https://crates.io/crates/spark-cli
spark-market-sdk: https://crates.io/crates/spark-market-sdk
spark-registry-sdk: https://crates.io/crates/spark-registry-sdk
Release v0.5.0
This release incorporates new events to reduce the computation required to calculate user balances and trade volume on the indexer. This release also uses the latest versions of fuels-rs v0.66.5 and forc 0.63.6. The latest version of fuels-ts v0.94.6 is now compatible with this version of the orderbook smart contracts.
Spark Registry
0x0f5232e0d927f7a477baa7e6f0380c50f8b3de5c0d6ae42bb29ba8a767e5ff1a
BTC/USDC Spark Market
0xb1ed073b4dccbff48e2ac1b52a49454e6a2921aa54effee89eb958dc5ddbffbe
ETH/USDC Spark Market
0x2dd759eb0671e293b5e386f9b4f1cc8a1cb2c4ed1cf839e5de4f06f822d3790f
Asset Deployment Addresses
ETH address: 0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07
BTC address 0x38e4ca985b22625fff93205e997bfc5cc8453a953da638ad297ca60a9f2600bc
USDC address 0x336b7c06352a4b736ff6f688ba6885788b3df16e136e95310ade51aa32dc6f05
Crates packages
spark-CLI: https://crates.io/crates/spark-cli
spark-market-sdk: https://crates.io/crates/spark-market-sdk
spark-registry-sdk: https://crates.io/crates/spark-registry-sdk
Release v0.4.0
This release incorporates new events to reduce the computation required to calculate user balances and trade volume on the indexer. This release also uses the latest versions of fuels-rs v0.66.4
and forc 0.63.5
. The latest version of fuels-ts v0.94.6
is now compatible with this version of the orderbook smart contracts.
Spark Registry
0xe943c485046d9e68e5fcb724a508f2af7f65141637c0aabcd620597437881225
BTC/USDC Spark Market
0x30bd67d27a021ae7acc982fdcbf905d3ea229f914e30b70860c0577457c87b19
ETH/USDC Spark Market
0xd2678aaafa555b09d974273c6ae308aa3be3f89a8585a68bc05aa74e04b641df
ETH/BTC Spark Market
0x95fad7c38e35b795eb993758a891710b7ce18958f0d6a4451bd0be70401fc62e
Asset Deployment Addresses
ETH address: 0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07
BTC address 0x38e4ca985b22625fff93205e997bfc5cc8453a953da638ad297ca60a9f2600bc
USDC address 0x336b7c06352a4b736ff6f688ba6885788b3df16e136e95310ade51aa32dc6f05
Crates packages
spark-CLI: https://crates.io/crates/spark-cli
spark-market-sdk: https://crates.io/crates/spark-market-sdk
spark-registry-sdk: https://crates.io/crates/spark-registry-sdk
v0.3.1
Spark Market, Spark Registry, SDK, & CLI
Fuel Dependencies:
forc v0.63.3
fuel-core v0.35.0
fuels-rs v0.66.3
Contents:
spark-market - CLOB for single asset pair written in Sway. Manages trading for a single asset pair on Spark.
spark-registry - Market registry contract for Spark. Serves as the registry of Spark Market contracts
Fuels-rs 0.66.3 compatible SDKs:
spark-market-sdk - Rust SDK for spark market contract interaction
https://crates.io/crates/spark-market-sdk
spark-registry-sdk - Rust SDK for spark registry contract interaction
https://crates.io/crates/spark-registry-sdk
spark-cli - CLI for market and registry contract interactions
https://crates.io/crates/spark-cli
Deployment Addresses
Contract Addresses:
Spark Market Registry: 0x0ced80a8ce2cc8a3d39a88483edd961b2b7e9e5028f27cd2766f03fc61c406c9
Spark Market BTC/USDC: 0x8c84df7be0c095c5bac97e66e24aa00f4f51d50e207f2687128bd180a804cff6
Spark Market ETH/USDC: 0x352f7acf2286f4bddc278cfe8b0f84313ba46a1b71b7b9e7c5fc4869c93db8bb
Asset Addresses:
ETH address 0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07
BTC address 0x38e4ca985b22625fff93205e997bfc5cc8453a953da638ad297ca60a9f2600bc
USDC address 0x336b7c06352a4b736ff6f688ba6885788b3df16e136e95310ade51aa32dc6f05
v0.2.1
First Release of the Spark Framework on Fuel Network.
Modules:
Forc 0.62.0 compatible contracts
market-contract
- A Market
Sway contract
The Market
contract manages token pair orders on-chain
orderbook-contract
- An Orderbook
Sway contract
Registry of Spark Market
contracts
Fuel-Rs 0.65.1 compatible SDKs
spark-market-sdk
- Rust SDK for Market
contract interaction
https://crates.io/crates/spark-market-sdk
spark-orderbook-sdk
- Rust SDK for Orderbook
contract interaction
https://crates.io/crates/spark-orderbook-sdk
spark-cli
- CLI for Market
and Orderbook
contract interactions
https://crates.io/crates/spark-cli
Addresses:
ETH address 0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07
BTC address 0x38e4ca985b22625fff93205e997bfc5cc8453a953da638ad297ca60a9f2600bc
USDC address 0x336b7c06352a4b736ff6f688ba6885788b3df16e136e95310ade51aa32dc6f05
BTC-USDC Market address 0x9bc5f33c9a1bec6461500cd85b3ba1d8f0094a865b6b9c4367631e4111d0305d
ETH-USDC Market address 0x2e9f781674f292d4db1ad150e7685e1f1ebad3c1ba403a64fff54b019ed70765
Orderbook address 0x0911d52d95a71dd484690636fb81db8596f54ee18fe5eb7e33842025d1dd80de