Skip to content

Commit 7f818c0

Browse files
Native Support (#41)
Co-authored-by: Joaquim Verges <[email protected]>
1 parent b878410 commit 7f818c0

File tree

848 files changed

+88700
-2298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

848 files changed

+88700
-2298
lines changed

.csharpierrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"printWidth": 200,
3+
"useTabs": false,
4+
"tabWidth": 4,
5+
"preprocessorSymbolSets": ["", "DEBUG", "DEBUG,CODE_STYLE"]
6+
}

Assets/Thirdweb/Core/Contract Definitions.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Thirdweb/Core/Contract Definitions/DropERC1155.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Thirdweb/Core/Contract Definitions/DropERC1155/ContractDefinition.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
using System;
2+
using System.Threading.Tasks;
3+
using System.Collections.Generic;
4+
using System.Numerics;
5+
using Nethereum.Hex.HexTypes;
6+
using Nethereum.ABI.FunctionEncoding.Attributes;
7+
8+
namespace Thirdweb.Contracts.DropERC1155.ContractDefinition
9+
{
10+
public partial class AllowlistProof : AllowlistProofBase { }
11+
12+
public class AllowlistProofBase
13+
{
14+
[Parameter("bytes32[]", "proof", 1)]
15+
public virtual List<byte[]> Proof { get; set; }
16+
17+
[Parameter("uint256", "quantityLimitPerWallet", 2)]
18+
public virtual BigInteger QuantityLimitPerWallet { get; set; }
19+
20+
[Parameter("uint256", "pricePerToken", 3)]
21+
public virtual BigInteger PricePerToken { get; set; }
22+
23+
[Parameter("address", "currency", 4)]
24+
public virtual string Currency { get; set; }
25+
}
26+
}

Assets/Thirdweb/Core/Contract Definitions/DropERC1155/ContractDefinition/AllowlistProof.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
using System;
2+
using System.Threading.Tasks;
3+
using System.Collections.Generic;
4+
using System.Numerics;
5+
using Nethereum.Hex.HexTypes;
6+
using Nethereum.ABI.FunctionEncoding.Attributes;
7+
8+
namespace Thirdweb.Contracts.DropERC1155.ContractDefinition
9+
{
10+
public partial class ClaimCondition : ClaimConditionBase { }
11+
12+
public class ClaimConditionBase
13+
{
14+
[Parameter("uint256", "startTimestamp", 1)]
15+
public virtual BigInteger StartTimestamp { get; set; }
16+
17+
[Parameter("uint256", "maxClaimableSupply", 2)]
18+
public virtual BigInteger MaxClaimableSupply { get; set; }
19+
20+
[Parameter("uint256", "supplyClaimed", 3)]
21+
public virtual BigInteger SupplyClaimed { get; set; }
22+
23+
[Parameter("uint256", "quantityLimitPerWallet", 4)]
24+
public virtual BigInteger QuantityLimitPerWallet { get; set; }
25+
26+
[Parameter("bytes32", "merkleRoot", 5)]
27+
public virtual byte[] MerkleRoot { get; set; }
28+
29+
[Parameter("uint256", "pricePerToken", 6)]
30+
public virtual BigInteger PricePerToken { get; set; }
31+
32+
[Parameter("address", "currency", 7)]
33+
public virtual string Currency { get; set; }
34+
35+
[Parameter("string", "metadata", 8)]
36+
public virtual string Metadata { get; set; }
37+
}
38+
}

Assets/Thirdweb/Core/Contract Definitions/DropERC1155/ContractDefinition/ClaimCondition.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Thirdweb/Core/Contract Definitions/DropERC1155/ContractDefinition/DropERC1155Definition.cs

Lines changed: 1273 additions & 0 deletions
Large diffs are not rendered by default.

Assets/Thirdweb/Core/Contract Definitions/DropERC1155/ContractDefinition/DropERC1155Definition.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)