Skip to content

Commit 12de7b5

Browse files
committed
Update example scene MP contract to v5+
1 parent 7222b6a commit 12de7b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/Thirdweb/Examples/Scripts/Prefabs/Prefab_Marketplace.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class Prefab_Marketplace : MonoBehaviour
1212
private const string DROP_ERC721_CONTRACT = "0x8ED1C3618d70785d23E5fdE767058FA6cA6D9E43";
1313
private const string TOKEN_ERC1155_CONTRACT = "0x82c488a1BC64ab3b91B927380cca9Db7bF347879";
1414
private const string DROP_ERC1155_CONTRACT = "0x408308c85D7073192deEAcC1703E234A783fFfF1";
15-
private const string MARKETPLACE_CONTRACT = "0x3Dd51b530e9DBdD93087C321cbD9350f435f742C";
15+
private const string MARKETPLACE_CONTRACT = "0x60b97Bf8C7b6dF9Ff6ebCE8536fB359A1985D8fe";
1616
private const string PACK_CONTRACT = "0xC04104DE55dEC5d63542f7ADCf8171278942048E";
1717

1818
// Fetching
@@ -23,7 +23,7 @@ public async void Fetch_DirectListing()
2323
{
2424
Debugger.Instance.Log("Request Sent", "Pending confirmation...");
2525
var contract = ThirdwebManager.Instance.SDK.GetContract(MARKETPLACE_CONTRACT);
26-
var result = await contract.marketplace.directListings.GetListing("0");
26+
var result = await contract.marketplace.directListings.GetListing("1");
2727
Debugger.Instance.Log("[Fetch_DirectListing] Sucess", result.ToString());
2828
}
2929
catch (System.Exception e)

0 commit comments

Comments
 (0)