Skip to content

Commit

Permalink
add docstring for methods
Browse files Browse the repository at this point in the history
  • Loading branch information
popenta committed Oct 25, 2024
1 parent 50a4803 commit 1c03892
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,7 @@ def create_transaction_for_nft_metadata_recreate(self,
def create_transaction_for_changing_token_to_dynamic(self,
sender: IAddress,
token_identifier: str) -> Transaction:
"""The following token types cannot be changed to dynamic: FungibleESDT, NonFungibleESDT, NonFungibleESDTv2"""
parts: list[str] = [
"changeToDynamic",
arg_to_string(token_identifier)
Expand All @@ -911,6 +912,7 @@ def create_transaction_for_changing_token_to_dynamic(self,
def create_transaction_for_updating_token_id(self,
sender: IAddress,
token_identifier: str) -> Transaction:
"""The following token types cannot be changed to dynamic: FungibleESDT, NonFungibleESDT, NonFungibleESDTv2"""
parts: list[str] = [
"updateTokenID",
arg_to_string(token_identifier)
Expand Down

0 comments on commit 1c03892

Please sign in to comment.