Skip to content

Commit

Permalink
feat(indexer): ✨ implement AssetHolding
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonboukheir committed Oct 3, 2021
1 parent 161f361 commit 203785a
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,25 @@ public struct AssetHolding
{
[AlgoApiKey("amount")]
public ulong Amount;

[AlgoApiKey("asset-id")]
public ulong AssetId;

[AlgoApiKey("creator")]
public Address Creator;

[AlgoApiKey("deleted")]
public Optional<bool> Deleted;

[AlgoApiKey("is-frozen")]
public bool IsFrozen;

[AlgoApiKey("opted-in-at-round")]
public Optional<ulong> OptedInAtRound;

[AlgoApiKey("opted-out-at-round")]
public Optional<ulong> OptedOutAtRound;

public bool Equals(AssetHolding other)
{
return Amount.Equals(other.Amount)
Expand Down

0 comments on commit 203785a

Please sign in to comment.