From af4ec2b44f9fc1353a6be81a0e8cea30ea6a092c Mon Sep 17 00:00:00 2001 From: Tin Chung <56880684+chungquantin@users.noreply.github.com> Date: Thu, 26 Sep 2024 22:32:27 +0700 Subject: [PATCH] fix: psp22 trait name (#305) --- pop-api/src/v0/fungibles/traits.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pop-api/src/v0/fungibles/traits.rs b/pop-api/src/v0/fungibles/traits.rs index 92ad55e3..fd9e6271 100644 --- a/pop-api/src/v0/fungibles/traits.rs +++ b/pop-api/src/v0/fungibles/traits.rs @@ -6,7 +6,7 @@ use ink::prelude::string::String; /// The PSP22 trait. #[ink::trait_definition] -pub trait Psp22 { +pub trait PSP22 { /// Returns the total token supply. #[ink(message)] fn total_supply(&self) -> Balance; @@ -82,7 +82,7 @@ pub trait Psp22 { /// The PSP22 Metadata trait. #[ink::trait_definition] -pub trait Psp22Metadata { +pub trait PSP22Metadata { /// Returns the token name. #[ink(message)] fn token_name(&self) -> Option; @@ -98,7 +98,7 @@ pub trait Psp22Metadata { /// The PSP22 Mintable trait. #[ink::trait_definition] -pub trait Psp22Mintable { +pub trait PSP22Mintable { /// Creates `value` amount of tokens and assigns them to `account`, increasing the total supply. /// /// # Parameters @@ -110,7 +110,7 @@ pub trait Psp22Mintable { /// The PSP22 Burnable trait. #[ink::trait_definition] -pub trait Psp22Burnable { +pub trait PSP22Burnable { /// Destroys `value` amount of tokens from `account`, reducing the total supply. /// /// # Parameters