diff --git a/mintbase-near-indexer b/mintbase-near-indexer index 589c893..160f23e 160000 --- a/mintbase-near-indexer +++ b/mintbase-near-indexer @@ -1 +1 @@ -Subproject commit 589c8938d3cdf2fb538929ea02b715a18cdde069 +Subproject commit 160f23ef57182e0fbacb919ab28a1f693e908166 diff --git a/store/src/burning.rs b/store/src/burning.rs index b281472..6c989bf 100644 --- a/store/src/burning.rs +++ b/store/src/burning.rs @@ -36,7 +36,7 @@ impl MintbaseStore { /// where the callback prevents the use of /// `env::predecessor_account_id()` to determine whether the owner is the /// method caller. - pub fn burn_triaged( + fn burn_triaged( &mut self, token_ids: Vec, account_id: AccountId, diff --git a/store/src/metadata.rs b/store/src/metadata.rs index db42c88..4af23c0 100644 --- a/store/src/metadata.rs +++ b/store/src/metadata.rs @@ -3,10 +3,7 @@ use mintbase_deps::common::{ NonFungibleContractMetadata, TokenMetadata, }; -use mintbase_deps::logging::{ - log_set_base_uri, - log_set_icon_base64, -}; +use mintbase_deps::logging::log_set_icon_base64; use mintbase_deps::near_sdk::json_types::U64; use mintbase_deps::near_sdk::{ self, @@ -29,25 +26,25 @@ impl NonFungibleContractMetadata for MintbaseStore { impl MintbaseStore { // -------------------------- change methods --------------------------- - /// The `base_uri` for the `Store` is the identifier used to look up the - /// `Store` on Arweave. Changing the `base_uri` requires the `Store` - /// owner to be responsible for making sure their `Store` location is - /// maintained by their preferred storage provider. - /// - /// Only the `Store` owner may call this function. - #[payable] - pub fn set_base_uri( - &mut self, - base_uri: String, - ) { - self.assert_store_owner(); - near_assert!( - base_uri.len() <= 100, - "Base URI must be less then 100 chars" - ); - log_set_base_uri(&base_uri); - self.metadata.base_uri = Some(base_uri); - } + // /// The `base_uri` for the `Store` is the identifier used to look up the + // /// `Store` on Arweave. Changing the `base_uri` requires the `Store` + // /// owner to be responsible for making sure their `Store` location is + // /// maintained by their preferred storage provider. + // /// + // /// Only the `Store` owner may call this function. + // #[payable] + // pub fn set_base_uri( + // &mut self, + // base_uri: String, + // ) { + // self.assert_store_owner(); + // near_assert!( + // base_uri.len() <= 100, + // "Base URI must be less then 100 chars" + // ); + // log_set_base_uri(&base_uri); + // self.metadata.base_uri = Some(base_uri); + // } /// `icon_base64` is best understood as the `Store` logo/icon. ///