Skip to content

The weightBalanceBonus reward processing logic is inconsistent in ApplyJoinPoolStateChange and JoinPoolNoSwap functions. #1319

@icehawk-hyb

Description

@icehawk-hyb

1.description:
In the JoinPoolNoSwap function, the logic of using Oracle Pool to handle weightBalanceBonus rewards when the rebalanceTreasury balance is insufficient is as follows:

Image

In the ApplyJoinPoolStateChange function, the logic of using UseOracle Pool to handle weightBalanceBonus rewards when the rebalanceTreasury balance is insufficient is as follows:

Image

2.suggestion:
When the rebalance Treasury balance is insufficient, all the Treasury balance will be used to pay rewards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions