Closed jbernal87 closed 7 months ago
The update enhances the Injective CosmWasm mock environment, focusing on trading functionalities for both spot and derivative markets. It introduces new constants, message types, and error handling mechanisms, alongside restructured code for better organization. Key additions include functions for order management, queries related to trading activities, and tests covering various aspects of market interactions. This comprehensive update aims to improve the simulation of trading activities within the Injective ecosystem.
Files | Summary |
---|---|
contracts/injective-cosmwasm-mock/src/contract.rs , .../lib.rs , .../state.rs |
Updated summary, added constants, functions, and modules for enhanced trading functionality. |
.../error.rs |
Added error variants for improved error handling. |
.../handle.rs , .../order_management.rs |
Functions for managing spot and derivative orders. |
.../query.rs , .../msg.rs |
Enhanced querying capabilities and new message types for trading. |
.../reply.rs |
Functions to handle replies for order creation. |
.../testing/... |
Expanded testing modules covering spot, derivative markets, and other functionalities. |
packages/injective-cosmwasm/... |
Adjustments in response structures and querier implementations. |
packages/injective-protobuf/src/proto/mod.rs |
Reordered module declarations for better organization. |
🐇✨
In the realm of code, where logic weaves,
A rabbit hopped, with updates up its sleeves.
Spot and derivative trades, it did enhance,
With queries, errors, and tests that dance.
Through CosmWasm's fields, it leaps with glee,
"To improve," it chirps, "is to be free!"
🌟🐾
Summary by CodeRabbit