-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/block-core/blockcore-indexer
- Loading branch information
Showing
84 changed files
with
1,386 additions
and
684 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
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
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,16 @@ | ||
using System.Collections.Generic; | ||
using Blockcore.Indexer.Cirrus.Storage.Mongo.Types; | ||
|
||
namespace Blockcore.Indexer.Cirrus.Models; | ||
|
||
public class QueryDAOContract | ||
{ | ||
public long CurrentAmount { get; set; } | ||
public long MaxVotingDuration { get; set; } | ||
public long MinVotingDuration { get; set; } | ||
public long WhitelistedCount { get; set; } | ||
public List<DaoContractDeposit> Deposits { get; set; } | ||
public List<DaoContractProposalTable> Proposals { get; set; } | ||
public List<string> ApprovedAddresses { get; set; } | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
src/Blockcore.Indexer.Cirrus/Models/QueryNonFungibleTokenContract.cs
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,15 @@ | ||
using System.Collections.Generic; | ||
using Blockcore.Indexer.Cirrus.Storage.Mongo.Types; | ||
|
||
namespace Blockcore.Indexer.Cirrus.Models; | ||
|
||
public class QueryNonFungibleTokenContract | ||
{ | ||
public string Name { get; set; } | ||
public string Symbol { get; set; } | ||
public string Owner { get; set; } | ||
public bool OwnerOnlyMinting { get; set; } | ||
public string PendingOwner { get; set; } | ||
public List<string> PreviousOwners { get; set; } | ||
public List<NonFungibleTokenTable> Tokens { get; set; } | ||
} |
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,12 @@ | ||
namespace Blockcore.Indexer.Cirrus.Models; | ||
|
||
public class QueryStandardToken | ||
{ | ||
public string Name { get; set; } | ||
|
||
public string Symbol { get; set; } | ||
|
||
public long TotalSupply { get; set; } | ||
public string Address { get; set; } | ||
public long Amount { get; set; } | ||
} |
18 changes: 18 additions & 0 deletions
18
src/Blockcore.Indexer.Cirrus/Models/QueryStandardTokenContract.cs
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,18 @@ | ||
using System.Collections.Generic; | ||
using Blockcore.Indexer.Cirrus.Storage.Mongo.Types; | ||
|
||
namespace Blockcore.Indexer.Cirrus.Models; | ||
|
||
public class QueryStandardTokenContract | ||
{ | ||
public string Name { get; set; } | ||
|
||
public string Symbol { get; set; } | ||
|
||
public long TotalSupply { get; set; } | ||
|
||
public long Decimals { get; set; } | ||
public long CreatedOnBlock { get; set; } | ||
public string CreatorAddress { get; set; } | ||
public List<StandardTokenHolderTable> tokens { get; set; } | ||
} |
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.