Closed aarmoa closed 1 month ago
[!CAUTION]
Review failed
The pull request is closed.
The recent changes enhance the trading ecosystem by introducing new message types and parameters that improve the management of stake grants, position margins, and market updates. Notable inclusions are the min_notional
attribute across various market classes and new JSON schemas for structured message formats. These adjustments bolster operational integrity and ensure better transaction validation, ultimately refining the user experience within the Injective protocol.
File | Change Summary |
---|---|
.../_binaryoptions.md |
Updated denom variable in main to include a min_notional parameter for transaction thresholds. |
.../_chainexchange.md |
Added MsgAuthorizeStakeGrants and MsgActivateStakeGrant message structures for stake management. |
.../_changelog.md |
Introduced new message types for market management and updated SDKs to include min_notional . |
.../_derivatives.md |
Added MsgDecreasePositionMargin and MsgUpdateDerivativeMarket for margin adjustments and market updates. |
.../_spot.md |
Introduced minNotional for order validation and a new MsgUpdateSpotMarket for market configurations. |
.../grantAuthorization.json |
New JSON structure for defining parameters related to stake grants. |
.../msgActivateStakeGrant.json |
New JSON file for activating stake grants with structured parameters. |
.../msgAuthorizeStakeGrants.json |
New JSON format for authorizing stake grants with sender and grants parameters. |
.../msgDecreasePositionMargin.json |
New schema for decreasing margin position with necessary parameters. |
.../msgUpdateDerivativeMarket.json |
New schema for updating derivative market configurations. |
.../msgUpdateSpotMarket.json |
New schema for updating spot market parameters including min_notional . |
sequenceDiagram
participant User
participant StakeGranter
participant GrantSystem
User->>StakeGranter: Request stake grant
StakeGranter->>GrantSystem: Authorize grant (MsgAuthorizeStakeGrants)
GrantSystem->>User: Notification of authorization
sequenceDiagram
participant User
participant MarketAdmin
participant MarketSystem
User->>MarketAdmin: Request market update
MarketAdmin->>MarketSystem: Submit update (MsgUpdateSpotMarket)
MarketSystem->>User: Confirm update completion
🐰 In fields of code, a change we weave,
New messages dance, as we believe.
Withmin_notional
, our trades align,
In rabbit's heart, these updates shine!
Hops of joy for markets anew,
Together we'll trade, just me and you! 🌼
Summary by CodeRabbit
New Features
Documentation
Chores