From e173d6e7c331e2c774db76488a914cf2e76b66fb Mon Sep 17 00:00:00 2001 From: Serkan Reis Date: Thu, 23 Feb 2023 13:18:30 +0300 Subject: [PATCH] Temporarily disable MintRule: By_Keys & By_Minter related types --- contracts/badgeHub/messages/execute.ts | 40 +++++++++++++------------- contracts/badgeHub/messages/query.ts | 4 +-- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/contracts/badgeHub/messages/execute.ts b/contracts/badgeHub/messages/execute.ts index d94796e..12c3440 100644 --- a/contracts/badgeHub/messages/execute.ts +++ b/contracts/badgeHub/messages/execute.ts @@ -32,36 +32,36 @@ export const EXECUTE_LIST: ExecuteListItem[] = [ name: 'Edit Badge', description: `Edit the badge with the specified ID`, }, - { - id: 'add_keys', - name: 'Add Keys', - description: `Add keys to the badge with the specified ID`, - }, - { - id: 'purge_keys', - name: 'Purge Keys', - description: `Purge keys from the badge with the specified ID`, - }, + // { + // id: 'add_keys', + // name: 'Add Keys', + // description: `Add keys to the badge with the specified ID`, + // }, + // { + // id: 'purge_keys', + // name: 'Purge Keys', + // description: `Purge keys from the badge with the specified ID`, + // }, { id: 'purge_owners', name: 'Purge Owners', description: `Purge owners from the badge with the specified ID`, }, - { - id: 'mint_by_minter', - name: 'Mint by Minter', - description: `Mint a new token by the minter with the specified ID`, - }, + // { + // id: 'mint_by_minter', + // name: 'Mint by Minter', + // description: `Mint a new token by the minter with the specified ID`, + // }, { id: 'mint_by_key', name: 'Mint by Key', description: `Mint a new token by the key with the specified ID`, }, - { - id: 'mint_by_keys', - name: 'Mint by Keys', - description: `Mint a new token by the keys with the specified ID`, - }, + // { + // id: 'mint_by_keys', + // name: 'Mint by Keys', + // description: `Mint a new token by the keys with the specified ID`, + // }, { id: 'set_nft', name: 'Set NFT', diff --git a/contracts/badgeHub/messages/query.ts b/contracts/badgeHub/messages/query.ts index cbfb4bc..39538a7 100644 --- a/contracts/badgeHub/messages/query.ts +++ b/contracts/badgeHub/messages/query.ts @@ -14,8 +14,8 @@ export const QUERY_LIST: QueryListItem[] = [ { id: 'config', name: 'Config', description: 'View current config' }, { id: 'getBadge', name: 'Query Badge', description: 'Query a badge by ID' }, { id: 'getBadges', name: 'Query Badges', description: 'Query a list of badges' }, - { id: 'getKey', name: 'Query Key', description: 'Query a key by ID to see if it's whitelisted' }, - { id: 'getKeys', name: 'Query Keys', description: 'Query the list of whitelisted keys' }, + // { id: 'getKey', name: 'Query Key', description: 'Query a key by ID to see if it's whitelisted' }, + // { id: 'getKeys', name: 'Query Keys', description: 'Query the list of whitelisted keys' }, ] export interface DispatchQueryProps {