This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from near_sdk_py import Contract, view, call, init, AccountId | |
from near_sdk_py import Promise | |
from near_sdk_py.contract import StorageError, ContractPanic, InvalidInput, ContractStorage | |
from near_sdk_py.collections import LookupMap, UnorderedMap | |
class FungibleToken(Contract): | |
# def safe_get(self, key): | |
# if not key in self.storage: | |
# raise StorageError |