From 189720e786eac060271bb0c71d36c677b275dfe0 Mon Sep 17 00:00:00 2001 From: chungquantin <56880684+chungquantin@users.noreply.github.com> Date: Thu, 19 Sep 2024 22:56:19 +0700 Subject: [PATCH] fix: remove management-related methods --- pop-api/examples/fungibles/lib.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/pop-api/examples/fungibles/lib.rs b/pop-api/examples/fungibles/lib.rs index b6faba52..12ca8912 100755 --- a/pop-api/examples/fungibles/lib.rs +++ b/pop-api/examples/fungibles/lib.rs @@ -134,20 +134,5 @@ mod fungibles { .emit_event(Created { id, creator: contract.env().account_id(), admin }); Ok(contract) } - - #[ink(message)] - pub fn set_metadata( - &self, - name: Vec, - symbol: Vec, - decimals: u8, - ) -> PSP22Result<()> { - api::set_metadata(self.id, name, symbol, decimals).map_err(PSP22Error::from) - } - - #[ink(message)] - pub fn token_exists(&self) -> PSP22Result { - api::token_exists(self.id).map_err(PSP22Error::from) - } } }