9
9
10
10
@dataclass
11
11
class BaseSignaturePayloadInput :
12
- to : str = ZERO_ADDRESS
12
+ to : str
13
13
price : Price = 0
14
14
currency_address : str = NATIVE_TOKEN_ADDRESS
15
15
mint_start_time : int = int (time ())
@@ -34,10 +34,10 @@ class Signature20PayloadOutput(Signature20PayloadInput):
34
34
35
35
@dataclass
36
36
class Signature721PayloadInput :
37
+ to : str
37
38
metadata : NFTMetadataInput
38
39
royalty_recipient : str = ZERO_ADDRESS
39
40
royalty_bps : int = 0
40
- to : str = ZERO_ADDRESS
41
41
price : Price = 0
42
42
currency_address : str = NATIVE_TOKEN_ADDRESS
43
43
mint_start_time : int = int (time ())
@@ -52,11 +52,11 @@ def set_uid(self, uid: str) -> "Signature721PayloadInput":
52
52
53
53
@dataclass
54
54
class Signature721PayloadOutput :
55
+ to : str
55
56
metadata : NFTMetadataInput
56
57
royalty_recipient : str = ZERO_ADDRESS
57
58
royalty_bps : int = 0
58
59
uri : str = ""
59
- to : str = ZERO_ADDRESS
60
60
price : Price = 0
61
61
currency_address : str = NATIVE_TOKEN_ADDRESS
62
62
mint_start_time : int = int (time ())
@@ -71,12 +71,12 @@ def set_uid(self, uid: str) -> "Signature721PayloadOutput":
71
71
72
72
@dataclass
73
73
class Signature1155PayloadInput :
74
+ to : str
74
75
metadata : NFTMetadataInput
75
76
token_id : int
76
77
quantity : int
77
78
royalty_recipient : str = ZERO_ADDRESS
78
79
royalty_bps : int = 0
79
- to : str = ZERO_ADDRESS
80
80
price : Price = 0
81
81
currency_address : str = NATIVE_TOKEN_ADDRESS
82
82
mint_start_time : int = int (time ())
@@ -91,13 +91,13 @@ def set_uid(self, uid: str) -> "Signature1155PayloadInput":
91
91
92
92
@dataclass
93
93
class Signature1155PayloadOutput :
94
+ to : str
94
95
metadata : NFTMetadataInput
95
96
royalty_bps : int
96
97
royalty_recipient : str
97
98
uri : str
98
99
token_id : int
99
100
quantity : int
100
- to : str = ZERO_ADDRESS
101
101
price : Price = 0
102
102
currency_address : str = NATIVE_TOKEN_ADDRESS
103
103
mint_start_time : int = int (time ())
0 commit comments