Advertisement
Guest User

Untitled

a guest
Nov 26th, 2021
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 7.56 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace NFTAnalyze.json_classes
  8. {
  9.     public class AssetContract
  10.     {
  11.         public string address { get; set; }
  12.         public string asset_contract_type { get; set; }
  13.         public DateTime created_date { get; set; }
  14.         public string name { get; set; }
  15.         public string nft_version { get; set; }
  16.         public string opensea_version { get; set; }
  17.         public int? owner { get; set; }
  18.         public string schema_name { get; set; }
  19.         public string symbol { get; set; }
  20.         public string total_supply { get; set; }
  21.         public string description { get; set; }
  22.         public string external_link { get; set; }
  23.         public string image_url { get; set; }
  24.         public bool default_to_fiat { get; set; }
  25.         public int dev_buyer_fee_basis_points { get; set; }
  26.         public int dev_seller_fee_basis_points { get; set; }
  27.         public bool only_proxied_transfers { get; set; }
  28.         public int opensea_buyer_fee_basis_points { get; set; }
  29.         public int opensea_seller_fee_basis_points { get; set; }
  30.         public int buyer_fee_basis_points { get; set; }
  31.         public int seller_fee_basis_points { get; set; }
  32.         public string payout_address { get; set; }
  33.     }
  34.  
  35.     public class DisplayData
  36.     {
  37.         public string card_display_style { get; set; }
  38.     }
  39.  
  40.     public class Collection
  41.     {
  42.         public string banner_image_url { get; set; }
  43.         public object chat_url { get; set; }
  44.         public DateTime created_date { get; set; }
  45.         public bool default_to_fiat { get; set; }
  46.         public string description { get; set; }
  47.         public string dev_buyer_fee_basis_points { get; set; }
  48.         public string dev_seller_fee_basis_points { get; set; }
  49.         public string discord_url { get; set; }
  50.         public DisplayData display_data { get; set; }
  51.         public string external_url { get; set; }
  52.         public bool featured { get; set; }
  53.         public string featured_image_url { get; set; }
  54.         public bool hidden { get; set; }
  55.         public string safelist_request_status { get; set; }
  56.         public string image_url { get; set; }
  57.         public bool is_subject_to_whitelist { get; set; }
  58.         public string large_image_url { get; set; }
  59.         public string medium_username { get; set; }
  60.         public string name { get; set; }
  61.         public bool only_proxied_transfers { get; set; }
  62.         public string opensea_buyer_fee_basis_points { get; set; }
  63.         public string opensea_seller_fee_basis_points { get; set; }
  64.         public string payout_address { get; set; }
  65.         public bool require_email { get; set; }
  66.         public object short_description { get; set; }
  67.         public string slug { get; set; }
  68.         public string telegram_url { get; set; }
  69.         public string twitter_username { get; set; }
  70.         public string instagram_username { get; set; }
  71.         public object wiki_url { get; set; }
  72.     }
  73.  
  74.     public class User
  75.     {
  76.         public string username { get; set; }
  77.     }
  78.  
  79.     public class Owner
  80.     {
  81.         public User user { get; set; }
  82.         public string profile_img_url { get; set; }
  83.         public string address { get; set; }
  84.         public string config { get; set; }
  85.     }
  86.  
  87.     public class Asset
  88.     {
  89.         public int id { get; set; }
  90.         public string token_id { get; set; }
  91.         public int num_sales { get; set; }
  92.         public object background_color { get; set; }
  93.         public string image_url { get; set; }
  94.         public string image_preview_url { get; set; }
  95.         public string image_thumbnail_url { get; set; }
  96.         public string image_original_url { get; set; }
  97.         public string animation_url { get; set; }
  98.         public string animation_original_url { get; set; }
  99.         public string name { get; set; }
  100.         public string description { get; set; }
  101.         public string external_link { get; set; }
  102.         public AssetContract asset_contract { get; set; }
  103.         public string permalink { get; set; }
  104.         public Collection collection { get; set; }
  105.         public int? decimals { get; set; }
  106.         public string token_metadata { get; set; }
  107.         public Owner owner { get; set; }
  108.     }
  109.  
  110.     public class PaymentToken
  111.     {
  112.         public int id { get; set; }
  113.         public string symbol { get; set; }
  114.         public string address { get; set; }
  115.         public string image_url { get; set; }
  116.         public string name { get; set; }
  117.         public int decimals { get; set; }
  118.         public string eth_price { get; set; }
  119.         public string usd_price { get; set; }
  120.     }
  121.  
  122.     public class Transaction
  123.     {
  124.         public string block_hash { get; set; }
  125.         public string block_number { get; set; }
  126.         public object from_account { get; set; }
  127.         public int id { get; set; }
  128.         public object timestamp { get; set; }
  129.         public object to_account { get; set; }
  130.         public string transaction_hash { get; set; }
  131.         public string transaction_index { get; set; }
  132.     }
  133.  
  134.     public class DevFeePaymentEvent
  135.     {
  136.         public object asset { get; set; }
  137.         public object asset_bundle { get; set; }
  138.         public string event_type { get; set; }
  139.         public DateTime event_timestamp { get; set; }
  140.         public object auction_type { get; set; }
  141.         public object total_price { get; set; }
  142.         public PaymentToken payment_token { get; set; }
  143.         public Transaction transaction { get; set; }
  144.         public DateTime created_date { get; set; }
  145.         public object quantity { get; set; }
  146.     }
  147.  
  148.     public class Seller
  149.     {
  150.         public User user { get; set; }
  151.         public string profile_img_url { get; set; }
  152.         public string address { get; set; }
  153.         public string config { get; set; }
  154.     }
  155.  
  156.     public class WinnerAccount
  157.     {
  158.         public User user { get; set; }
  159.         public string profile_img_url { get; set; }
  160.         public string address { get; set; }
  161.         public string config { get; set; }
  162.     }
  163.  
  164.     public class AssetEvent
  165.     {
  166.         public object approved_account { get; set; }
  167.         public Asset asset { get; set; }
  168.         public object asset_bundle { get; set; }
  169.         public object auction_type { get; set; }
  170.         public object bid_amount { get; set; }
  171.         public string collection_slug { get; set; }
  172.         public string contract_address { get; set; }
  173.         public DateTime created_date { get; set; }
  174.         public object custom_event_name { get; set; }
  175.         public DevFeePaymentEvent dev_fee_payment_event { get; set; }
  176.         public object duration { get; set; }
  177.         public object ending_price { get; set; }
  178.         public string event_type { get; set; }
  179.         public object from_account { get; set; }
  180.         public int id { get; set; }
  181.         public string is_private { get; set; }
  182.         public object owner_account { get; set; }
  183.         public PaymentToken payment_token { get; set; }
  184.         public string quantity { get; set; }
  185.         public Seller seller { get; set; }
  186.         public object starting_price { get; set; }
  187.         public object to_account { get; set; }
  188.         public string total_price { get; set; }
  189.         public Transaction transaction { get; set; }
  190.         public WinnerAccount winner_account { get; set; }
  191.     }
  192.  
  193.     public class Assets
  194.     {
  195.         public AssetEvent[] asset_events { get; set; }
  196.     }
  197.  
  198.     public class Single_Asset
  199.     {
  200.         public Asset asset { get; set; }
  201.     }
  202. }
  203.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement