@@ -39,15 +39,15 @@ public IEnumerator GetContract_Success()
39
39
{
40
40
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
41
41
Assert . IsNotNull ( contract ) ;
42
- Assert . AreEqual ( _marketplaceAddress , contract . address ) ;
42
+ Assert . AreEqual ( _marketplaceAddress , contract . Address ) ;
43
43
yield return null ;
44
44
}
45
45
46
46
[ UnityTest ]
47
47
public IEnumerator DirectListings_GetAll_Success ( )
48
48
{
49
49
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
50
- var result = contract . marketplace . directListings . GetAll ( ) ;
50
+ var result = contract . Marketplace . DirectListings . GetAll ( ) ;
51
51
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
52
52
Assert . IsTrue ( result . IsCompletedSuccessfully ) ;
53
53
Assert . IsNotNull ( result . Result ) ;
@@ -59,7 +59,7 @@ public IEnumerator DirectListings_GetAll_Success()
59
59
public IEnumerator DirectListings_GetAllValid_Success ( )
60
60
{
61
61
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
62
- var result = contract . marketplace . directListings . GetAllValid ( ) ;
62
+ var result = contract . Marketplace . DirectListings . GetAllValid ( ) ;
63
63
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
64
64
Assert . IsTrue ( result . IsCompletedSuccessfully ) ;
65
65
Assert . IsNotNull ( result . Result ) ;
@@ -71,7 +71,7 @@ public IEnumerator DirectListings_GetAllValid_Success()
71
71
public IEnumerator DirectListings_GetListing_Success ( )
72
72
{
73
73
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
74
- var result = contract . marketplace . directListings . GetListing ( "1" ) ;
74
+ var result = contract . Marketplace . DirectListings . GetListing ( "1" ) ;
75
75
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
76
76
Assert . IsTrue ( result . IsCompletedSuccessfully ) ;
77
77
Assert . IsNotNull ( result . Result ) ;
@@ -82,7 +82,7 @@ public IEnumerator DirectListings_GetListing_Success()
82
82
public IEnumerator DirectListings_GetTotalCount_Success ( )
83
83
{
84
84
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
85
- var result = contract . marketplace . directListings . GetTotalCount ( ) ;
85
+ var result = contract . Marketplace . DirectListings . GetTotalCount ( ) ;
86
86
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
87
87
Assert . IsTrue ( result . IsCompletedSuccessfully ) ;
88
88
Assert . IsNotNull ( result . Result ) ;
@@ -94,7 +94,7 @@ public IEnumerator DirectListings_GetTotalCount_Success()
94
94
public IEnumerator DirectListings_IsBuyerApprovedForListing_Success ( )
95
95
{
96
96
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
97
- var result = contract . marketplace . directListings . IsBuyerApprovedForListing ( "1" , _marketplaceAddress ) ;
97
+ var result = contract . Marketplace . DirectListings . IsBuyerApprovedForListing ( "1" , _marketplaceAddress ) ;
98
98
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
99
99
if ( Utils . IsWebGLBuild ( ) )
100
100
{
@@ -112,7 +112,7 @@ public IEnumerator DirectListings_IsBuyerApprovedForListing_Success()
112
112
public IEnumerator DirectListings_IsCurrencyApprovedForListing_Success ( )
113
113
{
114
114
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
115
- var result = contract . marketplace . directListings . IsCurrencyApprovedForListing ( "1" , _marketplaceAddress ) ;
115
+ var result = contract . Marketplace . DirectListings . IsCurrencyApprovedForListing ( "1" , _marketplaceAddress ) ;
116
116
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
117
117
Assert . IsTrue ( result . IsCompletedSuccessfully ) ;
118
118
Assert . IsNotNull ( result . Result ) ;
@@ -123,7 +123,7 @@ public IEnumerator DirectListings_IsCurrencyApprovedForListing_Success()
123
123
public IEnumerator EnglishAuctions_GetAll_Success ( )
124
124
{
125
125
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
126
- var result = contract . marketplace . englishAuctions . GetAll ( ) ;
126
+ var result = contract . Marketplace . EnglishAuctions . GetAll ( ) ;
127
127
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
128
128
Assert . IsTrue ( result . IsCompletedSuccessfully ) ;
129
129
Assert . IsNotNull ( result . Result ) ;
@@ -135,7 +135,7 @@ public IEnumerator EnglishAuctions_GetAll_Success()
135
135
public IEnumerator EnglishAuctions_GetAllValid_Success ( )
136
136
{
137
137
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
138
- var result = contract . marketplace . englishAuctions . GetAllValid ( ) ;
138
+ var result = contract . Marketplace . EnglishAuctions . GetAllValid ( ) ;
139
139
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
140
140
Assert . IsTrue ( result . IsCompletedSuccessfully ) ;
141
141
Assert . IsNotNull ( result . Result ) ;
@@ -147,7 +147,7 @@ public IEnumerator EnglishAuctions_GetAllValid_Success()
147
147
public IEnumerator EnglishAuctions_GetAuction_Success ( )
148
148
{
149
149
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
150
- var result = contract . marketplace . englishAuctions . GetAuction ( "0" ) ;
150
+ var result = contract . Marketplace . EnglishAuctions . GetAuction ( "0" ) ;
151
151
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
152
152
Assert . IsTrue ( result . IsCompletedSuccessfully ) ;
153
153
Assert . IsNotNull ( result . Result ) ;
@@ -158,7 +158,7 @@ public IEnumerator EnglishAuctions_GetAuction_Success()
158
158
public IEnumerator EnglishAuctions_GetBidBufferBps_Success ( )
159
159
{
160
160
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
161
- var result = contract . marketplace . englishAuctions . GetBidBufferBps ( "0" ) ;
161
+ var result = contract . Marketplace . EnglishAuctions . GetBidBufferBps ( "0" ) ;
162
162
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
163
163
Assert . IsTrue ( result . IsCompletedSuccessfully ) ;
164
164
Assert . IsNotNull ( result . Result ) ;
@@ -169,7 +169,7 @@ public IEnumerator EnglishAuctions_GetBidBufferBps_Success()
169
169
public IEnumerator EnglishAuctions_GetMinimumNextBid_Success ( )
170
170
{
171
171
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
172
- var result = contract . marketplace . englishAuctions . GetMinimumNextBid ( "0" ) ;
172
+ var result = contract . Marketplace . EnglishAuctions . GetMinimumNextBid ( "0" ) ;
173
173
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
174
174
Assert . IsTrue ( result . IsCompletedSuccessfully ) ;
175
175
Assert . IsNotNull ( result . Result ) ;
@@ -180,7 +180,7 @@ public IEnumerator EnglishAuctions_GetMinimumNextBid_Success()
180
180
public IEnumerator EnglishAuctions_GetTotalCount_Success ( )
181
181
{
182
182
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
183
- var result = contract . marketplace . englishAuctions . GetTotalCount ( ) ;
183
+ var result = contract . Marketplace . EnglishAuctions . GetTotalCount ( ) ;
184
184
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
185
185
if ( result . IsFaulted )
186
186
throw result . Exception ;
@@ -194,7 +194,7 @@ public IEnumerator EnglishAuctions_GetTotalCount_Success()
194
194
public IEnumerator EnglishAuctions_GetWinner_Success ( )
195
195
{
196
196
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
197
- var result = contract . marketplace . englishAuctions . GetWinner ( "0" ) ;
197
+ var result = contract . Marketplace . EnglishAuctions . GetWinner ( "0" ) ;
198
198
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
199
199
if ( Utils . IsWebGLBuild ( ) )
200
200
{
@@ -214,7 +214,7 @@ public IEnumerator EnglishAuctions_GetWinner_Success()
214
214
public IEnumerator EnglishAuctions_GetWinningBid_Success ( )
215
215
{
216
216
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
217
- var result = contract . marketplace . englishAuctions . GetWinningBid ( "0" ) ;
217
+ var result = contract . Marketplace . EnglishAuctions . GetWinningBid ( "0" ) ;
218
218
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
219
219
if ( result . IsFaulted )
220
220
throw result . Exception ;
@@ -227,7 +227,7 @@ public IEnumerator EnglishAuctions_GetWinningBid_Success()
227
227
public IEnumerator EnglishAuctions_IsWinningBid_Success ( )
228
228
{
229
229
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
230
- var result = contract . marketplace . englishAuctions . IsWinningBid ( "0" , "1" ) ;
230
+ var result = contract . Marketplace . EnglishAuctions . IsWinningBid ( "0" , "1" ) ;
231
231
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
232
232
if ( result . IsFaulted )
233
233
throw result . Exception ;
@@ -240,7 +240,7 @@ public IEnumerator EnglishAuctions_IsWinningBid_Success()
240
240
public IEnumerator Offers_GetAll_Success ( )
241
241
{
242
242
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
243
- var result = contract . marketplace . offers . GetAll ( ) ;
243
+ var result = contract . Marketplace . Offers . GetAll ( ) ;
244
244
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
245
245
if ( result . IsFaulted )
246
246
throw result . Exception ;
@@ -254,7 +254,7 @@ public IEnumerator Offers_GetAll_Success()
254
254
public IEnumerator Offers_GetAllValid_Success ( )
255
255
{
256
256
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
257
- var result = contract . marketplace . offers . GetAllValid ( ) ;
257
+ var result = contract . Marketplace . Offers . GetAllValid ( ) ;
258
258
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
259
259
if ( result . IsFaulted )
260
260
throw result . Exception ;
@@ -268,7 +268,7 @@ public IEnumerator Offers_GetAllValid_Success()
268
268
public IEnumerator Offers_GetOffer_Success ( )
269
269
{
270
270
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
271
- var result = contract . marketplace . offers . GetOffer ( "0" ) ;
271
+ var result = contract . Marketplace . Offers . GetOffer ( "0" ) ;
272
272
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
273
273
if ( result . IsFaulted )
274
274
throw result . Exception ;
@@ -281,7 +281,7 @@ public IEnumerator Offers_GetOffer_Success()
281
281
public IEnumerator Offers_GetTotalCount_Success ( )
282
282
{
283
283
var contract = ThirdwebManager . Instance . SDK . GetContract ( _marketplaceAddress ) ;
284
- var result = contract . marketplace . offers . GetTotalCount ( ) ;
284
+ var result = contract . Marketplace . Offers . GetTotalCount ( ) ;
285
285
yield return new WaitUntil ( ( ) => result . IsCompleted ) ;
286
286
if ( result . IsFaulted )
287
287
throw result . Exception ;
0 commit comments