You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that those values could also sum to any number, and the royalties would be redistributed in this sense.
Since this approach is used by many (like osmosis), it is common when a large set of users can split a value in a very dynamic way.
In this case, since this partition should be very static, IMHO I suggest moving it to values in the range [0;10000] that must sum to 10000. In this way it is also simpler to see which percentage is assigned to each creator, since, from the comment, these values should be percentages.
The text was updated successfully, but these errors were encountered:
In the
nft
module, eachMetadata
can be linked to a list ofCreators
.These objects are made up of
Here, the
share
attribute is expressedgo-bitsong/proto/bitsong/nft/v1beta1/nft.proto
Line 59 in afcba32
So I expect that their values should sum to 100. Instead, by looking at the implementation of the
ProcessRoyalties
methodgo-bitsong/x/marketplace/keeper/royalties.go
Lines 8 to 37 in afcba32
It seems that those values could also sum to any number, and the royalties would be redistributed in this sense.
Since this approach is used by many (like osmosis), it is common when a large set of users can split a value in a very dynamic way.
In this case, since this partition should be very static, IMHO I suggest moving it to values in the range
[0;10000]
that must sum to10000
. In this way it is also simpler to see which percentage is assigned to each creator, since, from the comment, these values should be percentages.The text was updated successfully, but these errors were encountered: