-
Notifications
You must be signed in to change notification settings - Fork 0
/
tokens.py
36 lines (32 loc) · 1.26 KB
/
tokens.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import smartpy as sp
FA2 = sp.io.import_script_from_url("https://smartpy.io/dev/templates/FA2.py")
class NFT(FA2.FA2):
pass
NFT_config = FA2.FA2_config(
debug_mode = False,
single_asset = False,
non_fungible = True,
add_mutez_transfer = False,
readable = True,
force_layouts = True,
support_operator = True,
assume_consecutive_token_ids = False,
store_total_supply = True,
lazy_entry_points = False,
allow_self_transfer = False,
use_token_metadata_offchain_view = False
)
TOKEN_config = FA2.FA2_config(
debug_mode = False,
single_asset = True,
non_fungible = False,
add_mutez_transfer = False,
readable = True,
force_layouts = True,
support_operator = True,
assume_consecutive_token_ids = False,
store_total_supply = True,
lazy_entry_points = False,
allow_self_transfer = False,
use_token_metadata_offchain_view = False
)