Skip to content

Releases: dfinity/oisy-wallet

rc0.5.9

17 Sep 10:54
8dae813

Choose a tag to compare

rc0.5.9 Pre-release
Pre-release

Motivation

The current probability multiplier system incorrectly calculates user rewards based on network activity. Users with assets and transactions across multiple networks (like ICP and Ethereum) must receive higher probability multipliers for usage awards.. The refactoring ensures that each network where a user satisfies the multiplier criteria contributes exactly min(1, N) to their probability multiplier, creating the intended incentive for cross-network usage.

Changes

Changed Probability Multiplier Calculation

  • New Formula : probability_multiplier = min(1, N)
  • New Behavior:
    • If 0 networks meet all criteria → probability_multiplier = 1
    • If 1 network meets all criteria → probability_multiplier = 1
    • If 2 networks meet all criteria → probability_multiplier = 2
    • If 3 networks meet all criteria → probability_multiplier = 3

Enhanced StorableCriterion::is_eligible function

  • Modified signature to accept an optional parameter network_id
  • Network-specific criteria now require a network_id and return false when none is provided
  • Non-network specific criteria ignore the network_id parameter

Centralized Network Logic in evaluate_multiplier_factor

  • Moved all network detection and filtering logic from storage_types.rs to the module usage_awards.rs
  • Implemented per-network criterion evaluation using the updated function is_eligible
  • Simplified the probability multiplier calculation to follow the 1:1 network satisfaction rule

rc0.5.10

17 Sep 16:52
9b70545

Choose a tag to compare

rc0.5.10 Pre-release
Pre-release

Same Wasm as 0.5.9 but with these fields marked optional:

  • probability_multiplier
  • probability_multiplier_enabled

v1.6.8

29 Aug 12:15
0992f80

Choose a tag to compare

Changes

v1.6.7

28 Aug 14:28
1d4ab0b

Choose a tag to compare

Changes

v1.6.6

26 Aug 09:47
a8183cb

Choose a tag to compare

Changes

v1.6.5

19 Aug 12:00
00d722f

Choose a tag to compare

Changes

v1.6.4

13 Aug 15:22
2cde75d

Choose a tag to compare

Changes

v1.6.3

06 Aug 08:53

Choose a tag to compare

Frontend

Fixes

  • Disabled the ICPSwap provider option for icrc-1 tokens, due to a risk of not being able to withdraw tokens

Changelog

v1.6.2

04 Aug 13:01
4e3c4bc

Choose a tag to compare

Frontend

Improvements

  • Users can manually withdraw their assets after a failed withdraw attempt after a swap on ICPSwap

Fixes

  • Reduced the amount of Alchemy calls
  • Adjusted the price fetching to the changed data structure from our secondary provider

Content

Tokens

  • Home Depot xStock (HDx)
  • Procter & Gamble xSTock (PGx)
  • Comcast xStock (CMCSAx)
  • PepsiCo xStock (PEPx)
  • AstraZeneca xStock (AZNx)
  • Vanguard xStock (VTIx)
  • UnitedHealth xStock (UNHx)

Changelog

v1.6.1

25 Jul 12:56
119cc67

Choose a tag to compare

Frontend

Fixes

  • Fixed a bug where in some cases, some cached data was not deleted after a logout

Changelog