Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup primary sc code #1050

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 0 additions & 57 deletions schema.gql
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,6 @@ input BuySftActionArgs {
quantity: String
}

input BuyTicketsArgs {
collectionIdentifier: String!
price: String!
ticketsNumber: Int!
}

type Campaign {
availableNfts: Int!
campaignId: ID!
Expand Down Expand Up @@ -426,10 +420,6 @@ input ChildFilter {
values: [String!]!
}

input ClaimTicketsArgs {
collectionIdentifier: String!
}

input ClearReportCollectionInput {
collectionIdentifier: String!
}
Expand Down Expand Up @@ -971,8 +961,6 @@ type Mutation {
burnQuantity(input: HandleQuantityArgs!): TransactionNode!
buyRandomNft(input: BuyRandomNftActionArgs!): TransactionNode!
buySft(input: BuySftActionArgs!): TransactionNode!
buyTickets(input: BuyTicketsArgs!): TransactionNode!
claimTicket(input: ClaimTicketsArgs!): TransactionNode!
clearCollectionScamInfo(collection: String!): Boolean!
clearNftScamInfo(identifier: String!): Boolean!
clearReportCollection(input: ClearReportCollectionInput!): Boolean!
Expand Down Expand Up @@ -1240,36 +1228,6 @@ type PriceRange {
minBid: Price!
}

type PrimarySale {
collectionIdentifier: ID
frozen: Boolean
maxUnitsPerWallet: Int!
paymentToken: String!
price: String
saleTime: PrimarySaleTime!
status: PrimarySaleStatusEnum!
}

input PrimarySaleFilter {
collectionName: String!
}

enum PrimarySaleStatusEnum {
BetweenPeriod
ClaimPeriod
EndedPeriod
NonePeriod
NotStarted
SalePeriod
}

type PrimarySaleTime {
endClaim: Int
endSale: Int!
startClaim: Int
startSale: Int!
}

enum Privacy {
private
public
Expand Down Expand Up @@ -1308,17 +1266,13 @@ type Query {
featuredCollections(filters: FeaturedCollectionsFilter, pagination: ConnectionArgs): CollectionResponse!
featuredNfts(pagination: ConnectionArgs): AssetsResponse!
generalAnalytics(input: AnalyticsInput): GeneralAnalyticsModel!
hasClaimedTickets(collectionIdentifier: String!): Boolean!
isWhitelisted: WhitelistedInfo!
marketplaces(filters: MarketplaceFilters, pagination: ConnectionArgs): MarketplacesResponse!
myClaimableAuctions(filters: MyClaimableAuctionsFilters, pagination: ConnectionArgs): AuctionResponse!
myTickets(collectionIdentifier: String!): [TicketInfo!]!
notifications(filters: NotificationsFilters, pagination: ConnectionArgs): NotificationsResponse!
offers(filters: OffersFilters, pagination: ConnectionArgs): OffersResponse!
orders(filters: FiltersExpression, pagination: ConnectionArgs, sorting: [Sorting!]): OrdersResponse!
owners(filters: OwnersFilters!, pagination: ConnectionArgs): OwnerResponse!
priceRange(filters: TokenFilter): PriceRange!
primarySale(filters: PrimarySaleFilter!): PrimarySale!
search(filters: SearchFilter!): SearchResponse!
tags(filters: TagsFilter!, pagination: ConnectionArgs): TagsResponse!
trendingAssets: [Asset!]!
Expand Down Expand Up @@ -1448,12 +1402,6 @@ type TagsResponse {
pageInfo: TagPageInfo
}

type TicketInfo {
buyer: String!
ticketNumber: Int!
winningNonce: String!
}

type Tier {
availableNfts: Int!
campaignId: ID!
Expand Down Expand Up @@ -1592,9 +1540,4 @@ input WhitelistMarketplaceArgs {
input WhitelistMinterArgs {
address: String!
adminAddress: String!
}

type WhitelistedInfo {
isWhitelisted: Boolean!
message: String
}
Loading