status-go/services/wallet/thirdparty/rarible/client_test_data.go

228 lines
7.1 KiB
Go
Raw Permalink Normal View History

package rarible
const collectionJSON = `{
"id": "ETHEREUM:0x06012c8cf97bead5deae237070f9587f8e7a266d",
"blockchain": "ETHEREUM",
"structure": "REGULAR",
"type": "ERC721",
"status": "CONFIRMED",
"name": "CryptoKitties",
"symbol": "CK",
"features": [],
"minters": [],
"meta": {
"name": "CryptoKitties",
"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.",
"tags": [],
"genres": [],
"externalUri": "https://www.cryptokitties.co/",
"content": [
{
"@type": "IMAGE",
"url": "https://i.seadn.io/gae/C272ZRW1RGGef9vKMePFSCeKc1Lw6U40wl9ofNVxzUxFdj84hH9xJRQNf-7wgs7W8qw8RWe-1ybKp-VKuU5D-tg?w=500&auto=format",
"representation": "ORIGINAL",
"mimeType": "image/png",
"size": 7584,
"available": true,
"width": 250,
"height": 246
}
],
"externalLink": "https://www.cryptokitties.co/",
"sellerFeeBasisPoints": 250
},
"originOrders": [],
"self": false,
"scam": false
}`
const ownedCollectiblesJSON = `{
"continuation": "1603836283000_ETHEREUM:0xd07dc4262bcdbf85190c01c996b4c06a461d2430:63879:0x4765273c477c2dc484da4f1984639e943adccfeb",
"items": [
{
"id": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8:32292934596187112148346015918544186536963932779440027682601542850818403729416",
"blockchain": "ETHEREUM",
"collection": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8",
"contract": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8",
"tokenId": "32292934596187112148346015918544186536963932779440027682601542850818403729416",
"creators": [
{
"account": "ETHEREUM:0x4765273c477c2dc484da4f1984639e943adccfeb",
"value": 10000
}
],
"lazySupply": "0",
"pending": [],
"mintedAt": "2023-06-01T10:03:23Z",
"lastUpdatedAt": "2023-06-01T10:03:38.923Z",
"supply": "100",
"meta": {
"name": "Rariversary #002",
"description": "Today marks your Second Rariversary! Can you believe its already been two years? Time flies when youre having fun! Thank you for everything you contribute!",
"createdAt": "2023-06-01T10:03:23Z",
"tags": [],
"genres": [],
"externalUri": "https://rarible.com/token/0xb66a603f4cfe17e3d27b87a8bfcad319856518b8:32292934596187112148346015918544186536963932779440027682601542850818403729416",
"originalMetaUri": "ipfs://ipfs/bafkreialxjfvfkn43jluxmilfg3d3ojnomtqg634nuowqq2syx4odqrx5m",
"attributes": [
{
"key": "Theme",
"value": "luv u"
},
{
"key": "Gift for",
"value": "Rariversary"
},
{
"key": "Year",
"value": "2"
}
],
"content": [
{
"@type": "IMAGE",
"url": "https://ipfs.raribleuserdata.com/ipfs/bafybeibpqyrvdkw7ypajsmsvjiz2mhytv7fyyfa6n35tfui7e473dxnyom/image.png",
"representation": "ORIGINAL",
"mimeType": "image/png",
"size": 4675851,
"available": true,
"width": 2000,
"height": 2000
},
{
"@type": "IMAGE",
"url": "https://lh3.googleusercontent.com/03DCIWuHtWUG5zIPAkdBjPAucg-BNu-917hsY1LRyEtG9pMcYSwIv5n_jZoK4bvMjNbw9MEC3AZA29kje83fCf2XwG6WegOv0JU=s1000",
"representation": "BIG",
"mimeType": "image/png",
"size": 1216435,
"available": true,
"width": 1000,
"height": 1000
},
{
"@type": "IMAGE",
"url": "https://lh3.googleusercontent.com/03DCIWuHtWUG5zIPAkdBjPAucg-BNu-917hsY1LRyEtG9pMcYSwIv5n_jZoK4bvMjNbw9MEC3AZA29kje83fCf2XwG6WegOv0JU=k-w1200-s2400-rj",
"representation": "PORTRAIT",
"mimeType": "image/jpeg",
"size": 191288,
"available": true,
"width": 1200,
"height": 1200
},
{
"@type": "IMAGE",
"url": "https://lh3.googleusercontent.com/03DCIWuHtWUG5zIPAkdBjPAucg-BNu-917hsY1LRyEtG9pMcYSwIv5n_jZoK4bvMjNbw9MEC3AZA29kje83fCf2XwG6WegOv0JU=s250",
"representation": "PREVIEW",
"mimeType": "image/png",
"size": 96841,
"available": true,
"width": 250,
"height": 250
}
]
},
"deleted": false,
"originOrders": [],
"ammOrders": {
"ids": []
},
"auctions": [],
"totalStock": "0",
"sellers": 0,
"suspicious": false
},
{
"id": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8:32292934596187112148346015918544186536963932779440027682601542850818403729414",
"blockchain": "ETHEREUM",
"collection": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8",
"contract": "ETHEREUM:0xb66a603f4cfe17e3d27b87a8bfcad319856518b8",
"tokenId": "32292934596187112148346015918544186536963932779440027682601542850818403729414",
"creators": [
{
"account": "ETHEREUM:0x4765273c477c2dc484da4f1984639e943adccfeb",
"value": 10000
}
],
"lazySupply": "0",
"pending": [],
"mintedAt": "2023-06-01T09:43:35Z",
"lastUpdatedAt": "2023-06-01T09:43:41.498Z",
"supply": "100",
"meta": {
"name": "Rariversary #003",
"description": "Today marks your Third Rariversary! Can you believe its already been three years? Time flies when youre having fun! Weve loved working with you these years and cant wait to see what the next few years bring. Thank you for everything you contribute!",
"createdAt": "2023-06-01T09:43:35Z",
"tags": [],
"genres": [],
"externalUri": "https://rarible.com/token/0xb66a603f4cfe17e3d27b87a8bfcad319856518b8:32292934596187112148346015918544186536963932779440027682601542850818403729414",
"originalMetaUri": "ipfs://ipfs/bafkreifeaueluerp33pjevz56f3ioxv63z73zuvm4wku5k6sobvala4phe",
"attributes": [
{
"key": "Theme",
"value": "LFG"
},
{
"key": "Gift for",
"value": "Rariversary"
},
{
"key": "Year",
"value": "3"
}
],
"content": [
{
"@type": "IMAGE",
"url": "https://ipfs.raribleuserdata.com/ipfs/bafybeicsr36faeleunc5pzkqyf57pwm66vir4xhdkvv6cnkkznoyewqt7u/image.png",
"representation": "ORIGINAL",
"mimeType": "image/png",
"size": 3742351,
"available": true,
"width": 2000,
"height": 2000
},
{
"@type": "IMAGE",
"url": "https://lh3.googleusercontent.com/SimzYIBjaTFt3BTBXFGOOvAqfw_etV0Pbe2pen-IvwF7L8DOysNca7qBdj3Dt5n_HWsse5vDLD7FZ7o5XdEivRvBtUybI1mXZEBQ=s1000",
"representation": "BIG",
"mimeType": "image/png",
"size": 988277,
"available": true,
"width": 1000,
"height": 1000
},
{
"@type": "IMAGE",
"url": "https://lh3.googleusercontent.com/SimzYIBjaTFt3BTBXFGOOvAqfw_etV0Pbe2pen-IvwF7L8DOysNca7qBdj3Dt5n_HWsse5vDLD7FZ7o5XdEivRvBtUybI1mXZEBQ=k-w1200-s2400-rj",
"representation": "PORTRAIT",
"mimeType": "image/jpeg",
"size": 224410,
"available": true,
"width": 1200,
"height": 1200
},
{
"@type": "IMAGE",
"url": "https://lh3.googleusercontent.com/SimzYIBjaTFt3BTBXFGOOvAqfw_etV0Pbe2pen-IvwF7L8DOysNca7qBdj3Dt5n_HWsse5vDLD7FZ7o5XdEivRvBtUybI1mXZEBQ=s250",
"representation": "PREVIEW",
"mimeType": "image/png",
"size": 68280,
"available": true,
"width": 250,
"height": 250
}
]
},
"deleted": false,
"originOrders": [],
"ammOrders": {
"ids": []
},
"auctions": [],
"totalStock": "0",
"sellers": 0,
"suspicious": false
}
]
}`