1
1
using UnityEngine ;
2
2
using Thirdweb ;
3
+ using System . Collections . Generic ;
3
4
4
5
public class Prefab_Writing : MonoBehaviour
5
6
{
@@ -184,14 +185,14 @@ public async void OpenPack()
184
185
185
186
// NewPackInput newPackInput = new NewPackInput()
186
187
// {
187
- // rewardsPerPack = "1 ",
188
+ // rewardsPerPack = "10 ",
188
189
// packMetadata = new NFTMetadata()
189
190
// {
190
191
// description = "Kitty Pack - Contains Kitty NFTs and Tokens!",
191
192
// image = "ipfs://QmbpciV7R5SSPb6aT9kEBAxoYoXBUsStJkMpxzymV4ZcVc",
192
193
// name = "My Epic Kitty Pack"
193
194
// },
194
- // erc20Rewards = new List<ERC20Contents>()
195
+ // erc20Contents = new List<ERC20Contents>()
195
196
// {
196
197
// new ERC20Contents()
197
198
// {
@@ -200,11 +201,11 @@ public async void OpenPack()
200
201
// totalRewards = "100"
201
202
// }
202
203
// },
203
- // erc721Rewards = new List<ERC721Contents>()
204
+ // erc721Contents = new List<ERC721Contents>()
204
205
// {
205
- // new ERC721Contents() { contractAddress = TOKEN_ERC721_CONTRACT, tokenId = "0 ", }
206
+ // new ERC721Contents() { contractAddress = TOKEN_ERC721_CONTRACT, tokenId = "1 ", }
206
207
// },
207
- // erc1155Rewards = new List<ERC1155Contents>()
208
+ // erc1155Contents = new List<ERC1155Contents>()
208
209
// {
209
210
// new ERC1155Contents()
210
211
// {
@@ -215,7 +216,7 @@ public async void OpenPack()
215
216
// }
216
217
// },
217
218
// };
218
- // // Make sure you approve tokens first
219
+ // Make sure you approve tokens first
219
220
// var result = await pack.Create(newPackInput);
220
221
// Debugger.Instance.Log("[Create Pack] Successful", result.ToString());
221
222
0 commit comments