git.delta.rocks / unique-network / refs/commits / 5b40b46836ce

difftreelog

fix FT

PraetorP2022-07-18parent: #8b20ab4.patch.diff
in: master

1 file changed

modifiedpallets/fungible/src/lib.rsdiffbeforeafterboth
537 Ok(allowance)537 Ok(allowance)
538 }538 }
539539
540 /// Transfer FT tokens from one account to another.540 /// Transfer fungible tokens from one account to another.
541 /// Same as the [`transfer`] but spender doesn't needs to be an owner of the token pieces.541 /// Same as the [`transfer`] but spender doesn't needs to be an owner of the token pieces.
542 /// The owner should set allowance for the spender to transfer pieces.542 /// The owner should set allowance for the spender to transfer pieces.
543 /// See [`set_allowance`][`Pallet::set_allowance`] for more details.543 /// See [`set_allowance`][`Pallet::set_allowance`] for more details.
562 Ok(())562 Ok(())
563 }563 }
564564
565 /// Burn FT tokens from the account.565 /// Burn fungible tokens from the account.
566 ///566 ///
567 /// Same as the [`burn`][`Pallet::burn`] but spender doesn't need to be an owner of the tokens. The `from` should567 /// Same as the [`burn`][`Pallet::burn`] but spender doesn't need to be an owner of the tokens. The `from` should
568 /// set allowance for the spender to burn tokens.568 /// set allowance for the spender to burn tokens.
585 Ok(())585 Ok(())
586 }586 }
587587
588 /// Creates FT token.588 /// Creates fungible token.
589 ///589 ///
590 /// The sender should be the owner/admin of the collection or collection should be configured590 /// The sender should be the owner/admin of the collection or collection should be configured
591 /// to allow public minting.591 /// to allow public minting.