-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* through dl_owned_singletons * DL methods * nft_mint_bulk * nft updates * more nft stuffs
- Loading branch information
Showing
12 changed files
with
307 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
namespace chia.dotnet | ||
{ | ||
public record AssetInfo | ||
{ | ||
public string Asset { get; init; } = string.Empty; | ||
public string Address { get; init; } = string.Empty; | ||
public ulong Amount { get; init; } | ||
} | ||
|
||
public record FungibleAsset | ||
{ | ||
public string Asset { get; init; } = string.Empty; | ||
public ulong Amount { get; init; } | ||
} | ||
|
||
public record RoyaltyAsset | ||
{ | ||
public string Asset { get; init; } = string.Empty; | ||
public string RoyaltyAddress { get; init; } = string.Empty; | ||
public ushort RoyaltyPercentage { get; init; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace chia.dotnet | ||
{ | ||
/// <summary> | ||
/// Info for minting NFTs in bulk | ||
/// </summary> | ||
public record NFTBulkMintingInfo | ||
{ | ||
public string? RoyaltyAddress { get; init; } = string.Empty; | ||
public ushort? RoyaltyPercentage { get; init; } | ||
public IEnumerable<NftMintEntry> MetadataList { get; init; } = new List<NftMintEntry>(); | ||
/// <summary> | ||
/// a list of targets for transferring minted NFTs (aka airdrop) | ||
/// </summary> | ||
public IEnumerable<string>? TargetList { get; init; } | ||
/// <summary> | ||
/// The starting point for mint number used in intermediate launcher puzzle | ||
/// </summary> | ||
public int MintNumberStart { get; init; } = 1; | ||
/// <summary> | ||
/// The total number of NFTs being minted | ||
/// </summary> | ||
public int? MintTotal { get; init; } | ||
/// <summary> | ||
/// For use with bulk minting to provide the coin used for funding the minting spend. | ||
/// This coin can be one that will be created in the future | ||
/// </summary> | ||
public IEnumerable<Coin>? XchCoins { get; init; } | ||
/// <summary> | ||
/// For use with bulk minting, so we can specify the puzzle hash that the change | ||
// from the funding transaction goes to. | ||
/// </summary> | ||
public string? XchChangeTarget { get; init; } | ||
public string? NewInnerpuzhash { get; init; } | ||
public string? NewP2Puzhash { get; init; } | ||
public Coin? DidCoin { get; init; } | ||
public string? DidLineageParentHex { get; init; } | ||
public bool MintFromDid { get; init; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace chia.dotnet | ||
{ | ||
public record NftCoinInfo | ||
{ | ||
|
||
public string NftCoinId { get; init; } = string.Empty; | ||
|
||
public int WalletId { get; init; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.