github.com/status-im/status-go@v1.1.0/services/wallet/thirdparty/rarible/client_test_data.go (about)

     1  package rarible
     2  
     3  const collectionJSON = `{
     4  	"id": "ETHEREUM:0x06012c8cf97bead5deae237070f9587f8e7a266d",
     5  	"blockchain": "ETHEREUM",
     6  	"structure": "REGULAR",
     7  	"type": "ERC721",
     8  	"status": "CONFIRMED",
     9  	"name": "CryptoKitties",
    10  	"symbol": "CK",
    11  	"features": [],
    12  	"minters": [],
    13  	"meta": {
    14  	  "name": "CryptoKitties",
    15  	  "description": "CryptoKitties is a game centered around breedable, collectible, and oh-so-adorable creatures we call CryptoKitties! Each cat is one-of-a-kind and 100% owned by you; it cannot be replicated, taken away, or destroyed.",
    16  	  "tags": [],
    17  	  "genres": [],
    18  	  "externalUri": "https://www.cryptokitties.co/",
    19  	  "content": [
    20  		{
    21  		  "@type": "IMAGE",
    22  		  "url": "https://i.seadn.io/gae/C272ZRW1RGGef9vKMePFSCeKc1Lw6U40wl9ofNVxzUxFdj84hH9xJRQNf-7wgs7W8qw8RWe-1ybKp-VKuU5D-tg?w=500&auto=format",
    23  		  "representation": "ORIGINAL",
    24  		  "mimeType": "image/png",
    25  		  "size": 7584,
    26  		  "available": true,
    27  		  "width": 250,
    28  		  "height": 246
    29  		}
    30  	  ],
    31  	  "externalLink": "https://www.cryptokitties.co/",
    32  	  "sellerFeeBasisPoints": 250
    33  	},
    34  	"originOrders": [],
    35  	"self": false,
    36  	"scam": false
    37    }`
    38  
    39  const ownedCollectiblesJSON = `{
    40  	"continuation": "1603836283000_ETHEREUM:0xd07dc4262bcdbf85190c01c996b4c06a461d2430:63879:0x4765273c477c2dc484da4f1984639e943adccfeb",
    41  	"items": [
    42  	  {
    43  		"id": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8:32292934596187112148346015918544186536963932779440027682601542850818403729416",
    44  		"blockchain": "ETHEREUM",
    45  		"collection": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8",
    46  		"contract": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8",
    47  		"tokenId": "32292934596187112148346015918544186536963932779440027682601542850818403729416",
    48  		"creators": [
    49  		  {
    50  			"account": "ETHEREUM:0x4765273c477c2dc484da4f1984639e943adccfeb",
    51  			"value": 10000
    52  		  }
    53  		],
    54  		"lazySupply": "0",
    55  		"pending": [],
    56  		"mintedAt": "2023-06-01T10:03:23Z",
    57  		"lastUpdatedAt": "2023-06-01T10:03:38.923Z",
    58  		"supply": "100",
    59  		"meta": {
    60  		  "name": "Rariversary #002",
    61  		  "description": "Today marks your Second Rariversary! Can you believe it’s already been two years? Time flies when you’re having fun! Thank you for everything you contribute!",
    62  		  "createdAt": "2023-06-01T10:03:23Z",
    63  		  "tags": [],
    64  		  "genres": [],
    65  		  "externalUri": "https://rarible.com/token/0xb66a603f4cfe17e3d27b87a8bfcad319856518b8:32292934596187112148346015918544186536963932779440027682601542850818403729416",
    66  		  "originalMetaUri": "ipfs://ipfs/bafkreialxjfvfkn43jluxmilfg3d3ojnomtqg634nuowqq2syx4odqrx5m",
    67  		  "attributes": [
    68  			{
    69  			  "key": "Theme",
    70  			  "value": "luv u"
    71  			},
    72  			{
    73  			  "key": "Gift for",
    74  			  "value": "Rariversary"
    75  			},
    76  			{
    77  			  "key": "Year",
    78  			  "value": "2"
    79  			}
    80  		  ],
    81  		  "content": [
    82  			{
    83  			  "@type": "IMAGE",
    84  			  "url": "https://ipfs.raribleuserdata.com/ipfs/bafybeibpqyrvdkw7ypajsmsvjiz2mhytv7fyyfa6n35tfui7e473dxnyom/image.png",
    85  			  "representation": "ORIGINAL",
    86  			  "mimeType": "image/png",
    87  			  "size": 4675851,
    88  			  "available": true,
    89  			  "width": 2000,
    90  			  "height": 2000
    91  			},
    92  			{
    93  			  "@type": "IMAGE",
    94  			  "url": "https://lh3.googleusercontent.com/03DCIWuHtWUG5zIPAkdBjPAucg-BNu-917hsY1LRyEtG9pMcYSwIv5n_jZoK4bvMjNbw9MEC3AZA29kje83fCf2XwG6WegOv0JU=s1000",
    95  			  "representation": "BIG",
    96  			  "mimeType": "image/png",
    97  			  "size": 1216435,
    98  			  "available": true,
    99  			  "width": 1000,
   100  			  "height": 1000
   101  			},
   102  			{
   103  			  "@type": "IMAGE",
   104  			  "url": "https://lh3.googleusercontent.com/03DCIWuHtWUG5zIPAkdBjPAucg-BNu-917hsY1LRyEtG9pMcYSwIv5n_jZoK4bvMjNbw9MEC3AZA29kje83fCf2XwG6WegOv0JU=k-w1200-s2400-rj",
   105  			  "representation": "PORTRAIT",
   106  			  "mimeType": "image/jpeg",
   107  			  "size": 191288,
   108  			  "available": true,
   109  			  "width": 1200,
   110  			  "height": 1200
   111  			},
   112  			{
   113  			  "@type": "IMAGE",
   114  			  "url": "https://lh3.googleusercontent.com/03DCIWuHtWUG5zIPAkdBjPAucg-BNu-917hsY1LRyEtG9pMcYSwIv5n_jZoK4bvMjNbw9MEC3AZA29kje83fCf2XwG6WegOv0JU=s250",
   115  			  "representation": "PREVIEW",
   116  			  "mimeType": "image/png",
   117  			  "size": 96841,
   118  			  "available": true,
   119  			  "width": 250,
   120  			  "height": 250
   121  			}
   122  		  ]
   123  		},
   124  		"deleted": false,
   125  		"originOrders": [],
   126  		"ammOrders": {
   127  		  "ids": []
   128  		},
   129  		"auctions": [],
   130  		"totalStock": "0",
   131  		"sellers": 0,
   132  		"suspicious": false
   133  	  },
   134  	  {
   135  		"id": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8:32292934596187112148346015918544186536963932779440027682601542850818403729414",
   136  		"blockchain": "ETHEREUM",
   137  		"collection": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8",
   138  		"contract": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8",
   139  		"tokenId": "32292934596187112148346015918544186536963932779440027682601542850818403729414",
   140  		"creators": [
   141  		  {
   142  			"account": "ETHEREUM:0x4765273c477c2dc484da4f1984639e943adccfeb",
   143  			"value": 10000
   144  		  }
   145  		],
   146  		"lazySupply": "0",
   147  		"pending": [],
   148  		"mintedAt": "2023-06-01T09:43:35Z",
   149  		"lastUpdatedAt": "2023-06-01T09:43:41.498Z",
   150  		"supply": "100",
   151  		"meta": {
   152  		  "name": "Rariversary #003",
   153  		  "description": "Today marks your Third Rariversary! Can you believe it’s already been three years? Time flies when you’re having fun! We’ve loved working with you these years and can’t wait to see what the next few years bring. Thank you for everything you contribute!",
   154  		  "createdAt": "2023-06-01T09:43:35Z",
   155  		  "tags": [],
   156  		  "genres": [],
   157  		  "externalUri": "https://rarible.com/token/0xb66a603f4cfe17e3d27b87a8bfcad319856518b8:32292934596187112148346015918544186536963932779440027682601542850818403729414",
   158  		  "originalMetaUri": "ipfs://ipfs/bafkreifeaueluerp33pjevz56f3ioxv63z73zuvm4wku5k6sobvala4phe",
   159  		  "attributes": [
   160  			{
   161  			  "key": "Theme",
   162  			  "value": "LFG"
   163  			},
   164  			{
   165  			  "key": "Gift for",
   166  			  "value": "Rariversary"
   167  			},
   168  			{
   169  			  "key": "Year",
   170  			  "value": "3"
   171  			}
   172  		  ],
   173  		  "content": [
   174  			{
   175  			  "@type": "IMAGE",
   176  			  "url": "https://ipfs.raribleuserdata.com/ipfs/bafybeicsr36faeleunc5pzkqyf57pwm66vir4xhdkvv6cnkkznoyewqt7u/image.png",
   177  			  "representation": "ORIGINAL",
   178  			  "mimeType": "image/png",
   179  			  "size": 3742351,
   180  			  "available": true,
   181  			  "width": 2000,
   182  			  "height": 2000
   183  			},
   184  			{
   185  			  "@type": "IMAGE",
   186  			  "url": "https://lh3.googleusercontent.com/SimzYIBjaTFt3BTBXFGOOvAqfw_etV0Pbe2pen-IvwF7L8DOysNca7qBdj3Dt5n_HWsse5vDLD7FZ7o5XdEivRvBtUybI1mXZEBQ=s1000",
   187  			  "representation": "BIG",
   188  			  "mimeType": "image/png",
   189  			  "size": 988277,
   190  			  "available": true,
   191  			  "width": 1000,
   192  			  "height": 1000
   193  			},
   194  			{
   195  			  "@type": "IMAGE",
   196  			  "url": "https://lh3.googleusercontent.com/SimzYIBjaTFt3BTBXFGOOvAqfw_etV0Pbe2pen-IvwF7L8DOysNca7qBdj3Dt5n_HWsse5vDLD7FZ7o5XdEivRvBtUybI1mXZEBQ=k-w1200-s2400-rj",
   197  			  "representation": "PORTRAIT",
   198  			  "mimeType": "image/jpeg",
   199  			  "size": 224410,
   200  			  "available": true,
   201  			  "width": 1200,
   202  			  "height": 1200
   203  			},
   204  			{
   205  			  "@type": "IMAGE",
   206  			  "url": "https://lh3.googleusercontent.com/SimzYIBjaTFt3BTBXFGOOvAqfw_etV0Pbe2pen-IvwF7L8DOysNca7qBdj3Dt5n_HWsse5vDLD7FZ7o5XdEivRvBtUybI1mXZEBQ=s250",
   207  			  "representation": "PREVIEW",
   208  			  "mimeType": "image/png",
   209  			  "size": 68280,
   210  			  "available": true,
   211  			  "width": 250,
   212  			  "height": 250
   213  			}
   214  		  ]
   215  		},
   216  		"deleted": false,
   217  		"originOrders": [],
   218  		"ammOrders": {
   219  		  "ids": []
   220  		},
   221  		"auctions": [],
   222  		"totalStock": "0",
   223  		"sellers": 0,
   224  		"suspicious": false
   225  	  }
   226  	]
   227    }`