difftreelog
doc: added comments about burning
in: master
1 file changed
pallets/refungible/src/lib.rsdiffbeforeafterboth349 /// Burn RFT token pieces349 /// Burn RFT token pieces350 ///350 ///351 /// `burn` will decrease total amount of token pieces and amount owned by sender.351 /// `burn` will decrease total amount of token pieces and amount owned by sender.352 /// `burn` can be called even if there are multiple owners of the RFT token.352 /// If sender wouldn't have any pieces left after `burn` than she will stop being353 /// If sender wouldn't have any pieces left after `burn` than she will stop being353 /// one of the owners of the token. If there is no account that owns any pieces of354 /// one of the owners of the token. If there is no account that owns any pieces of354 /// the token than token will be burned too.355 /// the token than token will be burned too.831832832 /// Repartition RFT token.833 /// Repartition RFT token.833 ///834 ///834 /// Repartition will set token balance of the sender and total amount of token pieces.835 /// `repartition` will set token balance of the sender and total amount of token pieces.835 /// Sender should own all of the token pieces.836 /// Sender should own all of the token pieces. `repartition' could be done even if some837 /// token pieces were burned before.836 ///838 ///837 /// - `amount`: Total amount of token pieces that the token will have after `repartition`.839 /// - `amount`: Total amount of token pieces that the token will have after `repartition`.838 pub fn repartition(840 pub fn repartition(