Skip to content

Releases: dydxprotocol/v4-chain

Release protocol/v6.0.6

23 Oct 16:44
ba559ca
Compare
Choose a tag to compare

Release protocol/v7.0.0-rc1

18 Oct 17:50
ebc4a8e
Compare
Choose a tag to compare
Pre-release

Release candidate for v7.0.0 binary. Requires breaking upgrade from v6.x.x (upgrade name: v7.0)

Highlights

This release includes changes in following major areas:

  • Vaults for providing additional liquidity to various markets (Megavault)
  • Permissionless listing of new markets
  • Affiliates program

Detailed Changes

MegaVault

MegaVault is a user-facing vault that accepts deposits from users, uses the deposited USDC to provide liquidity to various markets, and distributes the generated yield (or loss) across the vaults depositors.

Permissionless Listing of Markets

Allows users to instantly launch new markets they’d like to launch. The listable markets are constrained to all markets available in x/marketmap .
As part of the listing, the user deposits $10,000 UDSC into the Megavault which is locked for a period of 30 days.

The permissionless market listing transaction will create the market, perpetual and clob pair in the protocol and allocate the deposit into the new market vault which will start quoting immediately and provide liquidity to the new market

Affiliates Program

Allows traders to refer other traders to the dYdX platform. Referred users receive a discount in trading fees and referees receive a share of the trading fees generated by the referred user

