This guide lists API changes between releases of PoE contracts.
Messages changes:
distribute_funds
message renamed todistribute_rewards
withdraw_funds
message renamed towithdraw_rewards
total_weight
query renamed tototal_points
list_members_by_weight
query renamed tolist_members_by_points
withdrawable_funds
query renamed towithdrawable_rewards
distributed_funds
query renamed todistributed_rewards
undistributed_funds
query renamed toundistributed_rewards
State changes:
points_per_weight
field ondistribution
renamed toshares_per_point
points_leftover
field ondistribution
renamed toshares_leftover
points_correction
field onwithdraw_adjustment
map items renamed toshares_correction
withdrawn_funds
field onwithdraw_adjustment
map items renamed towithdrawn_rewards
Messages changes:
total_weight
query renamed tototal_points
list_members_by_weight
query renamed tolist_members_by_points
reward_function
query renamed tomixer_function
reward
field on response tomixer_function
(reward_function
previously) renamed topoints
Messages changes:
tokens_per_weight
field on instantiate message renamed totokens_per_point
total_weight
query renamed tototal_points
list_members_by_weight
query renamed tolist_members_by_points
weight
field on response tototal_points
(total_weight
previously) renamed topoints
State changes:
tokens_per_weight
field onconfig
item renamed totokens_per_point
Messages changes:
distribute_funds
message renamed todistribute_rewards
Messages changes:
min_weight
field on instantiate message renamed tomin_points
- rewards_code_id field on instantiate message renamed to validator_group_code_id
- rewards_contract field on InstantiateReponse message renamed to validator_group
State changes:
min_weight
field onconfig
item renamed tomin_points
- rewards_contract field on config item renamed to validator_group
Messages changes:
- total_weight field on Proposal message renamed to total_points