documents: {
query OptionPositions($account: ID!) {
account(id: $account) {
ERC1155balances {
id
token {
id
type
claim {
id
amountWritten
amountExercised
optionType {
id
underlyingAsset {
symbol
}
underlyingAmount
exerciseAsset {
symbol
}
exerciseAmount
exerciseTimestamp
expiryTimestamp
}
redeemed
}
optionType {
id
underlyingAsset {
symbol
}
underlyingAmount
exerciseAsset {
symbol
}
exerciseAmount
exerciseTimestamp
expiryTimestamp
}
}
valueExact
}
}
}
: TypedDocumentNode<OptionPositionsQuery, Exact<{ account: string | number | bigint; }>>;
query OwnedOptionPosition($tokenId: ID!, $owner: ID!) {
account(id: $owner) {
ERC1155balances(where: { id: $tokenId }) {
id
token {
id
type
claim {
id
amountWritten
amountExercised
optionType {
id
underlyingAsset {
symbol
}
underlyingAmount
exerciseAsset {
symbol
}
exerciseAmount
exerciseTimestamp
expiryTimestamp
}
redeemed
}
optionType {
id
underlyingAsset {
symbol
}
underlyingAmount
exerciseAsset {
symbol
}
exerciseAmount
exerciseTimestamp
expiryTimestamp
}
}
valueExact
}
}
}
: TypedDocumentNode<OwnedOptionPositionQuery, Exact<{ owner: string | number | bigint; tokenId: string | number | bigint; }>>;
query TotalSupplyOptionPosition($tokenId: ID!) {
erc1155Token(id: $tokenId) {
id
balances {
id
token {
id
type
claim {
id
amountWritten
amountExercised
optionType {
id
underlyingAsset {
symbol
}
underlyingAmount
exerciseAsset {
symbol
}
exerciseAmount
exerciseTimestamp
expiryTimestamp
}
redeemed
}
optionType {
id
underlyingAsset {
symbol
}
underlyingAmount
exerciseAsset {
symbol
}
exerciseAmount
exerciseTimestamp
expiryTimestamp
}
}
valueExact
}
}
}
: TypedDocumentNode<TotalSupplyOptionPositionQuery, Exact<{ tokenId: string | number | bigint; }>>; } = ... Type declaration
query OptionPositions($account: ID!) {
account(id: $account) {
ERC1155balances {
id
token {
id
type
claim {
id
amountWritten
amountExercised
optionType {
id
underlyingAsset {
symbol
}
underlyingAmount
exerciseAsset {
symbol
}
exerciseAmount
exerciseTimestamp
expiryTimestamp
}
redeemed
}
optionType {
id
underlyingAsset {
symbol
}
underlyingAmount
exerciseAsset {
symbol
}
exerciseAmount
exerciseTimestamp
expiryTimestamp
}
}
valueExact
}
}
}
: TypedDocumentNode<OptionPositionsQuery, Exact<{
account: string | number | bigint;
}>>
query OwnedOptionPosition($tokenId: ID!, $owner: ID!) {
account(id: $owner) {
ERC1155balances(where: { id: $tokenId }) {
id
token {
id
type
claim {
id
amountWritten
amountExercised
optionType {
id
underlyingAsset {
symbol
}
underlyingAmount
exerciseAsset {
symbol
}
exerciseAmount
exerciseTimestamp
expiryTimestamp
}
redeemed
}
optionType {
id
underlyingAsset {
symbol
}
underlyingAmount
exerciseAsset {
symbol
}
exerciseAmount
exerciseTimestamp
expiryTimestamp
}
}
valueExact
}
}
}
: TypedDocumentNode<OwnedOptionPositionQuery, Exact<{
owner: string | number | bigint;
tokenId: string | number | bigint;
}>>
query TotalSupplyOptionPosition($tokenId: ID!) {
erc1155Token(id: $tokenId) {
id
balances {
id
token {
id
type
claim {
id
amountWritten
amountExercised
optionType {
id
underlyingAsset {
symbol
}
underlyingAmount
exerciseAsset {
symbol
}
exerciseAmount
exerciseTimestamp
expiryTimestamp
}
redeemed
}
optionType {
id
underlyingAsset {
symbol
}
underlyingAmount
exerciseAsset {
symbol
}
exerciseAmount
exerciseTimestamp
expiryTimestamp
}
}
valueExact
}
}
}
: TypedDocumentNode<TotalSupplyOptionPositionQuery, Exact<{
tokenId: string | number | bigint;
}>>
Map of all GraphQL operations in the project.
This map has several performance disadvantages:
Therefore it is highly recommended to use the babel or swc plugin for production.