Skip to content

Commit

Permalink
remove nft marketplace tables and add is_deleted_v2 (#370)
Browse files Browse the repository at this point in the history
Co-authored-by: Renee Tso <8248583+rtso@users.noreply.github.com>
  • Loading branch information
bowenyang007 and rtso authored May 14, 2024
1 parent 4b2db91 commit 11a1aa1
Showing 1 changed file with 2 additions and 258 deletions.
260 changes: 2 additions & 258 deletions hasura-api/metadata-json/unified.json
Original file line number Diff line number Diff line change
@@ -1,269 +1,12 @@
{
"resource_version": 316,
"resource_version": 399,
"metadata": {
"version": 3,
"sources": [
{
"name": "indexer-v2",
"kind": "postgres",
"tables": [
{
"table": {
"name": "current_nft_marketplace_auctions",
"schema": "nft_marketplace_v2"
},
"object_relationships": [
{
"name": "current_token_data",
"using": {
"manual_configuration": {
"column_mapping": {
"token_data_id": "token_data_id"
},
"insertion_order": null,
"remote_table": {
"name": "current_token_datas_v2",
"schema": "public"
}
}
}
}
],
"select_permissions": [
{
"role": "anonymous",
"permission": {
"columns": [
"buy_it_now_price",
"coin_type",
"collection_id",
"contract_address",
"current_bid_price",
"current_bidder",
"entry_function_id_str",
"expiration_time",
"fee_schedule_id",
"is_deleted",
"last_transaction_timestamp",
"last_transaction_version",
"listing_id",
"marketplace",
"seller",
"starting_bid_price",
"token_amount",
"token_data_id",
"token_standard"
],
"filter": {},
"limit": 100
}
}
]
},
{
"table": {
"name": "current_nft_marketplace_collection_offers",
"schema": "nft_marketplace_v2"
},
"object_relationships": [
{
"name": "current_collection_v2",
"using": {
"manual_configuration": {
"column_mapping": {
"collection_id": "collection_id"
},
"insertion_order": null,
"remote_table": {
"name": "current_collections_v2",
"schema": "public"
}
}
}
}
],
"select_permissions": [
{
"role": "anonymous",
"permission": {
"columns": [
"buyer",
"coin_type",
"collection_id",
"collection_offer_id",
"contract_address",
"entry_function_id_str",
"expiration_time",
"fee_schedule_id",
"is_deleted",
"item_price",
"last_transaction_timestamp",
"last_transaction_version",
"marketplace",
"remaining_token_amount",
"token_standard"
],
"filter": {},
"limit": 100
}
}
]
},
{
"table": {
"name": "current_nft_marketplace_listings",
"schema": "nft_marketplace_v2"
},
"object_relationships": [
{
"name": "current_token_data",
"using": {
"manual_configuration": {
"column_mapping": {
"token_data_id": "token_data_id"
},
"insertion_order": null,
"remote_table": {
"name": "current_token_datas_v2",
"schema": "public"
}
}
}
}
],
"select_permissions": [
{
"role": "anonymous",
"permission": {
"columns": [
"coin_type",
"collection_id",
"contract_address",
"entry_function_id_str",
"fee_schedule_id",
"is_deleted",
"last_transaction_timestamp",
"last_transaction_version",
"listing_id",
"marketplace",
"price",
"seller",
"token_amount",
"token_data_id",
"token_standard"
],
"filter": {},
"limit": 100,
"allow_aggregations": true
}
}
]
},
{
"table": {
"name": "current_nft_marketplace_token_offers",
"schema": "nft_marketplace_v2"
},
"object_relationships": [
{
"name": "current_token_data",
"using": {
"manual_configuration": {
"column_mapping": {
"token_data_id": "token_data_id"
},
"insertion_order": null,
"remote_table": {
"name": "current_token_datas_v2",
"schema": "public"
}
}
}
}
],
"select_permissions": [
{
"role": "anonymous",
"permission": {
"columns": [
"buyer",
"coin_type",
"collection_id",
"contract_address",
"entry_function_id_str",
"expiration_time",
"fee_schedule_id",
"is_deleted",
"last_transaction_timestamp",
"last_transaction_version",
"marketplace",
"offer_id",
"price",
"token_amount",
"token_data_id",
"token_standard"
],
"filter": {},
"limit": 100
}
}
]
},
{
"table": {
"name": "nft_marketplace_activities",
"schema": "nft_marketplace_v2"
},
"object_relationships": [
{
"name": "current_token_data",
"using": {
"manual_configuration": {
"column_mapping": {
"token_data_id": "token_data_id"
},
"insertion_order": null,
"remote_table": {
"name": "current_token_datas_v2",
"schema": "public"
}
}
}
}
],
"select_permissions": [
{
"role": "anonymous",
"permission": {
"columns": [
"buyer",
"coin_type",
"collection_id",
"collection_name",
"contract_address",
"creator_address",
"entry_function_id_str",
"event_index",
"event_type",
"fee_schedule_id",
"marketplace",
"offer_or_listing_id",
"price",
"property_version",
"seller",
"token_amount",
"token_data_id",
"token_name",
"token_standard",
"transaction_timestamp",
"transaction_version"
],
"filter": {},
"limit": 100
}
}
]
},
{
"table": {
"name": "parsed_asset_uris",
Expand Down Expand Up @@ -1446,6 +1189,7 @@
"collection_id",
"decimals",
"description",
"is_deleted_v2",
"is_fungible_v2",
"largest_property_version_v1",
"last_transaction_timestamp",
Expand Down

0 comments on commit 11a1aa1

Please sign in to comment.