What's Changed

  • Fix: deterministically fetch perp info from state (backport #2341) by @mergify in #2346
  • [OTE-823] Fix FNS onchain events staging + retrieval logic (backport #2318) by @mergify in #2363
  • migrate vault shares to megavault shares in v7 upgrade handler by @tqin7 in #2379
  • [OTE-839] add query for unconditional revshare (backport #2380) by @mergify in #2382
  • Add a cli method for vault withdrawal (backport #2369) by @mergify in #2386
  • [OTE-840] add missing HasEndBlocker interface (backport #2384) by @mergify in #2385
  • [OTE-829] upgrade handler for affiliates (backport #2332) by @mergify in #2383
  • register deprecated MsgSetVaultQuotingParams (backport #2392) by @mergify in #2396
  • initialize megavault module account in 7.0.0 upgrade handler (backport #2394) by @mergify in #2400
  • chore: add OE Abort rate debug flag (backport #2366) by @mergify in #2401
  • bug: Internalize FNS logic to stage FinalizeBlock events (backport #2399) by @mergify in #2404
  • chore: Bump Cometbft to log proposer when proposal is rejected (backport #2421) by @mergify in #2427
  • [TRA-617] Integrate PML and Megavault (backport #2331) by @mergify in #2377
  • [TRA-617] Fix calculation for atomic resolution (backport #2360) by @mergify in #2433
  • Move FinalizeBlock event staging logic into a generic EventStager (backport #2435) by @mergify in #2436
  • [TRA-654] add listing module state init into v7 upgrade handler (backport #2432) by @mergify in #2445
  • Update GetAllRevshare to handle liquidations (backport #2413) by @mergify in #2437
  • remove deprecated params from x/vault params query (backport #2387) by @mergify in #2440
  • fix tsnonce preventing multisignature bug (backport #2453) by @mergify in #2460
  • feat: make PML compatible with OE by staging in-memory CLOB side effects (backport #2447) by @mergify in #2459
  • [OTE-849] Add metrics to track revenue shares (backport #2449) by @mergify in #2457
  • in testing, megavault main subaccount has 0 usdc by default (backport #2462) by @mergify in #2463
  • don't initialize megavault subaccount if balance is 0 in genesis (backport #2464) by @mergify in #2465
  • remove megavault subaccount from sample pregenesis (backport #2467) by @mergify in #2468
  • Revert "feat: make PML compatible with OE by staging in-memory CLOB side effects (backport #2447)" by @teddyding in #2469
  • feat: make PML compatible with OE by staging in-memory CLOB side effects (backport #2447) by @teddyding in #2470
  • [OTE-852] Register rpc routes in module (backport #2480) by @mergify in #2481
  • Add GRPC gateway route for listing module and add hard cap setting (backport #2489) by @mergify in #2490
  • set each megavault share to be worth 0.001 usdc on 7.x upgrade (backport #2492) by @mergify in #2501
  • [OTE-877] deprecate OI indexer update event (backport #2499) by @mergify in #2508
  • Drop patch number from upgrade name, v7.0.0 to v7.0 (backport #2512) by @mergify in #2515

Release Protocol v7.0.0-dev7

18 Oct 15:26
ebc4a8e
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Add GRPC gateway route for listing module and add hard cap setting (backport #2489) by @mergify in #2490
  • set each megavault share to be worth 0.001 usdc on 7.x upgrade (backport #2492) by @mergify in #2501
  • [OTE-877] deprecate OI indexer update event (backport #2499) by @mergify in #2508
  • Drop patch number from upgrade name, v7.0.0 to v7.0 (backport #2512) by @mergify in #2515

Full Changelog: protocol/v7.0.0-dev5...protocol/v7.0.0-dev7

Release Indexer v7.0.0-rc1

18 Oct 15:52
ec8b919
Compare
Choose a tag to compare
Pre-release

Affiliates Support

Megavault Support

Push Notifications

  • [CT-1040] Push Notifications (1 of 4) - Add Notification Package #2185 #2185
  • [CT-1040] Push Notifications (2 of 4) - Add Token To Postgres #2188 #2188
  • [CT-1040] Push Notifications (3 of 4) - Add RegisterToken to Comlink #2191 #2191
  • [CT-1040] Push Notifications (4 of 4) - Send Notifications From Ender #2192 #2192

Miscellaneous

Full Changelog: indexer/v7.0.0-dev1...indexer/v7.0.0-rc1

Release Indexer v7.0.0-dev7

18 Oct 15:28
ec8b919
Compare
Choose a tag to compare
Pre-release

What's Changed

  • [CT-629] Fix entryPrice calc (backport #2455) by @mergify in #2496
  • Don't increment messageId for custom ping messages (backport #2493) by @mergify in #2497
  • [OTE-880] Emit log in case of collisions (backport #2500) by @mergify in #2504
  • [OTE-876] update roundtable loop timings for instrumentation and uncrossing (backport #2494) by @mergify in #2506
  • Remove orderbook cache roundtable job (backport #2510) by @mergify in #2511
  • Add config var to exclude specific stateful order ids from being processed. (backport #2513) by @mergify in #2514

Full Changelog: indexer/v7.0.0-dev5...indexer/v7.0.0-dev7

Release Indexer V7.0.0-dev6

18 Oct 15:03
ec8b919
Compare
Choose a tag to compare
Pre-release

What's Changed

  • [CT-629] Fix entryPrice calc (backport #2455) by @mergify in #2496
  • Don't increment messageId for custom ping messages (backport #2493) by @mergify in #2497
  • [OTE-880] Emit log in case of collisions (backport #2500) by @mergify in #2504
  • [OTE-876] update roundtable loop timings for instrumentation and uncrossing (backport #2494) by @mergify in #2506
  • Remove orderbook cache roundtable job (backport #2510) by @mergify in #2511
  • Add config var to exclude specific stateful order ids from being processed. (backport #2513) by @mergify in #2514

Full Changelog: indexer/v7.0.0-dev5...indexer/v7.0.0-dev6

Release Indexer v7.0.0-dev5

15 Oct 15:32
7a2200e
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: indexer/v7.0.0-dev4...indexer/v7.0.0-dev5

Release Protocol v7.0.0-dev5

15 Oct 15:30
6433458
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: protocol/v7.0.0-dev4...protocol/v7.0.0-dev5

Release Indexer v7.0.0-dev4

04 Oct 21:37
6800a36
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: indexer/v7.0.0-dev3...indexer/v7.0.0-dev4

Release Protocol v7.0.0-dev4

04 Oct 21:25
1a4a86b
Compare
Choose a tag to compare
Pre-release

What's Changed

  • chore: Bump Cometbft to log proposer when proposal is rejected (backport #2421) by @mergify in #2427
  • [TRA-617] Integrate PML and Megavault (backport #2331) by @mergify in #2377
  • [TRA-617] Fix calculation for atomic resolution (backport #2360) by @mergify in #2433
  • Move FinalizeBlock event staging logic into a generic EventStager (backport #2435) by @mergify in #2436
  • [TRA-654] add listing module state init into v7 upgrade handler (backport #2432) by @mergify in #2445
  • Update GetAllRevshare to handle liquidations (backport #2413) by @mergify in #2437
  • remove deprecated params from x/vault params query (backport #2387) by @mergify in #2440
  • fix tsnonce preventing multisignature bug (backport #2453) by @mergify in #2460
  • feat: make PML compatible with OE by staging in-memory CLOB side effects (backport #2447) by @mergify in #2459
  • [OTE-849] Add metrics to track revenue shares (backport #2449) by @mergify in #2457
  • in testing, megavault main subaccount has 0 usdc by default (backport #2462) by @mergify in #2463
  • don't initialize megavault subaccount if balance is 0 in genesis (backport #2464) by @mergify in #2465
  • remove megavault subaccount from sample pregenesis (backport #2467) by @mergify in #2468
  • Revert "feat: make PML compatible with OE by staging in-memory CLOB side effects (backport #2447)" by @teddyding in #2469
  • feat: make PML compatible with OE by staging in-memory CLOB side effects (backport #2447) by @teddyding in #2470

Full Changelog: protocol/v7.0.0-dev3...protocol/v7.0.0-dev4