From b087eceeb6e7e92da223916fcf3451b445cbcadb Mon Sep 17 00:00:00 2001 From: Tomas Hanacek Date: Wed, 31 Jan 2024 01:20:09 +0100 Subject: [PATCH 1/8] feat: nsfw inscription check --- indexer/.gitignore | 3 +- indexer/Makefile | 2 +- indexer/go.mod | 8 +- indexer/go.sum | 15 +- indexer/src/indexer/indexer.go | 9 +- .../src/indexer/metaprotocol/inscription.go | 9 +- indexer/src/indexer/models/inscription.go | 1 + indexer/src/nsfw/predictor.go | 188 ++++++++++++++++++ indexer/src/nsfw/worker.go | 75 +++++++ 9 files changed, 301 insertions(+), 9 deletions(-) create mode 100644 indexer/src/nsfw/predictor.go create mode 100644 indexer/src/nsfw/worker.go diff --git a/indexer/.gitignore b/indexer/.gitignore index ff84dbbb..8a5be68e 100644 --- a/indexer/.gitignore +++ b/indexer/.gitignore @@ -1,2 +1,3 @@ bin -.env \ No newline at end of file +.env +model \ No newline at end of file diff --git a/indexer/Makefile b/indexer/Makefile index e8ab8b6b..61c8f67c 100644 --- a/indexer/Makefile +++ b/indexer/Makefile @@ -18,7 +18,7 @@ dependencies: ## Install dependencies for the service go mod tidy build: ## Build the binary for the service - CGO_ENABLED=0 go build -o ./bin/${APP_NAME} ./src/*.go + go build -o ./bin/${APP_NAME} ./src/*.go run: build ## Build and run the service binary ./bin/${APP_NAME} diff --git a/indexer/go.mod b/indexer/go.mod index cfdf4276..fb8cd40a 100644 --- a/indexer/go.mod +++ b/indexer/go.mod @@ -10,10 +10,14 @@ require ( github.com/cosmos/cosmos-sdk v0.45.0 github.com/cosmos/ibc-go v1.0.0 github.com/crypto-org-chain/chain-main/v3 v3.0.0-croeseid + github.com/gabriel-vasile/mimetype v1.4.3 + github.com/galeone/tensorflow/tensorflow/go v0.0.0-20220620094824-6bb01e3a58fa + github.com/galeone/tfgo v0.0.0-20220622151904-fc7b7ccad83b github.com/joho/godotenv v1.5.1 github.com/kelseyhightower/envconfig v1.4.0 github.com/leodido/go-urn v1.2.4 github.com/sirupsen/logrus v1.9.3 + golang.org/x/image v0.15.0 gorm.io/datatypes v1.2.0 gorm.io/driver/postgres v1.5.2 gorm.io/gorm v1.25.5 @@ -117,10 +121,10 @@ require ( golang.org/x/net v0.17.0 // indirect golang.org/x/sys v0.13.0 // indirect golang.org/x/term v0.13.0 // indirect - golang.org/x/text v0.13.0 // indirect + golang.org/x/text v0.14.0 // indirect google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71 // indirect google.golang.org/grpc v1.42.0 // indirect - google.golang.org/protobuf v1.27.1 // indirect + google.golang.org/protobuf v1.28.1 // indirect gopkg.in/ini.v1 v1.62.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/indexer/go.sum b/indexer/go.sum index 4c82ff87..32e5ce3c 100644 --- a/indexer/go.sum +++ b/indexer/go.sum @@ -304,6 +304,12 @@ github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0= +github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk= +github.com/galeone/tensorflow/tensorflow/go v0.0.0-20220620094824-6bb01e3a58fa h1:UsqNDZ0Olkhk+9wFchvc1JCQn7Bq6e694uQ+hGBlJcM= +github.com/galeone/tensorflow/tensorflow/go v0.0.0-20220620094824-6bb01e3a58fa/go.mod h1:nHvVZJgJuQ0V2Xe4BqhTeCKQSMWDRI/gDkN8UxAANtU= +github.com/galeone/tfgo v0.0.0-20220622151904-fc7b7ccad83b h1:TGgxstITwmNG7+OI95FNQI5wsYkkOSiOE8xOi0QjccU= +github.com/galeone/tfgo v0.0.0-20220622151904-fc7b7ccad83b/go.mod h1:KqgpdfIYdJEusyCqP9uUcnwvSAp7m37ML5lh6YPlUh4= github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= @@ -1017,6 +1023,8 @@ golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMk golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/image v0.15.0 h1:kOELfmgrmJlw4Cdb7g/QGuB3CvDrXbqEIww/pNtNBm8= +golang.org/x/image v0.15.0/go.mod h1:HUYqC05R2ZcZ3ejNQsIHQDQiwWM4JBqmm6MKANTp4LE= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1244,8 +1252,8 @@ golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1442,8 +1450,9 @@ google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlba google.golang.org/protobuf v1.25.1-0.20200805231151-a709e31e5d12/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= +google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/indexer/src/indexer/indexer.go b/indexer/src/indexer/indexer.go index 95ed9c27..f1e676ca 100644 --- a/indexer/src/indexer/indexer.go +++ b/indexer/src/indexer/indexer.go @@ -18,6 +18,7 @@ import ( "github.com/donovansolms/cosmos-inscriptions/indexer/src/indexer/metaprotocol" "github.com/donovansolms/cosmos-inscriptions/indexer/src/indexer/models" "github.com/donovansolms/cosmos-inscriptions/indexer/src/indexer/types" + "github.com/donovansolms/cosmos-inscriptions/indexer/src/nsfw" "github.com/kelseyhightower/envconfig" "github.com/leodido/go-urn" "github.com/sirupsen/logrus" @@ -48,6 +49,7 @@ type Indexer struct { metaprotocols map[string]metaprotocol.Processor stopChannel chan bool db *gorm.DB + nsfw *nsfw.Worker wg sync.WaitGroup } @@ -71,8 +73,11 @@ func New( } + nsfwWorker := nsfw.NewWorker(log) + nsfwWorker.Start("./model") + metaprotocols := make(map[string]metaprotocol.Processor) - metaprotocols["inscription"] = metaprotocol.NewInscriptionProcessor(config.ChainID, db) + metaprotocols["inscription"] = metaprotocol.NewInscriptionProcessor(config.ChainID, db, nsfwWorker) metaprotocols["cft20"] = metaprotocol.NewCFT20Processor(config.ChainID, db) metaprotocols["marketplace"] = metaprotocol.NewMarketplaceProcessor(config.ChainID, db) @@ -87,6 +92,7 @@ func New( logger: log, stopChannel: make(chan bool), db: db, + nsfw: nsfwWorker, }, nil } @@ -109,6 +115,7 @@ func (i *Indexer) Stop() error { i.logger.Info("Stopping indexer") i.stopChannel <- true i.stopChannel <- true + i.nsfw.Stop() return nil } diff --git a/indexer/src/indexer/metaprotocol/inscription.go b/indexer/src/indexer/metaprotocol/inscription.go index 8833783b..d7a2672f 100644 --- a/indexer/src/indexer/metaprotocol/inscription.go +++ b/indexer/src/indexer/metaprotocol/inscription.go @@ -15,6 +15,7 @@ import ( "github.com/aws/aws-sdk-go/service/s3/s3manager" "github.com/donovansolms/cosmos-inscriptions/indexer/src/indexer/models" "github.com/donovansolms/cosmos-inscriptions/indexer/src/indexer/types" + "github.com/donovansolms/cosmos-inscriptions/indexer/src/nsfw" "github.com/kelseyhightower/envconfig" "github.com/leodido/go-urn" "gorm.io/datatypes" @@ -45,6 +46,7 @@ type InscriptionMetadata struct { type Inscription struct { chainID string db *gorm.DB + nsfwWorker *nsfw.Worker s3Endpoint string s3Region string s3Bucket string @@ -56,7 +58,7 @@ type Inscription struct { s3Token string } -func NewInscriptionProcessor(chainID string, db *gorm.DB) *Inscription { +func NewInscriptionProcessor(chainID string, db *gorm.DB, nsfwWorker *nsfw.Worker) *Inscription { // Parse config environment variables for self var config InscriptionConfig @@ -68,6 +70,7 @@ func NewInscriptionProcessor(chainID string, db *gorm.DB) *Inscription { return &Inscription{ chainID: chainID, db: db, + nsfwWorker: nsfwWorker, s3Endpoint: config.S3Endpoint, s3Region: config.S3Region, s3Bucket: config.S3Bucket, @@ -143,6 +146,9 @@ func (protocol *Inscription) Process(transactionModel models.Transaction, protoc return fmt.Errorf("unable to store content '%s'", err) } + // check if content is explicit + isExplicit := <-protocol.nsfwWorker.Add(content) + inscriptionModel := models.Inscription{ ChainID: parsedURN.ChainID, Height: transactionModel.Height, @@ -155,6 +161,7 @@ func (protocol *Inscription) Process(transactionModel models.Transaction, protoc Metadata: datatypes.JSON(metadata), ContentPath: contentPath, ContentSizeBytes: uint64(len(content)), + IsExplicit: isExplicit, DateCreated: transactionModel.DateCreated, } diff --git a/indexer/src/indexer/models/inscription.go b/indexer/src/indexer/models/inscription.go index 9b27fb9e..59097604 100644 --- a/indexer/src/indexer/models/inscription.go +++ b/indexer/src/indexer/models/inscription.go @@ -19,6 +19,7 @@ type Inscription struct { Metadata datatypes.JSON `gorm:"column:metadata"` ContentPath string `gorm:"column:content_path"` ContentSizeBytes uint64 `gorm:"column:content_size_bytes"` + IsExplicit bool `gorm:"column:is_explicit"` DateCreated time.Time `gorm:"column:date_created"` } diff --git a/indexer/src/nsfw/predictor.go b/indexer/src/nsfw/predictor.go new file mode 100644 index 00000000..94d01fbb --- /dev/null +++ b/indexer/src/nsfw/predictor.go @@ -0,0 +1,188 @@ +package nsfw + +import ( + "bytes" + "fmt" + "image/png" + + tf "github.com/galeone/tensorflow/tensorflow/go" + "github.com/galeone/tensorflow/tensorflow/go/op" + tg "github.com/galeone/tfgo" + "golang.org/x/image/webp" +) + +const ( + ImageDimensions = 224 +) + +type Predictor struct { + model *tg.Model +} + +type Prediction struct { + Drawings float32 + Hentai float32 + Neutral float32 + Porn float32 + Sexy float32 +} + +func NewPredictor(model *tg.Model) *Predictor { + return &Predictor{ + model: model, + } +} + +func NewPredictorFromPath(modelPath string) (*Predictor, error) { + model := tg.LoadModel(modelPath, []string{"serve"}, nil) + return NewPredictor(model), nil +} + +func (p *Predictor) Predict(img []byte, imageFormat string) (*Prediction, error) { + tensor, err := createTensorFromImage(img, imageFormat) + if err != nil { + return nil, err + } + + results := p.model.Exec([]tf.Output{ + p.model.Op("StatefulPartitionedCall", 0), + }, map[tf.Output]*tf.Tensor{ + p.model.Op("serving_default_input", 0): tensor, + }) + + vals := results[0].Value().([][]float32)[0] + return &Prediction{ + Drawings: vals[0], + Hentai: vals[1], + Neutral: vals[2], + Porn: vals[3], + Sexy: vals[4], + }, nil +} + +func (p Prediction) Describe() string { + return fmt.Sprintf( + "[Drawing: %.2f%% , Hentai: %.2f%%, Porn: %.2f%%, Sexy: %.2f%%, Neutral: %.2f%%]", + p.Drawings*100, p.Hentai*100, p.Porn*100, p.Sexy*100, p.Neutral*100) +} + +func (p Prediction) IsNSFW() bool { + if p.Porn > 0.3 { + return true + } + if p.Sexy > 0.4 { + return true + } + if p.Hentai > 0.3 { + return true + } + + return false +} + +type Image struct { + Path *op.Scope + Input tf.Output + Output tf.Output +} + +func (image *Image) Scale(min, max float32) *Image { + if image.Output.DataType() != tf.Float { + image.Output = tg.Cast(image.Path, image.Output, tf.Float) + } + + scaleScope := image.Path.SubScope("scale") + + minVal := op.Min(scaleScope.SubScope("Min"), image.Output, op.Const(scaleScope.SubScope("reductionIndices"), []int32{0, 1, 2}), op.MinKeepDims(false)) + maxVal := op.Max(scaleScope.SubScope("Max"), image.Output, op.Const(scaleScope.SubScope("reductionIndices"), []int32{0, 1, 2}), op.MaxKeepDims(false)) + image.Output = op.Div(scaleScope.SubScope("Div"), + op.Mul(scaleScope.SubScope("Mul"), + op.Sub(scaleScope.SubScope("Sub"), image.Output, minVal), + op.Const(scaleScope.SubScope("scaleRange"), max-min)), + op.Sub(scaleScope.SubScope("Sub"), maxVal, minVal)) + return image +} + +func (image *Image) Resize(width, height int32) *Image { + resizeScope := image.Path.SubScope("resizeArea") + image.Output = op.ResizeArea(resizeScope.SubScope("ResizeArea"), image.Output, op.Const(resizeScope.SubScope("size"), []int32{width, height})) + return image +} + +func NewImage(imageFormat string) *Image { + s := op.NewScope() + input := op.Placeholder(s, tf.String) + + var decode tf.Output + if imageFormat == "png" { + decode = op.DecodePng(s, input, op.DecodePngChannels(3)) + } else if imageFormat == "gif" { + decode = op.DecodeGif(s, input) + } else if imageFormat == "bmp" { + decode = op.DecodeBmp(s, input, op.DecodeBmpChannels(3)) + } else if imageFormat == "jpeg" || imageFormat == "jpg" || imageFormat == "jpe" { + decode = op.DecodeJpeg(s.SubScope("DecodeJpeg"), input, op.DecodeJpegChannels(3)) + } else { + return nil + } + + output := op.ExpandDims(s.SubScope("ExpandDims"), decode, op.Const(s.SubScope("axis"), []int32{0})) + + img := &Image{Path: s, Output: op.Identity(s.SubScope("Identity"), output), Input: input} + img.Scale(0, 1) + return img +} + +func webpToPng(image []byte) ([]byte, error) { + img, err := webp.Decode(bytes.NewReader(image)) + if err != nil { + return nil, err + } + buf := new(bytes.Buffer) + err = png.Encode(buf, img) + if err != nil { + return nil, err + } + + return buf.Bytes(), nil +} + +func createTensorFromImage(image []byte, imageFormat string) (*tf.Tensor, error) { + var err error + if imageFormat == "webp" { + image, err = webpToPng(image) + if err != nil { + return nil, err + } + imageFormat = "png" + } + tensor, err := tf.NewTensor(string(image)) + if err != nil { + return nil, err + } + + img := NewImage(imageFormat) + if img == nil { + return nil, fmt.Errorf("unknown image format %s", imageFormat) + } + img.Resize(ImageDimensions, ImageDimensions) + + graph, err := img.Path.Finalize() + + if err != nil { + return nil, err + } + session, err := tf.NewSession(graph, nil) + if err != nil { + return nil, err + } + defer session.Close() + normalized, err := session.Run( + map[tf.Output]*tf.Tensor{img.Input: tensor}, + []tf.Output{img.Output}, + nil) + if err != nil { + return nil, err + } + return normalized[0], nil +} diff --git a/indexer/src/nsfw/worker.go b/indexer/src/nsfw/worker.go new file mode 100644 index 00000000..5f525014 --- /dev/null +++ b/indexer/src/nsfw/worker.go @@ -0,0 +1,75 @@ +package nsfw + +import ( + "strings" + + "github.com/gabriel-vasile/mimetype" + "github.com/sirupsen/logrus" +) + +func NewWorker(log *logrus.Entry) *Worker { + worker := Worker{ + work: make(chan []byte), + result: make(chan bool), + quitChan: make(chan bool), + logger: log.WithFields(logrus.Fields{ + "worker": "nsfw", + }), + } + + return &worker +} + +type Worker struct { + work chan []byte + result chan bool + quitChan chan bool + logger *logrus.Entry +} + +func (w Worker) Start(modelPath string) { + go func() { + predictor, err := NewPredictorFromPath(modelPath) + if err != nil { + w.logger.Fatal("unable to create predictor", err) + } + + for { + select { + case work := <-w.work: + mtype := mimetype.Detect(work) + split := strings.Split(mtype.Extension(), ".") + ext := strings.ToLower(split[len(split)-1]) + + w.logger.Debugf("New Task with ext: %s", ext) + + prediction, err := predictor.Predict(work, ext) + var res bool + if err == nil { + res = prediction.IsNSFW() + } else { + res = false + } + + w.logger.Infof("Task finished: %s, IsExplicit: %t", ext, res) + + w.result <- res + + case <-w.quitChan: + w.logger.Info("worker stopping") + return + } + } + }() +} + +func (w Worker) Stop() { + go func() { + w.quitChan <- true + }() +} + +func (w Worker) Add(image []byte) <-chan bool { + w.work <- image + return w.result +} From 464f7a364ce277161057bf4654ad4a3231290460 Mon Sep 17 00:00:00 2001 From: Tomas Hanacek Date: Wed, 31 Jan 2024 12:28:27 +0100 Subject: [PATCH 2/8] add nsfw check to cft20 metaprotocol --- indexer/src/indexer/indexer.go | 2 +- indexer/src/indexer/metaprotocol/cft20.go | 11 ++++++++++- indexer/src/indexer/metaprotocol/inscription.go | 2 +- indexer/src/indexer/models/token.go | 1 + indexer/src/nsfw/worker.go | 2 +- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/indexer/src/indexer/indexer.go b/indexer/src/indexer/indexer.go index f1e676ca..38479418 100644 --- a/indexer/src/indexer/indexer.go +++ b/indexer/src/indexer/indexer.go @@ -78,7 +78,7 @@ func New( metaprotocols := make(map[string]metaprotocol.Processor) metaprotocols["inscription"] = metaprotocol.NewInscriptionProcessor(config.ChainID, db, nsfwWorker) - metaprotocols["cft20"] = metaprotocol.NewCFT20Processor(config.ChainID, db) + metaprotocols["cft20"] = metaprotocol.NewCFT20Processor(config.ChainID, db, nsfwWorker) metaprotocols["marketplace"] = metaprotocol.NewMarketplaceProcessor(config.ChainID, db) return &Indexer{ diff --git a/indexer/src/indexer/metaprotocol/cft20.go b/indexer/src/indexer/metaprotocol/cft20.go index 90e81605..c1b63399 100644 --- a/indexer/src/indexer/metaprotocol/cft20.go +++ b/indexer/src/indexer/metaprotocol/cft20.go @@ -19,6 +19,7 @@ import ( "github.com/aws/aws-sdk-go/service/s3/s3manager" "github.com/donovansolms/cosmos-inscriptions/indexer/src/indexer/models" "github.com/donovansolms/cosmos-inscriptions/indexer/src/indexer/types" + "github.com/donovansolms/cosmos-inscriptions/indexer/src/nsfw" "github.com/kelseyhightower/envconfig" "github.com/leodido/go-urn" "gorm.io/gorm" @@ -36,6 +37,7 @@ type CFT20Config struct { type CFT20 struct { chainID string db *gorm.DB + nsfwWorker *nsfw.Worker s3Endpoint string s3Region string s3Bucket string @@ -55,7 +57,7 @@ type CFT20 struct { perWalletLimitMaxValue uint64 } -func NewCFT20Processor(chainID string, db *gorm.DB) *CFT20 { +func NewCFT20Processor(chainID string, db *gorm.DB, nsfwWorker *nsfw.Worker) *CFT20 { // Parse config environment variables for self var config InscriptionConfig err := envconfig.Process("", &config) @@ -66,6 +68,7 @@ func NewCFT20Processor(chainID string, db *gorm.DB) *CFT20 { return &CFT20{ chainID: chainID, db: db, + nsfwWorker: nsfwWorker, s3Endpoint: config.S3Endpoint, s3Region: config.S3Region, s3Bucket: config.S3Bucket, @@ -182,6 +185,8 @@ func (protocol *CFT20) Process(transactionModel models.Transaction, protocolURN // TODO: Rework the content extraction contentPath := "" contentLength := 0 + isExplicit := false + // If this token includes content, we need to store it and add to the record if len(rawTransaction.Body.NonCriticalExtensionOptions) == 1 { // Logo is stored in the non_critical_extension_options @@ -219,6 +224,9 @@ func (protocol *CFT20) Process(transactionModel models.Transaction, protocolURN return fmt.Errorf("unable to store content '%s'", err) } + // check if content is explicit + isExplicit = <-protocol.nsfwWorker.CheckImage(logoContent) + contentLength = len(logoContent) } @@ -239,6 +247,7 @@ func (protocol *CFT20) Process(transactionModel models.Transaction, protocolURN ContentPath: contentPath, ContentSizeBytes: uint64(contentLength), DateCreated: transactionModel.DateCreated, + IsExplicit: isExplicit, CirculatingSupply: 0, } diff --git a/indexer/src/indexer/metaprotocol/inscription.go b/indexer/src/indexer/metaprotocol/inscription.go index d7a2672f..8394abda 100644 --- a/indexer/src/indexer/metaprotocol/inscription.go +++ b/indexer/src/indexer/metaprotocol/inscription.go @@ -147,7 +147,7 @@ func (protocol *Inscription) Process(transactionModel models.Transaction, protoc } // check if content is explicit - isExplicit := <-protocol.nsfwWorker.Add(content) + isExplicit := <-protocol.nsfwWorker.CheckImage(content) inscriptionModel := models.Inscription{ ChainID: parsedURN.ChainID, diff --git a/indexer/src/indexer/models/token.go b/indexer/src/indexer/models/token.go index b8dc3654..1ddb8ac9 100644 --- a/indexer/src/indexer/models/token.go +++ b/indexer/src/indexer/models/token.go @@ -24,6 +24,7 @@ type Token struct { Metadata datatypes.JSON `gorm:"column:metadata"` ContentPath string `gorm:"column:content_path"` ContentSizeBytes uint64 `gorm:"column:content_size_bytes"` + IsExplicit bool `gorm:"column:is_explicit"` CirculatingSupply uint64 `gorm:"column:circulating_supply"` LastPriceBase uint64 `gorm:"column:last_price_base"` Volume24Base uint64 `gorm:"column:volume_24_base"` diff --git a/indexer/src/nsfw/worker.go b/indexer/src/nsfw/worker.go index 5f525014..853a7531 100644 --- a/indexer/src/nsfw/worker.go +++ b/indexer/src/nsfw/worker.go @@ -69,7 +69,7 @@ func (w Worker) Stop() { }() } -func (w Worker) Add(image []byte) <-chan bool { +func (w Worker) CheckImage(image []byte) <-chan bool { w.work <- image return w.result } From ce083cc5668e01f5310bba0bced9279823039149 Mon Sep 17 00:00:00 2001 From: Tomas Hanacek Date: Wed, 31 Jan 2024 15:33:36 +0100 Subject: [PATCH 3/8] use schema.sql file as source of truth for migrations --- indexer/Makefile | 2 +- indexer/README.md | 4 +- indexer/atlas.hcl | 15 +- indexer/go.mod | 8 +- indexer/go.sum | 22 +- indexer/migrations/20240131142231.sql | 229 ++++++++++++++++++ indexer/migrations/20240131142528.sql | 2 + indexer/migrations/atlas.sum | 5 +- .../20240131114928.sql => schema.sql} | 1 + indexer/src/tools.go | 5 - 10 files changed, 246 insertions(+), 47 deletions(-) create mode 100644 indexer/migrations/20240131142231.sql create mode 100644 indexer/migrations/20240131142528.sql rename indexer/{migrations/20240131114928.sql => schema.sql} (99%) delete mode 100644 indexer/src/tools.go diff --git a/indexer/Makefile b/indexer/Makefile index 61c8f67c..74e55e83 100644 --- a/indexer/Makefile +++ b/indexer/Makefile @@ -60,7 +60,7 @@ clean: ## Remove compiled binaries from bin/ rm ./bin/* create-migration: - atlas migrate diff --env gorm + atlas migrate diff --env gorm --to file://schema.sql help: ## Display this help screen @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' diff --git a/indexer/README.md b/indexer/README.md index 4c6d24ab..03fb031a 100644 --- a/indexer/README.md +++ b/indexer/README.md @@ -15,12 +15,12 @@ curl -sSf https://atlasgo.sh | sh ### Guides -- Migrations for GORM - https://atlasgo.io/guides/orms/gorm +- Getting started - https://atlasgo.io/getting-started/ - Upgrading our production database to use versioned migrations - https://entgo.io/docs/versioned/upgrade-prod/ ### Create a migration -1. Update model(s) +1. Update `schema.sql` 2. Run `make create-migration` ### Apply migration(s) diff --git a/indexer/atlas.hcl b/indexer/atlas.hcl index 622e9892..16b7fc6f 100644 --- a/indexer/atlas.hcl +++ b/indexer/atlas.hcl @@ -1,17 +1,6 @@ -data "external_schema" "gorm" { - program = [ - "go", - "run", - "-mod=mod", - "ariga.io/atlas-provider-gorm", - "load", - "--path", "./src/indexer/models", - "--dialect", "postgres", - ] -} - env "gorm" { - src = data.external_schema.gorm.url + url = "postgres://admin:admin1@localhost:5432/meteors?sslmode=disable" + to = "file://schema.sql" dev = "docker://postgres/15/dev" migration { dir = "file://migrations" diff --git a/indexer/go.mod b/indexer/go.mod index fb8cd40a..9c5b99e6 100644 --- a/indexer/go.mod +++ b/indexer/go.mod @@ -5,7 +5,6 @@ go 1.21 toolchain go1.21.5 require ( - ariga.io/atlas-provider-gorm v0.3.0 github.com/aws/aws-sdk-go v1.27.0 github.com/cosmos/cosmos-sdk v0.45.0 github.com/cosmos/ibc-go v1.0.0 @@ -24,7 +23,6 @@ require ( ) require ( - ariga.io/atlas-go-sdk v0.4.0 // indirect filippo.io/edwards25519 v1.0.0-beta.2 // indirect github.com/99designs/keyring v1.1.6 // indirect github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect @@ -54,8 +52,6 @@ require ( github.com/go-sql-driver/mysql v1.7.1 // indirect github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect github.com/gogo/protobuf v1.3.3 // indirect - github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect - github.com/golang-sql/sqlexp v0.1.0 // indirect github.com/golang/protobuf v1.5.2 // indirect github.com/golang/snappy v0.0.3-0.20201103224600-674baa8c7fc3 // indirect github.com/google/btree v1.0.0 // indirect @@ -67,6 +63,7 @@ require ( github.com/gtank/merlin v0.1.1 // indirect github.com/gtank/ristretto255 v0.1.2 // indirect github.com/hashicorp/go-immutable-radix v1.0.0 // indirect + github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/hdevalence/ed25519consensus v0.0.0-20210204194344-59a8610d2b87 // indirect @@ -82,9 +79,7 @@ require ( github.com/libp2p/go-buffer-pool v0.0.2 // indirect github.com/magiconair/properties v1.8.5 // indirect github.com/mattn/go-isatty v0.0.14 // indirect - github.com/mattn/go-sqlite3 v1.14.17 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect - github.com/microsoft/go-mssqldb v1.6.0 // indirect github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/mapstructure v1.4.1 // indirect @@ -99,6 +94,7 @@ require ( github.com/prometheus/procfs v0.6.0 // indirect github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect github.com/regen-network/cosmos-proto v0.3.1 // indirect + github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa // indirect github.com/spf13/afero v1.6.0 // indirect github.com/spf13/cast v1.3.1 // indirect diff --git a/indexer/go.sum b/indexer/go.sum index 32e5ce3c..1c786fe3 100644 --- a/indexer/go.sum +++ b/indexer/go.sum @@ -1,7 +1,3 @@ -ariga.io/atlas-go-sdk v0.4.0 h1:JvydYd7zuExxDCrgKQtKFOT6nAqBTsx/3EXkrOco+BA= -ariga.io/atlas-go-sdk v0.4.0/go.mod h1:owkEEXw6jqne5KPVDfKsYB7cwMiMk3jtOiAAeKxS/yU= -ariga.io/atlas-provider-gorm v0.3.0 h1:Y6kv2f9PQK1aV1kGeE6dDzxuf+G7IeI76EmHQmLDR0s= -ariga.io/atlas-provider-gorm v0.3.0/go.mod h1:nxhr4L3uk+u8e9jArJMZBZEOwiZh1NnxnQQKDqCIQEA= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= @@ -50,17 +46,12 @@ github.com/Azure/azure-pipeline-go v0.2.2/go.mod h1:4rQ/NZncSvGqNkkOsNpOU1tgoNuI github.com/Azure/azure-sdk-for-go/sdk/azcore v1.4.0/go.mod h1:ON4tFdPTwRcgWEaVDrN3584Ef+b7GgSJaXxe5fW9t4M= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.0/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.1/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.1 h1:/iHxaJhsFr0+xVFfbMr5vxz848jyiWuIEDhYq3y5odY= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.1/go.mod h1:bjGvMhVMb+EEm3VRNQawDMUyMMjo+S5ewNjflkep/0Q= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0 h1:vcYCAze6p19qBW7MhZybIsqD8sMV8js0NyQM8JDnVtg= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0/go.mod h1:OQeznEEkTZ9OrhHJoDD8ZDq51FHgXjqtP9z6bEwBq9U= github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.2/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= github.com/Azure/azure-sdk-for-go/sdk/internal v1.2.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 h1:sXr+ck84g/ZlZUOZiNELInmMgOsuGwdjjVkEIde0OtY= github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0/go.mod h1:okt5dMMTOFjX/aovMlrjvvXoPMBVSPzk9185BT0+eZM= -github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.0.0 h1:yfJe15aSwEQ6Oo6J+gdfdulPNoZ3TEhmbhLIoxZcA+U= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.0.0/go.mod h1:Q28U+75mpCaSCDowNEmhIo/rmgdkqmkmzI7N6TGR4UY= -github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v0.8.0 h1:T028gtTPiYt/RMUfs8nVsAL7FDQrfLlrm/NnRG/zcC4= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v0.8.0/go.mod h1:cw4zVQgBby0Z5f2v0itn6se2dDP17nTjbZFXW5uPyHA= github.com/Azure/azure-storage-blob-go v0.7.0/go.mod h1:f9YQKtsG1nMisotuTPpO0tjNuEjKRYAcJU8/ydDI++4= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= @@ -76,7 +67,6 @@ github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= github.com/AzureAD/microsoft-authentication-library-for-go v1.0.0/go.mod h1:kgDmCTgBzIEPFElEF+FK0SdjAor06dRq2Go927dnQ6o= -github.com/AzureAD/microsoft-authentication-library-for-go v1.1.0 h1:HCc0+LpPfpCKs6LGGLAhwBARt9632unrVcI6i8s/8os= github.com/AzureAD/microsoft-authentication-library-for-go v1.1.0/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= @@ -350,7 +340,6 @@ github.com/gogo/gateway v1.1.0/go.mod h1:S7rR8FRQyG3QFESeSv4l2WnsyzlCLG0CzBbUUo/ github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= github.com/golang-jwt/jwt/v4 v4.4.3/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= -github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE= github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA= github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= @@ -408,9 +397,8 @@ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa h1:Q75Upo5UN4JbPFURXZ8nLKYUvF85dyFRop/vQ0Rv+64= @@ -436,7 +424,6 @@ github.com/google/renameio v1.0.0/go.mod h1:t/HQoYBZSsWSNK35C6CO/TpPLDVWvxOHboWU github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= @@ -598,7 +585,6 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q= @@ -738,7 +724,6 @@ github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 h1:q2e307iGHPdTGp github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -803,8 +788,8 @@ github.com/rjeczalik/notify v0.9.1/go.mod h1:rKwnCoCGeuQnwBtTSPL9Dad03Vh2n40ePRr github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= +github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= github.com/rs/cors v0.0.0-20160617231935-a62a804a8a00/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= @@ -1324,6 +1309,7 @@ golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= diff --git a/indexer/migrations/20240131142231.sql b/indexer/migrations/20240131142231.sql new file mode 100644 index 00000000..8818b0b4 --- /dev/null +++ b/indexer/migrations/20240131142231.sql @@ -0,0 +1,229 @@ +-- Create "status" table +CREATE TABLE "public"."status" ( + "id" serial NOT NULL, + "chain_id" character varying(100) NOT NULL, + "last_processed_height" integer NOT NULL, + "base_token" character varying(12) NOT NULL, + "base_token_usd" real NOT NULL, + "date_updated" timestamp NOT NULL, + "last_known_height" integer NULL DEFAULT 0, + PRIMARY KEY ("id") +); +-- Create "transaction" table +CREATE TABLE "public"."transaction" ( + "id" serial NOT NULL, + "height" integer NOT NULL, + "hash" character varying(100) NOT NULL, + "content" text NOT NULL, + "gas_used" integer NOT NULL, + "fees" character varying(100) NOT NULL, + "content_length" integer NOT NULL, + "status_message" character varying(255) NULL, + "date_created" timestamp NOT NULL, + PRIMARY KEY ("id") +); +-- Create index "idx_tx_hash" to table: "transaction" +CREATE INDEX "idx_tx_hash" ON "public"."transaction" ("hash"); +-- Create index "transaction_hash_key" to table: "transaction" +CREATE UNIQUE INDEX "transaction_hash_key" ON "public"."transaction" ("hash"); +-- Create "inscription" table +CREATE TABLE "public"."inscription" ( + "id" serial NOT NULL, + "chain_id" character varying(32) NOT NULL, + "height" integer NOT NULL, + "version" character varying(32) NOT NULL, + "transaction_id" integer NOT NULL, + "content_hash" character varying(128) NOT NULL, + "creator" character varying(255) NOT NULL, + "current_owner" character varying(128) NOT NULL, + "type" character varying(128) NOT NULL, + "metadata" json NOT NULL, + "content_path" character varying(255) NOT NULL, + "content_size_bytes" integer NOT NULL, + "date_created" timestamp NOT NULL, + "is_explicit" boolean NULL DEFAULT false, + PRIMARY KEY ("id"), + CONSTRAINT "inscription_transaction_fk" FOREIGN KEY ("transaction_id") REFERENCES "public"."transaction" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION +); +-- Create index "idx_inscriptions_owner_date" to table: "inscription" +CREATE INDEX "idx_inscriptions_owner_date" ON "public"."inscription" ("date_created"); +-- Create index "inscription_content_hash_key" to table: "inscription" +CREATE UNIQUE INDEX "inscription_content_hash_key" ON "public"."inscription" ("content_hash"); +-- Create index "inscription_tx_id" to table: "inscription" +CREATE UNIQUE INDEX "inscription_tx_id" ON "public"."inscription" ("transaction_id"); +-- Create "inscription_history" table +CREATE TABLE "public"."inscription_history" ( + "id" serial NOT NULL, + "chain_id" character varying(32) NOT NULL, + "height" integer NOT NULL, + "transaction_id" integer NOT NULL, + "inscription_id" integer NOT NULL, + "sender" character varying(128) NOT NULL, + "receiver" character varying(128) NULL, + "action" character varying(32) NOT NULL, + "date_created" timestamp NOT NULL, + PRIMARY KEY ("id"), + CONSTRAINT "inscription_id_fk" FOREIGN KEY ("inscription_id") REFERENCES "public"."inscription" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION, + CONSTRAINT "transaction_id_fk" FOREIGN KEY ("transaction_id") REFERENCES "public"."transaction" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION +); +-- Create index "inscription_history_un" to table: "inscription_history" +CREATE UNIQUE INDEX "inscription_history_un" ON "public"."inscription_history" ("transaction_id"); +-- Create "marketplace_listing" table +CREATE TABLE "public"."marketplace_listing" ( + "id" serial NOT NULL, + "chain_id" character varying(32) NOT NULL, + "transaction_id" integer NOT NULL, + "seller_address" character varying(128) NOT NULL, + "total" bigint NOT NULL, + "deposit_total" bigint NOT NULL, + "deposit_timeout" integer NOT NULL, + "depositor_address" character varying(128) NULL, + "depositor_timedout_block" integer NULL, + "is_deposited" boolean NOT NULL DEFAULT false, + "is_filled" boolean NOT NULL DEFAULT false, + "is_cancelled" boolean NOT NULL DEFAULT false, + "date_updated" timestamp NULL, + "date_created" timestamp NOT NULL, + PRIMARY KEY ("id"), + CONSTRAINT "marketplace_listing_tx_fk" FOREIGN KEY ("transaction_id") REFERENCES "public"."transaction" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION +); +-- Create "token" table +CREATE TABLE "public"."token" ( + "id" serial NOT NULL, + "chain_id" character varying(32) NOT NULL, + "height" integer NOT NULL, + "version" character varying(32) NOT NULL, + "transaction_id" integer NOT NULL, + "creator" character varying(128) NOT NULL, + "current_owner" character varying(128) NOT NULL, + "name" character varying(32) NOT NULL, + "ticker" character varying(10) NOT NULL, + "decimals" smallint NOT NULL, + "max_supply" numeric NOT NULL, + "per_mint_limit" bigint NOT NULL, + "launch_timestamp" bigint NOT NULL, + "mint_page" character varying(128) NOT NULL DEFAULT 'default', + "metadata" text NULL, + "content_path" character varying(255) NULL DEFAULT NULL::character varying, + "content_size_bytes" integer NULL, + "circulating_supply" bigint NOT NULL DEFAULT 0, + "last_price_base" bigint NOT NULL DEFAULT 0, + "volume_24_base" bigint NOT NULL DEFAULT 0, + "date_created" timestamp NOT NULL, + PRIMARY KEY ("id"), + CONSTRAINT "token_transaction_fk" FOREIGN KEY ("transaction_id") REFERENCES "public"."transaction" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION +); +-- Create index "token_ticker_key" to table: "token" +CREATE UNIQUE INDEX "token_ticker_key" ON "public"."token" ("ticker"); +-- Create index "token_tx_id" to table: "token" +CREATE UNIQUE INDEX "token_tx_id" ON "public"."token" ("transaction_id"); +-- Create "marketplace_cft20_detail" table +CREATE TABLE "public"."marketplace_cft20_detail" ( + "id" serial NOT NULL, + "listing_id" integer NOT NULL, + "token_id" integer NOT NULL, + "amount" bigint NOT NULL, + "ppt" bigint NOT NULL, + "date_created" timestamp NOT NULL, + PRIMARY KEY ("id"), + CONSTRAINT "marketplace_cft20_detail_ls_fk" FOREIGN KEY ("listing_id") REFERENCES "public"."marketplace_listing" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION, + CONSTRAINT "marketplace_cft20_detail_tk_fk" FOREIGN KEY ("token_id") REFERENCES "public"."token" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION +); +-- Create "marketplace_cft20_trade_history" table +CREATE TABLE "public"."marketplace_cft20_trade_history" ( + "id" serial NOT NULL, + "transaction_id" integer NOT NULL, + "token_id" integer NOT NULL, + "listing_id" integer NOT NULL, + "seller_address" character varying(128) NOT NULL, + "buyer_address" character varying(128) NULL, + "amount_quote" bigint NOT NULL, + "amount_base" bigint NOT NULL, + "rate" integer NOT NULL DEFAULT 0, + "total_usd" real NOT NULL DEFAULT 0, + "date_created" timestamp NOT NULL, + PRIMARY KEY ("id"), + CONSTRAINT "marketplace_cft20_history_ls_fk" FOREIGN KEY ("listing_id") REFERENCES "public"."marketplace_listing" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION, + CONSTRAINT "marketplace_cft20_history_tk_fk" FOREIGN KEY ("token_id") REFERENCES "public"."token" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION, + CONSTRAINT "marketplace_cft20_history_tx_fk" FOREIGN KEY ("transaction_id") REFERENCES "public"."transaction" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION +); +-- Create index "mtth_tx_id" to table: "marketplace_cft20_trade_history" +CREATE UNIQUE INDEX "mtth_tx_id" ON "public"."marketplace_cft20_trade_history" ("transaction_id"); +-- Create "marketplace_listing_history" table +CREATE TABLE "public"."marketplace_listing_history" ( + "id" serial NOT NULL, + "listing_id" integer NOT NULL, + "transaction_id" integer NOT NULL, + "sender_address" character varying(128) NOT NULL, + "action" character varying(64) NOT NULL, + "date_created" timestamp NOT NULL, + PRIMARY KEY ("id"), + CONSTRAINT "marketplace_listing_history_ls_fk" FOREIGN KEY ("listing_id") REFERENCES "public"."marketplace_listing" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION, + CONSTRAINT "marketplace_listing_history_tx_fk" FOREIGN KEY ("transaction_id") REFERENCES "public"."transaction" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION +); +-- Create "token_address_history" table +CREATE TABLE "public"."token_address_history" ( + "id" serial NOT NULL, + "chain_id" character varying(32) NOT NULL, + "height" integer NOT NULL, + "transaction_id" integer NOT NULL, + "token_id" integer NOT NULL, + "sender" character varying(128) NOT NULL, + "action" character varying(32) NOT NULL, + "amount" bigint NOT NULL, + "receiver" character varying(128) NULL, + "date_created" timestamp NOT NULL, + PRIMARY KEY ("id"), + CONSTRAINT "token_id_fk" FOREIGN KEY ("token_id") REFERENCES "public"."token" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION, + CONSTRAINT "token_tx_fk" FOREIGN KEY ("transaction_id") REFERENCES "public"."transaction" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION +); +-- Create "token_holder" table +CREATE TABLE "public"."token_holder" ( + "id" serial NOT NULL, + "chain_id" character varying(32) NOT NULL, + "token_id" integer NOT NULL, + "address" character varying(128) NOT NULL, + "amount" bigint NOT NULL, + "date_updated" timestamp NOT NULL, + PRIMARY KEY ("id"), + CONSTRAINT "token_id_fk" FOREIGN KEY ("token_id") REFERENCES "public"."token" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION +); +-- Create index "token_holder_ticker_idx" to table: "token_holder" +CREATE INDEX "token_holder_ticker_idx" ON "public"."token_holder" ("token_id"); +-- Create "token_open_position" table +CREATE TABLE "public"."token_open_position" ( + "id" serial NOT NULL, + "chain_id" character varying(32) NOT NULL, + "transaction_id" integer NOT NULL, + "token_id" integer NOT NULL, + "seller_address" character varying(128) NOT NULL, + "amount" bigint NOT NULL, + "ppt" bigint NOT NULL, + "total" bigint NOT NULL, + "is_filled" boolean NOT NULL DEFAULT false, + "is_cancelled" boolean NOT NULL DEFAULT false, + "date_filled" timestamp NULL, + "date_created" timestamp NOT NULL, + PRIMARY KEY ("id"), + CONSTRAINT "token_id_fk" FOREIGN KEY ("token_id") REFERENCES "public"."token" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION, + CONSTRAINT "transactionid_fk" FOREIGN KEY ("transaction_id") REFERENCES "public"."transaction" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION +); +-- Create "token_trade_history" table +CREATE TABLE "public"."token_trade_history" ( + "id" serial NOT NULL, + "chain_id" character varying(32) NOT NULL, + "transaction_id" integer NOT NULL, + "token_id" integer NOT NULL, + "seller_address" character varying(128) NOT NULL, + "buyer_address" character varying(128) NULL, + "amount_base" bigint NOT NULL, + "amount_quote" bigint NOT NULL, + "rate" integer NOT NULL DEFAULT 0, + "total_usd" real NOT NULL DEFAULT 0, + "date_created" timestamp NOT NULL, + PRIMARY KEY ("id"), + CONSTRAINT "token_id_fk" FOREIGN KEY ("token_id") REFERENCES "public"."token" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION, + CONSTRAINT "transaction_id_fk" FOREIGN KEY ("transaction_id") REFERENCES "public"."transaction" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION +); +-- Create index "tth_tx_id" to table: "token_trade_history" +CREATE UNIQUE INDEX "tth_tx_id" ON "public"."token_trade_history" ("transaction_id"); diff --git a/indexer/migrations/20240131142528.sql b/indexer/migrations/20240131142528.sql new file mode 100644 index 00000000..29260342 --- /dev/null +++ b/indexer/migrations/20240131142528.sql @@ -0,0 +1,2 @@ +-- Modify "token" table +ALTER TABLE "public"."token" ADD COLUMN "is_explicit" boolean NULL DEFAULT false; diff --git a/indexer/migrations/atlas.sum b/indexer/migrations/atlas.sum index e74ba5f2..79ebd62e 100644 --- a/indexer/migrations/atlas.sum +++ b/indexer/migrations/atlas.sum @@ -1,2 +1,3 @@ -h1:t+GA4y1x1U5lqRl20/gWuQ/spFI2I1Ymlk8SrQtCURA= -20240131114928.sql h1:N45iyJGpvCtSmFMILHckXLVuFa6gFV3LltcGgam2sOw= +h1:ibshfd//Z6HAX1UODqcYe5fZ3CzGTZRvuFvoMRdk9to= +20240131142231.sql h1:B9bdT1gbd54Z3he5lQdKG0RwrxyWEr5bpg8MngYN9Ao= +20240131142528.sql h1:1KTMMdHznBY851yiOdNjDuFOI3NnAnLVUsFZ8HNgnyg= diff --git a/indexer/migrations/20240131114928.sql b/indexer/schema.sql similarity index 99% rename from indexer/migrations/20240131114928.sql rename to indexer/schema.sql index f7c09faf..c140d823 100644 --- a/indexer/migrations/20240131114928.sql +++ b/indexer/schema.sql @@ -163,6 +163,7 @@ CREATE TABLE public."token" ( last_price_base int8 NOT NULL DEFAULT 0, volume_24_base int8 NOT NULL DEFAULT 0, date_created timestamp NOT NULL, + is_explicit bool NULL DEFAULT false, CONSTRAINT token_pkey PRIMARY KEY (id), CONSTRAINT token_ticker_key UNIQUE (ticker), CONSTRAINT token_tx_id UNIQUE (transaction_id), diff --git a/indexer/src/tools.go b/indexer/src/tools.go deleted file mode 100644 index f58b44a4..00000000 --- a/indexer/src/tools.go +++ /dev/null @@ -1,5 +0,0 @@ -//go:build tools - -package main - -import _ "ariga.io/atlas-provider-gorm/gormschema" From 8bfa67415efcd36c3697a0e6f8f154daab463e07 Mon Sep 17 00:00:00 2001 From: Tomas Hanacek Date: Wed, 31 Jan 2024 17:41:58 +0100 Subject: [PATCH 4/8] handle explicit token logo in view-token and list-tokens pages --- frontend/src/app/core/types/zeus/const.ts | 6586 +++- frontend/src/app/core/types/zeus/index.ts | 31119 ++++++++++++---- .../dashboard-layout.component.ts | 2 +- .../src/app/list-tokens/list-tokens.page.html | 5 +- .../src/app/list-tokens/list-tokens.page.scss | 11 + .../src/app/list-tokens/list-tokens.page.ts | 1 + .../src/app/view-token/view-token.page.html | 6 +- .../src/app/view-token/view-token.page.scss | 18 + .../src/app/view-token/view-token.page.ts | 1 + 9 files changed, 28389 insertions(+), 9360 deletions(-) diff --git a/frontend/src/app/core/types/zeus/const.ts b/frontend/src/app/core/types/zeus/const.ts index a3d0185d..cf00b1b7 100644 --- a/frontend/src/app/core/types/zeus/const.ts +++ b/frontend/src/app/core/types/zeus/const.ts @@ -1,1745 +1,5147 @@ /* eslint-disable */ -export const AllTypesProps: Record = { - Boolean_comparison_exp: { +export const AllTypesProps: Record = { + Boolean_comparison_exp:{ }, - Float_comparison_exp: { + Float_comparison_exp:{ }, - Int_comparison_exp: { + Int_comparison_exp:{ }, - String_comparison_exp: { + String_comparison_exp:{ }, bigint: `scalar.bigint` as const, - bigint_comparison_exp: { - _eq: "bigint", - _gt: "bigint", - _gte: "bigint", - _in: "bigint", - _lt: "bigint", - _lte: "bigint", - _neq: "bigint", - _nin: "bigint" + bigint_comparison_exp:{ + _eq:"bigint", + _gt:"bigint", + _gte:"bigint", + _in:"bigint", + _lt:"bigint", + _lte:"bigint", + _neq:"bigint", + _nin:"bigint" }, cursor_ordering: "enum" as const, - inscription: { - inscription_histories: { - distinct_on: "inscription_history_select_column", - order_by: "inscription_history_order_by", - where: "inscription_history_bool_exp" + inscription:{ + inscription_histories:{ + distinct_on:"inscription_history_select_column", + order_by:"inscription_history_order_by", + where:"inscription_history_bool_exp" }, - metadata: { + inscription_histories_aggregate:{ + distinct_on:"inscription_history_select_column", + order_by:"inscription_history_order_by", + where:"inscription_history_bool_exp" + }, + metadata:{ } }, - inscription_bool_exp: { - _and: "inscription_bool_exp", - _not: "inscription_bool_exp", - _or: "inscription_bool_exp", - chain_id: "String_comparison_exp", - content_hash: "String_comparison_exp", - content_path: "String_comparison_exp", - content_size_bytes: "Int_comparison_exp", - creator: "String_comparison_exp", - current_owner: "String_comparison_exp", - date_created: "timestamp_comparison_exp", - height: "Int_comparison_exp", - id: "Int_comparison_exp", - inscription_histories: "inscription_history_bool_exp", - is_explicit: "Boolean_comparison_exp", - metadata: "json_comparison_exp", - transaction: "transaction_bool_exp", - transaction_id: "Int_comparison_exp", - type: "String_comparison_exp", - version: "String_comparison_exp" - }, - inscription_history_aggregate_order_by: { - avg: "inscription_history_avg_order_by", - count: "order_by", - max: "inscription_history_max_order_by", - min: "inscription_history_min_order_by", - stddev: "inscription_history_stddev_order_by", - stddev_pop: "inscription_history_stddev_pop_order_by", - stddev_samp: "inscription_history_stddev_samp_order_by", - sum: "inscription_history_sum_order_by", - var_pop: "inscription_history_var_pop_order_by", - var_samp: "inscription_history_var_samp_order_by", - variance: "inscription_history_variance_order_by" - }, - inscription_history_avg_order_by: { - height: "order_by", - id: "order_by", - inscription_id: "order_by", - transaction_id: "order_by" - }, - inscription_history_bool_exp: { - _and: "inscription_history_bool_exp", - _not: "inscription_history_bool_exp", - _or: "inscription_history_bool_exp", - action: "String_comparison_exp", - chain_id: "String_comparison_exp", - date_created: "timestamp_comparison_exp", - height: "Int_comparison_exp", - id: "Int_comparison_exp", - inscription: "inscription_bool_exp", - inscription_id: "Int_comparison_exp", - receiver: "String_comparison_exp", - sender: "String_comparison_exp", - transaction: "transaction_bool_exp", - transaction_id: "Int_comparison_exp" - }, - inscription_history_max_order_by: { - action: "order_by", - chain_id: "order_by", - date_created: "order_by", - height: "order_by", - id: "order_by", - inscription_id: "order_by", - receiver: "order_by", - sender: "order_by", - transaction_id: "order_by" - }, - inscription_history_min_order_by: { - action: "order_by", - chain_id: "order_by", - date_created: "order_by", - height: "order_by", - id: "order_by", - inscription_id: "order_by", - receiver: "order_by", - sender: "order_by", - transaction_id: "order_by" - }, - inscription_history_order_by: { - action: "order_by", - chain_id: "order_by", - date_created: "order_by", - height: "order_by", - id: "order_by", - inscription: "inscription_order_by", - inscription_id: "order_by", - receiver: "order_by", - sender: "order_by", - transaction: "transaction_order_by", - transaction_id: "order_by" + inscription_aggregate_bool_exp:{ + bool_and:"inscription_aggregate_bool_exp_bool_and", + bool_or:"inscription_aggregate_bool_exp_bool_or", + count:"inscription_aggregate_bool_exp_count" + }, + inscription_aggregate_bool_exp_bool_and:{ + arguments:"inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns", + filter:"inscription_bool_exp", + predicate:"Boolean_comparison_exp" + }, + inscription_aggregate_bool_exp_bool_or:{ + arguments:"inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns", + filter:"inscription_bool_exp", + predicate:"Boolean_comparison_exp" + }, + inscription_aggregate_bool_exp_count:{ + arguments:"inscription_select_column", + filter:"inscription_bool_exp", + predicate:"Int_comparison_exp" + }, + inscription_aggregate_fields:{ + count:{ + columns:"inscription_select_column" + } + }, + inscription_aggregate_order_by:{ + avg:"inscription_avg_order_by", + count:"order_by", + max:"inscription_max_order_by", + min:"inscription_min_order_by", + stddev:"inscription_stddev_order_by", + stddev_pop:"inscription_stddev_pop_order_by", + stddev_samp:"inscription_stddev_samp_order_by", + sum:"inscription_sum_order_by", + var_pop:"inscription_var_pop_order_by", + var_samp:"inscription_var_samp_order_by", + variance:"inscription_variance_order_by" + }, + inscription_arr_rel_insert_input:{ + data:"inscription_insert_input", + on_conflict:"inscription_on_conflict" + }, + inscription_avg_order_by:{ + content_size_bytes:"order_by", + height:"order_by", + id:"order_by", + transaction_id:"order_by" + }, + inscription_bool_exp:{ + _and:"inscription_bool_exp", + _not:"inscription_bool_exp", + _or:"inscription_bool_exp", + chain_id:"String_comparison_exp", + content_hash:"String_comparison_exp", + content_path:"String_comparison_exp", + content_size_bytes:"Int_comparison_exp", + creator:"String_comparison_exp", + current_owner:"String_comparison_exp", + date_created:"timestamp_comparison_exp", + height:"Int_comparison_exp", + id:"Int_comparison_exp", + inscription_histories:"inscription_history_bool_exp", + inscription_histories_aggregate:"inscription_history_aggregate_bool_exp", + is_explicit:"Boolean_comparison_exp", + metadata:"json_comparison_exp", + transaction:"transaction_bool_exp", + transaction_id:"Int_comparison_exp", + type:"String_comparison_exp", + version:"String_comparison_exp" + }, + inscription_constraint: "enum" as const, + inscription_history_aggregate_bool_exp:{ + count:"inscription_history_aggregate_bool_exp_count" + }, + inscription_history_aggregate_bool_exp_count:{ + arguments:"inscription_history_select_column", + filter:"inscription_history_bool_exp", + predicate:"Int_comparison_exp" + }, + inscription_history_aggregate_fields:{ + count:{ + columns:"inscription_history_select_column" + } + }, + inscription_history_aggregate_order_by:{ + avg:"inscription_history_avg_order_by", + count:"order_by", + max:"inscription_history_max_order_by", + min:"inscription_history_min_order_by", + stddev:"inscription_history_stddev_order_by", + stddev_pop:"inscription_history_stddev_pop_order_by", + stddev_samp:"inscription_history_stddev_samp_order_by", + sum:"inscription_history_sum_order_by", + var_pop:"inscription_history_var_pop_order_by", + var_samp:"inscription_history_var_samp_order_by", + variance:"inscription_history_variance_order_by" + }, + inscription_history_arr_rel_insert_input:{ + data:"inscription_history_insert_input", + on_conflict:"inscription_history_on_conflict" + }, + inscription_history_avg_order_by:{ + height:"order_by", + id:"order_by", + inscription_id:"order_by", + transaction_id:"order_by" + }, + inscription_history_bool_exp:{ + _and:"inscription_history_bool_exp", + _not:"inscription_history_bool_exp", + _or:"inscription_history_bool_exp", + action:"String_comparison_exp", + chain_id:"String_comparison_exp", + date_created:"timestamp_comparison_exp", + height:"Int_comparison_exp", + id:"Int_comparison_exp", + inscription:"inscription_bool_exp", + inscription_id:"Int_comparison_exp", + receiver:"String_comparison_exp", + sender:"String_comparison_exp", + transaction:"transaction_bool_exp", + transaction_id:"Int_comparison_exp" + }, + inscription_history_constraint: "enum" as const, + inscription_history_inc_input:{ + + }, + inscription_history_insert_input:{ + date_created:"timestamp", + inscription:"inscription_obj_rel_insert_input", + transaction:"transaction_obj_rel_insert_input" + }, + inscription_history_max_order_by:{ + action:"order_by", + chain_id:"order_by", + date_created:"order_by", + height:"order_by", + id:"order_by", + inscription_id:"order_by", + receiver:"order_by", + sender:"order_by", + transaction_id:"order_by" + }, + inscription_history_min_order_by:{ + action:"order_by", + chain_id:"order_by", + date_created:"order_by", + height:"order_by", + id:"order_by", + inscription_id:"order_by", + receiver:"order_by", + sender:"order_by", + transaction_id:"order_by" + }, + inscription_history_on_conflict:{ + constraint:"inscription_history_constraint", + update_columns:"inscription_history_update_column", + where:"inscription_history_bool_exp" + }, + inscription_history_order_by:{ + action:"order_by", + chain_id:"order_by", + date_created:"order_by", + height:"order_by", + id:"order_by", + inscription:"inscription_order_by", + inscription_id:"order_by", + receiver:"order_by", + sender:"order_by", + transaction:"transaction_order_by", + transaction_id:"order_by" + }, + inscription_history_pk_columns_input:{ + }, inscription_history_select_column: "enum" as const, - inscription_history_stddev_order_by: { - height: "order_by", - id: "order_by", - inscription_id: "order_by", - transaction_id: "order_by" - }, - inscription_history_stddev_pop_order_by: { - height: "order_by", - id: "order_by", - inscription_id: "order_by", - transaction_id: "order_by" - }, - inscription_history_stddev_samp_order_by: { - height: "order_by", - id: "order_by", - inscription_id: "order_by", - transaction_id: "order_by" - }, - inscription_history_stream_cursor_input: { - initial_value: "inscription_history_stream_cursor_value_input", - ordering: "cursor_ordering" - }, - inscription_history_stream_cursor_value_input: { - date_created: "timestamp" - }, - inscription_history_sum_order_by: { - height: "order_by", - id: "order_by", - inscription_id: "order_by", - transaction_id: "order_by" - }, - inscription_history_var_pop_order_by: { - height: "order_by", - id: "order_by", - inscription_id: "order_by", - transaction_id: "order_by" - }, - inscription_history_var_samp_order_by: { - height: "order_by", - id: "order_by", - inscription_id: "order_by", - transaction_id: "order_by" - }, - inscription_history_variance_order_by: { - height: "order_by", - id: "order_by", - inscription_id: "order_by", - transaction_id: "order_by" - }, - inscription_order_by: { - chain_id: "order_by", - content_hash: "order_by", - content_path: "order_by", - content_size_bytes: "order_by", - creator: "order_by", - current_owner: "order_by", - date_created: "order_by", - height: "order_by", - id: "order_by", - inscription_histories_aggregate: "inscription_history_aggregate_order_by", - is_explicit: "order_by", - metadata: "order_by", - transaction: "transaction_order_by", - transaction_id: "order_by", - type: "order_by", - version: "order_by" + inscription_history_set_input:{ + date_created:"timestamp" + }, + inscription_history_stddev_order_by:{ + height:"order_by", + id:"order_by", + inscription_id:"order_by", + transaction_id:"order_by" + }, + inscription_history_stddev_pop_order_by:{ + height:"order_by", + id:"order_by", + inscription_id:"order_by", + transaction_id:"order_by" + }, + inscription_history_stddev_samp_order_by:{ + height:"order_by", + id:"order_by", + inscription_id:"order_by", + transaction_id:"order_by" + }, + inscription_history_stream_cursor_input:{ + initial_value:"inscription_history_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + inscription_history_stream_cursor_value_input:{ + date_created:"timestamp" + }, + inscription_history_sum_order_by:{ + height:"order_by", + id:"order_by", + inscription_id:"order_by", + transaction_id:"order_by" + }, + inscription_history_update_column: "enum" as const, + inscription_history_updates:{ + _inc:"inscription_history_inc_input", + _set:"inscription_history_set_input", + where:"inscription_history_bool_exp" + }, + inscription_history_var_pop_order_by:{ + height:"order_by", + id:"order_by", + inscription_id:"order_by", + transaction_id:"order_by" + }, + inscription_history_var_samp_order_by:{ + height:"order_by", + id:"order_by", + inscription_id:"order_by", + transaction_id:"order_by" + }, + inscription_history_variance_order_by:{ + height:"order_by", + id:"order_by", + inscription_id:"order_by", + transaction_id:"order_by" + }, + inscription_inc_input:{ + }, - inscription_select_column: "enum" as const, - inscription_stream_cursor_input: { - initial_value: "inscription_stream_cursor_value_input", - ordering: "cursor_ordering" + inscription_insert_input:{ + date_created:"timestamp", + inscription_histories:"inscription_history_arr_rel_insert_input", + metadata:"json", + transaction:"transaction_obj_rel_insert_input" + }, + inscription_max_order_by:{ + chain_id:"order_by", + content_hash:"order_by", + content_path:"order_by", + content_size_bytes:"order_by", + creator:"order_by", + current_owner:"order_by", + date_created:"order_by", + height:"order_by", + id:"order_by", + transaction_id:"order_by", + type:"order_by", + version:"order_by" + }, + inscription_min_order_by:{ + chain_id:"order_by", + content_hash:"order_by", + content_path:"order_by", + content_size_bytes:"order_by", + creator:"order_by", + current_owner:"order_by", + date_created:"order_by", + height:"order_by", + id:"order_by", + transaction_id:"order_by", + type:"order_by", + version:"order_by" + }, + inscription_obj_rel_insert_input:{ + data:"inscription_insert_input", + on_conflict:"inscription_on_conflict" + }, + inscription_on_conflict:{ + constraint:"inscription_constraint", + update_columns:"inscription_update_column", + where:"inscription_bool_exp" + }, + inscription_order_by:{ + chain_id:"order_by", + content_hash:"order_by", + content_path:"order_by", + content_size_bytes:"order_by", + creator:"order_by", + current_owner:"order_by", + date_created:"order_by", + height:"order_by", + id:"order_by", + inscription_histories_aggregate:"inscription_history_aggregate_order_by", + is_explicit:"order_by", + metadata:"order_by", + transaction:"transaction_order_by", + transaction_id:"order_by", + type:"order_by", + version:"order_by" + }, + inscription_pk_columns_input:{ + }, - inscription_stream_cursor_value_input: { - date_created: "timestamp", - metadata: "json" + inscription_select_column: "enum" as const, + inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns: "enum" as const, + inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns: "enum" as const, + inscription_set_input:{ + date_created:"timestamp", + metadata:"json" + }, + inscription_stddev_order_by:{ + content_size_bytes:"order_by", + height:"order_by", + id:"order_by", + transaction_id:"order_by" + }, + inscription_stddev_pop_order_by:{ + content_size_bytes:"order_by", + height:"order_by", + id:"order_by", + transaction_id:"order_by" + }, + inscription_stddev_samp_order_by:{ + content_size_bytes:"order_by", + height:"order_by", + id:"order_by", + transaction_id:"order_by" + }, + inscription_stream_cursor_input:{ + initial_value:"inscription_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + inscription_stream_cursor_value_input:{ + date_created:"timestamp", + metadata:"json" + }, + inscription_sum_order_by:{ + content_size_bytes:"order_by", + height:"order_by", + id:"order_by", + transaction_id:"order_by" + }, + inscription_update_column: "enum" as const, + inscription_updates:{ + _inc:"inscription_inc_input", + _set:"inscription_set_input", + where:"inscription_bool_exp" + }, + inscription_var_pop_order_by:{ + content_size_bytes:"order_by", + height:"order_by", + id:"order_by", + transaction_id:"order_by" + }, + inscription_var_samp_order_by:{ + content_size_bytes:"order_by", + height:"order_by", + id:"order_by", + transaction_id:"order_by" + }, + inscription_variance_order_by:{ + content_size_bytes:"order_by", + height:"order_by", + id:"order_by", + transaction_id:"order_by" }, json: `scalar.json` as const, - json_comparison_exp: { - _eq: "json", - _gt: "json", - _gte: "json", - _in: "json", - _lt: "json", - _lte: "json", - _neq: "json", - _nin: "json" - }, - marketplace_cft20_detail_aggregate_order_by: { - avg: "marketplace_cft20_detail_avg_order_by", - count: "order_by", - max: "marketplace_cft20_detail_max_order_by", - min: "marketplace_cft20_detail_min_order_by", - stddev: "marketplace_cft20_detail_stddev_order_by", - stddev_pop: "marketplace_cft20_detail_stddev_pop_order_by", - stddev_samp: "marketplace_cft20_detail_stddev_samp_order_by", - sum: "marketplace_cft20_detail_sum_order_by", - var_pop: "marketplace_cft20_detail_var_pop_order_by", - var_samp: "marketplace_cft20_detail_var_samp_order_by", - variance: "marketplace_cft20_detail_variance_order_by" - }, - marketplace_cft20_detail_avg_order_by: { - amount: "order_by", - id: "order_by", - listing_id: "order_by", - ppt: "order_by", - token_id: "order_by" - }, - marketplace_cft20_detail_bool_exp: { - _and: "marketplace_cft20_detail_bool_exp", - _not: "marketplace_cft20_detail_bool_exp", - _or: "marketplace_cft20_detail_bool_exp", - amount: "bigint_comparison_exp", - date_created: "timestamp_comparison_exp", - id: "Int_comparison_exp", - listing_id: "Int_comparison_exp", - marketplace_listing: "marketplace_listing_bool_exp", - ppt: "bigint_comparison_exp", - token: "token_bool_exp", - token_id: "Int_comparison_exp" - }, - marketplace_cft20_detail_max_order_by: { - amount: "order_by", - date_created: "order_by", - id: "order_by", - listing_id: "order_by", - ppt: "order_by", - token_id: "order_by" - }, - marketplace_cft20_detail_min_order_by: { - amount: "order_by", - date_created: "order_by", - id: "order_by", - listing_id: "order_by", - ppt: "order_by", - token_id: "order_by" - }, - marketplace_cft20_detail_order_by: { - amount: "order_by", - date_created: "order_by", - id: "order_by", - listing_id: "order_by", - marketplace_listing: "marketplace_listing_order_by", - ppt: "order_by", - token: "token_order_by", - token_id: "order_by" + json_comparison_exp:{ + _eq:"json", + _gt:"json", + _gte:"json", + _in:"json", + _lt:"json", + _lte:"json", + _neq:"json", + _nin:"json" + }, + marketplace_cft20_detail_aggregate_bool_exp:{ + count:"marketplace_cft20_detail_aggregate_bool_exp_count" + }, + marketplace_cft20_detail_aggregate_bool_exp_count:{ + arguments:"marketplace_cft20_detail_select_column", + filter:"marketplace_cft20_detail_bool_exp", + predicate:"Int_comparison_exp" + }, + marketplace_cft20_detail_aggregate_fields:{ + count:{ + columns:"marketplace_cft20_detail_select_column" + } + }, + marketplace_cft20_detail_aggregate_order_by:{ + avg:"marketplace_cft20_detail_avg_order_by", + count:"order_by", + max:"marketplace_cft20_detail_max_order_by", + min:"marketplace_cft20_detail_min_order_by", + stddev:"marketplace_cft20_detail_stddev_order_by", + stddev_pop:"marketplace_cft20_detail_stddev_pop_order_by", + stddev_samp:"marketplace_cft20_detail_stddev_samp_order_by", + sum:"marketplace_cft20_detail_sum_order_by", + var_pop:"marketplace_cft20_detail_var_pop_order_by", + var_samp:"marketplace_cft20_detail_var_samp_order_by", + variance:"marketplace_cft20_detail_variance_order_by" + }, + marketplace_cft20_detail_arr_rel_insert_input:{ + data:"marketplace_cft20_detail_insert_input", + on_conflict:"marketplace_cft20_detail_on_conflict" + }, + marketplace_cft20_detail_avg_order_by:{ + amount:"order_by", + id:"order_by", + listing_id:"order_by", + ppt:"order_by", + token_id:"order_by" + }, + marketplace_cft20_detail_bool_exp:{ + _and:"marketplace_cft20_detail_bool_exp", + _not:"marketplace_cft20_detail_bool_exp", + _or:"marketplace_cft20_detail_bool_exp", + amount:"bigint_comparison_exp", + date_created:"timestamp_comparison_exp", + id:"Int_comparison_exp", + listing_id:"Int_comparison_exp", + marketplace_listing:"marketplace_listing_bool_exp", + ppt:"bigint_comparison_exp", + token:"token_bool_exp", + token_id:"Int_comparison_exp" + }, + marketplace_cft20_detail_constraint: "enum" as const, + marketplace_cft20_detail_inc_input:{ + amount:"bigint", + ppt:"bigint" + }, + marketplace_cft20_detail_insert_input:{ + amount:"bigint", + date_created:"timestamp", + marketplace_listing:"marketplace_listing_obj_rel_insert_input", + ppt:"bigint", + token:"token_obj_rel_insert_input" + }, + marketplace_cft20_detail_max_order_by:{ + amount:"order_by", + date_created:"order_by", + id:"order_by", + listing_id:"order_by", + ppt:"order_by", + token_id:"order_by" + }, + marketplace_cft20_detail_min_order_by:{ + amount:"order_by", + date_created:"order_by", + id:"order_by", + listing_id:"order_by", + ppt:"order_by", + token_id:"order_by" + }, + marketplace_cft20_detail_on_conflict:{ + constraint:"marketplace_cft20_detail_constraint", + update_columns:"marketplace_cft20_detail_update_column", + where:"marketplace_cft20_detail_bool_exp" + }, + marketplace_cft20_detail_order_by:{ + amount:"order_by", + date_created:"order_by", + id:"order_by", + listing_id:"order_by", + marketplace_listing:"marketplace_listing_order_by", + ppt:"order_by", + token:"token_order_by", + token_id:"order_by" + }, + marketplace_cft20_detail_pk_columns_input:{ + }, marketplace_cft20_detail_select_column: "enum" as const, - marketplace_cft20_detail_stddev_order_by: { - amount: "order_by", - id: "order_by", - listing_id: "order_by", - ppt: "order_by", - token_id: "order_by" - }, - marketplace_cft20_detail_stddev_pop_order_by: { - amount: "order_by", - id: "order_by", - listing_id: "order_by", - ppt: "order_by", - token_id: "order_by" - }, - marketplace_cft20_detail_stddev_samp_order_by: { - amount: "order_by", - id: "order_by", - listing_id: "order_by", - ppt: "order_by", - token_id: "order_by" - }, - marketplace_cft20_detail_stream_cursor_input: { - initial_value: "marketplace_cft20_detail_stream_cursor_value_input", - ordering: "cursor_ordering" - }, - marketplace_cft20_detail_stream_cursor_value_input: { - amount: "bigint", - date_created: "timestamp", - ppt: "bigint" - }, - marketplace_cft20_detail_sum_order_by: { - amount: "order_by", - id: "order_by", - listing_id: "order_by", - ppt: "order_by", - token_id: "order_by" - }, - marketplace_cft20_detail_var_pop_order_by: { - amount: "order_by", - id: "order_by", - listing_id: "order_by", - ppt: "order_by", - token_id: "order_by" - }, - marketplace_cft20_detail_var_samp_order_by: { - amount: "order_by", - id: "order_by", - listing_id: "order_by", - ppt: "order_by", - token_id: "order_by" - }, - marketplace_cft20_detail_variance_order_by: { - amount: "order_by", - id: "order_by", - listing_id: "order_by", - ppt: "order_by", - token_id: "order_by" - }, - marketplace_listing: { - marketplace_cft20_details: { - distinct_on: "marketplace_cft20_detail_select_column", - order_by: "marketplace_cft20_detail_order_by", - where: "marketplace_cft20_detail_bool_exp" + marketplace_cft20_detail_set_input:{ + amount:"bigint", + date_created:"timestamp", + ppt:"bigint" + }, + marketplace_cft20_detail_stddev_order_by:{ + amount:"order_by", + id:"order_by", + listing_id:"order_by", + ppt:"order_by", + token_id:"order_by" + }, + marketplace_cft20_detail_stddev_pop_order_by:{ + amount:"order_by", + id:"order_by", + listing_id:"order_by", + ppt:"order_by", + token_id:"order_by" + }, + marketplace_cft20_detail_stddev_samp_order_by:{ + amount:"order_by", + id:"order_by", + listing_id:"order_by", + ppt:"order_by", + token_id:"order_by" + }, + marketplace_cft20_detail_stream_cursor_input:{ + initial_value:"marketplace_cft20_detail_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + marketplace_cft20_detail_stream_cursor_value_input:{ + amount:"bigint", + date_created:"timestamp", + ppt:"bigint" + }, + marketplace_cft20_detail_sum_order_by:{ + amount:"order_by", + id:"order_by", + listing_id:"order_by", + ppt:"order_by", + token_id:"order_by" + }, + marketplace_cft20_detail_update_column: "enum" as const, + marketplace_cft20_detail_updates:{ + _inc:"marketplace_cft20_detail_inc_input", + _set:"marketplace_cft20_detail_set_input", + where:"marketplace_cft20_detail_bool_exp" + }, + marketplace_cft20_detail_var_pop_order_by:{ + amount:"order_by", + id:"order_by", + listing_id:"order_by", + ppt:"order_by", + token_id:"order_by" + }, + marketplace_cft20_detail_var_samp_order_by:{ + amount:"order_by", + id:"order_by", + listing_id:"order_by", + ppt:"order_by", + token_id:"order_by" + }, + marketplace_cft20_detail_variance_order_by:{ + amount:"order_by", + id:"order_by", + listing_id:"order_by", + ppt:"order_by", + token_id:"order_by" + }, + marketplace_cft20_trade_history_aggregate_bool_exp:{ + count:"marketplace_cft20_trade_history_aggregate_bool_exp_count" + }, + marketplace_cft20_trade_history_aggregate_bool_exp_count:{ + arguments:"marketplace_cft20_trade_history_select_column", + filter:"marketplace_cft20_trade_history_bool_exp", + predicate:"Int_comparison_exp" + }, + marketplace_cft20_trade_history_aggregate_fields:{ + count:{ + columns:"marketplace_cft20_trade_history_select_column" } }, - marketplace_listing_aggregate_order_by: { - avg: "marketplace_listing_avg_order_by", - count: "order_by", - max: "marketplace_listing_max_order_by", - min: "marketplace_listing_min_order_by", - stddev: "marketplace_listing_stddev_order_by", - stddev_pop: "marketplace_listing_stddev_pop_order_by", - stddev_samp: "marketplace_listing_stddev_samp_order_by", - sum: "marketplace_listing_sum_order_by", - var_pop: "marketplace_listing_var_pop_order_by", - var_samp: "marketplace_listing_var_samp_order_by", - variance: "marketplace_listing_variance_order_by" - }, - marketplace_listing_avg_order_by: { - deposit_timeout: "order_by", - deposit_total: "order_by", - depositor_timedout_block: "order_by", - id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - marketplace_listing_bool_exp: { - _and: "marketplace_listing_bool_exp", - _not: "marketplace_listing_bool_exp", - _or: "marketplace_listing_bool_exp", - chain_id: "String_comparison_exp", - date_created: "timestamp_comparison_exp", - date_updated: "timestamp_comparison_exp", - deposit_timeout: "Int_comparison_exp", - deposit_total: "bigint_comparison_exp", - depositor_address: "String_comparison_exp", - depositor_timedout_block: "Int_comparison_exp", - id: "Int_comparison_exp", - is_cancelled: "Boolean_comparison_exp", - is_deposited: "Boolean_comparison_exp", - is_filled: "Boolean_comparison_exp", - marketplace_cft20_details: "marketplace_cft20_detail_bool_exp", - seller_address: "String_comparison_exp", - total: "bigint_comparison_exp", - transaction: "transaction_bool_exp", - transaction_id: "Int_comparison_exp" - }, - marketplace_listing_max_order_by: { - chain_id: "order_by", - date_created: "order_by", - date_updated: "order_by", - deposit_timeout: "order_by", - deposit_total: "order_by", - depositor_address: "order_by", - depositor_timedout_block: "order_by", - id: "order_by", - seller_address: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - marketplace_listing_min_order_by: { - chain_id: "order_by", - date_created: "order_by", - date_updated: "order_by", - deposit_timeout: "order_by", - deposit_total: "order_by", - depositor_address: "order_by", - depositor_timedout_block: "order_by", - id: "order_by", - seller_address: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - marketplace_listing_order_by: { - chain_id: "order_by", - date_created: "order_by", - date_updated: "order_by", - deposit_timeout: "order_by", - deposit_total: "order_by", - depositor_address: "order_by", - depositor_timedout_block: "order_by", - id: "order_by", - is_cancelled: "order_by", - is_deposited: "order_by", - is_filled: "order_by", - marketplace_cft20_details_aggregate: "marketplace_cft20_detail_aggregate_order_by", - seller_address: "order_by", - total: "order_by", - transaction: "transaction_order_by", - transaction_id: "order_by" + marketplace_cft20_trade_history_aggregate_order_by:{ + avg:"marketplace_cft20_trade_history_avg_order_by", + count:"order_by", + max:"marketplace_cft20_trade_history_max_order_by", + min:"marketplace_cft20_trade_history_min_order_by", + stddev:"marketplace_cft20_trade_history_stddev_order_by", + stddev_pop:"marketplace_cft20_trade_history_stddev_pop_order_by", + stddev_samp:"marketplace_cft20_trade_history_stddev_samp_order_by", + sum:"marketplace_cft20_trade_history_sum_order_by", + var_pop:"marketplace_cft20_trade_history_var_pop_order_by", + var_samp:"marketplace_cft20_trade_history_var_samp_order_by", + variance:"marketplace_cft20_trade_history_variance_order_by" + }, + marketplace_cft20_trade_history_arr_rel_insert_input:{ + data:"marketplace_cft20_trade_history_insert_input", + on_conflict:"marketplace_cft20_trade_history_on_conflict" + }, + marketplace_cft20_trade_history_avg_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + listing_id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + marketplace_cft20_trade_history_bool_exp:{ + _and:"marketplace_cft20_trade_history_bool_exp", + _not:"marketplace_cft20_trade_history_bool_exp", + _or:"marketplace_cft20_trade_history_bool_exp", + amount_base:"bigint_comparison_exp", + amount_quote:"bigint_comparison_exp", + buyer_address:"String_comparison_exp", + date_created:"timestamp_comparison_exp", + id:"Int_comparison_exp", + listing_id:"Int_comparison_exp", + marketplace_listing:"marketplace_listing_bool_exp", + rate:"Int_comparison_exp", + seller_address:"String_comparison_exp", + token:"token_bool_exp", + token_id:"Int_comparison_exp", + total_usd:"Float_comparison_exp", + transaction:"transaction_bool_exp", + transaction_id:"Int_comparison_exp" + }, + marketplace_cft20_trade_history_constraint: "enum" as const, + marketplace_cft20_trade_history_inc_input:{ + amount_base:"bigint", + amount_quote:"bigint" + }, + marketplace_cft20_trade_history_insert_input:{ + amount_base:"bigint", + amount_quote:"bigint", + date_created:"timestamp", + marketplace_listing:"marketplace_listing_obj_rel_insert_input", + token:"token_obj_rel_insert_input", + transaction:"transaction_obj_rel_insert_input" + }, + marketplace_cft20_trade_history_max_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + buyer_address:"order_by", + date_created:"order_by", + id:"order_by", + listing_id:"order_by", + rate:"order_by", + seller_address:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + marketplace_cft20_trade_history_min_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + buyer_address:"order_by", + date_created:"order_by", + id:"order_by", + listing_id:"order_by", + rate:"order_by", + seller_address:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + marketplace_cft20_trade_history_on_conflict:{ + constraint:"marketplace_cft20_trade_history_constraint", + update_columns:"marketplace_cft20_trade_history_update_column", + where:"marketplace_cft20_trade_history_bool_exp" + }, + marketplace_cft20_trade_history_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + buyer_address:"order_by", + date_created:"order_by", + id:"order_by", + listing_id:"order_by", + marketplace_listing:"marketplace_listing_order_by", + rate:"order_by", + seller_address:"order_by", + token:"token_order_by", + token_id:"order_by", + total_usd:"order_by", + transaction:"transaction_order_by", + transaction_id:"order_by" + }, + marketplace_cft20_trade_history_pk_columns_input:{ + + }, + marketplace_cft20_trade_history_select_column: "enum" as const, + marketplace_cft20_trade_history_set_input:{ + amount_base:"bigint", + amount_quote:"bigint", + date_created:"timestamp" + }, + marketplace_cft20_trade_history_stddev_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + listing_id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + marketplace_cft20_trade_history_stddev_pop_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + listing_id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + marketplace_cft20_trade_history_stddev_samp_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + listing_id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + marketplace_cft20_trade_history_stream_cursor_input:{ + initial_value:"marketplace_cft20_trade_history_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + marketplace_cft20_trade_history_stream_cursor_value_input:{ + amount_base:"bigint", + amount_quote:"bigint", + date_created:"timestamp" + }, + marketplace_cft20_trade_history_sum_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + listing_id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + marketplace_cft20_trade_history_update_column: "enum" as const, + marketplace_cft20_trade_history_updates:{ + _inc:"marketplace_cft20_trade_history_inc_input", + _set:"marketplace_cft20_trade_history_set_input", + where:"marketplace_cft20_trade_history_bool_exp" + }, + marketplace_cft20_trade_history_var_pop_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + listing_id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + marketplace_cft20_trade_history_var_samp_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + listing_id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + marketplace_cft20_trade_history_variance_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + listing_id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + marketplace_listing:{ + marketplace_cft20_details:{ + distinct_on:"marketplace_cft20_detail_select_column", + order_by:"marketplace_cft20_detail_order_by", + where:"marketplace_cft20_detail_bool_exp" + }, + marketplace_cft20_details_aggregate:{ + distinct_on:"marketplace_cft20_detail_select_column", + order_by:"marketplace_cft20_detail_order_by", + where:"marketplace_cft20_detail_bool_exp" + }, + marketplace_cft20_trade_histories:{ + distinct_on:"marketplace_cft20_trade_history_select_column", + order_by:"marketplace_cft20_trade_history_order_by", + where:"marketplace_cft20_trade_history_bool_exp" + }, + marketplace_cft20_trade_histories_aggregate:{ + distinct_on:"marketplace_cft20_trade_history_select_column", + order_by:"marketplace_cft20_trade_history_order_by", + where:"marketplace_cft20_trade_history_bool_exp" + }, + marketplace_listing_histories:{ + distinct_on:"marketplace_listing_history_select_column", + order_by:"marketplace_listing_history_order_by", + where:"marketplace_listing_history_bool_exp" + }, + marketplace_listing_histories_aggregate:{ + distinct_on:"marketplace_listing_history_select_column", + order_by:"marketplace_listing_history_order_by", + where:"marketplace_listing_history_bool_exp" + } + }, + marketplace_listing_aggregate_bool_exp:{ + bool_and:"marketplace_listing_aggregate_bool_exp_bool_and", + bool_or:"marketplace_listing_aggregate_bool_exp_bool_or", + count:"marketplace_listing_aggregate_bool_exp_count" + }, + marketplace_listing_aggregate_bool_exp_bool_and:{ + arguments:"marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns", + filter:"marketplace_listing_bool_exp", + predicate:"Boolean_comparison_exp" + }, + marketplace_listing_aggregate_bool_exp_bool_or:{ + arguments:"marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns", + filter:"marketplace_listing_bool_exp", + predicate:"Boolean_comparison_exp" + }, + marketplace_listing_aggregate_bool_exp_count:{ + arguments:"marketplace_listing_select_column", + filter:"marketplace_listing_bool_exp", + predicate:"Int_comparison_exp" + }, + marketplace_listing_aggregate_fields:{ + count:{ + columns:"marketplace_listing_select_column" + } + }, + marketplace_listing_aggregate_order_by:{ + avg:"marketplace_listing_avg_order_by", + count:"order_by", + max:"marketplace_listing_max_order_by", + min:"marketplace_listing_min_order_by", + stddev:"marketplace_listing_stddev_order_by", + stddev_pop:"marketplace_listing_stddev_pop_order_by", + stddev_samp:"marketplace_listing_stddev_samp_order_by", + sum:"marketplace_listing_sum_order_by", + var_pop:"marketplace_listing_var_pop_order_by", + var_samp:"marketplace_listing_var_samp_order_by", + variance:"marketplace_listing_variance_order_by" + }, + marketplace_listing_arr_rel_insert_input:{ + data:"marketplace_listing_insert_input", + on_conflict:"marketplace_listing_on_conflict" + }, + marketplace_listing_avg_order_by:{ + deposit_timeout:"order_by", + deposit_total:"order_by", + depositor_timedout_block:"order_by", + id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_bool_exp:{ + _and:"marketplace_listing_bool_exp", + _not:"marketplace_listing_bool_exp", + _or:"marketplace_listing_bool_exp", + chain_id:"String_comparison_exp", + date_created:"timestamp_comparison_exp", + date_updated:"timestamp_comparison_exp", + deposit_timeout:"Int_comparison_exp", + deposit_total:"bigint_comparison_exp", + depositor_address:"String_comparison_exp", + depositor_timedout_block:"Int_comparison_exp", + id:"Int_comparison_exp", + is_cancelled:"Boolean_comparison_exp", + is_deposited:"Boolean_comparison_exp", + is_filled:"Boolean_comparison_exp", + marketplace_cft20_details:"marketplace_cft20_detail_bool_exp", + marketplace_cft20_details_aggregate:"marketplace_cft20_detail_aggregate_bool_exp", + marketplace_cft20_trade_histories:"marketplace_cft20_trade_history_bool_exp", + marketplace_cft20_trade_histories_aggregate:"marketplace_cft20_trade_history_aggregate_bool_exp", + marketplace_listing_histories:"marketplace_listing_history_bool_exp", + marketplace_listing_histories_aggregate:"marketplace_listing_history_aggregate_bool_exp", + seller_address:"String_comparison_exp", + total:"bigint_comparison_exp", + transaction:"transaction_bool_exp", + transaction_id:"Int_comparison_exp" + }, + marketplace_listing_constraint: "enum" as const, + marketplace_listing_history_aggregate_bool_exp:{ + count:"marketplace_listing_history_aggregate_bool_exp_count" + }, + marketplace_listing_history_aggregate_bool_exp_count:{ + arguments:"marketplace_listing_history_select_column", + filter:"marketplace_listing_history_bool_exp", + predicate:"Int_comparison_exp" + }, + marketplace_listing_history_aggregate_fields:{ + count:{ + columns:"marketplace_listing_history_select_column" + } + }, + marketplace_listing_history_aggregate_order_by:{ + avg:"marketplace_listing_history_avg_order_by", + count:"order_by", + max:"marketplace_listing_history_max_order_by", + min:"marketplace_listing_history_min_order_by", + stddev:"marketplace_listing_history_stddev_order_by", + stddev_pop:"marketplace_listing_history_stddev_pop_order_by", + stddev_samp:"marketplace_listing_history_stddev_samp_order_by", + sum:"marketplace_listing_history_sum_order_by", + var_pop:"marketplace_listing_history_var_pop_order_by", + var_samp:"marketplace_listing_history_var_samp_order_by", + variance:"marketplace_listing_history_variance_order_by" + }, + marketplace_listing_history_arr_rel_insert_input:{ + data:"marketplace_listing_history_insert_input", + on_conflict:"marketplace_listing_history_on_conflict" + }, + marketplace_listing_history_avg_order_by:{ + id:"order_by", + listing_id:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_history_bool_exp:{ + _and:"marketplace_listing_history_bool_exp", + _not:"marketplace_listing_history_bool_exp", + _or:"marketplace_listing_history_bool_exp", + action:"String_comparison_exp", + date_created:"timestamp_comparison_exp", + id:"Int_comparison_exp", + listing_id:"Int_comparison_exp", + marketplace_listing:"marketplace_listing_bool_exp", + sender_address:"String_comparison_exp", + transaction:"transaction_bool_exp", + transaction_id:"Int_comparison_exp" + }, + marketplace_listing_history_constraint: "enum" as const, + marketplace_listing_history_inc_input:{ + + }, + marketplace_listing_history_insert_input:{ + date_created:"timestamp", + marketplace_listing:"marketplace_listing_obj_rel_insert_input", + transaction:"transaction_obj_rel_insert_input" + }, + marketplace_listing_history_max_order_by:{ + action:"order_by", + date_created:"order_by", + id:"order_by", + listing_id:"order_by", + sender_address:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_history_min_order_by:{ + action:"order_by", + date_created:"order_by", + id:"order_by", + listing_id:"order_by", + sender_address:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_history_on_conflict:{ + constraint:"marketplace_listing_history_constraint", + update_columns:"marketplace_listing_history_update_column", + where:"marketplace_listing_history_bool_exp" + }, + marketplace_listing_history_order_by:{ + action:"order_by", + date_created:"order_by", + id:"order_by", + listing_id:"order_by", + marketplace_listing:"marketplace_listing_order_by", + sender_address:"order_by", + transaction:"transaction_order_by", + transaction_id:"order_by" + }, + marketplace_listing_history_pk_columns_input:{ + + }, + marketplace_listing_history_select_column: "enum" as const, + marketplace_listing_history_set_input:{ + date_created:"timestamp" + }, + marketplace_listing_history_stddev_order_by:{ + id:"order_by", + listing_id:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_history_stddev_pop_order_by:{ + id:"order_by", + listing_id:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_history_stddev_samp_order_by:{ + id:"order_by", + listing_id:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_history_stream_cursor_input:{ + initial_value:"marketplace_listing_history_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + marketplace_listing_history_stream_cursor_value_input:{ + date_created:"timestamp" + }, + marketplace_listing_history_sum_order_by:{ + id:"order_by", + listing_id:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_history_update_column: "enum" as const, + marketplace_listing_history_updates:{ + _inc:"marketplace_listing_history_inc_input", + _set:"marketplace_listing_history_set_input", + where:"marketplace_listing_history_bool_exp" + }, + marketplace_listing_history_var_pop_order_by:{ + id:"order_by", + listing_id:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_history_var_samp_order_by:{ + id:"order_by", + listing_id:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_history_variance_order_by:{ + id:"order_by", + listing_id:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_inc_input:{ + deposit_total:"bigint", + total:"bigint" + }, + marketplace_listing_insert_input:{ + date_created:"timestamp", + date_updated:"timestamp", + deposit_total:"bigint", + marketplace_cft20_details:"marketplace_cft20_detail_arr_rel_insert_input", + marketplace_cft20_trade_histories:"marketplace_cft20_trade_history_arr_rel_insert_input", + marketplace_listing_histories:"marketplace_listing_history_arr_rel_insert_input", + total:"bigint", + transaction:"transaction_obj_rel_insert_input" + }, + marketplace_listing_max_order_by:{ + chain_id:"order_by", + date_created:"order_by", + date_updated:"order_by", + deposit_timeout:"order_by", + deposit_total:"order_by", + depositor_address:"order_by", + depositor_timedout_block:"order_by", + id:"order_by", + seller_address:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_min_order_by:{ + chain_id:"order_by", + date_created:"order_by", + date_updated:"order_by", + deposit_timeout:"order_by", + deposit_total:"order_by", + depositor_address:"order_by", + depositor_timedout_block:"order_by", + id:"order_by", + seller_address:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_obj_rel_insert_input:{ + data:"marketplace_listing_insert_input", + on_conflict:"marketplace_listing_on_conflict" + }, + marketplace_listing_on_conflict:{ + constraint:"marketplace_listing_constraint", + update_columns:"marketplace_listing_update_column", + where:"marketplace_listing_bool_exp" + }, + marketplace_listing_order_by:{ + chain_id:"order_by", + date_created:"order_by", + date_updated:"order_by", + deposit_timeout:"order_by", + deposit_total:"order_by", + depositor_address:"order_by", + depositor_timedout_block:"order_by", + id:"order_by", + is_cancelled:"order_by", + is_deposited:"order_by", + is_filled:"order_by", + marketplace_cft20_details_aggregate:"marketplace_cft20_detail_aggregate_order_by", + marketplace_cft20_trade_histories_aggregate:"marketplace_cft20_trade_history_aggregate_order_by", + marketplace_listing_histories_aggregate:"marketplace_listing_history_aggregate_order_by", + seller_address:"order_by", + total:"order_by", + transaction:"transaction_order_by", + transaction_id:"order_by" + }, + marketplace_listing_pk_columns_input:{ + }, marketplace_listing_select_column: "enum" as const, - marketplace_listing_stddev_order_by: { - deposit_timeout: "order_by", - deposit_total: "order_by", - depositor_timedout_block: "order_by", - id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - marketplace_listing_stddev_pop_order_by: { - deposit_timeout: "order_by", - deposit_total: "order_by", - depositor_timedout_block: "order_by", - id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - marketplace_listing_stddev_samp_order_by: { - deposit_timeout: "order_by", - deposit_total: "order_by", - depositor_timedout_block: "order_by", - id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - marketplace_listing_stream_cursor_input: { - initial_value: "marketplace_listing_stream_cursor_value_input", - ordering: "cursor_ordering" - }, - marketplace_listing_stream_cursor_value_input: { - date_created: "timestamp", - date_updated: "timestamp", - deposit_total: "bigint", - total: "bigint" - }, - marketplace_listing_sum_order_by: { - deposit_timeout: "order_by", - deposit_total: "order_by", - depositor_timedout_block: "order_by", - id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - marketplace_listing_var_pop_order_by: { - deposit_timeout: "order_by", - deposit_total: "order_by", - depositor_timedout_block: "order_by", - id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - marketplace_listing_var_samp_order_by: { - deposit_timeout: "order_by", - deposit_total: "order_by", - depositor_timedout_block: "order_by", - id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - marketplace_listing_variance_order_by: { - deposit_timeout: "order_by", - deposit_total: "order_by", - depositor_timedout_block: "order_by", - id: "order_by", - total: "order_by", - transaction_id: "order_by" + marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns: "enum" as const, + marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns: "enum" as const, + marketplace_listing_set_input:{ + date_created:"timestamp", + date_updated:"timestamp", + deposit_total:"bigint", + total:"bigint" + }, + marketplace_listing_stddev_order_by:{ + deposit_timeout:"order_by", + deposit_total:"order_by", + depositor_timedout_block:"order_by", + id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_stddev_pop_order_by:{ + deposit_timeout:"order_by", + deposit_total:"order_by", + depositor_timedout_block:"order_by", + id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_stddev_samp_order_by:{ + deposit_timeout:"order_by", + deposit_total:"order_by", + depositor_timedout_block:"order_by", + id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_stream_cursor_input:{ + initial_value:"marketplace_listing_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + marketplace_listing_stream_cursor_value_input:{ + date_created:"timestamp", + date_updated:"timestamp", + deposit_total:"bigint", + total:"bigint" + }, + marketplace_listing_sum_order_by:{ + deposit_timeout:"order_by", + deposit_total:"order_by", + depositor_timedout_block:"order_by", + id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_update_column: "enum" as const, + marketplace_listing_updates:{ + _inc:"marketplace_listing_inc_input", + _set:"marketplace_listing_set_input", + where:"marketplace_listing_bool_exp" + }, + marketplace_listing_var_pop_order_by:{ + deposit_timeout:"order_by", + deposit_total:"order_by", + depositor_timedout_block:"order_by", + id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_var_samp_order_by:{ + deposit_timeout:"order_by", + deposit_total:"order_by", + depositor_timedout_block:"order_by", + id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + marketplace_listing_variance_order_by:{ + deposit_timeout:"order_by", + deposit_total:"order_by", + depositor_timedout_block:"order_by", + id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + mutation_root:{ + delete_inscription:{ + where:"inscription_bool_exp" + }, + delete_inscription_by_pk:{ + + }, + delete_inscription_history:{ + where:"inscription_history_bool_exp" + }, + delete_inscription_history_by_pk:{ + + }, + delete_marketplace_cft20_detail:{ + where:"marketplace_cft20_detail_bool_exp" + }, + delete_marketplace_cft20_detail_by_pk:{ + + }, + delete_marketplace_cft20_trade_history:{ + where:"marketplace_cft20_trade_history_bool_exp" + }, + delete_marketplace_cft20_trade_history_by_pk:{ + + }, + delete_marketplace_listing:{ + where:"marketplace_listing_bool_exp" + }, + delete_marketplace_listing_by_pk:{ + + }, + delete_marketplace_listing_history:{ + where:"marketplace_listing_history_bool_exp" + }, + delete_marketplace_listing_history_by_pk:{ + + }, + delete_status:{ + where:"status_bool_exp" + }, + delete_status_by_pk:{ + + }, + delete_token:{ + where:"token_bool_exp" + }, + delete_token_address_history:{ + where:"token_address_history_bool_exp" + }, + delete_token_address_history_by_pk:{ + + }, + delete_token_by_pk:{ + + }, + delete_token_holder:{ + where:"token_holder_bool_exp" + }, + delete_token_holder_by_pk:{ + + }, + delete_token_open_position:{ + where:"token_open_position_bool_exp" + }, + delete_token_open_position_by_pk:{ + + }, + delete_token_trade_history:{ + where:"token_trade_history_bool_exp" + }, + delete_token_trade_history_by_pk:{ + + }, + delete_transaction:{ + where:"transaction_bool_exp" + }, + delete_transaction_by_pk:{ + + }, + insert_inscription:{ + objects:"inscription_insert_input", + on_conflict:"inscription_on_conflict" + }, + insert_inscription_history:{ + objects:"inscription_history_insert_input", + on_conflict:"inscription_history_on_conflict" + }, + insert_inscription_history_one:{ + object:"inscription_history_insert_input", + on_conflict:"inscription_history_on_conflict" + }, + insert_inscription_one:{ + object:"inscription_insert_input", + on_conflict:"inscription_on_conflict" + }, + insert_marketplace_cft20_detail:{ + objects:"marketplace_cft20_detail_insert_input", + on_conflict:"marketplace_cft20_detail_on_conflict" + }, + insert_marketplace_cft20_detail_one:{ + object:"marketplace_cft20_detail_insert_input", + on_conflict:"marketplace_cft20_detail_on_conflict" + }, + insert_marketplace_cft20_trade_history:{ + objects:"marketplace_cft20_trade_history_insert_input", + on_conflict:"marketplace_cft20_trade_history_on_conflict" + }, + insert_marketplace_cft20_trade_history_one:{ + object:"marketplace_cft20_trade_history_insert_input", + on_conflict:"marketplace_cft20_trade_history_on_conflict" + }, + insert_marketplace_listing:{ + objects:"marketplace_listing_insert_input", + on_conflict:"marketplace_listing_on_conflict" + }, + insert_marketplace_listing_history:{ + objects:"marketplace_listing_history_insert_input", + on_conflict:"marketplace_listing_history_on_conflict" + }, + insert_marketplace_listing_history_one:{ + object:"marketplace_listing_history_insert_input", + on_conflict:"marketplace_listing_history_on_conflict" + }, + insert_marketplace_listing_one:{ + object:"marketplace_listing_insert_input", + on_conflict:"marketplace_listing_on_conflict" + }, + insert_status:{ + objects:"status_insert_input", + on_conflict:"status_on_conflict" + }, + insert_status_one:{ + object:"status_insert_input", + on_conflict:"status_on_conflict" + }, + insert_token:{ + objects:"token_insert_input", + on_conflict:"token_on_conflict" + }, + insert_token_address_history:{ + objects:"token_address_history_insert_input", + on_conflict:"token_address_history_on_conflict" + }, + insert_token_address_history_one:{ + object:"token_address_history_insert_input", + on_conflict:"token_address_history_on_conflict" + }, + insert_token_holder:{ + objects:"token_holder_insert_input", + on_conflict:"token_holder_on_conflict" + }, + insert_token_holder_one:{ + object:"token_holder_insert_input", + on_conflict:"token_holder_on_conflict" + }, + insert_token_one:{ + object:"token_insert_input", + on_conflict:"token_on_conflict" + }, + insert_token_open_position:{ + objects:"token_open_position_insert_input", + on_conflict:"token_open_position_on_conflict" + }, + insert_token_open_position_one:{ + object:"token_open_position_insert_input", + on_conflict:"token_open_position_on_conflict" + }, + insert_token_trade_history:{ + objects:"token_trade_history_insert_input", + on_conflict:"token_trade_history_on_conflict" + }, + insert_token_trade_history_one:{ + object:"token_trade_history_insert_input", + on_conflict:"token_trade_history_on_conflict" + }, + insert_transaction:{ + objects:"transaction_insert_input", + on_conflict:"transaction_on_conflict" + }, + insert_transaction_one:{ + object:"transaction_insert_input", + on_conflict:"transaction_on_conflict" + }, + update_inscription:{ + _inc:"inscription_inc_input", + _set:"inscription_set_input", + where:"inscription_bool_exp" + }, + update_inscription_by_pk:{ + _inc:"inscription_inc_input", + _set:"inscription_set_input", + pk_columns:"inscription_pk_columns_input" + }, + update_inscription_history:{ + _inc:"inscription_history_inc_input", + _set:"inscription_history_set_input", + where:"inscription_history_bool_exp" + }, + update_inscription_history_by_pk:{ + _inc:"inscription_history_inc_input", + _set:"inscription_history_set_input", + pk_columns:"inscription_history_pk_columns_input" + }, + update_inscription_history_many:{ + updates:"inscription_history_updates" + }, + update_inscription_many:{ + updates:"inscription_updates" + }, + update_marketplace_cft20_detail:{ + _inc:"marketplace_cft20_detail_inc_input", + _set:"marketplace_cft20_detail_set_input", + where:"marketplace_cft20_detail_bool_exp" + }, + update_marketplace_cft20_detail_by_pk:{ + _inc:"marketplace_cft20_detail_inc_input", + _set:"marketplace_cft20_detail_set_input", + pk_columns:"marketplace_cft20_detail_pk_columns_input" + }, + update_marketplace_cft20_detail_many:{ + updates:"marketplace_cft20_detail_updates" + }, + update_marketplace_cft20_trade_history:{ + _inc:"marketplace_cft20_trade_history_inc_input", + _set:"marketplace_cft20_trade_history_set_input", + where:"marketplace_cft20_trade_history_bool_exp" + }, + update_marketplace_cft20_trade_history_by_pk:{ + _inc:"marketplace_cft20_trade_history_inc_input", + _set:"marketplace_cft20_trade_history_set_input", + pk_columns:"marketplace_cft20_trade_history_pk_columns_input" + }, + update_marketplace_cft20_trade_history_many:{ + updates:"marketplace_cft20_trade_history_updates" + }, + update_marketplace_listing:{ + _inc:"marketplace_listing_inc_input", + _set:"marketplace_listing_set_input", + where:"marketplace_listing_bool_exp" + }, + update_marketplace_listing_by_pk:{ + _inc:"marketplace_listing_inc_input", + _set:"marketplace_listing_set_input", + pk_columns:"marketplace_listing_pk_columns_input" + }, + update_marketplace_listing_history:{ + _inc:"marketplace_listing_history_inc_input", + _set:"marketplace_listing_history_set_input", + where:"marketplace_listing_history_bool_exp" + }, + update_marketplace_listing_history_by_pk:{ + _inc:"marketplace_listing_history_inc_input", + _set:"marketplace_listing_history_set_input", + pk_columns:"marketplace_listing_history_pk_columns_input" + }, + update_marketplace_listing_history_many:{ + updates:"marketplace_listing_history_updates" + }, + update_marketplace_listing_many:{ + updates:"marketplace_listing_updates" + }, + update_status:{ + _inc:"status_inc_input", + _set:"status_set_input", + where:"status_bool_exp" + }, + update_status_by_pk:{ + _inc:"status_inc_input", + _set:"status_set_input", + pk_columns:"status_pk_columns_input" + }, + update_status_many:{ + updates:"status_updates" + }, + update_token:{ + _inc:"token_inc_input", + _set:"token_set_input", + where:"token_bool_exp" + }, + update_token_address_history:{ + _inc:"token_address_history_inc_input", + _set:"token_address_history_set_input", + where:"token_address_history_bool_exp" + }, + update_token_address_history_by_pk:{ + _inc:"token_address_history_inc_input", + _set:"token_address_history_set_input", + pk_columns:"token_address_history_pk_columns_input" + }, + update_token_address_history_many:{ + updates:"token_address_history_updates" + }, + update_token_by_pk:{ + _inc:"token_inc_input", + _set:"token_set_input", + pk_columns:"token_pk_columns_input" + }, + update_token_holder:{ + _inc:"token_holder_inc_input", + _set:"token_holder_set_input", + where:"token_holder_bool_exp" + }, + update_token_holder_by_pk:{ + _inc:"token_holder_inc_input", + _set:"token_holder_set_input", + pk_columns:"token_holder_pk_columns_input" + }, + update_token_holder_many:{ + updates:"token_holder_updates" + }, + update_token_many:{ + updates:"token_updates" + }, + update_token_open_position:{ + _inc:"token_open_position_inc_input", + _set:"token_open_position_set_input", + where:"token_open_position_bool_exp" + }, + update_token_open_position_by_pk:{ + _inc:"token_open_position_inc_input", + _set:"token_open_position_set_input", + pk_columns:"token_open_position_pk_columns_input" + }, + update_token_open_position_many:{ + updates:"token_open_position_updates" + }, + update_token_trade_history:{ + _inc:"token_trade_history_inc_input", + _set:"token_trade_history_set_input", + where:"token_trade_history_bool_exp" + }, + update_token_trade_history_by_pk:{ + _inc:"token_trade_history_inc_input", + _set:"token_trade_history_set_input", + pk_columns:"token_trade_history_pk_columns_input" + }, + update_token_trade_history_many:{ + updates:"token_trade_history_updates" + }, + update_transaction:{ + _inc:"transaction_inc_input", + _set:"transaction_set_input", + where:"transaction_bool_exp" + }, + update_transaction_by_pk:{ + _inc:"transaction_inc_input", + _set:"transaction_set_input", + pk_columns:"transaction_pk_columns_input" + }, + update_transaction_many:{ + updates:"transaction_updates" + } }, numeric: `scalar.numeric` as const, - numeric_comparison_exp: { - _eq: "numeric", - _gt: "numeric", - _gte: "numeric", - _in: "numeric", - _lt: "numeric", - _lte: "numeric", - _neq: "numeric", - _nin: "numeric" + numeric_comparison_exp:{ + _eq:"numeric", + _gt:"numeric", + _gte:"numeric", + _in:"numeric", + _lt:"numeric", + _lte:"numeric", + _neq:"numeric", + _nin:"numeric" }, order_by: "enum" as const, - query_root: { - inscription: { - distinct_on: "inscription_select_column", - order_by: "inscription_order_by", - where: "inscription_bool_exp" + query_root:{ + inscription:{ + distinct_on:"inscription_select_column", + order_by:"inscription_order_by", + where:"inscription_bool_exp" + }, + inscription_aggregate:{ + distinct_on:"inscription_select_column", + order_by:"inscription_order_by", + where:"inscription_bool_exp" }, - inscription_by_pk: { + inscription_by_pk:{ }, - inscription_history: { - distinct_on: "inscription_history_select_column", - order_by: "inscription_history_order_by", - where: "inscription_history_bool_exp" + inscription_history:{ + distinct_on:"inscription_history_select_column", + order_by:"inscription_history_order_by", + where:"inscription_history_bool_exp" }, - inscription_history_by_pk: { + inscription_history_aggregate:{ + distinct_on:"inscription_history_select_column", + order_by:"inscription_history_order_by", + where:"inscription_history_bool_exp" + }, + inscription_history_by_pk:{ }, - marketplace_cft20_detail: { - distinct_on: "marketplace_cft20_detail_select_column", - order_by: "marketplace_cft20_detail_order_by", - where: "marketplace_cft20_detail_bool_exp" + marketplace_cft20_detail:{ + distinct_on:"marketplace_cft20_detail_select_column", + order_by:"marketplace_cft20_detail_order_by", + where:"marketplace_cft20_detail_bool_exp" + }, + marketplace_cft20_detail_aggregate:{ + distinct_on:"marketplace_cft20_detail_select_column", + order_by:"marketplace_cft20_detail_order_by", + where:"marketplace_cft20_detail_bool_exp" }, - marketplace_cft20_detail_by_pk: { + marketplace_cft20_detail_by_pk:{ }, - marketplace_listing: { - distinct_on: "marketplace_listing_select_column", - order_by: "marketplace_listing_order_by", - where: "marketplace_listing_bool_exp" + marketplace_cft20_trade_history:{ + distinct_on:"marketplace_cft20_trade_history_select_column", + order_by:"marketplace_cft20_trade_history_order_by", + where:"marketplace_cft20_trade_history_bool_exp" }, - marketplace_listing_by_pk: { + marketplace_cft20_trade_history_aggregate:{ + distinct_on:"marketplace_cft20_trade_history_select_column", + order_by:"marketplace_cft20_trade_history_order_by", + where:"marketplace_cft20_trade_history_bool_exp" + }, + marketplace_cft20_trade_history_by_pk:{ }, - status: { - distinct_on: "status_select_column", - order_by: "status_order_by", - where: "status_bool_exp" + marketplace_listing:{ + distinct_on:"marketplace_listing_select_column", + order_by:"marketplace_listing_order_by", + where:"marketplace_listing_bool_exp" + }, + marketplace_listing_aggregate:{ + distinct_on:"marketplace_listing_select_column", + order_by:"marketplace_listing_order_by", + where:"marketplace_listing_bool_exp" }, - status_by_pk: { + marketplace_listing_by_pk:{ }, - token: { - distinct_on: "token_select_column", - order_by: "token_order_by", - where: "token_bool_exp" + marketplace_listing_history:{ + distinct_on:"marketplace_listing_history_select_column", + order_by:"marketplace_listing_history_order_by", + where:"marketplace_listing_history_bool_exp" }, - token_address_history: { - distinct_on: "token_address_history_select_column", - order_by: "token_address_history_order_by", - where: "token_address_history_bool_exp" + marketplace_listing_history_aggregate:{ + distinct_on:"marketplace_listing_history_select_column", + order_by:"marketplace_listing_history_order_by", + where:"marketplace_listing_history_bool_exp" }, - token_address_history_by_pk: { + marketplace_listing_history_by_pk:{ }, - token_by_pk: { + status:{ + distinct_on:"status_select_column", + order_by:"status_order_by", + where:"status_bool_exp" + }, + status_aggregate:{ + distinct_on:"status_select_column", + order_by:"status_order_by", + where:"status_bool_exp" + }, + status_by_pk:{ }, - token_holder: { - distinct_on: "token_holder_select_column", - order_by: "token_holder_order_by", - where: "token_holder_bool_exp" + token:{ + distinct_on:"token_select_column", + order_by:"token_order_by", + where:"token_bool_exp" + }, + token_address_history:{ + distinct_on:"token_address_history_select_column", + order_by:"token_address_history_order_by", + where:"token_address_history_bool_exp" + }, + token_address_history_aggregate:{ + distinct_on:"token_address_history_select_column", + order_by:"token_address_history_order_by", + where:"token_address_history_bool_exp" }, - token_holder_by_pk: { + token_address_history_by_pk:{ }, - token_open_position: { - distinct_on: "token_open_position_select_column", - order_by: "token_open_position_order_by", - where: "token_open_position_bool_exp" + token_aggregate:{ + distinct_on:"token_select_column", + order_by:"token_order_by", + where:"token_bool_exp" }, - token_open_position_by_pk: { + token_by_pk:{ }, - token_trade_history: { - distinct_on: "token_trade_history_select_column", - order_by: "token_trade_history_order_by", - where: "token_trade_history_bool_exp" + token_holder:{ + distinct_on:"token_holder_select_column", + order_by:"token_holder_order_by", + where:"token_holder_bool_exp" }, - token_trade_history_by_pk: { + token_holder_aggregate:{ + distinct_on:"token_holder_select_column", + order_by:"token_holder_order_by", + where:"token_holder_bool_exp" + }, + token_holder_by_pk:{ }, - transaction: { - distinct_on: "transaction_select_column", - order_by: "transaction_order_by", - where: "transaction_bool_exp" + token_open_position:{ + distinct_on:"token_open_position_select_column", + order_by:"token_open_position_order_by", + where:"token_open_position_bool_exp" + }, + token_open_position_aggregate:{ + distinct_on:"token_open_position_select_column", + order_by:"token_open_position_order_by", + where:"token_open_position_bool_exp" }, - transaction_by_pk: { + token_open_position_by_pk:{ + + }, + token_trade_history:{ + distinct_on:"token_trade_history_select_column", + order_by:"token_trade_history_order_by", + where:"token_trade_history_bool_exp" + }, + token_trade_history_aggregate:{ + distinct_on:"token_trade_history_select_column", + order_by:"token_trade_history_order_by", + where:"token_trade_history_bool_exp" + }, + token_trade_history_by_pk:{ + + }, + transaction:{ + distinct_on:"transaction_select_column", + order_by:"transaction_order_by", + where:"transaction_bool_exp" + }, + transaction_aggregate:{ + distinct_on:"transaction_select_column", + order_by:"transaction_order_by", + where:"transaction_bool_exp" + }, + transaction_by_pk:{ } }, smallint: `scalar.smallint` as const, - smallint_comparison_exp: { - _eq: "smallint", - _gt: "smallint", - _gte: "smallint", - _in: "smallint", - _lt: "smallint", - _lte: "smallint", - _neq: "smallint", - _nin: "smallint" - }, - status_bool_exp: { - _and: "status_bool_exp", - _not: "status_bool_exp", - _or: "status_bool_exp", - base_token: "String_comparison_exp", - base_token_usd: "Float_comparison_exp", - chain_id: "String_comparison_exp", - date_updated: "timestamp_comparison_exp", - id: "Int_comparison_exp", - last_known_height: "Int_comparison_exp", - last_processed_height: "Int_comparison_exp" - }, - status_order_by: { - base_token: "order_by", - base_token_usd: "order_by", - chain_id: "order_by", - date_updated: "order_by", - id: "order_by", - last_known_height: "order_by", - last_processed_height: "order_by" + smallint_comparison_exp:{ + _eq:"smallint", + _gt:"smallint", + _gte:"smallint", + _in:"smallint", + _lt:"smallint", + _lte:"smallint", + _neq:"smallint", + _nin:"smallint" + }, + status_aggregate_fields:{ + count:{ + columns:"status_select_column" + } }, - status_select_column: "enum" as const, - status_stream_cursor_input: { - initial_value: "status_stream_cursor_value_input", - ordering: "cursor_ordering" + status_bool_exp:{ + _and:"status_bool_exp", + _not:"status_bool_exp", + _or:"status_bool_exp", + base_token:"String_comparison_exp", + base_token_usd:"Float_comparison_exp", + chain_id:"String_comparison_exp", + date_updated:"timestamp_comparison_exp", + id:"Int_comparison_exp", + last_known_height:"Int_comparison_exp", + last_processed_height:"Int_comparison_exp" + }, + status_constraint: "enum" as const, + status_inc_input:{ + + }, + status_insert_input:{ + date_updated:"timestamp" + }, + status_on_conflict:{ + constraint:"status_constraint", + update_columns:"status_update_column", + where:"status_bool_exp" }, - status_stream_cursor_value_input: { - date_updated: "timestamp" + status_order_by:{ + base_token:"order_by", + base_token_usd:"order_by", + chain_id:"order_by", + date_updated:"order_by", + id:"order_by", + last_known_height:"order_by", + last_processed_height:"order_by" }, - subscription_root: { - inscription: { - distinct_on: "inscription_select_column", - order_by: "inscription_order_by", - where: "inscription_bool_exp" + status_pk_columns_input:{ + + }, + status_select_column: "enum" as const, + status_set_input:{ + date_updated:"timestamp" + }, + status_stream_cursor_input:{ + initial_value:"status_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + status_stream_cursor_value_input:{ + date_updated:"timestamp" + }, + status_update_column: "enum" as const, + status_updates:{ + _inc:"status_inc_input", + _set:"status_set_input", + where:"status_bool_exp" + }, + subscription_root:{ + inscription:{ + distinct_on:"inscription_select_column", + order_by:"inscription_order_by", + where:"inscription_bool_exp" }, - inscription_by_pk: { + inscription_aggregate:{ + distinct_on:"inscription_select_column", + order_by:"inscription_order_by", + where:"inscription_bool_exp" + }, + inscription_by_pk:{ + + }, + inscription_history:{ + distinct_on:"inscription_history_select_column", + order_by:"inscription_history_order_by", + where:"inscription_history_bool_exp" + }, + inscription_history_aggregate:{ + distinct_on:"inscription_history_select_column", + order_by:"inscription_history_order_by", + where:"inscription_history_bool_exp" + }, + inscription_history_by_pk:{ + + }, + inscription_history_stream:{ + cursor:"inscription_history_stream_cursor_input", + where:"inscription_history_bool_exp" + }, + inscription_stream:{ + cursor:"inscription_stream_cursor_input", + where:"inscription_bool_exp" + }, + marketplace_cft20_detail:{ + distinct_on:"marketplace_cft20_detail_select_column", + order_by:"marketplace_cft20_detail_order_by", + where:"marketplace_cft20_detail_bool_exp" + }, + marketplace_cft20_detail_aggregate:{ + distinct_on:"marketplace_cft20_detail_select_column", + order_by:"marketplace_cft20_detail_order_by", + where:"marketplace_cft20_detail_bool_exp" + }, + marketplace_cft20_detail_by_pk:{ }, - inscription_history: { - distinct_on: "inscription_history_select_column", - order_by: "inscription_history_order_by", - where: "inscription_history_bool_exp" + marketplace_cft20_detail_stream:{ + cursor:"marketplace_cft20_detail_stream_cursor_input", + where:"marketplace_cft20_detail_bool_exp" }, - inscription_history_by_pk: { + marketplace_cft20_trade_history:{ + distinct_on:"marketplace_cft20_trade_history_select_column", + order_by:"marketplace_cft20_trade_history_order_by", + where:"marketplace_cft20_trade_history_bool_exp" + }, + marketplace_cft20_trade_history_aggregate:{ + distinct_on:"marketplace_cft20_trade_history_select_column", + order_by:"marketplace_cft20_trade_history_order_by", + where:"marketplace_cft20_trade_history_bool_exp" + }, + marketplace_cft20_trade_history_by_pk:{ }, - inscription_history_stream: { - cursor: "inscription_history_stream_cursor_input", - where: "inscription_history_bool_exp" + marketplace_cft20_trade_history_stream:{ + cursor:"marketplace_cft20_trade_history_stream_cursor_input", + where:"marketplace_cft20_trade_history_bool_exp" }, - inscription_stream: { - cursor: "inscription_stream_cursor_input", - where: "inscription_bool_exp" + marketplace_listing:{ + distinct_on:"marketplace_listing_select_column", + order_by:"marketplace_listing_order_by", + where:"marketplace_listing_bool_exp" }, - marketplace_cft20_detail: { - distinct_on: "marketplace_cft20_detail_select_column", - order_by: "marketplace_cft20_detail_order_by", - where: "marketplace_cft20_detail_bool_exp" + marketplace_listing_aggregate:{ + distinct_on:"marketplace_listing_select_column", + order_by:"marketplace_listing_order_by", + where:"marketplace_listing_bool_exp" }, - marketplace_cft20_detail_by_pk: { + marketplace_listing_by_pk:{ }, - marketplace_cft20_detail_stream: { - cursor: "marketplace_cft20_detail_stream_cursor_input", - where: "marketplace_cft20_detail_bool_exp" + marketplace_listing_history:{ + distinct_on:"marketplace_listing_history_select_column", + order_by:"marketplace_listing_history_order_by", + where:"marketplace_listing_history_bool_exp" }, - marketplace_listing: { - distinct_on: "marketplace_listing_select_column", - order_by: "marketplace_listing_order_by", - where: "marketplace_listing_bool_exp" + marketplace_listing_history_aggregate:{ + distinct_on:"marketplace_listing_history_select_column", + order_by:"marketplace_listing_history_order_by", + where:"marketplace_listing_history_bool_exp" }, - marketplace_listing_by_pk: { + marketplace_listing_history_by_pk:{ }, - marketplace_listing_stream: { - cursor: "marketplace_listing_stream_cursor_input", - where: "marketplace_listing_bool_exp" + marketplace_listing_history_stream:{ + cursor:"marketplace_listing_history_stream_cursor_input", + where:"marketplace_listing_history_bool_exp" + }, + marketplace_listing_stream:{ + cursor:"marketplace_listing_stream_cursor_input", + where:"marketplace_listing_bool_exp" }, - status: { - distinct_on: "status_select_column", - order_by: "status_order_by", - where: "status_bool_exp" + status:{ + distinct_on:"status_select_column", + order_by:"status_order_by", + where:"status_bool_exp" }, - status_by_pk: { + status_aggregate:{ + distinct_on:"status_select_column", + order_by:"status_order_by", + where:"status_bool_exp" + }, + status_by_pk:{ }, - status_stream: { - cursor: "status_stream_cursor_input", - where: "status_bool_exp" + status_stream:{ + cursor:"status_stream_cursor_input", + where:"status_bool_exp" + }, + token:{ + distinct_on:"token_select_column", + order_by:"token_order_by", + where:"token_bool_exp" }, - token: { - distinct_on: "token_select_column", - order_by: "token_order_by", - where: "token_bool_exp" + token_address_history:{ + distinct_on:"token_address_history_select_column", + order_by:"token_address_history_order_by", + where:"token_address_history_bool_exp" }, - token_address_history: { - distinct_on: "token_address_history_select_column", - order_by: "token_address_history_order_by", - where: "token_address_history_bool_exp" + token_address_history_aggregate:{ + distinct_on:"token_address_history_select_column", + order_by:"token_address_history_order_by", + where:"token_address_history_bool_exp" }, - token_address_history_by_pk: { + token_address_history_by_pk:{ }, - token_address_history_stream: { - cursor: "token_address_history_stream_cursor_input", - where: "token_address_history_bool_exp" + token_address_history_stream:{ + cursor:"token_address_history_stream_cursor_input", + where:"token_address_history_bool_exp" }, - token_by_pk: { + token_aggregate:{ + distinct_on:"token_select_column", + order_by:"token_order_by", + where:"token_bool_exp" + }, + token_by_pk:{ }, - token_holder: { - distinct_on: "token_holder_select_column", - order_by: "token_holder_order_by", - where: "token_holder_bool_exp" + token_holder:{ + distinct_on:"token_holder_select_column", + order_by:"token_holder_order_by", + where:"token_holder_bool_exp" + }, + token_holder_aggregate:{ + distinct_on:"token_holder_select_column", + order_by:"token_holder_order_by", + where:"token_holder_bool_exp" }, - token_holder_by_pk: { + token_holder_by_pk:{ }, - token_holder_stream: { - cursor: "token_holder_stream_cursor_input", - where: "token_holder_bool_exp" + token_holder_stream:{ + cursor:"token_holder_stream_cursor_input", + where:"token_holder_bool_exp" }, - token_open_position: { - distinct_on: "token_open_position_select_column", - order_by: "token_open_position_order_by", - where: "token_open_position_bool_exp" + token_open_position:{ + distinct_on:"token_open_position_select_column", + order_by:"token_open_position_order_by", + where:"token_open_position_bool_exp" }, - token_open_position_by_pk: { + token_open_position_aggregate:{ + distinct_on:"token_open_position_select_column", + order_by:"token_open_position_order_by", + where:"token_open_position_bool_exp" + }, + token_open_position_by_pk:{ }, - token_open_position_stream: { - cursor: "token_open_position_stream_cursor_input", - where: "token_open_position_bool_exp" + token_open_position_stream:{ + cursor:"token_open_position_stream_cursor_input", + where:"token_open_position_bool_exp" + }, + token_stream:{ + cursor:"token_stream_cursor_input", + where:"token_bool_exp" }, - token_stream: { - cursor: "token_stream_cursor_input", - where: "token_bool_exp" + token_trade_history:{ + distinct_on:"token_trade_history_select_column", + order_by:"token_trade_history_order_by", + where:"token_trade_history_bool_exp" }, - token_trade_history: { - distinct_on: "token_trade_history_select_column", - order_by: "token_trade_history_order_by", - where: "token_trade_history_bool_exp" + token_trade_history_aggregate:{ + distinct_on:"token_trade_history_select_column", + order_by:"token_trade_history_order_by", + where:"token_trade_history_bool_exp" }, - token_trade_history_by_pk: { + token_trade_history_by_pk:{ }, - token_trade_history_stream: { - cursor: "token_trade_history_stream_cursor_input", - where: "token_trade_history_bool_exp" + token_trade_history_stream:{ + cursor:"token_trade_history_stream_cursor_input", + where:"token_trade_history_bool_exp" }, - transaction: { - distinct_on: "transaction_select_column", - order_by: "transaction_order_by", - where: "transaction_bool_exp" + transaction:{ + distinct_on:"transaction_select_column", + order_by:"transaction_order_by", + where:"transaction_bool_exp" }, - transaction_by_pk: { + transaction_aggregate:{ + distinct_on:"transaction_select_column", + order_by:"transaction_order_by", + where:"transaction_bool_exp" + }, + transaction_by_pk:{ }, - transaction_stream: { - cursor: "transaction_stream_cursor_input", - where: "transaction_bool_exp" + transaction_stream:{ + cursor:"transaction_stream_cursor_input", + where:"transaction_bool_exp" } }, timestamp: `scalar.timestamp` as const, - timestamp_comparison_exp: { - _eq: "timestamp", - _gt: "timestamp", - _gte: "timestamp", - _in: "timestamp", - _lt: "timestamp", - _lte: "timestamp", - _neq: "timestamp", - _nin: "timestamp" - }, - token: { - marketplace_cft20_details: { - distinct_on: "marketplace_cft20_detail_select_column", - order_by: "marketplace_cft20_detail_order_by", - where: "marketplace_cft20_detail_bool_exp" - }, - token_address_histories: { - distinct_on: "token_address_history_select_column", - order_by: "token_address_history_order_by", - where: "token_address_history_bool_exp" - }, - token_holders: { - distinct_on: "token_holder_select_column", - order_by: "token_holder_order_by", - where: "token_holder_bool_exp" - }, - token_open_positions: { - distinct_on: "token_open_position_select_column", - order_by: "token_open_position_order_by", - where: "token_open_position_bool_exp" - }, - token_trade_histories: { - distinct_on: "token_trade_history_select_column", - order_by: "token_trade_history_order_by", - where: "token_trade_history_bool_exp" + timestamp_comparison_exp:{ + _eq:"timestamp", + _gt:"timestamp", + _gte:"timestamp", + _in:"timestamp", + _lt:"timestamp", + _lte:"timestamp", + _neq:"timestamp", + _nin:"timestamp" + }, + token:{ + marketplace_cft20_details:{ + distinct_on:"marketplace_cft20_detail_select_column", + order_by:"marketplace_cft20_detail_order_by", + where:"marketplace_cft20_detail_bool_exp" + }, + marketplace_cft20_details_aggregate:{ + distinct_on:"marketplace_cft20_detail_select_column", + order_by:"marketplace_cft20_detail_order_by", + where:"marketplace_cft20_detail_bool_exp" + }, + marketplace_cft20_trade_histories:{ + distinct_on:"marketplace_cft20_trade_history_select_column", + order_by:"marketplace_cft20_trade_history_order_by", + where:"marketplace_cft20_trade_history_bool_exp" + }, + marketplace_cft20_trade_histories_aggregate:{ + distinct_on:"marketplace_cft20_trade_history_select_column", + order_by:"marketplace_cft20_trade_history_order_by", + where:"marketplace_cft20_trade_history_bool_exp" + }, + token_address_histories:{ + distinct_on:"token_address_history_select_column", + order_by:"token_address_history_order_by", + where:"token_address_history_bool_exp" + }, + token_address_histories_aggregate:{ + distinct_on:"token_address_history_select_column", + order_by:"token_address_history_order_by", + where:"token_address_history_bool_exp" + }, + token_holders:{ + distinct_on:"token_holder_select_column", + order_by:"token_holder_order_by", + where:"token_holder_bool_exp" + }, + token_holders_aggregate:{ + distinct_on:"token_holder_select_column", + order_by:"token_holder_order_by", + where:"token_holder_bool_exp" + }, + token_open_positions:{ + distinct_on:"token_open_position_select_column", + order_by:"token_open_position_order_by", + where:"token_open_position_bool_exp" + }, + token_open_positions_aggregate:{ + distinct_on:"token_open_position_select_column", + order_by:"token_open_position_order_by", + where:"token_open_position_bool_exp" + }, + token_trade_histories:{ + distinct_on:"token_trade_history_select_column", + order_by:"token_trade_history_order_by", + where:"token_trade_history_bool_exp" + }, + token_trade_histories_aggregate:{ + distinct_on:"token_trade_history_select_column", + order_by:"token_trade_history_order_by", + where:"token_trade_history_bool_exp" + } + }, + token_address_history_aggregate_bool_exp:{ + count:"token_address_history_aggregate_bool_exp_count" + }, + token_address_history_aggregate_bool_exp_count:{ + arguments:"token_address_history_select_column", + filter:"token_address_history_bool_exp", + predicate:"Int_comparison_exp" + }, + token_address_history_aggregate_fields:{ + count:{ + columns:"token_address_history_select_column" } }, - token_address_history_aggregate_order_by: { - avg: "token_address_history_avg_order_by", - count: "order_by", - max: "token_address_history_max_order_by", - min: "token_address_history_min_order_by", - stddev: "token_address_history_stddev_order_by", - stddev_pop: "token_address_history_stddev_pop_order_by", - stddev_samp: "token_address_history_stddev_samp_order_by", - sum: "token_address_history_sum_order_by", - var_pop: "token_address_history_var_pop_order_by", - var_samp: "token_address_history_var_samp_order_by", - variance: "token_address_history_variance_order_by" - }, - token_address_history_avg_order_by: { - amount: "order_by", - height: "order_by", - id: "order_by", - token_id: "order_by", - transaction_id: "order_by" - }, - token_address_history_bool_exp: { - _and: "token_address_history_bool_exp", - _not: "token_address_history_bool_exp", - _or: "token_address_history_bool_exp", - action: "String_comparison_exp", - amount: "bigint_comparison_exp", - chain_id: "String_comparison_exp", - date_created: "timestamp_comparison_exp", - height: "Int_comparison_exp", - id: "Int_comparison_exp", - receiver: "String_comparison_exp", - sender: "String_comparison_exp", - token: "token_bool_exp", - token_id: "Int_comparison_exp", - transaction: "transaction_bool_exp", - transaction_id: "Int_comparison_exp" - }, - token_address_history_max_order_by: { - action: "order_by", - amount: "order_by", - chain_id: "order_by", - date_created: "order_by", - height: "order_by", - id: "order_by", - receiver: "order_by", - sender: "order_by", - token_id: "order_by", - transaction_id: "order_by" - }, - token_address_history_min_order_by: { - action: "order_by", - amount: "order_by", - chain_id: "order_by", - date_created: "order_by", - height: "order_by", - id: "order_by", - receiver: "order_by", - sender: "order_by", - token_id: "order_by", - transaction_id: "order_by" - }, - token_address_history_order_by: { - action: "order_by", - amount: "order_by", - chain_id: "order_by", - date_created: "order_by", - height: "order_by", - id: "order_by", - receiver: "order_by", - sender: "order_by", - token: "token_order_by", - token_id: "order_by", - transaction: "transaction_order_by", - transaction_id: "order_by" + token_address_history_aggregate_order_by:{ + avg:"token_address_history_avg_order_by", + count:"order_by", + max:"token_address_history_max_order_by", + min:"token_address_history_min_order_by", + stddev:"token_address_history_stddev_order_by", + stddev_pop:"token_address_history_stddev_pop_order_by", + stddev_samp:"token_address_history_stddev_samp_order_by", + sum:"token_address_history_sum_order_by", + var_pop:"token_address_history_var_pop_order_by", + var_samp:"token_address_history_var_samp_order_by", + variance:"token_address_history_variance_order_by" + }, + token_address_history_arr_rel_insert_input:{ + data:"token_address_history_insert_input", + on_conflict:"token_address_history_on_conflict" + }, + token_address_history_avg_order_by:{ + amount:"order_by", + height:"order_by", + id:"order_by", + token_id:"order_by", + transaction_id:"order_by" + }, + token_address_history_bool_exp:{ + _and:"token_address_history_bool_exp", + _not:"token_address_history_bool_exp", + _or:"token_address_history_bool_exp", + action:"String_comparison_exp", + amount:"bigint_comparison_exp", + chain_id:"String_comparison_exp", + date_created:"timestamp_comparison_exp", + height:"Int_comparison_exp", + id:"Int_comparison_exp", + receiver:"String_comparison_exp", + sender:"String_comparison_exp", + token:"token_bool_exp", + token_id:"Int_comparison_exp", + transaction:"transaction_bool_exp", + transaction_id:"Int_comparison_exp" + }, + token_address_history_constraint: "enum" as const, + token_address_history_inc_input:{ + amount:"bigint" + }, + token_address_history_insert_input:{ + amount:"bigint", + date_created:"timestamp", + token:"token_obj_rel_insert_input", + transaction:"transaction_obj_rel_insert_input" + }, + token_address_history_max_order_by:{ + action:"order_by", + amount:"order_by", + chain_id:"order_by", + date_created:"order_by", + height:"order_by", + id:"order_by", + receiver:"order_by", + sender:"order_by", + token_id:"order_by", + transaction_id:"order_by" + }, + token_address_history_min_order_by:{ + action:"order_by", + amount:"order_by", + chain_id:"order_by", + date_created:"order_by", + height:"order_by", + id:"order_by", + receiver:"order_by", + sender:"order_by", + token_id:"order_by", + transaction_id:"order_by" + }, + token_address_history_on_conflict:{ + constraint:"token_address_history_constraint", + update_columns:"token_address_history_update_column", + where:"token_address_history_bool_exp" + }, + token_address_history_order_by:{ + action:"order_by", + amount:"order_by", + chain_id:"order_by", + date_created:"order_by", + height:"order_by", + id:"order_by", + receiver:"order_by", + sender:"order_by", + token:"token_order_by", + token_id:"order_by", + transaction:"transaction_order_by", + transaction_id:"order_by" + }, + token_address_history_pk_columns_input:{ + }, token_address_history_select_column: "enum" as const, - token_address_history_stddev_order_by: { - amount: "order_by", - height: "order_by", - id: "order_by", - token_id: "order_by", - transaction_id: "order_by" - }, - token_address_history_stddev_pop_order_by: { - amount: "order_by", - height: "order_by", - id: "order_by", - token_id: "order_by", - transaction_id: "order_by" - }, - token_address_history_stddev_samp_order_by: { - amount: "order_by", - height: "order_by", - id: "order_by", - token_id: "order_by", - transaction_id: "order_by" - }, - token_address_history_stream_cursor_input: { - initial_value: "token_address_history_stream_cursor_value_input", - ordering: "cursor_ordering" - }, - token_address_history_stream_cursor_value_input: { - amount: "bigint", - date_created: "timestamp" - }, - token_address_history_sum_order_by: { - amount: "order_by", - height: "order_by", - id: "order_by", - token_id: "order_by", - transaction_id: "order_by" - }, - token_address_history_var_pop_order_by: { - amount: "order_by", - height: "order_by", - id: "order_by", - token_id: "order_by", - transaction_id: "order_by" - }, - token_address_history_var_samp_order_by: { - amount: "order_by", - height: "order_by", - id: "order_by", - token_id: "order_by", - transaction_id: "order_by" - }, - token_address_history_variance_order_by: { - amount: "order_by", - height: "order_by", - id: "order_by", - token_id: "order_by", - transaction_id: "order_by" - }, - token_bool_exp: { - _and: "token_bool_exp", - _not: "token_bool_exp", - _or: "token_bool_exp", - chain_id: "String_comparison_exp", - circulating_supply: "bigint_comparison_exp", - content_path: "String_comparison_exp", - content_size_bytes: "Int_comparison_exp", - creator: "String_comparison_exp", - current_owner: "String_comparison_exp", - date_created: "timestamp_comparison_exp", - decimals: "smallint_comparison_exp", - height: "Int_comparison_exp", - id: "Int_comparison_exp", - last_price_base: "bigint_comparison_exp", - launch_timestamp: "bigint_comparison_exp", - marketplace_cft20_details: "marketplace_cft20_detail_bool_exp", - max_supply: "numeric_comparison_exp", - metadata: "String_comparison_exp", - mint_page: "String_comparison_exp", - name: "String_comparison_exp", - per_mint_limit: "bigint_comparison_exp", - ticker: "String_comparison_exp", - token_address_histories: "token_address_history_bool_exp", - token_holders: "token_holder_bool_exp", - token_open_positions: "token_open_position_bool_exp", - token_trade_histories: "token_trade_history_bool_exp", - transaction: "transaction_bool_exp", - transaction_id: "Int_comparison_exp", - version: "String_comparison_exp", - volume_24_base: "bigint_comparison_exp" - }, - token_holder_aggregate_order_by: { - avg: "token_holder_avg_order_by", - count: "order_by", - max: "token_holder_max_order_by", - min: "token_holder_min_order_by", - stddev: "token_holder_stddev_order_by", - stddev_pop: "token_holder_stddev_pop_order_by", - stddev_samp: "token_holder_stddev_samp_order_by", - sum: "token_holder_sum_order_by", - var_pop: "token_holder_var_pop_order_by", - var_samp: "token_holder_var_samp_order_by", - variance: "token_holder_variance_order_by" - }, - token_holder_avg_order_by: { - amount: "order_by", - id: "order_by", - token_id: "order_by" - }, - token_holder_bool_exp: { - _and: "token_holder_bool_exp", - _not: "token_holder_bool_exp", - _or: "token_holder_bool_exp", - address: "String_comparison_exp", - amount: "bigint_comparison_exp", - chain_id: "String_comparison_exp", - date_updated: "timestamp_comparison_exp", - id: "Int_comparison_exp", - token: "token_bool_exp", - token_id: "Int_comparison_exp" - }, - token_holder_max_order_by: { - address: "order_by", - amount: "order_by", - chain_id: "order_by", - date_updated: "order_by", - id: "order_by", - token_id: "order_by" - }, - token_holder_min_order_by: { - address: "order_by", - amount: "order_by", - chain_id: "order_by", - date_updated: "order_by", - id: "order_by", - token_id: "order_by" - }, - token_holder_order_by: { - address: "order_by", - amount: "order_by", - chain_id: "order_by", - date_updated: "order_by", - id: "order_by", - token: "token_order_by", - token_id: "order_by" + token_address_history_set_input:{ + amount:"bigint", + date_created:"timestamp" + }, + token_address_history_stddev_order_by:{ + amount:"order_by", + height:"order_by", + id:"order_by", + token_id:"order_by", + transaction_id:"order_by" + }, + token_address_history_stddev_pop_order_by:{ + amount:"order_by", + height:"order_by", + id:"order_by", + token_id:"order_by", + transaction_id:"order_by" + }, + token_address_history_stddev_samp_order_by:{ + amount:"order_by", + height:"order_by", + id:"order_by", + token_id:"order_by", + transaction_id:"order_by" + }, + token_address_history_stream_cursor_input:{ + initial_value:"token_address_history_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + token_address_history_stream_cursor_value_input:{ + amount:"bigint", + date_created:"timestamp" + }, + token_address_history_sum_order_by:{ + amount:"order_by", + height:"order_by", + id:"order_by", + token_id:"order_by", + transaction_id:"order_by" + }, + token_address_history_update_column: "enum" as const, + token_address_history_updates:{ + _inc:"token_address_history_inc_input", + _set:"token_address_history_set_input", + where:"token_address_history_bool_exp" + }, + token_address_history_var_pop_order_by:{ + amount:"order_by", + height:"order_by", + id:"order_by", + token_id:"order_by", + transaction_id:"order_by" + }, + token_address_history_var_samp_order_by:{ + amount:"order_by", + height:"order_by", + id:"order_by", + token_id:"order_by", + transaction_id:"order_by" + }, + token_address_history_variance_order_by:{ + amount:"order_by", + height:"order_by", + id:"order_by", + token_id:"order_by", + transaction_id:"order_by" + }, + token_aggregate_bool_exp:{ + bool_and:"token_aggregate_bool_exp_bool_and", + bool_or:"token_aggregate_bool_exp_bool_or", + count:"token_aggregate_bool_exp_count" + }, + token_aggregate_bool_exp_bool_and:{ + arguments:"token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns", + filter:"token_bool_exp", + predicate:"Boolean_comparison_exp" + }, + token_aggregate_bool_exp_bool_or:{ + arguments:"token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns", + filter:"token_bool_exp", + predicate:"Boolean_comparison_exp" + }, + token_aggregate_bool_exp_count:{ + arguments:"token_select_column", + filter:"token_bool_exp", + predicate:"Int_comparison_exp" + }, + token_aggregate_fields:{ + count:{ + columns:"token_select_column" + } + }, + token_aggregate_order_by:{ + avg:"token_avg_order_by", + count:"order_by", + max:"token_max_order_by", + min:"token_min_order_by", + stddev:"token_stddev_order_by", + stddev_pop:"token_stddev_pop_order_by", + stddev_samp:"token_stddev_samp_order_by", + sum:"token_sum_order_by", + var_pop:"token_var_pop_order_by", + var_samp:"token_var_samp_order_by", + variance:"token_variance_order_by" + }, + token_arr_rel_insert_input:{ + data:"token_insert_input", + on_conflict:"token_on_conflict" + }, + token_avg_order_by:{ + circulating_supply:"order_by", + content_size_bytes:"order_by", + decimals:"order_by", + height:"order_by", + id:"order_by", + last_price_base:"order_by", + launch_timestamp:"order_by", + max_supply:"order_by", + per_mint_limit:"order_by", + transaction_id:"order_by", + volume_24_base:"order_by" + }, + token_bool_exp:{ + _and:"token_bool_exp", + _not:"token_bool_exp", + _or:"token_bool_exp", + chain_id:"String_comparison_exp", + circulating_supply:"bigint_comparison_exp", + content_path:"String_comparison_exp", + content_size_bytes:"Int_comparison_exp", + creator:"String_comparison_exp", + current_owner:"String_comparison_exp", + date_created:"timestamp_comparison_exp", + decimals:"smallint_comparison_exp", + height:"Int_comparison_exp", + id:"Int_comparison_exp", + is_explicit:"Boolean_comparison_exp", + last_price_base:"bigint_comparison_exp", + launch_timestamp:"bigint_comparison_exp", + marketplace_cft20_details:"marketplace_cft20_detail_bool_exp", + marketplace_cft20_details_aggregate:"marketplace_cft20_detail_aggregate_bool_exp", + marketplace_cft20_trade_histories:"marketplace_cft20_trade_history_bool_exp", + marketplace_cft20_trade_histories_aggregate:"marketplace_cft20_trade_history_aggregate_bool_exp", + max_supply:"numeric_comparison_exp", + metadata:"String_comparison_exp", + mint_page:"String_comparison_exp", + name:"String_comparison_exp", + per_mint_limit:"bigint_comparison_exp", + ticker:"String_comparison_exp", + token_address_histories:"token_address_history_bool_exp", + token_address_histories_aggregate:"token_address_history_aggregate_bool_exp", + token_holders:"token_holder_bool_exp", + token_holders_aggregate:"token_holder_aggregate_bool_exp", + token_open_positions:"token_open_position_bool_exp", + token_open_positions_aggregate:"token_open_position_aggregate_bool_exp", + token_trade_histories:"token_trade_history_bool_exp", + token_trade_histories_aggregate:"token_trade_history_aggregate_bool_exp", + transaction:"transaction_bool_exp", + transaction_id:"Int_comparison_exp", + version:"String_comparison_exp", + volume_24_base:"bigint_comparison_exp" + }, + token_constraint: "enum" as const, + token_holder_aggregate_bool_exp:{ + count:"token_holder_aggregate_bool_exp_count" + }, + token_holder_aggregate_bool_exp_count:{ + arguments:"token_holder_select_column", + filter:"token_holder_bool_exp", + predicate:"Int_comparison_exp" + }, + token_holder_aggregate_fields:{ + count:{ + columns:"token_holder_select_column" + } + }, + token_holder_aggregate_order_by:{ + avg:"token_holder_avg_order_by", + count:"order_by", + max:"token_holder_max_order_by", + min:"token_holder_min_order_by", + stddev:"token_holder_stddev_order_by", + stddev_pop:"token_holder_stddev_pop_order_by", + stddev_samp:"token_holder_stddev_samp_order_by", + sum:"token_holder_sum_order_by", + var_pop:"token_holder_var_pop_order_by", + var_samp:"token_holder_var_samp_order_by", + variance:"token_holder_variance_order_by" + }, + token_holder_arr_rel_insert_input:{ + data:"token_holder_insert_input", + on_conflict:"token_holder_on_conflict" + }, + token_holder_avg_order_by:{ + amount:"order_by", + id:"order_by", + token_id:"order_by" + }, + token_holder_bool_exp:{ + _and:"token_holder_bool_exp", + _not:"token_holder_bool_exp", + _or:"token_holder_bool_exp", + address:"String_comparison_exp", + amount:"bigint_comparison_exp", + chain_id:"String_comparison_exp", + date_updated:"timestamp_comparison_exp", + id:"Int_comparison_exp", + token:"token_bool_exp", + token_id:"Int_comparison_exp" + }, + token_holder_constraint: "enum" as const, + token_holder_inc_input:{ + amount:"bigint" + }, + token_holder_insert_input:{ + amount:"bigint", + date_updated:"timestamp", + token:"token_obj_rel_insert_input" + }, + token_holder_max_order_by:{ + address:"order_by", + amount:"order_by", + chain_id:"order_by", + date_updated:"order_by", + id:"order_by", + token_id:"order_by" + }, + token_holder_min_order_by:{ + address:"order_by", + amount:"order_by", + chain_id:"order_by", + date_updated:"order_by", + id:"order_by", + token_id:"order_by" + }, + token_holder_on_conflict:{ + constraint:"token_holder_constraint", + update_columns:"token_holder_update_column", + where:"token_holder_bool_exp" + }, + token_holder_order_by:{ + address:"order_by", + amount:"order_by", + chain_id:"order_by", + date_updated:"order_by", + id:"order_by", + token:"token_order_by", + token_id:"order_by" + }, + token_holder_pk_columns_input:{ + }, token_holder_select_column: "enum" as const, - token_holder_stddev_order_by: { - amount: "order_by", - id: "order_by", - token_id: "order_by" - }, - token_holder_stddev_pop_order_by: { - amount: "order_by", - id: "order_by", - token_id: "order_by" - }, - token_holder_stddev_samp_order_by: { - amount: "order_by", - id: "order_by", - token_id: "order_by" - }, - token_holder_stream_cursor_input: { - initial_value: "token_holder_stream_cursor_value_input", - ordering: "cursor_ordering" - }, - token_holder_stream_cursor_value_input: { - amount: "bigint", - date_updated: "timestamp" - }, - token_holder_sum_order_by: { - amount: "order_by", - id: "order_by", - token_id: "order_by" - }, - token_holder_var_pop_order_by: { - amount: "order_by", - id: "order_by", - token_id: "order_by" - }, - token_holder_var_samp_order_by: { - amount: "order_by", - id: "order_by", - token_id: "order_by" - }, - token_holder_variance_order_by: { - amount: "order_by", - id: "order_by", - token_id: "order_by" - }, - token_open_position_aggregate_order_by: { - avg: "token_open_position_avg_order_by", - count: "order_by", - max: "token_open_position_max_order_by", - min: "token_open_position_min_order_by", - stddev: "token_open_position_stddev_order_by", - stddev_pop: "token_open_position_stddev_pop_order_by", - stddev_samp: "token_open_position_stddev_samp_order_by", - sum: "token_open_position_sum_order_by", - var_pop: "token_open_position_var_pop_order_by", - var_samp: "token_open_position_var_samp_order_by", - variance: "token_open_position_variance_order_by" - }, - token_open_position_avg_order_by: { - amount: "order_by", - id: "order_by", - ppt: "order_by", - reserve_expires_block: "order_by", - token_id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - token_open_position_bool_exp: { - _and: "token_open_position_bool_exp", - _not: "token_open_position_bool_exp", - _or: "token_open_position_bool_exp", - amount: "bigint_comparison_exp", - chain_id: "String_comparison_exp", - date_created: "timestamp_comparison_exp", - date_filled: "timestamp_comparison_exp", - id: "Int_comparison_exp", - is_cancelled: "Boolean_comparison_exp", - is_filled: "Boolean_comparison_exp", - is_reserved: "Boolean_comparison_exp", - ppt: "bigint_comparison_exp", - reserve_expires_block: "Int_comparison_exp", - reserved_by: "String_comparison_exp", - seller_address: "String_comparison_exp", - token: "token_bool_exp", - token_id: "Int_comparison_exp", - total: "bigint_comparison_exp", - transaction: "transaction_bool_exp", - transaction_id: "Int_comparison_exp" - }, - token_open_position_max_order_by: { - amount: "order_by", - chain_id: "order_by", - date_created: "order_by", - date_filled: "order_by", - id: "order_by", - ppt: "order_by", - reserve_expires_block: "order_by", - reserved_by: "order_by", - seller_address: "order_by", - token_id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - token_open_position_min_order_by: { - amount: "order_by", - chain_id: "order_by", - date_created: "order_by", - date_filled: "order_by", - id: "order_by", - ppt: "order_by", - reserve_expires_block: "order_by", - reserved_by: "order_by", - seller_address: "order_by", - token_id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - token_open_position_order_by: { - amount: "order_by", - chain_id: "order_by", - date_created: "order_by", - date_filled: "order_by", - id: "order_by", - is_cancelled: "order_by", - is_filled: "order_by", - is_reserved: "order_by", - ppt: "order_by", - reserve_expires_block: "order_by", - reserved_by: "order_by", - seller_address: "order_by", - token: "token_order_by", - token_id: "order_by", - total: "order_by", - transaction: "transaction_order_by", - transaction_id: "order_by" + token_holder_set_input:{ + amount:"bigint", + date_updated:"timestamp" + }, + token_holder_stddev_order_by:{ + amount:"order_by", + id:"order_by", + token_id:"order_by" + }, + token_holder_stddev_pop_order_by:{ + amount:"order_by", + id:"order_by", + token_id:"order_by" + }, + token_holder_stddev_samp_order_by:{ + amount:"order_by", + id:"order_by", + token_id:"order_by" + }, + token_holder_stream_cursor_input:{ + initial_value:"token_holder_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + token_holder_stream_cursor_value_input:{ + amount:"bigint", + date_updated:"timestamp" + }, + token_holder_sum_order_by:{ + amount:"order_by", + id:"order_by", + token_id:"order_by" + }, + token_holder_update_column: "enum" as const, + token_holder_updates:{ + _inc:"token_holder_inc_input", + _set:"token_holder_set_input", + where:"token_holder_bool_exp" + }, + token_holder_var_pop_order_by:{ + amount:"order_by", + id:"order_by", + token_id:"order_by" + }, + token_holder_var_samp_order_by:{ + amount:"order_by", + id:"order_by", + token_id:"order_by" + }, + token_holder_variance_order_by:{ + amount:"order_by", + id:"order_by", + token_id:"order_by" + }, + token_inc_input:{ + circulating_supply:"bigint", + decimals:"smallint", + last_price_base:"bigint", + launch_timestamp:"bigint", + max_supply:"numeric", + per_mint_limit:"bigint", + volume_24_base:"bigint" + }, + token_insert_input:{ + circulating_supply:"bigint", + date_created:"timestamp", + decimals:"smallint", + last_price_base:"bigint", + launch_timestamp:"bigint", + marketplace_cft20_details:"marketplace_cft20_detail_arr_rel_insert_input", + marketplace_cft20_trade_histories:"marketplace_cft20_trade_history_arr_rel_insert_input", + max_supply:"numeric", + per_mint_limit:"bigint", + token_address_histories:"token_address_history_arr_rel_insert_input", + token_holders:"token_holder_arr_rel_insert_input", + token_open_positions:"token_open_position_arr_rel_insert_input", + token_trade_histories:"token_trade_history_arr_rel_insert_input", + transaction:"transaction_obj_rel_insert_input", + volume_24_base:"bigint" + }, + token_max_order_by:{ + chain_id:"order_by", + circulating_supply:"order_by", + content_path:"order_by", + content_size_bytes:"order_by", + creator:"order_by", + current_owner:"order_by", + date_created:"order_by", + decimals:"order_by", + height:"order_by", + id:"order_by", + last_price_base:"order_by", + launch_timestamp:"order_by", + max_supply:"order_by", + metadata:"order_by", + mint_page:"order_by", + name:"order_by", + per_mint_limit:"order_by", + ticker:"order_by", + transaction_id:"order_by", + version:"order_by", + volume_24_base:"order_by" + }, + token_min_order_by:{ + chain_id:"order_by", + circulating_supply:"order_by", + content_path:"order_by", + content_size_bytes:"order_by", + creator:"order_by", + current_owner:"order_by", + date_created:"order_by", + decimals:"order_by", + height:"order_by", + id:"order_by", + last_price_base:"order_by", + launch_timestamp:"order_by", + max_supply:"order_by", + metadata:"order_by", + mint_page:"order_by", + name:"order_by", + per_mint_limit:"order_by", + ticker:"order_by", + transaction_id:"order_by", + version:"order_by", + volume_24_base:"order_by" + }, + token_obj_rel_insert_input:{ + data:"token_insert_input", + on_conflict:"token_on_conflict" + }, + token_on_conflict:{ + constraint:"token_constraint", + update_columns:"token_update_column", + where:"token_bool_exp" + }, + token_open_position_aggregate_bool_exp:{ + bool_and:"token_open_position_aggregate_bool_exp_bool_and", + bool_or:"token_open_position_aggregate_bool_exp_bool_or", + count:"token_open_position_aggregate_bool_exp_count" + }, + token_open_position_aggregate_bool_exp_bool_and:{ + arguments:"token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns", + filter:"token_open_position_bool_exp", + predicate:"Boolean_comparison_exp" + }, + token_open_position_aggregate_bool_exp_bool_or:{ + arguments:"token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns", + filter:"token_open_position_bool_exp", + predicate:"Boolean_comparison_exp" + }, + token_open_position_aggregate_bool_exp_count:{ + arguments:"token_open_position_select_column", + filter:"token_open_position_bool_exp", + predicate:"Int_comparison_exp" + }, + token_open_position_aggregate_fields:{ + count:{ + columns:"token_open_position_select_column" + } + }, + token_open_position_aggregate_order_by:{ + avg:"token_open_position_avg_order_by", + count:"order_by", + max:"token_open_position_max_order_by", + min:"token_open_position_min_order_by", + stddev:"token_open_position_stddev_order_by", + stddev_pop:"token_open_position_stddev_pop_order_by", + stddev_samp:"token_open_position_stddev_samp_order_by", + sum:"token_open_position_sum_order_by", + var_pop:"token_open_position_var_pop_order_by", + var_samp:"token_open_position_var_samp_order_by", + variance:"token_open_position_variance_order_by" + }, + token_open_position_arr_rel_insert_input:{ + data:"token_open_position_insert_input", + on_conflict:"token_open_position_on_conflict" + }, + token_open_position_avg_order_by:{ + amount:"order_by", + id:"order_by", + ppt:"order_by", + token_id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + token_open_position_bool_exp:{ + _and:"token_open_position_bool_exp", + _not:"token_open_position_bool_exp", + _or:"token_open_position_bool_exp", + amount:"bigint_comparison_exp", + chain_id:"String_comparison_exp", + date_created:"timestamp_comparison_exp", + date_filled:"timestamp_comparison_exp", + id:"Int_comparison_exp", + is_cancelled:"Boolean_comparison_exp", + is_filled:"Boolean_comparison_exp", + ppt:"bigint_comparison_exp", + seller_address:"String_comparison_exp", + token:"token_bool_exp", + token_id:"Int_comparison_exp", + total:"bigint_comparison_exp", + transaction:"transaction_bool_exp", + transaction_id:"Int_comparison_exp" + }, + token_open_position_constraint: "enum" as const, + token_open_position_inc_input:{ + amount:"bigint", + ppt:"bigint", + total:"bigint" + }, + token_open_position_insert_input:{ + amount:"bigint", + date_created:"timestamp", + date_filled:"timestamp", + ppt:"bigint", + token:"token_obj_rel_insert_input", + total:"bigint", + transaction:"transaction_obj_rel_insert_input" + }, + token_open_position_max_order_by:{ + amount:"order_by", + chain_id:"order_by", + date_created:"order_by", + date_filled:"order_by", + id:"order_by", + ppt:"order_by", + seller_address:"order_by", + token_id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + token_open_position_min_order_by:{ + amount:"order_by", + chain_id:"order_by", + date_created:"order_by", + date_filled:"order_by", + id:"order_by", + ppt:"order_by", + seller_address:"order_by", + token_id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + token_open_position_on_conflict:{ + constraint:"token_open_position_constraint", + update_columns:"token_open_position_update_column", + where:"token_open_position_bool_exp" + }, + token_open_position_order_by:{ + amount:"order_by", + chain_id:"order_by", + date_created:"order_by", + date_filled:"order_by", + id:"order_by", + is_cancelled:"order_by", + is_filled:"order_by", + ppt:"order_by", + seller_address:"order_by", + token:"token_order_by", + token_id:"order_by", + total:"order_by", + transaction:"transaction_order_by", + transaction_id:"order_by" + }, + token_open_position_pk_columns_input:{ + }, token_open_position_select_column: "enum" as const, - token_open_position_stddev_order_by: { - amount: "order_by", - id: "order_by", - ppt: "order_by", - reserve_expires_block: "order_by", - token_id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - token_open_position_stddev_pop_order_by: { - amount: "order_by", - id: "order_by", - ppt: "order_by", - reserve_expires_block: "order_by", - token_id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - token_open_position_stddev_samp_order_by: { - amount: "order_by", - id: "order_by", - ppt: "order_by", - reserve_expires_block: "order_by", - token_id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - token_open_position_stream_cursor_input: { - initial_value: "token_open_position_stream_cursor_value_input", - ordering: "cursor_ordering" - }, - token_open_position_stream_cursor_value_input: { - amount: "bigint", - date_created: "timestamp", - date_filled: "timestamp", - ppt: "bigint", - total: "bigint" - }, - token_open_position_sum_order_by: { - amount: "order_by", - id: "order_by", - ppt: "order_by", - reserve_expires_block: "order_by", - token_id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - token_open_position_var_pop_order_by: { - amount: "order_by", - id: "order_by", - ppt: "order_by", - reserve_expires_block: "order_by", - token_id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - token_open_position_var_samp_order_by: { - amount: "order_by", - id: "order_by", - ppt: "order_by", - reserve_expires_block: "order_by", - token_id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - token_open_position_variance_order_by: { - amount: "order_by", - id: "order_by", - ppt: "order_by", - reserve_expires_block: "order_by", - token_id: "order_by", - total: "order_by", - transaction_id: "order_by" - }, - token_order_by: { - chain_id: "order_by", - circulating_supply: "order_by", - content_path: "order_by", - content_size_bytes: "order_by", - creator: "order_by", - current_owner: "order_by", - date_created: "order_by", - decimals: "order_by", - height: "order_by", - id: "order_by", - last_price_base: "order_by", - launch_timestamp: "order_by", - marketplace_cft20_details_aggregate: "marketplace_cft20_detail_aggregate_order_by", - max_supply: "order_by", - metadata: "order_by", - mint_page: "order_by", - name: "order_by", - per_mint_limit: "order_by", - ticker: "order_by", - token_address_histories_aggregate: "token_address_history_aggregate_order_by", - token_holders_aggregate: "token_holder_aggregate_order_by", - token_open_positions_aggregate: "token_open_position_aggregate_order_by", - token_trade_histories_aggregate: "token_trade_history_aggregate_order_by", - transaction: "transaction_order_by", - transaction_id: "order_by", - version: "order_by", - volume_24_base: "order_by" + token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns: "enum" as const, + token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns: "enum" as const, + token_open_position_set_input:{ + amount:"bigint", + date_created:"timestamp", + date_filled:"timestamp", + ppt:"bigint", + total:"bigint" + }, + token_open_position_stddev_order_by:{ + amount:"order_by", + id:"order_by", + ppt:"order_by", + token_id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + token_open_position_stddev_pop_order_by:{ + amount:"order_by", + id:"order_by", + ppt:"order_by", + token_id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + token_open_position_stddev_samp_order_by:{ + amount:"order_by", + id:"order_by", + ppt:"order_by", + token_id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + token_open_position_stream_cursor_input:{ + initial_value:"token_open_position_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + token_open_position_stream_cursor_value_input:{ + amount:"bigint", + date_created:"timestamp", + date_filled:"timestamp", + ppt:"bigint", + total:"bigint" + }, + token_open_position_sum_order_by:{ + amount:"order_by", + id:"order_by", + ppt:"order_by", + token_id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + token_open_position_update_column: "enum" as const, + token_open_position_updates:{ + _inc:"token_open_position_inc_input", + _set:"token_open_position_set_input", + where:"token_open_position_bool_exp" + }, + token_open_position_var_pop_order_by:{ + amount:"order_by", + id:"order_by", + ppt:"order_by", + token_id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + token_open_position_var_samp_order_by:{ + amount:"order_by", + id:"order_by", + ppt:"order_by", + token_id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + token_open_position_variance_order_by:{ + amount:"order_by", + id:"order_by", + ppt:"order_by", + token_id:"order_by", + total:"order_by", + transaction_id:"order_by" + }, + token_order_by:{ + chain_id:"order_by", + circulating_supply:"order_by", + content_path:"order_by", + content_size_bytes:"order_by", + creator:"order_by", + current_owner:"order_by", + date_created:"order_by", + decimals:"order_by", + height:"order_by", + id:"order_by", + is_explicit:"order_by", + last_price_base:"order_by", + launch_timestamp:"order_by", + marketplace_cft20_details_aggregate:"marketplace_cft20_detail_aggregate_order_by", + marketplace_cft20_trade_histories_aggregate:"marketplace_cft20_trade_history_aggregate_order_by", + max_supply:"order_by", + metadata:"order_by", + mint_page:"order_by", + name:"order_by", + per_mint_limit:"order_by", + ticker:"order_by", + token_address_histories_aggregate:"token_address_history_aggregate_order_by", + token_holders_aggregate:"token_holder_aggregate_order_by", + token_open_positions_aggregate:"token_open_position_aggregate_order_by", + token_trade_histories_aggregate:"token_trade_history_aggregate_order_by", + transaction:"transaction_order_by", + transaction_id:"order_by", + version:"order_by", + volume_24_base:"order_by" + }, + token_pk_columns_input:{ + }, token_select_column: "enum" as const, - token_stream_cursor_input: { - initial_value: "token_stream_cursor_value_input", - ordering: "cursor_ordering" - }, - token_stream_cursor_value_input: { - circulating_supply: "bigint", - date_created: "timestamp", - decimals: "smallint", - last_price_base: "bigint", - launch_timestamp: "bigint", - max_supply: "numeric", - per_mint_limit: "bigint", - volume_24_base: "bigint" - }, - token_trade_history_aggregate_order_by: { - avg: "token_trade_history_avg_order_by", - count: "order_by", - max: "token_trade_history_max_order_by", - min: "token_trade_history_min_order_by", - stddev: "token_trade_history_stddev_order_by", - stddev_pop: "token_trade_history_stddev_pop_order_by", - stddev_samp: "token_trade_history_stddev_samp_order_by", - sum: "token_trade_history_sum_order_by", - var_pop: "token_trade_history_var_pop_order_by", - var_samp: "token_trade_history_var_samp_order_by", - variance: "token_trade_history_variance_order_by" - }, - token_trade_history_avg_order_by: { - amount_base: "order_by", - amount_quote: "order_by", - id: "order_by", - rate: "order_by", - token_id: "order_by", - total_usd: "order_by", - transaction_id: "order_by" - }, - token_trade_history_bool_exp: { - _and: "token_trade_history_bool_exp", - _not: "token_trade_history_bool_exp", - _or: "token_trade_history_bool_exp", - amount_base: "bigint_comparison_exp", - amount_quote: "bigint_comparison_exp", - buyer_address: "String_comparison_exp", - chain_id: "String_comparison_exp", - date_created: "timestamp_comparison_exp", - id: "Int_comparison_exp", - rate: "bigint_comparison_exp", - seller_address: "String_comparison_exp", - token: "token_bool_exp", - token_id: "Int_comparison_exp", - total_usd: "Float_comparison_exp", - transaction: "transaction_bool_exp", - transaction_id: "Int_comparison_exp" - }, - token_trade_history_max_order_by: { - amount_base: "order_by", - amount_quote: "order_by", - buyer_address: "order_by", - chain_id: "order_by", - date_created: "order_by", - id: "order_by", - rate: "order_by", - seller_address: "order_by", - token_id: "order_by", - total_usd: "order_by", - transaction_id: "order_by" - }, - token_trade_history_min_order_by: { - amount_base: "order_by", - amount_quote: "order_by", - buyer_address: "order_by", - chain_id: "order_by", - date_created: "order_by", - id: "order_by", - rate: "order_by", - seller_address: "order_by", - token_id: "order_by", - total_usd: "order_by", - transaction_id: "order_by" - }, - token_trade_history_order_by: { - amount_base: "order_by", - amount_quote: "order_by", - buyer_address: "order_by", - chain_id: "order_by", - date_created: "order_by", - id: "order_by", - rate: "order_by", - seller_address: "order_by", - token: "token_order_by", - token_id: "order_by", - total_usd: "order_by", - transaction: "transaction_order_by", - transaction_id: "order_by" + token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns: "enum" as const, + token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns: "enum" as const, + token_set_input:{ + circulating_supply:"bigint", + date_created:"timestamp", + decimals:"smallint", + last_price_base:"bigint", + launch_timestamp:"bigint", + max_supply:"numeric", + per_mint_limit:"bigint", + volume_24_base:"bigint" + }, + token_stddev_order_by:{ + circulating_supply:"order_by", + content_size_bytes:"order_by", + decimals:"order_by", + height:"order_by", + id:"order_by", + last_price_base:"order_by", + launch_timestamp:"order_by", + max_supply:"order_by", + per_mint_limit:"order_by", + transaction_id:"order_by", + volume_24_base:"order_by" + }, + token_stddev_pop_order_by:{ + circulating_supply:"order_by", + content_size_bytes:"order_by", + decimals:"order_by", + height:"order_by", + id:"order_by", + last_price_base:"order_by", + launch_timestamp:"order_by", + max_supply:"order_by", + per_mint_limit:"order_by", + transaction_id:"order_by", + volume_24_base:"order_by" + }, + token_stddev_samp_order_by:{ + circulating_supply:"order_by", + content_size_bytes:"order_by", + decimals:"order_by", + height:"order_by", + id:"order_by", + last_price_base:"order_by", + launch_timestamp:"order_by", + max_supply:"order_by", + per_mint_limit:"order_by", + transaction_id:"order_by", + volume_24_base:"order_by" + }, + token_stream_cursor_input:{ + initial_value:"token_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + token_stream_cursor_value_input:{ + circulating_supply:"bigint", + date_created:"timestamp", + decimals:"smallint", + last_price_base:"bigint", + launch_timestamp:"bigint", + max_supply:"numeric", + per_mint_limit:"bigint", + volume_24_base:"bigint" + }, + token_sum_order_by:{ + circulating_supply:"order_by", + content_size_bytes:"order_by", + decimals:"order_by", + height:"order_by", + id:"order_by", + last_price_base:"order_by", + launch_timestamp:"order_by", + max_supply:"order_by", + per_mint_limit:"order_by", + transaction_id:"order_by", + volume_24_base:"order_by" + }, + token_trade_history_aggregate_bool_exp:{ + count:"token_trade_history_aggregate_bool_exp_count" + }, + token_trade_history_aggregate_bool_exp_count:{ + arguments:"token_trade_history_select_column", + filter:"token_trade_history_bool_exp", + predicate:"Int_comparison_exp" + }, + token_trade_history_aggregate_fields:{ + count:{ + columns:"token_trade_history_select_column" + } + }, + token_trade_history_aggregate_order_by:{ + avg:"token_trade_history_avg_order_by", + count:"order_by", + max:"token_trade_history_max_order_by", + min:"token_trade_history_min_order_by", + stddev:"token_trade_history_stddev_order_by", + stddev_pop:"token_trade_history_stddev_pop_order_by", + stddev_samp:"token_trade_history_stddev_samp_order_by", + sum:"token_trade_history_sum_order_by", + var_pop:"token_trade_history_var_pop_order_by", + var_samp:"token_trade_history_var_samp_order_by", + variance:"token_trade_history_variance_order_by" + }, + token_trade_history_arr_rel_insert_input:{ + data:"token_trade_history_insert_input", + on_conflict:"token_trade_history_on_conflict" + }, + token_trade_history_avg_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + token_trade_history_bool_exp:{ + _and:"token_trade_history_bool_exp", + _not:"token_trade_history_bool_exp", + _or:"token_trade_history_bool_exp", + amount_base:"bigint_comparison_exp", + amount_quote:"bigint_comparison_exp", + buyer_address:"String_comparison_exp", + chain_id:"String_comparison_exp", + date_created:"timestamp_comparison_exp", + id:"Int_comparison_exp", + rate:"Int_comparison_exp", + seller_address:"String_comparison_exp", + token:"token_bool_exp", + token_id:"Int_comparison_exp", + total_usd:"Float_comparison_exp", + transaction:"transaction_bool_exp", + transaction_id:"Int_comparison_exp" + }, + token_trade_history_constraint: "enum" as const, + token_trade_history_inc_input:{ + amount_base:"bigint", + amount_quote:"bigint" + }, + token_trade_history_insert_input:{ + amount_base:"bigint", + amount_quote:"bigint", + date_created:"timestamp", + token:"token_obj_rel_insert_input", + transaction:"transaction_obj_rel_insert_input" + }, + token_trade_history_max_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + buyer_address:"order_by", + chain_id:"order_by", + date_created:"order_by", + id:"order_by", + rate:"order_by", + seller_address:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + token_trade_history_min_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + buyer_address:"order_by", + chain_id:"order_by", + date_created:"order_by", + id:"order_by", + rate:"order_by", + seller_address:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + token_trade_history_on_conflict:{ + constraint:"token_trade_history_constraint", + update_columns:"token_trade_history_update_column", + where:"token_trade_history_bool_exp" + }, + token_trade_history_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + buyer_address:"order_by", + chain_id:"order_by", + date_created:"order_by", + id:"order_by", + rate:"order_by", + seller_address:"order_by", + token:"token_order_by", + token_id:"order_by", + total_usd:"order_by", + transaction:"transaction_order_by", + transaction_id:"order_by" + }, + token_trade_history_pk_columns_input:{ + }, token_trade_history_select_column: "enum" as const, - token_trade_history_stddev_order_by: { - amount_base: "order_by", - amount_quote: "order_by", - id: "order_by", - rate: "order_by", - token_id: "order_by", - total_usd: "order_by", - transaction_id: "order_by" - }, - token_trade_history_stddev_pop_order_by: { - amount_base: "order_by", - amount_quote: "order_by", - id: "order_by", - rate: "order_by", - token_id: "order_by", - total_usd: "order_by", - transaction_id: "order_by" - }, - token_trade_history_stddev_samp_order_by: { - amount_base: "order_by", - amount_quote: "order_by", - id: "order_by", - rate: "order_by", - token_id: "order_by", - total_usd: "order_by", - transaction_id: "order_by" - }, - token_trade_history_stream_cursor_input: { - initial_value: "token_trade_history_stream_cursor_value_input", - ordering: "cursor_ordering" - }, - token_trade_history_stream_cursor_value_input: { - amount_base: "bigint", - amount_quote: "bigint", - date_created: "timestamp", - rate: "bigint" - }, - token_trade_history_sum_order_by: { - amount_base: "order_by", - amount_quote: "order_by", - id: "order_by", - rate: "order_by", - token_id: "order_by", - total_usd: "order_by", - transaction_id: "order_by" - }, - token_trade_history_var_pop_order_by: { - amount_base: "order_by", - amount_quote: "order_by", - id: "order_by", - rate: "order_by", - token_id: "order_by", - total_usd: "order_by", - transaction_id: "order_by" - }, - token_trade_history_var_samp_order_by: { - amount_base: "order_by", - amount_quote: "order_by", - id: "order_by", - rate: "order_by", - token_id: "order_by", - total_usd: "order_by", - transaction_id: "order_by" - }, - token_trade_history_variance_order_by: { - amount_base: "order_by", - amount_quote: "order_by", - id: "order_by", - rate: "order_by", - token_id: "order_by", - total_usd: "order_by", - transaction_id: "order_by" - }, - transaction: { - marketplace_listings: { - distinct_on: "marketplace_listing_select_column", - order_by: "marketplace_listing_order_by", - where: "marketplace_listing_bool_exp" - }, - token_open_positions: { - distinct_on: "token_open_position_select_column", - order_by: "token_open_position_order_by", - where: "token_open_position_bool_exp" + token_trade_history_set_input:{ + amount_base:"bigint", + amount_quote:"bigint", + date_created:"timestamp" + }, + token_trade_history_stddev_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + token_trade_history_stddev_pop_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + token_trade_history_stddev_samp_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + token_trade_history_stream_cursor_input:{ + initial_value:"token_trade_history_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + token_trade_history_stream_cursor_value_input:{ + amount_base:"bigint", + amount_quote:"bigint", + date_created:"timestamp" + }, + token_trade_history_sum_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + token_trade_history_update_column: "enum" as const, + token_trade_history_updates:{ + _inc:"token_trade_history_inc_input", + _set:"token_trade_history_set_input", + where:"token_trade_history_bool_exp" + }, + token_trade_history_var_pop_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + token_trade_history_var_samp_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + token_trade_history_variance_order_by:{ + amount_base:"order_by", + amount_quote:"order_by", + id:"order_by", + rate:"order_by", + token_id:"order_by", + total_usd:"order_by", + transaction_id:"order_by" + }, + token_update_column: "enum" as const, + token_updates:{ + _inc:"token_inc_input", + _set:"token_set_input", + where:"token_bool_exp" + }, + token_var_pop_order_by:{ + circulating_supply:"order_by", + content_size_bytes:"order_by", + decimals:"order_by", + height:"order_by", + id:"order_by", + last_price_base:"order_by", + launch_timestamp:"order_by", + max_supply:"order_by", + per_mint_limit:"order_by", + transaction_id:"order_by", + volume_24_base:"order_by" + }, + token_var_samp_order_by:{ + circulating_supply:"order_by", + content_size_bytes:"order_by", + decimals:"order_by", + height:"order_by", + id:"order_by", + last_price_base:"order_by", + launch_timestamp:"order_by", + max_supply:"order_by", + per_mint_limit:"order_by", + transaction_id:"order_by", + volume_24_base:"order_by" + }, + token_variance_order_by:{ + circulating_supply:"order_by", + content_size_bytes:"order_by", + decimals:"order_by", + height:"order_by", + id:"order_by", + last_price_base:"order_by", + launch_timestamp:"order_by", + max_supply:"order_by", + per_mint_limit:"order_by", + transaction_id:"order_by", + volume_24_base:"order_by" + }, + transaction:{ + inscription_histories:{ + distinct_on:"inscription_history_select_column", + order_by:"inscription_history_order_by", + where:"inscription_history_bool_exp" + }, + inscription_histories_aggregate:{ + distinct_on:"inscription_history_select_column", + order_by:"inscription_history_order_by", + where:"inscription_history_bool_exp" + }, + inscriptions:{ + distinct_on:"inscription_select_column", + order_by:"inscription_order_by", + where:"inscription_bool_exp" + }, + inscriptions_aggregate:{ + distinct_on:"inscription_select_column", + order_by:"inscription_order_by", + where:"inscription_bool_exp" + }, + marketplace_cft20_trade_histories:{ + distinct_on:"marketplace_cft20_trade_history_select_column", + order_by:"marketplace_cft20_trade_history_order_by", + where:"marketplace_cft20_trade_history_bool_exp" + }, + marketplace_cft20_trade_histories_aggregate:{ + distinct_on:"marketplace_cft20_trade_history_select_column", + order_by:"marketplace_cft20_trade_history_order_by", + where:"marketplace_cft20_trade_history_bool_exp" + }, + marketplace_listing_histories:{ + distinct_on:"marketplace_listing_history_select_column", + order_by:"marketplace_listing_history_order_by", + where:"marketplace_listing_history_bool_exp" + }, + marketplace_listing_histories_aggregate:{ + distinct_on:"marketplace_listing_history_select_column", + order_by:"marketplace_listing_history_order_by", + where:"marketplace_listing_history_bool_exp" + }, + marketplace_listings:{ + distinct_on:"marketplace_listing_select_column", + order_by:"marketplace_listing_order_by", + where:"marketplace_listing_bool_exp" + }, + marketplace_listings_aggregate:{ + distinct_on:"marketplace_listing_select_column", + order_by:"marketplace_listing_order_by", + where:"marketplace_listing_bool_exp" + }, + token_address_histories:{ + distinct_on:"token_address_history_select_column", + order_by:"token_address_history_order_by", + where:"token_address_history_bool_exp" + }, + token_address_histories_aggregate:{ + distinct_on:"token_address_history_select_column", + order_by:"token_address_history_order_by", + where:"token_address_history_bool_exp" + }, + token_open_positions:{ + distinct_on:"token_open_position_select_column", + order_by:"token_open_position_order_by", + where:"token_open_position_bool_exp" + }, + token_open_positions_aggregate:{ + distinct_on:"token_open_position_select_column", + order_by:"token_open_position_order_by", + where:"token_open_position_bool_exp" + }, + token_trade_histories:{ + distinct_on:"token_trade_history_select_column", + order_by:"token_trade_history_order_by", + where:"token_trade_history_bool_exp" + }, + token_trade_histories_aggregate:{ + distinct_on:"token_trade_history_select_column", + order_by:"token_trade_history_order_by", + where:"token_trade_history_bool_exp" + }, + tokens:{ + distinct_on:"token_select_column", + order_by:"token_order_by", + where:"token_bool_exp" + }, + tokens_aggregate:{ + distinct_on:"token_select_column", + order_by:"token_order_by", + where:"token_bool_exp" } }, - transaction_bool_exp: { - _and: "transaction_bool_exp", - _not: "transaction_bool_exp", - _or: "transaction_bool_exp", - content: "String_comparison_exp", - content_length: "Int_comparison_exp", - date_created: "timestamp_comparison_exp", - fees: "String_comparison_exp", - gas_used: "Int_comparison_exp", - hash: "String_comparison_exp", - height: "Int_comparison_exp", - id: "Int_comparison_exp", - inscription: "inscription_bool_exp", - inscription_history: "inscription_history_bool_exp", - marketplace_listings: "marketplace_listing_bool_exp", - status_message: "String_comparison_exp", - token: "token_bool_exp", - token_address_history: "token_address_history_bool_exp", - token_open_positions: "token_open_position_bool_exp", - token_trade_history: "token_trade_history_bool_exp" - }, - transaction_order_by: { - content: "order_by", - content_length: "order_by", - date_created: "order_by", - fees: "order_by", - gas_used: "order_by", - hash: "order_by", - height: "order_by", - id: "order_by", - inscription: "inscription_order_by", - inscription_history: "inscription_history_order_by", - marketplace_listings_aggregate: "marketplace_listing_aggregate_order_by", - status_message: "order_by", - token: "token_order_by", - token_address_history: "token_address_history_order_by", - token_open_positions_aggregate: "token_open_position_aggregate_order_by", - token_trade_history: "token_trade_history_order_by" + transaction_aggregate_fields:{ + count:{ + columns:"transaction_select_column" + } + }, + transaction_bool_exp:{ + _and:"transaction_bool_exp", + _not:"transaction_bool_exp", + _or:"transaction_bool_exp", + content:"String_comparison_exp", + content_length:"Int_comparison_exp", + date_created:"timestamp_comparison_exp", + fees:"String_comparison_exp", + gas_used:"Int_comparison_exp", + hash:"String_comparison_exp", + height:"Int_comparison_exp", + id:"Int_comparison_exp", + inscription_histories:"inscription_history_bool_exp", + inscription_histories_aggregate:"inscription_history_aggregate_bool_exp", + inscriptions:"inscription_bool_exp", + inscriptions_aggregate:"inscription_aggregate_bool_exp", + marketplace_cft20_trade_histories:"marketplace_cft20_trade_history_bool_exp", + marketplace_cft20_trade_histories_aggregate:"marketplace_cft20_trade_history_aggregate_bool_exp", + marketplace_listing_histories:"marketplace_listing_history_bool_exp", + marketplace_listing_histories_aggregate:"marketplace_listing_history_aggregate_bool_exp", + marketplace_listings:"marketplace_listing_bool_exp", + marketplace_listings_aggregate:"marketplace_listing_aggregate_bool_exp", + status_message:"String_comparison_exp", + token_address_histories:"token_address_history_bool_exp", + token_address_histories_aggregate:"token_address_history_aggregate_bool_exp", + token_open_positions:"token_open_position_bool_exp", + token_open_positions_aggregate:"token_open_position_aggregate_bool_exp", + token_trade_histories:"token_trade_history_bool_exp", + token_trade_histories_aggregate:"token_trade_history_aggregate_bool_exp", + tokens:"token_bool_exp", + tokens_aggregate:"token_aggregate_bool_exp" + }, + transaction_constraint: "enum" as const, + transaction_inc_input:{ + + }, + transaction_insert_input:{ + date_created:"timestamp", + inscription_histories:"inscription_history_arr_rel_insert_input", + inscriptions:"inscription_arr_rel_insert_input", + marketplace_cft20_trade_histories:"marketplace_cft20_trade_history_arr_rel_insert_input", + marketplace_listing_histories:"marketplace_listing_history_arr_rel_insert_input", + marketplace_listings:"marketplace_listing_arr_rel_insert_input", + token_address_histories:"token_address_history_arr_rel_insert_input", + token_open_positions:"token_open_position_arr_rel_insert_input", + token_trade_histories:"token_trade_history_arr_rel_insert_input", + tokens:"token_arr_rel_insert_input" + }, + transaction_obj_rel_insert_input:{ + data:"transaction_insert_input", + on_conflict:"transaction_on_conflict" + }, + transaction_on_conflict:{ + constraint:"transaction_constraint", + update_columns:"transaction_update_column", + where:"transaction_bool_exp" + }, + transaction_order_by:{ + content:"order_by", + content_length:"order_by", + date_created:"order_by", + fees:"order_by", + gas_used:"order_by", + hash:"order_by", + height:"order_by", + id:"order_by", + inscription_histories_aggregate:"inscription_history_aggregate_order_by", + inscriptions_aggregate:"inscription_aggregate_order_by", + marketplace_cft20_trade_histories_aggregate:"marketplace_cft20_trade_history_aggregate_order_by", + marketplace_listing_histories_aggregate:"marketplace_listing_history_aggregate_order_by", + marketplace_listings_aggregate:"marketplace_listing_aggregate_order_by", + status_message:"order_by", + token_address_histories_aggregate:"token_address_history_aggregate_order_by", + token_open_positions_aggregate:"token_open_position_aggregate_order_by", + token_trade_histories_aggregate:"token_trade_history_aggregate_order_by", + tokens_aggregate:"token_aggregate_order_by" + }, + transaction_pk_columns_input:{ + }, transaction_select_column: "enum" as const, - transaction_stream_cursor_input: { - initial_value: "transaction_stream_cursor_value_input", - ordering: "cursor_ordering" + transaction_set_input:{ + date_created:"timestamp" + }, + transaction_stream_cursor_input:{ + initial_value:"transaction_stream_cursor_value_input", + ordering:"cursor_ordering" + }, + transaction_stream_cursor_value_input:{ + date_created:"timestamp" }, - transaction_stream_cursor_value_input: { - date_created: "timestamp" + transaction_update_column: "enum" as const, + transaction_updates:{ + _inc:"transaction_inc_input", + _set:"transaction_set_input", + where:"transaction_bool_exp" } } -export const ReturnTypes: Record = { - cached: { - ttl: "Int", - refresh: "Boolean" +export const ReturnTypes: Record = { + cached:{ + ttl:"Int", + refresh:"Boolean" }, bigint: `scalar.bigint` as const, - inscription: { - chain_id: "String", - content_hash: "String", - content_path: "String", - content_size_bytes: "Int", - creator: "String", - current_owner: "String", - date_created: "timestamp", - height: "Int", - id: "Int", - inscription_histories: "inscription_history", - is_explicit: "Boolean", - metadata: "json", - transaction: "transaction", - transaction_id: "Int", - type: "String", - version: "String" - }, - inscription_history: { - action: "String", - chain_id: "String", - date_created: "timestamp", - height: "Int", - id: "Int", - inscription: "inscription", - inscription_id: "Int", - receiver: "String", - sender: "String", - transaction: "transaction", - transaction_id: "Int" + inscription:{ + chain_id:"String", + content_hash:"String", + content_path:"String", + content_size_bytes:"Int", + creator:"String", + current_owner:"String", + date_created:"timestamp", + height:"Int", + id:"Int", + inscription_histories:"inscription_history", + inscription_histories_aggregate:"inscription_history_aggregate", + is_explicit:"Boolean", + metadata:"json", + transaction:"transaction", + transaction_id:"Int", + type:"String", + version:"String" + }, + inscription_aggregate:{ + aggregate:"inscription_aggregate_fields", + nodes:"inscription" + }, + inscription_aggregate_fields:{ + avg:"inscription_avg_fields", + count:"Int", + max:"inscription_max_fields", + min:"inscription_min_fields", + stddev:"inscription_stddev_fields", + stddev_pop:"inscription_stddev_pop_fields", + stddev_samp:"inscription_stddev_samp_fields", + sum:"inscription_sum_fields", + var_pop:"inscription_var_pop_fields", + var_samp:"inscription_var_samp_fields", + variance:"inscription_variance_fields" + }, + inscription_avg_fields:{ + content_size_bytes:"Float", + height:"Float", + id:"Float", + transaction_id:"Float" + }, + inscription_history:{ + action:"String", + chain_id:"String", + date_created:"timestamp", + height:"Int", + id:"Int", + inscription:"inscription", + inscription_id:"Int", + receiver:"String", + sender:"String", + transaction:"transaction", + transaction_id:"Int" + }, + inscription_history_aggregate:{ + aggregate:"inscription_history_aggregate_fields", + nodes:"inscription_history" + }, + inscription_history_aggregate_fields:{ + avg:"inscription_history_avg_fields", + count:"Int", + max:"inscription_history_max_fields", + min:"inscription_history_min_fields", + stddev:"inscription_history_stddev_fields", + stddev_pop:"inscription_history_stddev_pop_fields", + stddev_samp:"inscription_history_stddev_samp_fields", + sum:"inscription_history_sum_fields", + var_pop:"inscription_history_var_pop_fields", + var_samp:"inscription_history_var_samp_fields", + variance:"inscription_history_variance_fields" + }, + inscription_history_avg_fields:{ + height:"Float", + id:"Float", + inscription_id:"Float", + transaction_id:"Float" + }, + inscription_history_max_fields:{ + action:"String", + chain_id:"String", + date_created:"timestamp", + height:"Int", + id:"Int", + inscription_id:"Int", + receiver:"String", + sender:"String", + transaction_id:"Int" + }, + inscription_history_min_fields:{ + action:"String", + chain_id:"String", + date_created:"timestamp", + height:"Int", + id:"Int", + inscription_id:"Int", + receiver:"String", + sender:"String", + transaction_id:"Int" + }, + inscription_history_mutation_response:{ + affected_rows:"Int", + returning:"inscription_history" + }, + inscription_history_stddev_fields:{ + height:"Float", + id:"Float", + inscription_id:"Float", + transaction_id:"Float" + }, + inscription_history_stddev_pop_fields:{ + height:"Float", + id:"Float", + inscription_id:"Float", + transaction_id:"Float" + }, + inscription_history_stddev_samp_fields:{ + height:"Float", + id:"Float", + inscription_id:"Float", + transaction_id:"Float" + }, + inscription_history_sum_fields:{ + height:"Int", + id:"Int", + inscription_id:"Int", + transaction_id:"Int" + }, + inscription_history_var_pop_fields:{ + height:"Float", + id:"Float", + inscription_id:"Float", + transaction_id:"Float" + }, + inscription_history_var_samp_fields:{ + height:"Float", + id:"Float", + inscription_id:"Float", + transaction_id:"Float" + }, + inscription_history_variance_fields:{ + height:"Float", + id:"Float", + inscription_id:"Float", + transaction_id:"Float" + }, + inscription_max_fields:{ + chain_id:"String", + content_hash:"String", + content_path:"String", + content_size_bytes:"Int", + creator:"String", + current_owner:"String", + date_created:"timestamp", + height:"Int", + id:"Int", + transaction_id:"Int", + type:"String", + version:"String" + }, + inscription_min_fields:{ + chain_id:"String", + content_hash:"String", + content_path:"String", + content_size_bytes:"Int", + creator:"String", + current_owner:"String", + date_created:"timestamp", + height:"Int", + id:"Int", + transaction_id:"Int", + type:"String", + version:"String" + }, + inscription_mutation_response:{ + affected_rows:"Int", + returning:"inscription" + }, + inscription_stddev_fields:{ + content_size_bytes:"Float", + height:"Float", + id:"Float", + transaction_id:"Float" + }, + inscription_stddev_pop_fields:{ + content_size_bytes:"Float", + height:"Float", + id:"Float", + transaction_id:"Float" + }, + inscription_stddev_samp_fields:{ + content_size_bytes:"Float", + height:"Float", + id:"Float", + transaction_id:"Float" + }, + inscription_sum_fields:{ + content_size_bytes:"Int", + height:"Int", + id:"Int", + transaction_id:"Int" + }, + inscription_var_pop_fields:{ + content_size_bytes:"Float", + height:"Float", + id:"Float", + transaction_id:"Float" + }, + inscription_var_samp_fields:{ + content_size_bytes:"Float", + height:"Float", + id:"Float", + transaction_id:"Float" + }, + inscription_variance_fields:{ + content_size_bytes:"Float", + height:"Float", + id:"Float", + transaction_id:"Float" }, json: `scalar.json` as const, - marketplace_cft20_detail: { - amount: "bigint", - date_created: "timestamp", - id: "Int", - listing_id: "Int", - marketplace_listing: "marketplace_listing", - ppt: "bigint", - token: "token", - token_id: "Int" - }, - marketplace_listing: { - chain_id: "String", - date_created: "timestamp", - date_updated: "timestamp", - deposit_timeout: "Int", - deposit_total: "bigint", - depositor_address: "String", - depositor_timedout_block: "Int", - id: "Int", - is_cancelled: "Boolean", - is_deposited: "Boolean", - is_filled: "Boolean", - marketplace_cft20_details: "marketplace_cft20_detail", - seller_address: "String", - total: "bigint", - transaction: "transaction", - transaction_id: "Int" + marketplace_cft20_detail:{ + amount:"bigint", + date_created:"timestamp", + id:"Int", + listing_id:"Int", + marketplace_listing:"marketplace_listing", + ppt:"bigint", + token:"token", + token_id:"Int" + }, + marketplace_cft20_detail_aggregate:{ + aggregate:"marketplace_cft20_detail_aggregate_fields", + nodes:"marketplace_cft20_detail" + }, + marketplace_cft20_detail_aggregate_fields:{ + avg:"marketplace_cft20_detail_avg_fields", + count:"Int", + max:"marketplace_cft20_detail_max_fields", + min:"marketplace_cft20_detail_min_fields", + stddev:"marketplace_cft20_detail_stddev_fields", + stddev_pop:"marketplace_cft20_detail_stddev_pop_fields", + stddev_samp:"marketplace_cft20_detail_stddev_samp_fields", + sum:"marketplace_cft20_detail_sum_fields", + var_pop:"marketplace_cft20_detail_var_pop_fields", + var_samp:"marketplace_cft20_detail_var_samp_fields", + variance:"marketplace_cft20_detail_variance_fields" + }, + marketplace_cft20_detail_avg_fields:{ + amount:"Float", + id:"Float", + listing_id:"Float", + ppt:"Float", + token_id:"Float" + }, + marketplace_cft20_detail_max_fields:{ + amount:"bigint", + date_created:"timestamp", + id:"Int", + listing_id:"Int", + ppt:"bigint", + token_id:"Int" + }, + marketplace_cft20_detail_min_fields:{ + amount:"bigint", + date_created:"timestamp", + id:"Int", + listing_id:"Int", + ppt:"bigint", + token_id:"Int" + }, + marketplace_cft20_detail_mutation_response:{ + affected_rows:"Int", + returning:"marketplace_cft20_detail" + }, + marketplace_cft20_detail_stddev_fields:{ + amount:"Float", + id:"Float", + listing_id:"Float", + ppt:"Float", + token_id:"Float" + }, + marketplace_cft20_detail_stddev_pop_fields:{ + amount:"Float", + id:"Float", + listing_id:"Float", + ppt:"Float", + token_id:"Float" + }, + marketplace_cft20_detail_stddev_samp_fields:{ + amount:"Float", + id:"Float", + listing_id:"Float", + ppt:"Float", + token_id:"Float" + }, + marketplace_cft20_detail_sum_fields:{ + amount:"bigint", + id:"Int", + listing_id:"Int", + ppt:"bigint", + token_id:"Int" + }, + marketplace_cft20_detail_var_pop_fields:{ + amount:"Float", + id:"Float", + listing_id:"Float", + ppt:"Float", + token_id:"Float" + }, + marketplace_cft20_detail_var_samp_fields:{ + amount:"Float", + id:"Float", + listing_id:"Float", + ppt:"Float", + token_id:"Float" + }, + marketplace_cft20_detail_variance_fields:{ + amount:"Float", + id:"Float", + listing_id:"Float", + ppt:"Float", + token_id:"Float" + }, + marketplace_cft20_trade_history:{ + amount_base:"bigint", + amount_quote:"bigint", + buyer_address:"String", + date_created:"timestamp", + id:"Int", + listing_id:"Int", + marketplace_listing:"marketplace_listing", + rate:"Int", + seller_address:"String", + token:"token", + token_id:"Int", + total_usd:"Float", + transaction:"transaction", + transaction_id:"Int" + }, + marketplace_cft20_trade_history_aggregate:{ + aggregate:"marketplace_cft20_trade_history_aggregate_fields", + nodes:"marketplace_cft20_trade_history" + }, + marketplace_cft20_trade_history_aggregate_fields:{ + avg:"marketplace_cft20_trade_history_avg_fields", + count:"Int", + max:"marketplace_cft20_trade_history_max_fields", + min:"marketplace_cft20_trade_history_min_fields", + stddev:"marketplace_cft20_trade_history_stddev_fields", + stddev_pop:"marketplace_cft20_trade_history_stddev_pop_fields", + stddev_samp:"marketplace_cft20_trade_history_stddev_samp_fields", + sum:"marketplace_cft20_trade_history_sum_fields", + var_pop:"marketplace_cft20_trade_history_var_pop_fields", + var_samp:"marketplace_cft20_trade_history_var_samp_fields", + variance:"marketplace_cft20_trade_history_variance_fields" + }, + marketplace_cft20_trade_history_avg_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + listing_id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + marketplace_cft20_trade_history_max_fields:{ + amount_base:"bigint", + amount_quote:"bigint", + buyer_address:"String", + date_created:"timestamp", + id:"Int", + listing_id:"Int", + rate:"Int", + seller_address:"String", + token_id:"Int", + total_usd:"Float", + transaction_id:"Int" + }, + marketplace_cft20_trade_history_min_fields:{ + amount_base:"bigint", + amount_quote:"bigint", + buyer_address:"String", + date_created:"timestamp", + id:"Int", + listing_id:"Int", + rate:"Int", + seller_address:"String", + token_id:"Int", + total_usd:"Float", + transaction_id:"Int" + }, + marketplace_cft20_trade_history_mutation_response:{ + affected_rows:"Int", + returning:"marketplace_cft20_trade_history" + }, + marketplace_cft20_trade_history_stddev_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + listing_id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + marketplace_cft20_trade_history_stddev_pop_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + listing_id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + marketplace_cft20_trade_history_stddev_samp_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + listing_id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + marketplace_cft20_trade_history_sum_fields:{ + amount_base:"bigint", + amount_quote:"bigint", + id:"Int", + listing_id:"Int", + rate:"Int", + token_id:"Int", + total_usd:"Float", + transaction_id:"Int" + }, + marketplace_cft20_trade_history_var_pop_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + listing_id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + marketplace_cft20_trade_history_var_samp_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + listing_id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + marketplace_cft20_trade_history_variance_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + listing_id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + marketplace_listing:{ + chain_id:"String", + date_created:"timestamp", + date_updated:"timestamp", + deposit_timeout:"Int", + deposit_total:"bigint", + depositor_address:"String", + depositor_timedout_block:"Int", + id:"Int", + is_cancelled:"Boolean", + is_deposited:"Boolean", + is_filled:"Boolean", + marketplace_cft20_details:"marketplace_cft20_detail", + marketplace_cft20_details_aggregate:"marketplace_cft20_detail_aggregate", + marketplace_cft20_trade_histories:"marketplace_cft20_trade_history", + marketplace_cft20_trade_histories_aggregate:"marketplace_cft20_trade_history_aggregate", + marketplace_listing_histories:"marketplace_listing_history", + marketplace_listing_histories_aggregate:"marketplace_listing_history_aggregate", + seller_address:"String", + total:"bigint", + transaction:"transaction", + transaction_id:"Int" + }, + marketplace_listing_aggregate:{ + aggregate:"marketplace_listing_aggregate_fields", + nodes:"marketplace_listing" + }, + marketplace_listing_aggregate_fields:{ + avg:"marketplace_listing_avg_fields", + count:"Int", + max:"marketplace_listing_max_fields", + min:"marketplace_listing_min_fields", + stddev:"marketplace_listing_stddev_fields", + stddev_pop:"marketplace_listing_stddev_pop_fields", + stddev_samp:"marketplace_listing_stddev_samp_fields", + sum:"marketplace_listing_sum_fields", + var_pop:"marketplace_listing_var_pop_fields", + var_samp:"marketplace_listing_var_samp_fields", + variance:"marketplace_listing_variance_fields" + }, + marketplace_listing_avg_fields:{ + deposit_timeout:"Float", + deposit_total:"Float", + depositor_timedout_block:"Float", + id:"Float", + total:"Float", + transaction_id:"Float" + }, + marketplace_listing_history:{ + action:"String", + date_created:"timestamp", + id:"Int", + listing_id:"Int", + marketplace_listing:"marketplace_listing", + sender_address:"String", + transaction:"transaction", + transaction_id:"Int" + }, + marketplace_listing_history_aggregate:{ + aggregate:"marketplace_listing_history_aggregate_fields", + nodes:"marketplace_listing_history" + }, + marketplace_listing_history_aggregate_fields:{ + avg:"marketplace_listing_history_avg_fields", + count:"Int", + max:"marketplace_listing_history_max_fields", + min:"marketplace_listing_history_min_fields", + stddev:"marketplace_listing_history_stddev_fields", + stddev_pop:"marketplace_listing_history_stddev_pop_fields", + stddev_samp:"marketplace_listing_history_stddev_samp_fields", + sum:"marketplace_listing_history_sum_fields", + var_pop:"marketplace_listing_history_var_pop_fields", + var_samp:"marketplace_listing_history_var_samp_fields", + variance:"marketplace_listing_history_variance_fields" + }, + marketplace_listing_history_avg_fields:{ + id:"Float", + listing_id:"Float", + transaction_id:"Float" + }, + marketplace_listing_history_max_fields:{ + action:"String", + date_created:"timestamp", + id:"Int", + listing_id:"Int", + sender_address:"String", + transaction_id:"Int" + }, + marketplace_listing_history_min_fields:{ + action:"String", + date_created:"timestamp", + id:"Int", + listing_id:"Int", + sender_address:"String", + transaction_id:"Int" + }, + marketplace_listing_history_mutation_response:{ + affected_rows:"Int", + returning:"marketplace_listing_history" + }, + marketplace_listing_history_stddev_fields:{ + id:"Float", + listing_id:"Float", + transaction_id:"Float" + }, + marketplace_listing_history_stddev_pop_fields:{ + id:"Float", + listing_id:"Float", + transaction_id:"Float" + }, + marketplace_listing_history_stddev_samp_fields:{ + id:"Float", + listing_id:"Float", + transaction_id:"Float" + }, + marketplace_listing_history_sum_fields:{ + id:"Int", + listing_id:"Int", + transaction_id:"Int" + }, + marketplace_listing_history_var_pop_fields:{ + id:"Float", + listing_id:"Float", + transaction_id:"Float" + }, + marketplace_listing_history_var_samp_fields:{ + id:"Float", + listing_id:"Float", + transaction_id:"Float" + }, + marketplace_listing_history_variance_fields:{ + id:"Float", + listing_id:"Float", + transaction_id:"Float" + }, + marketplace_listing_max_fields:{ + chain_id:"String", + date_created:"timestamp", + date_updated:"timestamp", + deposit_timeout:"Int", + deposit_total:"bigint", + depositor_address:"String", + depositor_timedout_block:"Int", + id:"Int", + seller_address:"String", + total:"bigint", + transaction_id:"Int" + }, + marketplace_listing_min_fields:{ + chain_id:"String", + date_created:"timestamp", + date_updated:"timestamp", + deposit_timeout:"Int", + deposit_total:"bigint", + depositor_address:"String", + depositor_timedout_block:"Int", + id:"Int", + seller_address:"String", + total:"bigint", + transaction_id:"Int" + }, + marketplace_listing_mutation_response:{ + affected_rows:"Int", + returning:"marketplace_listing" + }, + marketplace_listing_stddev_fields:{ + deposit_timeout:"Float", + deposit_total:"Float", + depositor_timedout_block:"Float", + id:"Float", + total:"Float", + transaction_id:"Float" + }, + marketplace_listing_stddev_pop_fields:{ + deposit_timeout:"Float", + deposit_total:"Float", + depositor_timedout_block:"Float", + id:"Float", + total:"Float", + transaction_id:"Float" + }, + marketplace_listing_stddev_samp_fields:{ + deposit_timeout:"Float", + deposit_total:"Float", + depositor_timedout_block:"Float", + id:"Float", + total:"Float", + transaction_id:"Float" + }, + marketplace_listing_sum_fields:{ + deposit_timeout:"Int", + deposit_total:"bigint", + depositor_timedout_block:"Int", + id:"Int", + total:"bigint", + transaction_id:"Int" + }, + marketplace_listing_var_pop_fields:{ + deposit_timeout:"Float", + deposit_total:"Float", + depositor_timedout_block:"Float", + id:"Float", + total:"Float", + transaction_id:"Float" + }, + marketplace_listing_var_samp_fields:{ + deposit_timeout:"Float", + deposit_total:"Float", + depositor_timedout_block:"Float", + id:"Float", + total:"Float", + transaction_id:"Float" + }, + marketplace_listing_variance_fields:{ + deposit_timeout:"Float", + deposit_total:"Float", + depositor_timedout_block:"Float", + id:"Float", + total:"Float", + transaction_id:"Float" + }, + mutation_root:{ + delete_inscription:"inscription_mutation_response", + delete_inscription_by_pk:"inscription", + delete_inscription_history:"inscription_history_mutation_response", + delete_inscription_history_by_pk:"inscription_history", + delete_marketplace_cft20_detail:"marketplace_cft20_detail_mutation_response", + delete_marketplace_cft20_detail_by_pk:"marketplace_cft20_detail", + delete_marketplace_cft20_trade_history:"marketplace_cft20_trade_history_mutation_response", + delete_marketplace_cft20_trade_history_by_pk:"marketplace_cft20_trade_history", + delete_marketplace_listing:"marketplace_listing_mutation_response", + delete_marketplace_listing_by_pk:"marketplace_listing", + delete_marketplace_listing_history:"marketplace_listing_history_mutation_response", + delete_marketplace_listing_history_by_pk:"marketplace_listing_history", + delete_status:"status_mutation_response", + delete_status_by_pk:"status", + delete_token:"token_mutation_response", + delete_token_address_history:"token_address_history_mutation_response", + delete_token_address_history_by_pk:"token_address_history", + delete_token_by_pk:"token", + delete_token_holder:"token_holder_mutation_response", + delete_token_holder_by_pk:"token_holder", + delete_token_open_position:"token_open_position_mutation_response", + delete_token_open_position_by_pk:"token_open_position", + delete_token_trade_history:"token_trade_history_mutation_response", + delete_token_trade_history_by_pk:"token_trade_history", + delete_transaction:"transaction_mutation_response", + delete_transaction_by_pk:"transaction", + insert_inscription:"inscription_mutation_response", + insert_inscription_history:"inscription_history_mutation_response", + insert_inscription_history_one:"inscription_history", + insert_inscription_one:"inscription", + insert_marketplace_cft20_detail:"marketplace_cft20_detail_mutation_response", + insert_marketplace_cft20_detail_one:"marketplace_cft20_detail", + insert_marketplace_cft20_trade_history:"marketplace_cft20_trade_history_mutation_response", + insert_marketplace_cft20_trade_history_one:"marketplace_cft20_trade_history", + insert_marketplace_listing:"marketplace_listing_mutation_response", + insert_marketplace_listing_history:"marketplace_listing_history_mutation_response", + insert_marketplace_listing_history_one:"marketplace_listing_history", + insert_marketplace_listing_one:"marketplace_listing", + insert_status:"status_mutation_response", + insert_status_one:"status", + insert_token:"token_mutation_response", + insert_token_address_history:"token_address_history_mutation_response", + insert_token_address_history_one:"token_address_history", + insert_token_holder:"token_holder_mutation_response", + insert_token_holder_one:"token_holder", + insert_token_one:"token", + insert_token_open_position:"token_open_position_mutation_response", + insert_token_open_position_one:"token_open_position", + insert_token_trade_history:"token_trade_history_mutation_response", + insert_token_trade_history_one:"token_trade_history", + insert_transaction:"transaction_mutation_response", + insert_transaction_one:"transaction", + update_inscription:"inscription_mutation_response", + update_inscription_by_pk:"inscription", + update_inscription_history:"inscription_history_mutation_response", + update_inscription_history_by_pk:"inscription_history", + update_inscription_history_many:"inscription_history_mutation_response", + update_inscription_many:"inscription_mutation_response", + update_marketplace_cft20_detail:"marketplace_cft20_detail_mutation_response", + update_marketplace_cft20_detail_by_pk:"marketplace_cft20_detail", + update_marketplace_cft20_detail_many:"marketplace_cft20_detail_mutation_response", + update_marketplace_cft20_trade_history:"marketplace_cft20_trade_history_mutation_response", + update_marketplace_cft20_trade_history_by_pk:"marketplace_cft20_trade_history", + update_marketplace_cft20_trade_history_many:"marketplace_cft20_trade_history_mutation_response", + update_marketplace_listing:"marketplace_listing_mutation_response", + update_marketplace_listing_by_pk:"marketplace_listing", + update_marketplace_listing_history:"marketplace_listing_history_mutation_response", + update_marketplace_listing_history_by_pk:"marketplace_listing_history", + update_marketplace_listing_history_many:"marketplace_listing_history_mutation_response", + update_marketplace_listing_many:"marketplace_listing_mutation_response", + update_status:"status_mutation_response", + update_status_by_pk:"status", + update_status_many:"status_mutation_response", + update_token:"token_mutation_response", + update_token_address_history:"token_address_history_mutation_response", + update_token_address_history_by_pk:"token_address_history", + update_token_address_history_many:"token_address_history_mutation_response", + update_token_by_pk:"token", + update_token_holder:"token_holder_mutation_response", + update_token_holder_by_pk:"token_holder", + update_token_holder_many:"token_holder_mutation_response", + update_token_many:"token_mutation_response", + update_token_open_position:"token_open_position_mutation_response", + update_token_open_position_by_pk:"token_open_position", + update_token_open_position_many:"token_open_position_mutation_response", + update_token_trade_history:"token_trade_history_mutation_response", + update_token_trade_history_by_pk:"token_trade_history", + update_token_trade_history_many:"token_trade_history_mutation_response", + update_transaction:"transaction_mutation_response", + update_transaction_by_pk:"transaction", + update_transaction_many:"transaction_mutation_response" }, numeric: `scalar.numeric` as const, - query_root: { - inscription: "inscription", - inscription_by_pk: "inscription", - inscription_history: "inscription_history", - inscription_history_by_pk: "inscription_history", - marketplace_cft20_detail: "marketplace_cft20_detail", - marketplace_cft20_detail_by_pk: "marketplace_cft20_detail", - marketplace_listing: "marketplace_listing", - marketplace_listing_by_pk: "marketplace_listing", - status: "status", - status_by_pk: "status", - token: "token", - token_address_history: "token_address_history", - token_address_history_by_pk: "token_address_history", - token_by_pk: "token", - token_holder: "token_holder", - token_holder_by_pk: "token_holder", - token_open_position: "token_open_position", - token_open_position_by_pk: "token_open_position", - token_trade_history: "token_trade_history", - token_trade_history_by_pk: "token_trade_history", - transaction: "transaction", - transaction_by_pk: "transaction" + query_root:{ + inscription:"inscription", + inscription_aggregate:"inscription_aggregate", + inscription_by_pk:"inscription", + inscription_history:"inscription_history", + inscription_history_aggregate:"inscription_history_aggregate", + inscription_history_by_pk:"inscription_history", + marketplace_cft20_detail:"marketplace_cft20_detail", + marketplace_cft20_detail_aggregate:"marketplace_cft20_detail_aggregate", + marketplace_cft20_detail_by_pk:"marketplace_cft20_detail", + marketplace_cft20_trade_history:"marketplace_cft20_trade_history", + marketplace_cft20_trade_history_aggregate:"marketplace_cft20_trade_history_aggregate", + marketplace_cft20_trade_history_by_pk:"marketplace_cft20_trade_history", + marketplace_listing:"marketplace_listing", + marketplace_listing_aggregate:"marketplace_listing_aggregate", + marketplace_listing_by_pk:"marketplace_listing", + marketplace_listing_history:"marketplace_listing_history", + marketplace_listing_history_aggregate:"marketplace_listing_history_aggregate", + marketplace_listing_history_by_pk:"marketplace_listing_history", + status:"status", + status_aggregate:"status_aggregate", + status_by_pk:"status", + token:"token", + token_address_history:"token_address_history", + token_address_history_aggregate:"token_address_history_aggregate", + token_address_history_by_pk:"token_address_history", + token_aggregate:"token_aggregate", + token_by_pk:"token", + token_holder:"token_holder", + token_holder_aggregate:"token_holder_aggregate", + token_holder_by_pk:"token_holder", + token_open_position:"token_open_position", + token_open_position_aggregate:"token_open_position_aggregate", + token_open_position_by_pk:"token_open_position", + token_trade_history:"token_trade_history", + token_trade_history_aggregate:"token_trade_history_aggregate", + token_trade_history_by_pk:"token_trade_history", + transaction:"transaction", + transaction_aggregate:"transaction_aggregate", + transaction_by_pk:"transaction" }, smallint: `scalar.smallint` as const, - status: { - base_token: "String", - base_token_usd: "Float", - chain_id: "String", - date_updated: "timestamp", - id: "Int", - last_known_height: "Int", - last_processed_height: "Int" - }, - subscription_root: { - inscription: "inscription", - inscription_by_pk: "inscription", - inscription_history: "inscription_history", - inscription_history_by_pk: "inscription_history", - inscription_history_stream: "inscription_history", - inscription_stream: "inscription", - marketplace_cft20_detail: "marketplace_cft20_detail", - marketplace_cft20_detail_by_pk: "marketplace_cft20_detail", - marketplace_cft20_detail_stream: "marketplace_cft20_detail", - marketplace_listing: "marketplace_listing", - marketplace_listing_by_pk: "marketplace_listing", - marketplace_listing_stream: "marketplace_listing", - status: "status", - status_by_pk: "status", - status_stream: "status", - token: "token", - token_address_history: "token_address_history", - token_address_history_by_pk: "token_address_history", - token_address_history_stream: "token_address_history", - token_by_pk: "token", - token_holder: "token_holder", - token_holder_by_pk: "token_holder", - token_holder_stream: "token_holder", - token_open_position: "token_open_position", - token_open_position_by_pk: "token_open_position", - token_open_position_stream: "token_open_position", - token_stream: "token", - token_trade_history: "token_trade_history", - token_trade_history_by_pk: "token_trade_history", - token_trade_history_stream: "token_trade_history", - transaction: "transaction", - transaction_by_pk: "transaction", - transaction_stream: "transaction" + status:{ + base_token:"String", + base_token_usd:"Float", + chain_id:"String", + date_updated:"timestamp", + id:"Int", + last_known_height:"Int", + last_processed_height:"Int" + }, + status_aggregate:{ + aggregate:"status_aggregate_fields", + nodes:"status" + }, + status_aggregate_fields:{ + avg:"status_avg_fields", + count:"Int", + max:"status_max_fields", + min:"status_min_fields", + stddev:"status_stddev_fields", + stddev_pop:"status_stddev_pop_fields", + stddev_samp:"status_stddev_samp_fields", + sum:"status_sum_fields", + var_pop:"status_var_pop_fields", + var_samp:"status_var_samp_fields", + variance:"status_variance_fields" + }, + status_avg_fields:{ + base_token_usd:"Float", + id:"Float", + last_known_height:"Float", + last_processed_height:"Float" + }, + status_max_fields:{ + base_token:"String", + base_token_usd:"Float", + chain_id:"String", + date_updated:"timestamp", + id:"Int", + last_known_height:"Int", + last_processed_height:"Int" + }, + status_min_fields:{ + base_token:"String", + base_token_usd:"Float", + chain_id:"String", + date_updated:"timestamp", + id:"Int", + last_known_height:"Int", + last_processed_height:"Int" + }, + status_mutation_response:{ + affected_rows:"Int", + returning:"status" + }, + status_stddev_fields:{ + base_token_usd:"Float", + id:"Float", + last_known_height:"Float", + last_processed_height:"Float" + }, + status_stddev_pop_fields:{ + base_token_usd:"Float", + id:"Float", + last_known_height:"Float", + last_processed_height:"Float" + }, + status_stddev_samp_fields:{ + base_token_usd:"Float", + id:"Float", + last_known_height:"Float", + last_processed_height:"Float" + }, + status_sum_fields:{ + base_token_usd:"Float", + id:"Int", + last_known_height:"Int", + last_processed_height:"Int" + }, + status_var_pop_fields:{ + base_token_usd:"Float", + id:"Float", + last_known_height:"Float", + last_processed_height:"Float" + }, + status_var_samp_fields:{ + base_token_usd:"Float", + id:"Float", + last_known_height:"Float", + last_processed_height:"Float" + }, + status_variance_fields:{ + base_token_usd:"Float", + id:"Float", + last_known_height:"Float", + last_processed_height:"Float" + }, + subscription_root:{ + inscription:"inscription", + inscription_aggregate:"inscription_aggregate", + inscription_by_pk:"inscription", + inscription_history:"inscription_history", + inscription_history_aggregate:"inscription_history_aggregate", + inscription_history_by_pk:"inscription_history", + inscription_history_stream:"inscription_history", + inscription_stream:"inscription", + marketplace_cft20_detail:"marketplace_cft20_detail", + marketplace_cft20_detail_aggregate:"marketplace_cft20_detail_aggregate", + marketplace_cft20_detail_by_pk:"marketplace_cft20_detail", + marketplace_cft20_detail_stream:"marketplace_cft20_detail", + marketplace_cft20_trade_history:"marketplace_cft20_trade_history", + marketplace_cft20_trade_history_aggregate:"marketplace_cft20_trade_history_aggregate", + marketplace_cft20_trade_history_by_pk:"marketplace_cft20_trade_history", + marketplace_cft20_trade_history_stream:"marketplace_cft20_trade_history", + marketplace_listing:"marketplace_listing", + marketplace_listing_aggregate:"marketplace_listing_aggregate", + marketplace_listing_by_pk:"marketplace_listing", + marketplace_listing_history:"marketplace_listing_history", + marketplace_listing_history_aggregate:"marketplace_listing_history_aggregate", + marketplace_listing_history_by_pk:"marketplace_listing_history", + marketplace_listing_history_stream:"marketplace_listing_history", + marketplace_listing_stream:"marketplace_listing", + status:"status", + status_aggregate:"status_aggregate", + status_by_pk:"status", + status_stream:"status", + token:"token", + token_address_history:"token_address_history", + token_address_history_aggregate:"token_address_history_aggregate", + token_address_history_by_pk:"token_address_history", + token_address_history_stream:"token_address_history", + token_aggregate:"token_aggregate", + token_by_pk:"token", + token_holder:"token_holder", + token_holder_aggregate:"token_holder_aggregate", + token_holder_by_pk:"token_holder", + token_holder_stream:"token_holder", + token_open_position:"token_open_position", + token_open_position_aggregate:"token_open_position_aggregate", + token_open_position_by_pk:"token_open_position", + token_open_position_stream:"token_open_position", + token_stream:"token", + token_trade_history:"token_trade_history", + token_trade_history_aggregate:"token_trade_history_aggregate", + token_trade_history_by_pk:"token_trade_history", + token_trade_history_stream:"token_trade_history", + transaction:"transaction", + transaction_aggregate:"transaction_aggregate", + transaction_by_pk:"transaction", + transaction_stream:"transaction" }, timestamp: `scalar.timestamp` as const, - token: { - chain_id: "String", - circulating_supply: "bigint", - content_path: "String", - content_size_bytes: "Int", - creator: "String", - current_owner: "String", - date_created: "timestamp", - decimals: "smallint", - height: "Int", - id: "Int", - last_price_base: "bigint", - launch_timestamp: "bigint", - marketplace_cft20_details: "marketplace_cft20_detail", - max_supply: "numeric", - metadata: "String", - mint_page: "String", - name: "String", - per_mint_limit: "bigint", - ticker: "String", - token_address_histories: "token_address_history", - token_holders: "token_holder", - token_open_positions: "token_open_position", - token_trade_histories: "token_trade_history", - transaction: "transaction", - transaction_id: "Int", - version: "String", - volume_24_base: "bigint" - }, - token_address_history: { - action: "String", - amount: "bigint", - chain_id: "String", - date_created: "timestamp", - height: "Int", - id: "Int", - receiver: "String", - sender: "String", - token: "token", - token_id: "Int", - transaction: "transaction", - transaction_id: "Int" - }, - token_holder: { - address: "String", - amount: "bigint", - chain_id: "String", - date_updated: "timestamp", - id: "Int", - token: "token", - token_id: "Int" - }, - token_open_position: { - amount: "bigint", - chain_id: "String", - date_created: "timestamp", - date_filled: "timestamp", - id: "Int", - is_cancelled: "Boolean", - is_filled: "Boolean", - is_reserved: "Boolean", - ppt: "bigint", - reserve_expires_block: "Int", - reserved_by: "String", - seller_address: "String", - token: "token", - token_id: "Int", - total: "bigint", - transaction: "transaction", - transaction_id: "Int" - }, - token_trade_history: { - amount_base: "bigint", - amount_quote: "bigint", - buyer_address: "String", - chain_id: "String", - date_created: "timestamp", - id: "Int", - rate: "bigint", - seller_address: "String", - token: "token", - token_id: "Int", - total_usd: "Float", - transaction: "transaction", - transaction_id: "Int" - }, - transaction: { - content: "String", - content_length: "Int", - date_created: "timestamp", - fees: "String", - gas_used: "Int", - hash: "String", - height: "Int", - id: "Int", - inscription: "inscription", - inscription_history: "inscription_history", - marketplace_listings: "marketplace_listing", - status_message: "String", - token: "token", - token_address_history: "token_address_history", - token_open_positions: "token_open_position", - token_trade_history: "token_trade_history" + token:{ + chain_id:"String", + circulating_supply:"bigint", + content_path:"String", + content_size_bytes:"Int", + creator:"String", + current_owner:"String", + date_created:"timestamp", + decimals:"smallint", + height:"Int", + id:"Int", + is_explicit:"Boolean", + last_price_base:"bigint", + launch_timestamp:"bigint", + marketplace_cft20_details:"marketplace_cft20_detail", + marketplace_cft20_details_aggregate:"marketplace_cft20_detail_aggregate", + marketplace_cft20_trade_histories:"marketplace_cft20_trade_history", + marketplace_cft20_trade_histories_aggregate:"marketplace_cft20_trade_history_aggregate", + max_supply:"numeric", + metadata:"String", + mint_page:"String", + name:"String", + per_mint_limit:"bigint", + ticker:"String", + token_address_histories:"token_address_history", + token_address_histories_aggregate:"token_address_history_aggregate", + token_holders:"token_holder", + token_holders_aggregate:"token_holder_aggregate", + token_open_positions:"token_open_position", + token_open_positions_aggregate:"token_open_position_aggregate", + token_trade_histories:"token_trade_history", + token_trade_histories_aggregate:"token_trade_history_aggregate", + transaction:"transaction", + transaction_id:"Int", + version:"String", + volume_24_base:"bigint" + }, + token_address_history:{ + action:"String", + amount:"bigint", + chain_id:"String", + date_created:"timestamp", + height:"Int", + id:"Int", + receiver:"String", + sender:"String", + token:"token", + token_id:"Int", + transaction:"transaction", + transaction_id:"Int" + }, + token_address_history_aggregate:{ + aggregate:"token_address_history_aggregate_fields", + nodes:"token_address_history" + }, + token_address_history_aggregate_fields:{ + avg:"token_address_history_avg_fields", + count:"Int", + max:"token_address_history_max_fields", + min:"token_address_history_min_fields", + stddev:"token_address_history_stddev_fields", + stddev_pop:"token_address_history_stddev_pop_fields", + stddev_samp:"token_address_history_stddev_samp_fields", + sum:"token_address_history_sum_fields", + var_pop:"token_address_history_var_pop_fields", + var_samp:"token_address_history_var_samp_fields", + variance:"token_address_history_variance_fields" + }, + token_address_history_avg_fields:{ + amount:"Float", + height:"Float", + id:"Float", + token_id:"Float", + transaction_id:"Float" + }, + token_address_history_max_fields:{ + action:"String", + amount:"bigint", + chain_id:"String", + date_created:"timestamp", + height:"Int", + id:"Int", + receiver:"String", + sender:"String", + token_id:"Int", + transaction_id:"Int" + }, + token_address_history_min_fields:{ + action:"String", + amount:"bigint", + chain_id:"String", + date_created:"timestamp", + height:"Int", + id:"Int", + receiver:"String", + sender:"String", + token_id:"Int", + transaction_id:"Int" + }, + token_address_history_mutation_response:{ + affected_rows:"Int", + returning:"token_address_history" + }, + token_address_history_stddev_fields:{ + amount:"Float", + height:"Float", + id:"Float", + token_id:"Float", + transaction_id:"Float" + }, + token_address_history_stddev_pop_fields:{ + amount:"Float", + height:"Float", + id:"Float", + token_id:"Float", + transaction_id:"Float" + }, + token_address_history_stddev_samp_fields:{ + amount:"Float", + height:"Float", + id:"Float", + token_id:"Float", + transaction_id:"Float" + }, + token_address_history_sum_fields:{ + amount:"bigint", + height:"Int", + id:"Int", + token_id:"Int", + transaction_id:"Int" + }, + token_address_history_var_pop_fields:{ + amount:"Float", + height:"Float", + id:"Float", + token_id:"Float", + transaction_id:"Float" + }, + token_address_history_var_samp_fields:{ + amount:"Float", + height:"Float", + id:"Float", + token_id:"Float", + transaction_id:"Float" + }, + token_address_history_variance_fields:{ + amount:"Float", + height:"Float", + id:"Float", + token_id:"Float", + transaction_id:"Float" + }, + token_aggregate:{ + aggregate:"token_aggregate_fields", + nodes:"token" + }, + token_aggregate_fields:{ + avg:"token_avg_fields", + count:"Int", + max:"token_max_fields", + min:"token_min_fields", + stddev:"token_stddev_fields", + stddev_pop:"token_stddev_pop_fields", + stddev_samp:"token_stddev_samp_fields", + sum:"token_sum_fields", + var_pop:"token_var_pop_fields", + var_samp:"token_var_samp_fields", + variance:"token_variance_fields" + }, + token_avg_fields:{ + circulating_supply:"Float", + content_size_bytes:"Float", + decimals:"Float", + height:"Float", + id:"Float", + last_price_base:"Float", + launch_timestamp:"Float", + max_supply:"Float", + per_mint_limit:"Float", + transaction_id:"Float", + volume_24_base:"Float" + }, + token_holder:{ + address:"String", + amount:"bigint", + chain_id:"String", + date_updated:"timestamp", + id:"Int", + token:"token", + token_id:"Int" + }, + token_holder_aggregate:{ + aggregate:"token_holder_aggregate_fields", + nodes:"token_holder" + }, + token_holder_aggregate_fields:{ + avg:"token_holder_avg_fields", + count:"Int", + max:"token_holder_max_fields", + min:"token_holder_min_fields", + stddev:"token_holder_stddev_fields", + stddev_pop:"token_holder_stddev_pop_fields", + stddev_samp:"token_holder_stddev_samp_fields", + sum:"token_holder_sum_fields", + var_pop:"token_holder_var_pop_fields", + var_samp:"token_holder_var_samp_fields", + variance:"token_holder_variance_fields" + }, + token_holder_avg_fields:{ + amount:"Float", + id:"Float", + token_id:"Float" + }, + token_holder_max_fields:{ + address:"String", + amount:"bigint", + chain_id:"String", + date_updated:"timestamp", + id:"Int", + token_id:"Int" + }, + token_holder_min_fields:{ + address:"String", + amount:"bigint", + chain_id:"String", + date_updated:"timestamp", + id:"Int", + token_id:"Int" + }, + token_holder_mutation_response:{ + affected_rows:"Int", + returning:"token_holder" + }, + token_holder_stddev_fields:{ + amount:"Float", + id:"Float", + token_id:"Float" + }, + token_holder_stddev_pop_fields:{ + amount:"Float", + id:"Float", + token_id:"Float" + }, + token_holder_stddev_samp_fields:{ + amount:"Float", + id:"Float", + token_id:"Float" + }, + token_holder_sum_fields:{ + amount:"bigint", + id:"Int", + token_id:"Int" + }, + token_holder_var_pop_fields:{ + amount:"Float", + id:"Float", + token_id:"Float" + }, + token_holder_var_samp_fields:{ + amount:"Float", + id:"Float", + token_id:"Float" + }, + token_holder_variance_fields:{ + amount:"Float", + id:"Float", + token_id:"Float" + }, + token_max_fields:{ + chain_id:"String", + circulating_supply:"bigint", + content_path:"String", + content_size_bytes:"Int", + creator:"String", + current_owner:"String", + date_created:"timestamp", + decimals:"smallint", + height:"Int", + id:"Int", + last_price_base:"bigint", + launch_timestamp:"bigint", + max_supply:"numeric", + metadata:"String", + mint_page:"String", + name:"String", + per_mint_limit:"bigint", + ticker:"String", + transaction_id:"Int", + version:"String", + volume_24_base:"bigint" + }, + token_min_fields:{ + chain_id:"String", + circulating_supply:"bigint", + content_path:"String", + content_size_bytes:"Int", + creator:"String", + current_owner:"String", + date_created:"timestamp", + decimals:"smallint", + height:"Int", + id:"Int", + last_price_base:"bigint", + launch_timestamp:"bigint", + max_supply:"numeric", + metadata:"String", + mint_page:"String", + name:"String", + per_mint_limit:"bigint", + ticker:"String", + transaction_id:"Int", + version:"String", + volume_24_base:"bigint" + }, + token_mutation_response:{ + affected_rows:"Int", + returning:"token" + }, + token_open_position:{ + amount:"bigint", + chain_id:"String", + date_created:"timestamp", + date_filled:"timestamp", + id:"Int", + is_cancelled:"Boolean", + is_filled:"Boolean", + ppt:"bigint", + seller_address:"String", + token:"token", + token_id:"Int", + total:"bigint", + transaction:"transaction", + transaction_id:"Int" + }, + token_open_position_aggregate:{ + aggregate:"token_open_position_aggregate_fields", + nodes:"token_open_position" + }, + token_open_position_aggregate_fields:{ + avg:"token_open_position_avg_fields", + count:"Int", + max:"token_open_position_max_fields", + min:"token_open_position_min_fields", + stddev:"token_open_position_stddev_fields", + stddev_pop:"token_open_position_stddev_pop_fields", + stddev_samp:"token_open_position_stddev_samp_fields", + sum:"token_open_position_sum_fields", + var_pop:"token_open_position_var_pop_fields", + var_samp:"token_open_position_var_samp_fields", + variance:"token_open_position_variance_fields" + }, + token_open_position_avg_fields:{ + amount:"Float", + id:"Float", + ppt:"Float", + token_id:"Float", + total:"Float", + transaction_id:"Float" + }, + token_open_position_max_fields:{ + amount:"bigint", + chain_id:"String", + date_created:"timestamp", + date_filled:"timestamp", + id:"Int", + ppt:"bigint", + seller_address:"String", + token_id:"Int", + total:"bigint", + transaction_id:"Int" + }, + token_open_position_min_fields:{ + amount:"bigint", + chain_id:"String", + date_created:"timestamp", + date_filled:"timestamp", + id:"Int", + ppt:"bigint", + seller_address:"String", + token_id:"Int", + total:"bigint", + transaction_id:"Int" + }, + token_open_position_mutation_response:{ + affected_rows:"Int", + returning:"token_open_position" + }, + token_open_position_stddev_fields:{ + amount:"Float", + id:"Float", + ppt:"Float", + token_id:"Float", + total:"Float", + transaction_id:"Float" + }, + token_open_position_stddev_pop_fields:{ + amount:"Float", + id:"Float", + ppt:"Float", + token_id:"Float", + total:"Float", + transaction_id:"Float" + }, + token_open_position_stddev_samp_fields:{ + amount:"Float", + id:"Float", + ppt:"Float", + token_id:"Float", + total:"Float", + transaction_id:"Float" + }, + token_open_position_sum_fields:{ + amount:"bigint", + id:"Int", + ppt:"bigint", + token_id:"Int", + total:"bigint", + transaction_id:"Int" + }, + token_open_position_var_pop_fields:{ + amount:"Float", + id:"Float", + ppt:"Float", + token_id:"Float", + total:"Float", + transaction_id:"Float" + }, + token_open_position_var_samp_fields:{ + amount:"Float", + id:"Float", + ppt:"Float", + token_id:"Float", + total:"Float", + transaction_id:"Float" + }, + token_open_position_variance_fields:{ + amount:"Float", + id:"Float", + ppt:"Float", + token_id:"Float", + total:"Float", + transaction_id:"Float" + }, + token_stddev_fields:{ + circulating_supply:"Float", + content_size_bytes:"Float", + decimals:"Float", + height:"Float", + id:"Float", + last_price_base:"Float", + launch_timestamp:"Float", + max_supply:"Float", + per_mint_limit:"Float", + transaction_id:"Float", + volume_24_base:"Float" + }, + token_stddev_pop_fields:{ + circulating_supply:"Float", + content_size_bytes:"Float", + decimals:"Float", + height:"Float", + id:"Float", + last_price_base:"Float", + launch_timestamp:"Float", + max_supply:"Float", + per_mint_limit:"Float", + transaction_id:"Float", + volume_24_base:"Float" + }, + token_stddev_samp_fields:{ + circulating_supply:"Float", + content_size_bytes:"Float", + decimals:"Float", + height:"Float", + id:"Float", + last_price_base:"Float", + launch_timestamp:"Float", + max_supply:"Float", + per_mint_limit:"Float", + transaction_id:"Float", + volume_24_base:"Float" + }, + token_sum_fields:{ + circulating_supply:"bigint", + content_size_bytes:"Int", + decimals:"smallint", + height:"Int", + id:"Int", + last_price_base:"bigint", + launch_timestamp:"bigint", + max_supply:"numeric", + per_mint_limit:"bigint", + transaction_id:"Int", + volume_24_base:"bigint" + }, + token_trade_history:{ + amount_base:"bigint", + amount_quote:"bigint", + buyer_address:"String", + chain_id:"String", + date_created:"timestamp", + id:"Int", + rate:"Int", + seller_address:"String", + token:"token", + token_id:"Int", + total_usd:"Float", + transaction:"transaction", + transaction_id:"Int" + }, + token_trade_history_aggregate:{ + aggregate:"token_trade_history_aggregate_fields", + nodes:"token_trade_history" + }, + token_trade_history_aggregate_fields:{ + avg:"token_trade_history_avg_fields", + count:"Int", + max:"token_trade_history_max_fields", + min:"token_trade_history_min_fields", + stddev:"token_trade_history_stddev_fields", + stddev_pop:"token_trade_history_stddev_pop_fields", + stddev_samp:"token_trade_history_stddev_samp_fields", + sum:"token_trade_history_sum_fields", + var_pop:"token_trade_history_var_pop_fields", + var_samp:"token_trade_history_var_samp_fields", + variance:"token_trade_history_variance_fields" + }, + token_trade_history_avg_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + token_trade_history_max_fields:{ + amount_base:"bigint", + amount_quote:"bigint", + buyer_address:"String", + chain_id:"String", + date_created:"timestamp", + id:"Int", + rate:"Int", + seller_address:"String", + token_id:"Int", + total_usd:"Float", + transaction_id:"Int" + }, + token_trade_history_min_fields:{ + amount_base:"bigint", + amount_quote:"bigint", + buyer_address:"String", + chain_id:"String", + date_created:"timestamp", + id:"Int", + rate:"Int", + seller_address:"String", + token_id:"Int", + total_usd:"Float", + transaction_id:"Int" + }, + token_trade_history_mutation_response:{ + affected_rows:"Int", + returning:"token_trade_history" + }, + token_trade_history_stddev_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + token_trade_history_stddev_pop_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + token_trade_history_stddev_samp_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + token_trade_history_sum_fields:{ + amount_base:"bigint", + amount_quote:"bigint", + id:"Int", + rate:"Int", + token_id:"Int", + total_usd:"Float", + transaction_id:"Int" + }, + token_trade_history_var_pop_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + token_trade_history_var_samp_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + token_trade_history_variance_fields:{ + amount_base:"Float", + amount_quote:"Float", + id:"Float", + rate:"Float", + token_id:"Float", + total_usd:"Float", + transaction_id:"Float" + }, + token_var_pop_fields:{ + circulating_supply:"Float", + content_size_bytes:"Float", + decimals:"Float", + height:"Float", + id:"Float", + last_price_base:"Float", + launch_timestamp:"Float", + max_supply:"Float", + per_mint_limit:"Float", + transaction_id:"Float", + volume_24_base:"Float" + }, + token_var_samp_fields:{ + circulating_supply:"Float", + content_size_bytes:"Float", + decimals:"Float", + height:"Float", + id:"Float", + last_price_base:"Float", + launch_timestamp:"Float", + max_supply:"Float", + per_mint_limit:"Float", + transaction_id:"Float", + volume_24_base:"Float" + }, + token_variance_fields:{ + circulating_supply:"Float", + content_size_bytes:"Float", + decimals:"Float", + height:"Float", + id:"Float", + last_price_base:"Float", + launch_timestamp:"Float", + max_supply:"Float", + per_mint_limit:"Float", + transaction_id:"Float", + volume_24_base:"Float" + }, + transaction:{ + content:"String", + content_length:"Int", + date_created:"timestamp", + fees:"String", + gas_used:"Int", + hash:"String", + height:"Int", + id:"Int", + inscription_histories:"inscription_history", + inscription_histories_aggregate:"inscription_history_aggregate", + inscriptions:"inscription", + inscriptions_aggregate:"inscription_aggregate", + marketplace_cft20_trade_histories:"marketplace_cft20_trade_history", + marketplace_cft20_trade_histories_aggregate:"marketplace_cft20_trade_history_aggregate", + marketplace_listing_histories:"marketplace_listing_history", + marketplace_listing_histories_aggregate:"marketplace_listing_history_aggregate", + marketplace_listings:"marketplace_listing", + marketplace_listings_aggregate:"marketplace_listing_aggregate", + status_message:"String", + token_address_histories:"token_address_history", + token_address_histories_aggregate:"token_address_history_aggregate", + token_open_positions:"token_open_position", + token_open_positions_aggregate:"token_open_position_aggregate", + token_trade_histories:"token_trade_history", + token_trade_histories_aggregate:"token_trade_history_aggregate", + tokens:"token", + tokens_aggregate:"token_aggregate" + }, + transaction_aggregate:{ + aggregate:"transaction_aggregate_fields", + nodes:"transaction" + }, + transaction_aggregate_fields:{ + avg:"transaction_avg_fields", + count:"Int", + max:"transaction_max_fields", + min:"transaction_min_fields", + stddev:"transaction_stddev_fields", + stddev_pop:"transaction_stddev_pop_fields", + stddev_samp:"transaction_stddev_samp_fields", + sum:"transaction_sum_fields", + var_pop:"transaction_var_pop_fields", + var_samp:"transaction_var_samp_fields", + variance:"transaction_variance_fields" + }, + transaction_avg_fields:{ + content_length:"Float", + gas_used:"Float", + height:"Float", + id:"Float" + }, + transaction_max_fields:{ + content:"String", + content_length:"Int", + date_created:"timestamp", + fees:"String", + gas_used:"Int", + hash:"String", + height:"Int", + id:"Int", + status_message:"String" + }, + transaction_min_fields:{ + content:"String", + content_length:"Int", + date_created:"timestamp", + fees:"String", + gas_used:"Int", + hash:"String", + height:"Int", + id:"Int", + status_message:"String" + }, + transaction_mutation_response:{ + affected_rows:"Int", + returning:"transaction" + }, + transaction_stddev_fields:{ + content_length:"Float", + gas_used:"Float", + height:"Float", + id:"Float" + }, + transaction_stddev_pop_fields:{ + content_length:"Float", + gas_used:"Float", + height:"Float", + id:"Float" + }, + transaction_stddev_samp_fields:{ + content_length:"Float", + gas_used:"Float", + height:"Float", + id:"Float" + }, + transaction_sum_fields:{ + content_length:"Int", + gas_used:"Int", + height:"Int", + id:"Int" + }, + transaction_var_pop_fields:{ + content_length:"Float", + gas_used:"Float", + height:"Float", + id:"Float" + }, + transaction_var_samp_fields:{ + content_length:"Float", + gas_used:"Float", + height:"Float", + id:"Float" + }, + transaction_variance_fields:{ + content_length:"Float", + gas_used:"Float", + height:"Float", + id:"Float" } } export const Ops = { - query: "query_root" as const, +query: "query_root" as const, + mutation: "mutation_root" as const, subscription: "subscription_root" as const } \ No newline at end of file diff --git a/frontend/src/app/core/types/zeus/index.ts b/frontend/src/app/core/types/zeus/index.ts index d16f31ee..ea9a8371 100644 --- a/frontend/src/app/core/types/zeus/index.ts +++ b/frontend/src/app/core/types/zeus/index.ts @@ -8,269 +8,269 @@ export const HEADERS = {} import { createClient, type Sink } from 'graphql-ws'; // keep export const apiSubscription = (options: chainOptions) => { - const client = createClient({ - url: String(options[0]), - connectionParams: Object.fromEntries((new Headers(options[1]?.headers) as any).entries()), - }); + const client = createClient({ + url: String(options[0]), + connectionParams: Object.fromEntries((new Headers(options[1]?.headers) as any).entries()), + }); - const ws = new Proxy( - { - close: () => client.dispose(), - } as WebSocket, - { - get(target, key) { - if (key === 'close') return target.close; - throw new Error(`Unimplemented property '${String(key)}', only 'close()' is available.`); - }, - }, - ); + const ws = new Proxy( + { + close: () => client.dispose(), + } as WebSocket, + { + get(target, key) { + if (key === 'close') return target.close; + throw new Error(`Unimplemented property '${String(key)}', only 'close()' is available.`); + }, + }, + ); - return (query: string) => { - let onMessage: ((event: any) => void) | undefined; - let onError: Sink['error'] | undefined; - let onClose: Sink['complete'] | undefined; + return (query: string) => { + let onMessage: ((event: any) => void) | undefined; + let onError: Sink['error'] | undefined; + let onClose: Sink['complete'] | undefined; - client.subscribe( - { query }, - { - next({ data }) { - onMessage && onMessage(data); - }, - error(error) { - onError && onError(error); - }, - complete() { - onClose && onClose(); - }, - }, - ); + client.subscribe( + { query }, + { + next({ data }) { + onMessage && onMessage(data); + }, + error(error) { + onError && onError(error); + }, + complete() { + onClose && onClose(); + }, + }, + ); - return { - ws, - on(listener: typeof onMessage) { - onMessage = listener; - }, - error(listener: typeof onError) { - onError = listener; - }, - open(listener: (socket: unknown) => void) { - client.on('opened', listener); - }, - off(listener: typeof onClose) { - onClose = listener; - }, - }; - }; + return { + ws, + on(listener: typeof onMessage) { + onMessage = listener; + }, + error(listener: typeof onError) { + onError = listener; + }, + open(listener: (socket: unknown) => void) { + client.on('opened', listener); + }, + off(listener: typeof onClose) { + onClose = listener; + }, + }; + }; }; const handleFetchResponse = (response: Response): Promise => { - if (!response.ok) { - return new Promise((_, reject) => { - response - .text() - .then((text) => { - try { - reject(JSON.parse(text)); - } catch (err) { - reject(text); - } - }) - .catch(reject); - }); - } - return response.json() as Promise; + if (!response.ok) { + return new Promise((_, reject) => { + response + .text() + .then((text) => { + try { + reject(JSON.parse(text)); + } catch (err) { + reject(text); + } + }) + .catch(reject); + }); + } + return response.json() as Promise; }; export const apiFetch = - (options: fetchOptions) => - (query: string, variables: Record = {}) => { - const fetchOptions = options[1] || {}; - if (fetchOptions.method && fetchOptions.method === 'GET') { - return fetch(`${options[0]}?query=${encodeURIComponent(query)}`, fetchOptions) - .then(handleFetchResponse) - .then((response: GraphQLResponse) => { - if (response.errors) { - throw new GraphQLError(response); - } - return response.data; - }); - } - return fetch(`${options[0]}`, { - body: JSON.stringify({ query, variables }), - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - ...fetchOptions, - }) - .then(handleFetchResponse) - .then((response: GraphQLResponse) => { - if (response.errors) { - throw new GraphQLError(response); - } - return response.data; - }); - }; + (options: fetchOptions) => + (query: string, variables: Record = {}) => { + const fetchOptions = options[1] || {}; + if (fetchOptions.method && fetchOptions.method === 'GET') { + return fetch(`${options[0]}?query=${encodeURIComponent(query)}`, fetchOptions) + .then(handleFetchResponse) + .then((response: GraphQLResponse) => { + if (response.errors) { + throw new GraphQLError(response); + } + return response.data; + }); + } + return fetch(`${options[0]}`, { + body: JSON.stringify({ query, variables }), + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + ...fetchOptions, + }) + .then(handleFetchResponse) + .then((response: GraphQLResponse) => { + if (response.errors) { + throw new GraphQLError(response); + } + return response.data; + }); + }; export const InternalsBuildQuery = ({ - ops, - props, - returns, - options, - scalars, + ops, + props, + returns, + options, + scalars, }: { - props: AllTypesPropsType; - returns: ReturnTypesType; - ops: Operations; - options?: OperationOptions; - scalars?: ScalarDefinition; + props: AllTypesPropsType; + returns: ReturnTypesType; + ops: Operations; + options?: OperationOptions; + scalars?: ScalarDefinition; }) => { - const ibb = ( - k: string, - o: InputValueType | VType, - p = '', - root = true, - vars: Array<{ name: string; graphQLType: string }> = [], - ): string => { - const keyForPath = purifyGraphQLKey(k); - const newPath = [p, keyForPath].join(SEPARATOR); - if (!o) { - return ''; - } - if (typeof o === 'boolean' || typeof o === 'number') { - return k; - } - if (typeof o === 'string') { - return `${k} ${o}`; - } - if (Array.isArray(o)) { - const args = InternalArgsBuilt({ - props, - returns, - ops, - scalars, - vars, - })(o[0], newPath); - return `${ibb(args ? `${k}(${args})` : k, o[1], p, false, vars)}`; - } - if (k === '__alias') { - return Object.entries(o) - .map(([alias, objectUnderAlias]) => { - if (typeof objectUnderAlias !== 'object' || Array.isArray(objectUnderAlias)) { - throw new Error( - 'Invalid alias it should be __alias:{ YOUR_ALIAS_NAME: { OPERATION_NAME: { ...selectors }}}', - ); - } - const operationName = Object.keys(objectUnderAlias)[0]; - const operation = objectUnderAlias[operationName]; - return ibb(`${alias}:${operationName}`, operation, p, false, vars); - }) - .join('\n'); - } - const hasOperationName = root && options?.operationName ? ' ' + options.operationName : ''; - const keyForDirectives = o['__directives'] ?? ''; - const query = `{${Object.entries(o) - .filter(([k]) => k !== '__directives') - .map((e) => ibb(...e, [p, `field<>${keyForPath}`].join(SEPARATOR), false, vars)) - .join('\n')}}`; - if (!root) { - return `${k} ${keyForDirectives}${hasOperationName} ${query}`; - } - const varsString = vars.map((v) => `${v.name}: ${v.graphQLType}`).join(', '); - return `${k} ${keyForDirectives}${hasOperationName}${varsString ? `(${varsString})` : ''} ${query}`; - }; - return ibb; + const ibb = ( + k: string, + o: InputValueType | VType, + p = '', + root = true, + vars: Array<{ name: string; graphQLType: string }> = [], + ): string => { + const keyForPath = purifyGraphQLKey(k); + const newPath = [p, keyForPath].join(SEPARATOR); + if (!o) { + return ''; + } + if (typeof o === 'boolean' || typeof o === 'number') { + return k; + } + if (typeof o === 'string') { + return `${k} ${o}`; + } + if (Array.isArray(o)) { + const args = InternalArgsBuilt({ + props, + returns, + ops, + scalars, + vars, + })(o[0], newPath); + return `${ibb(args ? `${k}(${args})` : k, o[1], p, false, vars)}`; + } + if (k === '__alias') { + return Object.entries(o) + .map(([alias, objectUnderAlias]) => { + if (typeof objectUnderAlias !== 'object' || Array.isArray(objectUnderAlias)) { + throw new Error( + 'Invalid alias it should be __alias:{ YOUR_ALIAS_NAME: { OPERATION_NAME: { ...selectors }}}', + ); + } + const operationName = Object.keys(objectUnderAlias)[0]; + const operation = objectUnderAlias[operationName]; + return ibb(`${alias}:${operationName}`, operation, p, false, vars); + }) + .join('\n'); + } + const hasOperationName = root && options?.operationName ? ' ' + options.operationName : ''; + const keyForDirectives = o['__directives'] ?? ''; + const query = `{${Object.entries(o) + .filter(([k]) => k !== '__directives') + .map((e) => ibb(...e, [p, `field<>${keyForPath}`].join(SEPARATOR), false, vars)) + .join('\n')}}`; + if (!root) { + return `${k} ${keyForDirectives}${hasOperationName} ${query}`; + } + const varsString = vars.map((v) => `${v.name}: ${v.graphQLType}`).join(', '); + return `${k} ${keyForDirectives}${hasOperationName}${varsString ? `(${varsString})` : ''} ${query}`; + }; + return ibb; }; export const Thunder = - (fn: FetchFunction) => - >( - operation: O, - graphqlOptions?: ThunderGraphQLOptions, - ) => - ( - o: (Z & ValueTypes[R]) | ValueTypes[R], - ops?: OperationOptions & { variables?: Record }, - ) => - fn( - Zeus(operation, o, { - operationOptions: ops, - scalars: graphqlOptions?.scalars, - }), - ops?.variables, - ).then((data) => { - if (graphqlOptions?.scalars) { - return decodeScalarsInResponse({ - response: data, - initialOp: operation, - initialZeusQuery: o as VType, - returns: ReturnTypes, - scalars: graphqlOptions.scalars, - ops: Ops, - }); - } - return data; - }) as Promise>; + (fn: FetchFunction) => + >( + operation: O, + graphqlOptions?: ThunderGraphQLOptions, + ) => + ( + o: (Z & ValueTypes[R]) | ValueTypes[R], + ops?: OperationOptions & { variables?: Record }, + ) => + fn( + Zeus(operation, o, { + operationOptions: ops, + scalars: graphqlOptions?.scalars, + }), + ops?.variables, + ).then((data) => { + if (graphqlOptions?.scalars) { + return decodeScalarsInResponse({ + response: data, + initialOp: operation, + initialZeusQuery: o as VType, + returns: ReturnTypes, + scalars: graphqlOptions.scalars, + ops: Ops, + }); + } + return data; + }) as Promise>; export const Chain = (...options: chainOptions) => Thunder(apiFetch(options)); export const SubscriptionThunder = - (fn: SubscriptionFunction) => - >( - operation: O, - graphqlOptions?: ThunderGraphQLOptions, - ) => - ( - o: (Z & ValueTypes[R]) | ValueTypes[R], - ops?: OperationOptions & { variables?: ExtractVariables }, - ) => { - const returnedFunction = fn( - Zeus(operation, o, { - operationOptions: ops, - scalars: graphqlOptions?.scalars, - }), - ) as SubscriptionToGraphQL; - if (returnedFunction?.on && graphqlOptions?.scalars) { - const wrapped = returnedFunction.on; - returnedFunction.on = (fnToCall: (args: InputType) => void) => - wrapped((data: InputType) => { - if (graphqlOptions?.scalars) { - return fnToCall( - decodeScalarsInResponse({ - response: data, - initialOp: operation, - initialZeusQuery: o as VType, - returns: ReturnTypes, - scalars: graphqlOptions.scalars, - ops: Ops, - }), - ); - } - return fnToCall(data); - }); - } - return returnedFunction; - }; + (fn: SubscriptionFunction) => + >( + operation: O, + graphqlOptions?: ThunderGraphQLOptions, + ) => + ( + o: (Z & ValueTypes[R]) | ValueTypes[R], + ops?: OperationOptions & { variables?: ExtractVariables }, + ) => { + const returnedFunction = fn( + Zeus(operation, o, { + operationOptions: ops, + scalars: graphqlOptions?.scalars, + }), + ) as SubscriptionToGraphQL; + if (returnedFunction?.on && graphqlOptions?.scalars) { + const wrapped = returnedFunction.on; + returnedFunction.on = (fnToCall: (args: InputType) => void) => + wrapped((data: InputType) => { + if (graphqlOptions?.scalars) { + return fnToCall( + decodeScalarsInResponse({ + response: data, + initialOp: operation, + initialZeusQuery: o as VType, + returns: ReturnTypes, + scalars: graphqlOptions.scalars, + ops: Ops, + }), + ); + } + return fnToCall(data); + }); + } + return returnedFunction; + }; export const Subscription = (...options: chainOptions) => SubscriptionThunder(apiSubscription(options)); export const Zeus = < - Z extends ValueTypes[R], - O extends keyof typeof Ops, - R extends keyof ValueTypes = GenericOperation, + Z extends ValueTypes[R], + O extends keyof typeof Ops, + R extends keyof ValueTypes = GenericOperation, >( - operation: O, - o: (Z & ValueTypes[R]) | ValueTypes[R], - ops?: { - operationOptions?: OperationOptions; - scalars?: ScalarDefinition; - }, + operation: O, + o: (Z & ValueTypes[R]) | ValueTypes[R], + ops?: { + operationOptions?: OperationOptions; + scalars?: ScalarDefinition; + }, ) => - InternalsBuildQuery({ - props: AllTypesProps, - returns: ReturnTypes, - ops: Ops, - options: ops?.operationOptions, - scalars: ops?.scalars, - })(operation, o as VType); + InternalsBuildQuery({ + props: AllTypesProps, + returns: ReturnTypes, + ops: Ops, + options: ops?.operationOptions, + scalars: ops?.scalars, + })(operation, o as VType); export const ZeusSelect = () => ((t: unknown) => t) as SelectionFunction; @@ -278,128 +278,128 @@ export const Selector = (key: T) => key && ZeusSelec export const TypeFromSelector = (key: T) => key && ZeusSelect(); export const Gql = Chain(HOST, { - headers: { - 'Content-Type': 'application/json', - ...HEADERS, - }, + headers: { + 'Content-Type': 'application/json', + ...HEADERS, + }, }); export const ZeusScalars = ZeusSelect(); export const decodeScalarsInResponse = ({ - response, - scalars, - returns, - ops, - initialZeusQuery, - initialOp, + response, + scalars, + returns, + ops, + initialZeusQuery, + initialOp, }: { - ops: O; - response: any; - returns: ReturnTypesType; - scalars?: Record; - initialOp: keyof O; - initialZeusQuery: InputValueType | VType; + ops: O; + response: any; + returns: ReturnTypesType; + scalars?: Record; + initialOp: keyof O; + initialZeusQuery: InputValueType | VType; }) => { - if (!scalars) { - return response; - } - const builder = PrepareScalarPaths({ - ops, - returns, - }); + if (!scalars) { + return response; + } + const builder = PrepareScalarPaths({ + ops, + returns, + }); - const scalarPaths = builder(initialOp as string, ops[initialOp], initialZeusQuery); - if (scalarPaths) { - const r = traverseResponse({ scalarPaths, resolvers: scalars })(initialOp as string, response, [ops[initialOp]]); - return r; - } - return response; + const scalarPaths = builder(initialOp as string, ops[initialOp], initialZeusQuery); + if (scalarPaths) { + const r = traverseResponse({ scalarPaths, resolvers: scalars })(initialOp as string, response, [ops[initialOp]]); + return r; + } + return response; }; export const traverseResponse = ({ - resolvers, - scalarPaths, + resolvers, + scalarPaths, }: { - scalarPaths: { [x: string]: `scalar.${string}` }; - resolvers: { - [x: string]: ScalarResolver | undefined; - }; + scalarPaths: { [x: string]: `scalar.${string}` }; + resolvers: { + [x: string]: ScalarResolver | undefined; + }; }) => { - const ibb = (k: string, o: InputValueType | VType, p: string[] = []): unknown => { - if (Array.isArray(o)) { - return o.map((eachO) => ibb(k, eachO, p)); - } - if (o == null) { - return o; - } - const scalarPathString = p.join(SEPARATOR); - const currentScalarString = scalarPaths[scalarPathString]; - if (currentScalarString) { - const currentDecoder = resolvers[currentScalarString.split('.')[1]]?.decode; - if (currentDecoder) { - return currentDecoder(o); - } - } - if (typeof o === 'boolean' || typeof o === 'number' || typeof o === 'string' || !o) { - return o; - } - const entries = Object.entries(o).map(([k, v]) => [k, ibb(k, v, [...p, purifyGraphQLKey(k)])] as const); - const objectFromEntries = entries.reduce>((a, [k, v]) => { - a[k] = v; - return a; - }, {}); - return objectFromEntries; - }; - return ibb; + const ibb = (k: string, o: InputValueType | VType, p: string[] = []): unknown => { + if (Array.isArray(o)) { + return o.map((eachO) => ibb(k, eachO, p)); + } + if (o == null) { + return o; + } + const scalarPathString = p.join(SEPARATOR); + const currentScalarString = scalarPaths[scalarPathString]; + if (currentScalarString) { + const currentDecoder = resolvers[currentScalarString.split('.')[1]]?.decode; + if (currentDecoder) { + return currentDecoder(o); + } + } + if (typeof o === 'boolean' || typeof o === 'number' || typeof o === 'string' || !o) { + return o; + } + const entries = Object.entries(o).map(([k, v]) => [k, ibb(k, v, [...p, purifyGraphQLKey(k)])] as const); + const objectFromEntries = entries.reduce>((a, [k, v]) => { + a[k] = v; + return a; + }, {}); + return objectFromEntries; + }; + return ibb; }; export type AllTypesPropsType = { - [x: string]: - | undefined - | `scalar.${string}` - | 'enum' - | { - [x: string]: - | undefined - | string - | { - [x: string]: string | undefined; - }; - }; + [x: string]: + | undefined + | `scalar.${string}` + | 'enum' + | { + [x: string]: + | undefined + | string + | { + [x: string]: string | undefined; + }; + }; }; export type ReturnTypesType = { - [x: string]: - | { - [x: string]: string | undefined; - } - | `scalar.${string}` - | undefined; + [x: string]: + | { + [x: string]: string | undefined; + } + | `scalar.${string}` + | undefined; }; export type InputValueType = { - [x: string]: undefined | boolean | string | number | [any, undefined | boolean | InputValueType] | InputValueType; + [x: string]: undefined | boolean | string | number | [any, undefined | boolean | InputValueType] | InputValueType; }; export type VType = - | undefined - | boolean - | string - | number - | [any, undefined | boolean | InputValueType] - | InputValueType; + | undefined + | boolean + | string + | number + | [any, undefined | boolean | InputValueType] + | InputValueType; export type PlainType = boolean | number | string | null | undefined; export type ZeusArgsType = - | PlainType - | { - [x: string]: ZeusArgsType; - } - | Array; + | PlainType + | { + [x: string]: ZeusArgsType; + } + | Array; export type Operations = Record; export type VariableDefinition = { - [x: string]: unknown; + [x: string]: unknown; }; export const SEPARATOR = '|'; @@ -413,379 +413,379 @@ type NotUndefined = T extends undefined ? never : T; export type ResolverType = NotUndefined; export type OperationOptions = { - operationName?: string; + operationName?: string; }; export type ScalarCoder = Record string>; export interface GraphQLResponse { - data?: Record; - errors?: Array<{ - message: string; - }>; + data?: Record; + errors?: Array<{ + message: string; + }>; } export class GraphQLError extends Error { - constructor(public response: GraphQLResponse) { - super(''); - console.error(response); - } - override toString() { - return 'GraphQL Response Error'; - } + constructor(public response: GraphQLResponse) { + super(''); + console.error(response); + } + override toString() { + return 'GraphQL Response Error'; + } } export type GenericOperation = O extends keyof typeof Ops ? typeof Ops[O] : never; export type ThunderGraphQLOptions = { - scalars?: SCLR | ScalarCoders; + scalars?: SCLR | ScalarCoders; }; const ExtractScalar = (mappedParts: string[], returns: ReturnTypesType): `scalar.${string}` | undefined => { - if (mappedParts.length === 0) { - return; - } - const oKey = mappedParts[0]; - const returnP1 = returns[oKey]; - if (typeof returnP1 === 'object') { - const returnP2 = returnP1[mappedParts[1]]; - if (returnP2) { - return ExtractScalar([returnP2, ...mappedParts.slice(2)], returns); - } - return undefined; - } - return returnP1 as `scalar.${string}` | undefined; + if (mappedParts.length === 0) { + return; + } + const oKey = mappedParts[0]; + const returnP1 = returns[oKey]; + if (typeof returnP1 === 'object') { + const returnP2 = returnP1[mappedParts[1]]; + if (returnP2) { + return ExtractScalar([returnP2, ...mappedParts.slice(2)], returns); + } + return undefined; + } + return returnP1 as `scalar.${string}` | undefined; }; export const PrepareScalarPaths = ({ ops, returns }: { returns: ReturnTypesType; ops: Operations }) => { - const ibb = ( - k: string, - originalKey: string, - o: InputValueType | VType, - p: string[] = [], - pOriginals: string[] = [], - root = true, - ): { [x: string]: `scalar.${string}` } | undefined => { - if (!o) { - return; - } - if (typeof o === 'boolean' || typeof o === 'number' || typeof o === 'string') { - const extractionArray = [...pOriginals, originalKey]; - const isScalar = ExtractScalar(extractionArray, returns); - if (isScalar?.startsWith('scalar')) { - const partOfTree = { - [[...p, k].join(SEPARATOR)]: isScalar, - }; - return partOfTree; - } - return {}; - } - if (Array.isArray(o)) { - return ibb(k, k, o[1], p, pOriginals, false); - } - if (k === '__alias') { - return Object.entries(o) - .map(([alias, objectUnderAlias]) => { - if (typeof objectUnderAlias !== 'object' || Array.isArray(objectUnderAlias)) { - throw new Error( - 'Invalid alias it should be __alias:{ YOUR_ALIAS_NAME: { OPERATION_NAME: { ...selectors }}}', - ); - } - const operationName = Object.keys(objectUnderAlias)[0]; - const operation = objectUnderAlias[operationName]; - return ibb(alias, operationName, operation, p, pOriginals, false); - }) - .reduce((a, b) => ({ - ...a, - ...b, - })); - } - const keyName = root ? ops[k] : k; - return Object.entries(o) - .filter(([k]) => k !== '__directives') - .map(([k, v]) => { - // Inline fragments shouldn't be added to the path as they aren't a field - const isInlineFragment = originalKey.match(/^...\s*on/) != null; - return ibb( - k, - k, - v, - isInlineFragment ? p : [...p, purifyGraphQLKey(keyName || k)], - isInlineFragment ? pOriginals : [...pOriginals, purifyGraphQLKey(originalKey)], - false, - ); - }) - .reduce((a, b) => ({ - ...a, - ...b, - })); - }; - return ibb; + const ibb = ( + k: string, + originalKey: string, + o: InputValueType | VType, + p: string[] = [], + pOriginals: string[] = [], + root = true, + ): { [x: string]: `scalar.${string}` } | undefined => { + if (!o) { + return; + } + if (typeof o === 'boolean' || typeof o === 'number' || typeof o === 'string') { + const extractionArray = [...pOriginals, originalKey]; + const isScalar = ExtractScalar(extractionArray, returns); + if (isScalar?.startsWith('scalar')) { + const partOfTree = { + [[...p, k].join(SEPARATOR)]: isScalar, + }; + return partOfTree; + } + return {}; + } + if (Array.isArray(o)) { + return ibb(k, k, o[1], p, pOriginals, false); + } + if (k === '__alias') { + return Object.entries(o) + .map(([alias, objectUnderAlias]) => { + if (typeof objectUnderAlias !== 'object' || Array.isArray(objectUnderAlias)) { + throw new Error( + 'Invalid alias it should be __alias:{ YOUR_ALIAS_NAME: { OPERATION_NAME: { ...selectors }}}', + ); + } + const operationName = Object.keys(objectUnderAlias)[0]; + const operation = objectUnderAlias[operationName]; + return ibb(alias, operationName, operation, p, pOriginals, false); + }) + .reduce((a, b) => ({ + ...a, + ...b, + })); + } + const keyName = root ? ops[k] : k; + return Object.entries(o) + .filter(([k]) => k !== '__directives') + .map(([k, v]) => { + // Inline fragments shouldn't be added to the path as they aren't a field + const isInlineFragment = originalKey.match(/^...\s*on/) != null; + return ibb( + k, + k, + v, + isInlineFragment ? p : [...p, purifyGraphQLKey(keyName || k)], + isInlineFragment ? pOriginals : [...pOriginals, purifyGraphQLKey(originalKey)], + false, + ); + }) + .reduce((a, b) => ({ + ...a, + ...b, + })); + }; + return ibb; }; export const purifyGraphQLKey = (k: string) => k.replace(/\([^)]*\)/g, '').replace(/^[^:]*\:/g, ''); const mapPart = (p: string) => { - const [isArg, isField] = p.split('<>'); - if (isField) { - return { - v: isField, - __type: 'field', - } as const; - } - return { - v: isArg, - __type: 'arg', - } as const; + const [isArg, isField] = p.split('<>'); + if (isField) { + return { + v: isField, + __type: 'field', + } as const; + } + return { + v: isArg, + __type: 'arg', + } as const; }; type Part = ReturnType; export const ResolveFromPath = (props: AllTypesPropsType, returns: ReturnTypesType, ops: Operations) => { - const ResolvePropsType = (mappedParts: Part[]) => { - const oKey = ops[mappedParts[0].v]; - const propsP1 = oKey ? props[oKey] : props[mappedParts[0].v]; - if (propsP1 === 'enum' && mappedParts.length === 1) { - return 'enum'; - } - if (typeof propsP1 === 'string' && propsP1.startsWith('scalar.') && mappedParts.length === 1) { - return propsP1; - } - if (typeof propsP1 === 'object') { - if (mappedParts.length < 2) { - return 'not'; - } - const propsP2 = propsP1[mappedParts[1].v]; - if (typeof propsP2 === 'string') { - return rpp( - `${propsP2}${SEPARATOR}${mappedParts - .slice(2) - .map((mp) => mp.v) - .join(SEPARATOR)}`, - ); - } - if (typeof propsP2 === 'object') { - if (mappedParts.length < 3) { - return 'not'; - } - const propsP3 = propsP2[mappedParts[2].v]; - if (propsP3 && mappedParts[2].__type === 'arg') { - return rpp( - `${propsP3}${SEPARATOR}${mappedParts - .slice(3) - .map((mp) => mp.v) - .join(SEPARATOR)}`, - ); - } - } - } - return 'not'; - }; - const ResolveReturnType = (mappedParts: Part[]) => { - if (mappedParts.length === 0) { - return 'not'; - } - const oKey = ops[mappedParts[0].v]; - const returnP1 = oKey ? returns[oKey] : returns[mappedParts[0].v]; - if (typeof returnP1 === 'object') { - if (mappedParts.length < 2) return 'not'; - const returnP2 = returnP1[mappedParts[1].v]; - if (returnP2) { - return rpp( - `${returnP2}${SEPARATOR}${mappedParts - .slice(2) - .map((mp) => mp.v) - .join(SEPARATOR)}`, - ); - } - } - return 'not'; - }; - const rpp = (path: string): 'enum' | 'not' | `scalar.${string}` => { - const parts = path.split(SEPARATOR).filter((l) => l.length > 0); - const mappedParts = parts.map(mapPart); - const propsP1 = ResolvePropsType(mappedParts); - if (propsP1) { - return propsP1; - } - const returnP1 = ResolveReturnType(mappedParts); - if (returnP1) { - return returnP1; - } - return 'not'; - }; - return rpp; + const ResolvePropsType = (mappedParts: Part[]) => { + const oKey = ops[mappedParts[0].v]; + const propsP1 = oKey ? props[oKey] : props[mappedParts[0].v]; + if (propsP1 === 'enum' && mappedParts.length === 1) { + return 'enum'; + } + if (typeof propsP1 === 'string' && propsP1.startsWith('scalar.') && mappedParts.length === 1) { + return propsP1; + } + if (typeof propsP1 === 'object') { + if (mappedParts.length < 2) { + return 'not'; + } + const propsP2 = propsP1[mappedParts[1].v]; + if (typeof propsP2 === 'string') { + return rpp( + `${propsP2}${SEPARATOR}${mappedParts + .slice(2) + .map((mp) => mp.v) + .join(SEPARATOR)}`, + ); + } + if (typeof propsP2 === 'object') { + if (mappedParts.length < 3) { + return 'not'; + } + const propsP3 = propsP2[mappedParts[2].v]; + if (propsP3 && mappedParts[2].__type === 'arg') { + return rpp( + `${propsP3}${SEPARATOR}${mappedParts + .slice(3) + .map((mp) => mp.v) + .join(SEPARATOR)}`, + ); + } + } + } + return 'not'; + }; + const ResolveReturnType = (mappedParts: Part[]) => { + if (mappedParts.length === 0) { + return 'not'; + } + const oKey = ops[mappedParts[0].v]; + const returnP1 = oKey ? returns[oKey] : returns[mappedParts[0].v]; + if (typeof returnP1 === 'object') { + if (mappedParts.length < 2) return 'not'; + const returnP2 = returnP1[mappedParts[1].v]; + if (returnP2) { + return rpp( + `${returnP2}${SEPARATOR}${mappedParts + .slice(2) + .map((mp) => mp.v) + .join(SEPARATOR)}`, + ); + } + } + return 'not' + }; + const rpp = (path: string): 'enum' | 'not' | `scalar.${string}` => { + const parts = path.split(SEPARATOR).filter((l) => l.length > 0); + const mappedParts = parts.map(mapPart); + const propsP1 = ResolvePropsType(mappedParts); + if (propsP1) { + return propsP1; + } + const returnP1 = ResolveReturnType(mappedParts); + if (returnP1) { + return returnP1; + } + return 'not'; + }; + return rpp; }; export const InternalArgsBuilt = ({ - props, - ops, - returns, - scalars, - vars, + props, + ops, + returns, + scalars, + vars, }: { - props: AllTypesPropsType; - returns: ReturnTypesType; - ops: Operations; - scalars?: ScalarDefinition; - vars: Array<{ name: string; graphQLType: string }>; + props: AllTypesPropsType; + returns: ReturnTypesType; + ops: Operations; + scalars?: ScalarDefinition; + vars: Array<{ name: string; graphQLType: string }>; }) => { - const arb = (a: ZeusArgsType, p = '', root = true): string => { - if (typeof a === 'string') { - if (a.startsWith(START_VAR_NAME)) { - const [varName, graphQLType] = a.replace(START_VAR_NAME, '$').split(GRAPHQL_TYPE_SEPARATOR); - const v = vars.find((v) => v.name === varName); - if (!v) { - vars.push({ - name: varName, - graphQLType, - }); - } else { - if (v.graphQLType !== graphQLType) { - throw new Error( - `Invalid variable exists with two different GraphQL Types, "${v.graphQLType}" and ${graphQLType}`, - ); - } - } - return varName; - } - } - const checkType = ResolveFromPath(props, returns, ops)(p); - if (checkType.startsWith('scalar.')) { - // eslint-disable-next-line @typescript-eslint/no-unused-vars - const [_, ...splittedScalar] = checkType.split('.'); - const scalarKey = splittedScalar.join('.'); - return (scalars?.[scalarKey]?.encode?.(a) as string) || JSON.stringify(a); - } - if (Array.isArray(a)) { - return `[${a.map((arr) => arb(arr, p, false)).join(', ')}]`; - } - if (typeof a === 'string') { - if (checkType === 'enum') { - return a; - } - return `${JSON.stringify(a)}`; - } - if (typeof a === 'object') { - if (a === null) { - return `null`; - } - const returnedObjectString = Object.entries(a) - .filter(([, v]) => typeof v !== 'undefined') - .map(([k, v]) => `${k}: ${arb(v, [p, k].join(SEPARATOR), false)}`) - .join(',\n'); - if (!root) { - return `{${returnedObjectString}}`; - } - return returnedObjectString; - } - return `${a}`; - }; - return arb; + const arb = (a: ZeusArgsType, p = '', root = true): string => { + if (typeof a === 'string') { + if (a.startsWith(START_VAR_NAME)) { + const [varName, graphQLType] = a.replace(START_VAR_NAME, '$').split(GRAPHQL_TYPE_SEPARATOR); + const v = vars.find((v) => v.name === varName); + if (!v) { + vars.push({ + name: varName, + graphQLType, + }); + } else { + if (v.graphQLType !== graphQLType) { + throw new Error( + `Invalid variable exists with two different GraphQL Types, "${v.graphQLType}" and ${graphQLType}`, + ); + } + } + return varName; + } + } + const checkType = ResolveFromPath(props, returns, ops)(p); + if (checkType.startsWith('scalar.')) { + // eslint-disable-next-line @typescript-eslint/no-unused-vars + const [_, ...splittedScalar] = checkType.split('.'); + const scalarKey = splittedScalar.join('.'); + return (scalars?.[scalarKey]?.encode?.(a) as string) || JSON.stringify(a); + } + if (Array.isArray(a)) { + return `[${a.map((arr) => arb(arr, p, false)).join(', ')}]`; + } + if (typeof a === 'string') { + if (checkType === 'enum') { + return a; + } + return `${JSON.stringify(a)}`; + } + if (typeof a === 'object') { + if (a === null) { + return `null`; + } + const returnedObjectString = Object.entries(a) + .filter(([, v]) => typeof v !== 'undefined') + .map(([k, v]) => `${k}: ${arb(v, [p, k].join(SEPARATOR), false)}`) + .join(',\n'); + if (!root) { + return `{${returnedObjectString}}`; + } + return returnedObjectString; + } + return `${a}`; + }; + return arb; }; export const resolverFor = ( - type: T, - field: Z, - fn: ( - args: Required[Z] extends [infer Input, any] ? Input : any, - source: any, - ) => Z extends keyof ModelTypes[T] ? ModelTypes[T][Z] | Promise | X : never, + type: T, + field: Z, + fn: ( + args: Required[Z] extends [infer Input, any] ? Input : any, + source: any, + ) => Z extends keyof ModelTypes[T] ? ModelTypes[T][Z] | Promise | X : never, ) => fn as (args?: any, source?: any) => ReturnType; export type UnwrapPromise = T extends Promise ? R : T; export type ZeusState Promise> = NonNullable>>; export type ZeusHook< - T extends (...args: any[]) => Record Promise>, - N extends keyof ReturnType, + T extends (...args: any[]) => Record Promise>, + N extends keyof ReturnType, > = ZeusState[N]>; export type WithTypeNameValue = T & { - __typename?: boolean; - __directives?: string; + __typename?: boolean; + __directives?: string; }; export type AliasType = WithTypeNameValue & { - __alias?: Record>; + __alias?: Record>; }; type DeepAnify = { - [P in keyof T]?: any; + [P in keyof T]?: any; }; type IsPayLoad = T extends [any, infer PayLoad] ? PayLoad : T; export type ScalarDefinition = Record; type IsScalar = S extends 'scalar' & { name: infer T } - ? T extends keyof SCLR - ? SCLR[T]['decode'] extends (s: unknown) => unknown - ? ReturnType - : unknown - : unknown - : S; + ? T extends keyof SCLR + ? SCLR[T]['decode'] extends (s: unknown) => unknown + ? ReturnType + : unknown + : unknown + : S; type IsArray = T extends Array - ? InputType[] - : InputType; + ? InputType[] + : InputType; type FlattenArray = T extends Array ? R : T; type BaseZeusResolver = boolean | 1 | string | Variable; type IsInterfaced, DST, SCLR extends ScalarDefinition> = FlattenArray extends - | ZEUS_INTERFACES - | ZEUS_UNIONS - ? { - [P in keyof SRC]: SRC[P] extends '__union' & infer R - ? P extends keyof DST - ? IsArray - : IsArray, SCLR> - : never; - }[keyof SRC] & { - [P in keyof Omit< - Pick< - SRC, - { - [P in keyof DST]: SRC[P] extends '__union' & infer R ? never : P; - }[keyof DST] - >, - '__typename' - >]: IsPayLoad extends BaseZeusResolver ? IsScalar : IsArray; - } - : { - [P in keyof Pick]: IsPayLoad extends BaseZeusResolver - ? IsScalar - : IsArray; - }; + | ZEUS_INTERFACES + | ZEUS_UNIONS + ? { + [P in keyof SRC]: SRC[P] extends '__union' & infer R + ? P extends keyof DST + ? IsArray + : IsArray, SCLR> + : never; + }[keyof SRC] & { + [P in keyof Omit< + Pick< + SRC, + { + [P in keyof DST]: SRC[P] extends '__union' & infer R ? never : P; + }[keyof DST] + >, + '__typename' + >]: IsPayLoad extends BaseZeusResolver ? IsScalar : IsArray; + } + : { + [P in keyof Pick]: IsPayLoad extends BaseZeusResolver + ? IsScalar + : IsArray; + }; export type MapType = SRC extends DeepAnify - ? IsInterfaced - : never; + ? IsInterfaced + : never; // eslint-disable-next-line @typescript-eslint/ban-types export type InputType = IsPayLoad extends { __alias: infer R } - ? { - [P in keyof R]: MapType[keyof MapType]; - } & MapType, '__alias'>, SCLR> - : MapType, SCLR>; + ? { + [P in keyof R]: MapType[keyof MapType]; + } & MapType, '__alias'>, SCLR> + : MapType, SCLR>; export type SubscriptionToGraphQL = { - ws: WebSocket; - on: (fn: (args: InputType) => void) => void; - off: (fn: (e: { data?: InputType; code?: number; reason?: string; message?: string }) => void) => void; - error: (fn: (e: { data?: InputType; errors?: string[] }) => void) => void; - open: () => void; + ws: WebSocket; + on: (fn: (args: InputType) => void) => void; + off: (fn: (e: { data?: InputType; code?: number; reason?: string; message?: string }) => void) => void; + error: (fn: (e: { data?: InputType; errors?: string[] }) => void) => void; + open: () => void; }; // eslint-disable-next-line @typescript-eslint/ban-types export type FromSelector = InputType< - GraphQLTypes[NAME], - SELECTOR, - SCLR + GraphQLTypes[NAME], + SELECTOR, + SCLR >; export type ScalarResolver = { - encode?: (s: unknown) => string; - decode?: (s: unknown) => unknown; + encode?: (s: unknown) => string; + decode?: (s: unknown) => unknown; }; export type SelectionFunction = (t: T | V) => T; type BuiltInVariableTypes = { - ['String']: string; - ['Int']: number; - ['Float']: number; - ['ID']: unknown; - ['Boolean']: boolean; + ['String']: string; + ['Int']: number; + ['Float']: number; + ['ID']: unknown; + ['Boolean']: boolean; }; type AllVariableTypes = keyof BuiltInVariableTypes | keyof ZEUS_VARIABLES; type VariableRequired = `${T}!` | T | `[${T}]` | `[${T}]!` | `[${T}!]` | `[${T}!]!`; @@ -794,60 +794,67 @@ type VR = VariableRequired>; export type GraphQLVariableType = VR; type ExtractVariableTypeString = T extends VR - ? R1 extends VR - ? R2 extends VR - ? R3 extends VR - ? R4 extends VR - ? R5 - : R4 - : R3 - : R2 - : R1 - : T; + ? R1 extends VR + ? R2 extends VR + ? R3 extends VR + ? R4 extends VR + ? R5 + : R4 + : R3 + : R2 + : R1 + : T; type DecomposeType = T extends `[${infer R}]` - ? Array> | undefined - : T extends `${infer R}!` - ? NonNullable> - : Type | undefined; + ? Array> | undefined + : T extends `${infer R}!` + ? NonNullable> + : Type | undefined; type ExtractTypeFromGraphQLType = T extends keyof ZEUS_VARIABLES - ? ZEUS_VARIABLES[T] - : T extends keyof BuiltInVariableTypes - ? BuiltInVariableTypes[T] - : any; + ? ZEUS_VARIABLES[T] + : T extends keyof BuiltInVariableTypes + ? BuiltInVariableTypes[T] + : any; export type GetVariableType = DecomposeType< - T, - ExtractTypeFromGraphQLType> + T, + ExtractTypeFromGraphQLType> >; type UndefinedKeys = { - [K in keyof T]-?: T[K] extends NonNullable ? never : K; + [K in keyof T]-?: T[K] extends NonNullable ? never : K; }[keyof T]; type WithNullableKeys = Pick>; type WithNonNullableKeys = Omit>; type OptionalKeys = { - [P in keyof T]?: T[P]; + [P in keyof T]?: T[P]; }; export type WithOptionalNullables = OptionalKeys> & WithNonNullableKeys; export type Variable = { - ' __zeus_name': Name; - ' __zeus_type': T; + ' __zeus_name': Name; + ' __zeus_type': T; }; +export type ExtractVariablesDeep = Query extends Variable + ? { [key in VName]: GetVariableType } + : Query extends string | number | boolean | Array + ? // eslint-disable-next-line @typescript-eslint/ban-types + {} + : UnionToIntersection<{ [K in keyof Query]: WithOptionalNullables> }[keyof Query]>; + export type ExtractVariables = Query extends Variable - ? { [key in VName]: GetVariableType } - : Query extends [infer Inputs, infer Outputs] - ? ExtractVariables & ExtractVariables - : Query extends string | number | boolean - ? // eslint-disable-next-line @typescript-eslint/ban-types - {} - : UnionToIntersection<{ [K in keyof Query]: WithOptionalNullables> }[keyof Query]>; + ? { [key in VName]: GetVariableType } + : Query extends [infer Inputs, infer Outputs] + ? ExtractVariablesDeep & ExtractVariables + : Query extends string | number | boolean | Array + ? // eslint-disable-next-line @typescript-eslint/ban-types + {} + : UnionToIntersection<{ [K in keyof Query]: WithOptionalNullables> }[keyof Query]>; type UnionToIntersection = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never; @@ -855,7 +862,7 @@ export const START_VAR_NAME = `$ZEUS_VAR`; export const GRAPHQL_TYPE_SEPARATOR = `__$GRAPHQL__`; export const $ = (name: Name, graphqlType: Type) => { - return (START_VAR_NAME + name + GRAPHQL_TYPE_SEPARATOR + graphqlType) as unknown as Variable; + return (START_VAR_NAME + name + GRAPHQL_TYPE_SEPARATOR + graphqlType) as unknown as Variable; }; type ZEUS_INTERFACES = never export type ScalarCoders = { @@ -868,7788 +875,22875 @@ export type ScalarCoders = { type ZEUS_UNIONS = never export type ValueTypes = { - /** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ - ["Boolean_comparison_exp"]: { - _eq?: boolean | undefined | null | Variable, - _gt?: boolean | undefined | null | Variable, - _gte?: boolean | undefined | null | Variable, - _in?: Array | undefined | null | Variable, - _is_null?: boolean | undefined | null | Variable, - _lt?: boolean | undefined | null | Variable, - _lte?: boolean | undefined | null | Variable, - _neq?: boolean | undefined | null | Variable, - _nin?: Array | undefined | null | Variable - }; + /** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ +["Boolean_comparison_exp"]: { + _eq?: boolean | undefined | null | Variable, + _gt?: boolean | undefined | null | Variable, + _gte?: boolean | undefined | null | Variable, + _in?: Array | undefined | null | Variable, + _is_null?: boolean | undefined | null | Variable, + _lt?: boolean | undefined | null | Variable, + _lte?: boolean | undefined | null | Variable, + _neq?: boolean | undefined | null | Variable, + _nin?: Array | undefined | null | Variable +}; /** Boolean expression to compare columns of type "Float". All fields are combined with logical 'AND'. */ - ["Float_comparison_exp"]: { - _eq?: number | undefined | null | Variable, - _gt?: number | undefined | null | Variable, - _gte?: number | undefined | null | Variable, - _in?: Array | undefined | null | Variable, - _is_null?: boolean | undefined | null | Variable, - _lt?: number | undefined | null | Variable, - _lte?: number | undefined | null | Variable, - _neq?: number | undefined | null | Variable, - _nin?: Array | undefined | null | Variable - }; +["Float_comparison_exp"]: { + _eq?: number | undefined | null | Variable, + _gt?: number | undefined | null | Variable, + _gte?: number | undefined | null | Variable, + _in?: Array | undefined | null | Variable, + _is_null?: boolean | undefined | null | Variable, + _lt?: number | undefined | null | Variable, + _lte?: number | undefined | null | Variable, + _neq?: number | undefined | null | Variable, + _nin?: Array | undefined | null | Variable +}; /** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ - ["Int_comparison_exp"]: { - _eq?: number | undefined | null | Variable, - _gt?: number | undefined | null | Variable, - _gte?: number | undefined | null | Variable, - _in?: Array | undefined | null | Variable, - _is_null?: boolean | undefined | null | Variable, - _lt?: number | undefined | null | Variable, - _lte?: number | undefined | null | Variable, - _neq?: number | undefined | null | Variable, - _nin?: Array | undefined | null | Variable - }; +["Int_comparison_exp"]: { + _eq?: number | undefined | null | Variable, + _gt?: number | undefined | null | Variable, + _gte?: number | undefined | null | Variable, + _in?: Array | undefined | null | Variable, + _is_null?: boolean | undefined | null | Variable, + _lt?: number | undefined | null | Variable, + _lte?: number | undefined | null | Variable, + _neq?: number | undefined | null | Variable, + _nin?: Array | undefined | null | Variable +}; /** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ - ["String_comparison_exp"]: { - _eq?: string | undefined | null | Variable, - _gt?: string | undefined | null | Variable, - _gte?: string | undefined | null | Variable, - /** does the column match the given case-insensitive pattern */ - _ilike?: string | undefined | null | Variable, - _in?: Array | undefined | null | Variable, - /** does the column match the given POSIX regular expression, case insensitive */ - _iregex?: string | undefined | null | Variable, - _is_null?: boolean | undefined | null | Variable, - /** does the column match the given pattern */ - _like?: string | undefined | null | Variable, - _lt?: string | undefined | null | Variable, - _lte?: string | undefined | null | Variable, - _neq?: string | undefined | null | Variable, - /** does the column NOT match the given case-insensitive pattern */ - _nilike?: string | undefined | null | Variable, - _nin?: Array | undefined | null | Variable, - /** does the column NOT match the given POSIX regular expression, case insensitive */ - _niregex?: string | undefined | null | Variable, - /** does the column NOT match the given pattern */ - _nlike?: string | undefined | null | Variable, - /** does the column NOT match the given POSIX regular expression, case sensitive */ - _nregex?: string | undefined | null | Variable, - /** does the column NOT match the given SQL regular expression */ - _nsimilar?: string | undefined | null | Variable, - /** does the column match the given POSIX regular expression, case sensitive */ - _regex?: string | undefined | null | Variable, - /** does the column match the given SQL regular expression */ - _similar?: string | undefined | null | Variable - }; - ["bigint"]: unknown; +["String_comparison_exp"]: { + _eq?: string | undefined | null | Variable, + _gt?: string | undefined | null | Variable, + _gte?: string | undefined | null | Variable, + /** does the column match the given case-insensitive pattern */ + _ilike?: string | undefined | null | Variable, + _in?: Array | undefined | null | Variable, + /** does the column match the given POSIX regular expression, case insensitive */ + _iregex?: string | undefined | null | Variable, + _is_null?: boolean | undefined | null | Variable, + /** does the column match the given pattern */ + _like?: string | undefined | null | Variable, + _lt?: string | undefined | null | Variable, + _lte?: string | undefined | null | Variable, + _neq?: string | undefined | null | Variable, + /** does the column NOT match the given case-insensitive pattern */ + _nilike?: string | undefined | null | Variable, + _nin?: Array | undefined | null | Variable, + /** does the column NOT match the given POSIX regular expression, case insensitive */ + _niregex?: string | undefined | null | Variable, + /** does the column NOT match the given pattern */ + _nlike?: string | undefined | null | Variable, + /** does the column NOT match the given POSIX regular expression, case sensitive */ + _nregex?: string | undefined | null | Variable, + /** does the column NOT match the given SQL regular expression */ + _nsimilar?: string | undefined | null | Variable, + /** does the column match the given POSIX regular expression, case sensitive */ + _regex?: string | undefined | null | Variable, + /** does the column match the given SQL regular expression */ + _similar?: string | undefined | null | Variable +}; + ["bigint"]:unknown; /** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */ - ["bigint_comparison_exp"]: { - _eq?: ValueTypes["bigint"] | undefined | null | Variable, - _gt?: ValueTypes["bigint"] | undefined | null | Variable, - _gte?: ValueTypes["bigint"] | undefined | null | Variable, - _in?: Array | undefined | null | Variable, - _is_null?: boolean | undefined | null | Variable, - _lt?: ValueTypes["bigint"] | undefined | null | Variable, - _lte?: ValueTypes["bigint"] | undefined | null | Variable, - _neq?: ValueTypes["bigint"] | undefined | null | Variable, - _nin?: Array | undefined | null | Variable - }; +["bigint_comparison_exp"]: { + _eq?: ValueTypes["bigint"] | undefined | null | Variable, + _gt?: ValueTypes["bigint"] | undefined | null | Variable, + _gte?: ValueTypes["bigint"] | undefined | null | Variable, + _in?: Array | undefined | null | Variable, + _is_null?: boolean | undefined | null | Variable, + _lt?: ValueTypes["bigint"] | undefined | null | Variable, + _lte?: ValueTypes["bigint"] | undefined | null | Variable, + _neq?: ValueTypes["bigint"] | undefined | null | Variable, + _nin?: Array | undefined | null | Variable +}; /** ordering argument of a cursor */ - ["cursor_ordering"]: cursor_ordering; +["cursor_ordering"]:cursor_ordering; /** columns and relationships of "inscription" */ - ["inscription"]: AliasType<{ - chain_id?: boolean | `@${string}`, - content_hash?: boolean | `@${string}`, - content_path?: boolean | `@${string}`, - content_size_bytes?: boolean | `@${string}`, - creator?: boolean | `@${string}`, - current_owner?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - height?: boolean | `@${string}`, - id?: boolean | `@${string}`, - inscription_histories?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable - }, ValueTypes["inscription_history"]], - is_explicit?: boolean | `@${string}`, - metadata?: [{ /** JSON select path */ - path?: string | undefined | null | Variable - }, boolean | `@${string}`], - /** An object relationship */ - transaction?: ValueTypes["transaction"], - transaction_id?: boolean | `@${string}`, - type?: boolean | `@${string}`, - version?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["inscription"]: AliasType<{ + chain_id?:boolean | `@${string}`, + content_hash?:boolean | `@${string}`, + content_path?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + creator?:boolean | `@${string}`, + current_owner?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, +inscription_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable},ValueTypes["inscription_history"]], +inscription_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable},ValueTypes["inscription_history_aggregate"]], + is_explicit?:boolean | `@${string}`, +metadata?: [{ /** JSON select path */ + path?: string | undefined | null | Variable},boolean | `@${string}`], + /** An object relationship */ + transaction?:ValueTypes["transaction"], + transaction_id?:boolean | `@${string}`, + type?:boolean | `@${string}`, + version?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "inscription" */ +["inscription_aggregate"]: AliasType<{ + aggregate?:ValueTypes["inscription_aggregate_fields"], + nodes?:ValueTypes["inscription"], + __typename?: boolean | `@${string}` +}>; + ["inscription_aggregate_bool_exp"]: { + bool_and?: ValueTypes["inscription_aggregate_bool_exp_bool_and"] | undefined | null | Variable, + bool_or?: ValueTypes["inscription_aggregate_bool_exp_bool_or"] | undefined | null | Variable, + count?: ValueTypes["inscription_aggregate_bool_exp_count"] | undefined | null | Variable +}; + ["inscription_aggregate_bool_exp_bool_and"]: { + arguments: ValueTypes["inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns"] | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Boolean_comparison_exp"] | Variable +}; + ["inscription_aggregate_bool_exp_bool_or"]: { + arguments: ValueTypes["inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns"] | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Boolean_comparison_exp"] | Variable +}; + ["inscription_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Int_comparison_exp"] | Variable +}; + /** aggregate fields of "inscription" */ +["inscription_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["inscription_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["inscription_max_fields"], + min?:ValueTypes["inscription_min_fields"], + stddev?:ValueTypes["inscription_stddev_fields"], + stddev_pop?:ValueTypes["inscription_stddev_pop_fields"], + stddev_samp?:ValueTypes["inscription_stddev_samp_fields"], + sum?:ValueTypes["inscription_sum_fields"], + var_pop?:ValueTypes["inscription_var_pop_fields"], + var_samp?:ValueTypes["inscription_var_samp_fields"], + variance?:ValueTypes["inscription_variance_fields"], + __typename?: boolean | `@${string}` +}>; + /** order by aggregate values of table "inscription" */ +["inscription_aggregate_order_by"]: { + avg?: ValueTypes["inscription_avg_order_by"] | undefined | null | Variable, + count?: ValueTypes["order_by"] | undefined | null | Variable, + max?: ValueTypes["inscription_max_order_by"] | undefined | null | Variable, + min?: ValueTypes["inscription_min_order_by"] | undefined | null | Variable, + stddev?: ValueTypes["inscription_stddev_order_by"] | undefined | null | Variable, + stddev_pop?: ValueTypes["inscription_stddev_pop_order_by"] | undefined | null | Variable, + stddev_samp?: ValueTypes["inscription_stddev_samp_order_by"] | undefined | null | Variable, + sum?: ValueTypes["inscription_sum_order_by"] | undefined | null | Variable, + var_pop?: ValueTypes["inscription_var_pop_order_by"] | undefined | null | Variable, + var_samp?: ValueTypes["inscription_var_samp_order_by"] | undefined | null | Variable, + variance?: ValueTypes["inscription_variance_order_by"] | undefined | null | Variable +}; + /** input type for inserting array relation for remote table "inscription" */ +["inscription_arr_rel_insert_input"]: { + data: Array | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["inscription_on_conflict"] | undefined | null | Variable +}; + /** aggregate avg on columns */ +["inscription_avg_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by avg() on columns of table "inscription" */ +["inscription_avg_order_by"]: { + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Boolean expression to filter rows from the table "inscription". All fields are combined with a logical 'AND'. */ - ["inscription_bool_exp"]: { - _and?: Array | undefined | null | Variable, - _not?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable, - _or?: Array | undefined | null | Variable, - chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - content_hash?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - content_path?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - content_size_bytes?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - creator?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - current_owner?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - inscription_histories?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable, - is_explicit?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, - metadata?: ValueTypes["json_comparison_exp"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, - transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - type?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - version?: ValueTypes["String_comparison_exp"] | undefined | null | Variable - }; +["inscription_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + content_hash?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + content_path?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + creator?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + current_owner?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + inscription_histories?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable, + inscription_histories_aggregate?: ValueTypes["inscription_history_aggregate_bool_exp"] | undefined | null | Variable, + is_explicit?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, + metadata?: ValueTypes["json_comparison_exp"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, + transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + type?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + version?: ValueTypes["String_comparison_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "inscription" */ +["inscription_constraint"]:inscription_constraint; /** columns and relationships of "inscription_history" */ - ["inscription_history"]: AliasType<{ - action?: boolean | `@${string}`, - chain_id?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - height?: boolean | `@${string}`, - id?: boolean | `@${string}`, - /** An object relationship */ - inscription?: ValueTypes["inscription"], - inscription_id?: boolean | `@${string}`, - receiver?: boolean | `@${string}`, - sender?: boolean | `@${string}`, - /** An object relationship */ - transaction?: ValueTypes["transaction"], - transaction_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["inscription_history"]: AliasType<{ + action?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + /** An object relationship */ + inscription?:ValueTypes["inscription"], + inscription_id?:boolean | `@${string}`, + receiver?:boolean | `@${string}`, + sender?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ValueTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "inscription_history" */ +["inscription_history_aggregate"]: AliasType<{ + aggregate?:ValueTypes["inscription_history_aggregate_fields"], + nodes?:ValueTypes["inscription_history"], + __typename?: boolean | `@${string}` +}>; + ["inscription_history_aggregate_bool_exp"]: { + count?: ValueTypes["inscription_history_aggregate_bool_exp_count"] | undefined | null | Variable +}; + ["inscription_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Int_comparison_exp"] | Variable +}; + /** aggregate fields of "inscription_history" */ +["inscription_history_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["inscription_history_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["inscription_history_max_fields"], + min?:ValueTypes["inscription_history_min_fields"], + stddev?:ValueTypes["inscription_history_stddev_fields"], + stddev_pop?:ValueTypes["inscription_history_stddev_pop_fields"], + stddev_samp?:ValueTypes["inscription_history_stddev_samp_fields"], + sum?:ValueTypes["inscription_history_sum_fields"], + var_pop?:ValueTypes["inscription_history_var_pop_fields"], + var_samp?:ValueTypes["inscription_history_var_samp_fields"], + variance?:ValueTypes["inscription_history_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "inscription_history" */ - ["inscription_history_aggregate_order_by"]: { - avg?: ValueTypes["inscription_history_avg_order_by"] | undefined | null | Variable, - count?: ValueTypes["order_by"] | undefined | null | Variable, - max?: ValueTypes["inscription_history_max_order_by"] | undefined | null | Variable, - min?: ValueTypes["inscription_history_min_order_by"] | undefined | null | Variable, - stddev?: ValueTypes["inscription_history_stddev_order_by"] | undefined | null | Variable, - stddev_pop?: ValueTypes["inscription_history_stddev_pop_order_by"] | undefined | null | Variable, - stddev_samp?: ValueTypes["inscription_history_stddev_samp_order_by"] | undefined | null | Variable, - sum?: ValueTypes["inscription_history_sum_order_by"] | undefined | null | Variable, - var_pop?: ValueTypes["inscription_history_var_pop_order_by"] | undefined | null | Variable, - var_samp?: ValueTypes["inscription_history_var_samp_order_by"] | undefined | null | Variable, - variance?: ValueTypes["inscription_history_variance_order_by"] | undefined | null | Variable - }; +["inscription_history_aggregate_order_by"]: { + avg?: ValueTypes["inscription_history_avg_order_by"] | undefined | null | Variable, + count?: ValueTypes["order_by"] | undefined | null | Variable, + max?: ValueTypes["inscription_history_max_order_by"] | undefined | null | Variable, + min?: ValueTypes["inscription_history_min_order_by"] | undefined | null | Variable, + stddev?: ValueTypes["inscription_history_stddev_order_by"] | undefined | null | Variable, + stddev_pop?: ValueTypes["inscription_history_stddev_pop_order_by"] | undefined | null | Variable, + stddev_samp?: ValueTypes["inscription_history_stddev_samp_order_by"] | undefined | null | Variable, + sum?: ValueTypes["inscription_history_sum_order_by"] | undefined | null | Variable, + var_pop?: ValueTypes["inscription_history_var_pop_order_by"] | undefined | null | Variable, + var_samp?: ValueTypes["inscription_history_var_samp_order_by"] | undefined | null | Variable, + variance?: ValueTypes["inscription_history_variance_order_by"] | undefined | null | Variable +}; + /** input type for inserting array relation for remote table "inscription_history" */ +["inscription_history_arr_rel_insert_input"]: { + data: Array | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["inscription_history_on_conflict"] | undefined | null | Variable +}; + /** aggregate avg on columns */ +["inscription_history_avg_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "inscription_history" */ - ["inscription_history_avg_order_by"]: { - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["inscription_history_avg_order_by"]: { + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Boolean expression to filter rows from the table "inscription_history". All fields are combined with a logical 'AND'. */ - ["inscription_history_bool_exp"]: { - _and?: Array | undefined | null | Variable, - _not?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable, - _or?: Array | undefined | null | Variable, - action?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - inscription?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable, - inscription_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - receiver?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - sender?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, - transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable - }; +["inscription_history_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + action?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + inscription?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable, + inscription_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + receiver?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + sender?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, + transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "inscription_history" */ +["inscription_history_constraint"]:inscription_history_constraint; + /** input type for incrementing numeric columns in table "inscription_history" */ +["inscription_history_inc_input"]: { + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + inscription_id?: number | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** input type for inserting data into table "inscription_history" */ +["inscription_history_insert_input"]: { + action?: string | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + inscription?: ValueTypes["inscription_obj_rel_insert_input"] | undefined | null | Variable, + inscription_id?: number | undefined | null | Variable, + receiver?: string | undefined | null | Variable, + sender?: string | undefined | null | Variable, + transaction?: ValueTypes["transaction_obj_rel_insert_input"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate max on columns */ +["inscription_history_max_fields"]: AliasType<{ + action?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + receiver?:boolean | `@${string}`, + sender?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "inscription_history" */ - ["inscription_history_max_order_by"]: { - action?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, - receiver?: ValueTypes["order_by"] | undefined | null | Variable, - sender?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["inscription_history_max_order_by"]: { + action?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, + receiver?: ValueTypes["order_by"] | undefined | null | Variable, + sender?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate min on columns */ +["inscription_history_min_fields"]: AliasType<{ + action?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + receiver?:boolean | `@${string}`, + sender?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "inscription_history" */ - ["inscription_history_min_order_by"]: { - action?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, - receiver?: ValueTypes["order_by"] | undefined | null | Variable, - sender?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["inscription_history_min_order_by"]: { + action?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, + receiver?: ValueTypes["order_by"] | undefined | null | Variable, + sender?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** response of any mutation on the table "inscription_history" */ +["inscription_history_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["inscription_history"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "inscription_history" */ +["inscription_history_on_conflict"]: { + constraint: ValueTypes["inscription_history_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable +}; /** Ordering options when selecting data from "inscription_history". */ - ["inscription_history_order_by"]: { - action?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription?: ValueTypes["inscription_order_by"] | undefined | null | Variable, - inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, - receiver?: ValueTypes["order_by"] | undefined | null | Variable, - sender?: ValueTypes["order_by"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["inscription_history_order_by"]: { + action?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription?: ValueTypes["inscription_order_by"] | undefined | null | Variable, + inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, + receiver?: ValueTypes["order_by"] | undefined | null | Variable, + sender?: ValueTypes["order_by"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: inscription_history */ +["inscription_history_pk_columns_input"]: { + id: number | Variable +}; /** select columns of table "inscription_history" */ - ["inscription_history_select_column"]: inscription_history_select_column; +["inscription_history_select_column"]:inscription_history_select_column; + /** input type for updating data in table "inscription_history" */ +["inscription_history_set_input"]: { + action?: string | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + inscription_id?: number | undefined | null | Variable, + receiver?: string | undefined | null | Variable, + sender?: string | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["inscription_history_stddev_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "inscription_history" */ - ["inscription_history_stddev_order_by"]: { - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["inscription_history_stddev_order_by"]: { + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_pop on columns */ +["inscription_history_stddev_pop_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "inscription_history" */ - ["inscription_history_stddev_pop_order_by"]: { - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["inscription_history_stddev_pop_order_by"]: { + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_samp on columns */ +["inscription_history_stddev_samp_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "inscription_history" */ - ["inscription_history_stddev_samp_order_by"]: { - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["inscription_history_stddev_samp_order_by"]: { + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Streaming cursor of the table "inscription_history" */ - ["inscription_history_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ValueTypes["inscription_history_stream_cursor_value_input"] | Variable, - /** cursor ordering */ - ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable - }; +["inscription_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["inscription_history_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; /** Initial value of the column from where the streaming should start */ - ["inscription_history_stream_cursor_value_input"]: { - action?: string | undefined | null | Variable, - chain_id?: string | undefined | null | Variable, - date_created?: ValueTypes["timestamp"] | undefined | null | Variable, - height?: number | undefined | null | Variable, - id?: number | undefined | null | Variable, - inscription_id?: number | undefined | null | Variable, - receiver?: string | undefined | null | Variable, - sender?: string | undefined | null | Variable, - transaction_id?: number | undefined | null | Variable - }; +["inscription_history_stream_cursor_value_input"]: { + action?: string | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + inscription_id?: number | undefined | null | Variable, + receiver?: string | undefined | null | Variable, + sender?: string | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate sum on columns */ +["inscription_history_sum_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "inscription_history" */ - ["inscription_history_sum_order_by"]: { - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["inscription_history_sum_order_by"]: { + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** update columns of table "inscription_history" */ +["inscription_history_update_column"]:inscription_history_update_column; + ["inscription_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["inscription_history_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["inscription_history_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["inscription_history_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["inscription_history_var_pop_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "inscription_history" */ - ["inscription_history_var_pop_order_by"]: { - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["inscription_history_var_pop_order_by"]: { + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate var_samp on columns */ +["inscription_history_var_samp_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "inscription_history" */ - ["inscription_history_var_samp_order_by"]: { - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["inscription_history_var_samp_order_by"]: { + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate variance on columns */ +["inscription_history_variance_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "inscription_history" */ - ["inscription_history_variance_order_by"]: { - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["inscription_history_variance_order_by"]: { + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** input type for incrementing numeric columns in table "inscription" */ +["inscription_inc_input"]: { + content_size_bytes?: number | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** input type for inserting data into table "inscription" */ +["inscription_insert_input"]: { + chain_id?: string | undefined | null | Variable, + content_hash?: string | undefined | null | Variable, + content_path?: string | undefined | null | Variable, + content_size_bytes?: number | undefined | null | Variable, + creator?: string | undefined | null | Variable, + current_owner?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + inscription_histories?: ValueTypes["inscription_history_arr_rel_insert_input"] | undefined | null | Variable, + is_explicit?: boolean | undefined | null | Variable, + metadata?: ValueTypes["json"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_obj_rel_insert_input"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable, + type?: string | undefined | null | Variable, + version?: string | undefined | null | Variable +}; + /** aggregate max on columns */ +["inscription_max_fields"]: AliasType<{ + chain_id?:boolean | `@${string}`, + content_hash?:boolean | `@${string}`, + content_path?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + creator?:boolean | `@${string}`, + current_owner?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + type?:boolean | `@${string}`, + version?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by max() on columns of table "inscription" */ +["inscription_max_order_by"]: { + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + content_hash?: ValueTypes["order_by"] | undefined | null | Variable, + content_path?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + creator?: ValueTypes["order_by"] | undefined | null | Variable, + current_owner?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + type?: ValueTypes["order_by"] | undefined | null | Variable, + version?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate min on columns */ +["inscription_min_fields"]: AliasType<{ + chain_id?:boolean | `@${string}`, + content_hash?:boolean | `@${string}`, + content_path?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + creator?:boolean | `@${string}`, + current_owner?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + type?:boolean | `@${string}`, + version?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by min() on columns of table "inscription" */ +["inscription_min_order_by"]: { + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + content_hash?: ValueTypes["order_by"] | undefined | null | Variable, + content_path?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + creator?: ValueTypes["order_by"] | undefined | null | Variable, + current_owner?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + type?: ValueTypes["order_by"] | undefined | null | Variable, + version?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** response of any mutation on the table "inscription" */ +["inscription_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["inscription"], + __typename?: boolean | `@${string}` +}>; + /** input type for inserting object relation for remote table "inscription" */ +["inscription_obj_rel_insert_input"]: { + data: ValueTypes["inscription_insert_input"] | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["inscription_on_conflict"] | undefined | null | Variable +}; + /** on_conflict condition type for table "inscription" */ +["inscription_on_conflict"]: { + constraint: ValueTypes["inscription_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable +}; /** Ordering options when selecting data from "inscription". */ - ["inscription_order_by"]: { - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - content_hash?: ValueTypes["order_by"] | undefined | null | Variable, - content_path?: ValueTypes["order_by"] | undefined | null | Variable, - content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, - creator?: ValueTypes["order_by"] | undefined | null | Variable, - current_owner?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription_histories_aggregate?: ValueTypes["inscription_history_aggregate_order_by"] | undefined | null | Variable, - is_explicit?: ValueTypes["order_by"] | undefined | null | Variable, - metadata?: ValueTypes["order_by"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, - type?: ValueTypes["order_by"] | undefined | null | Variable, - version?: ValueTypes["order_by"] | undefined | null | Variable - }; +["inscription_order_by"]: { + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + content_hash?: ValueTypes["order_by"] | undefined | null | Variable, + content_path?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + creator?: ValueTypes["order_by"] | undefined | null | Variable, + current_owner?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription_histories_aggregate?: ValueTypes["inscription_history_aggregate_order_by"] | undefined | null | Variable, + is_explicit?: ValueTypes["order_by"] | undefined | null | Variable, + metadata?: ValueTypes["order_by"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + type?: ValueTypes["order_by"] | undefined | null | Variable, + version?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: inscription */ +["inscription_pk_columns_input"]: { + id: number | Variable +}; /** select columns of table "inscription" */ - ["inscription_select_column"]: inscription_select_column; +["inscription_select_column"]:inscription_select_column; + /** select "inscription_aggregate_bool_exp_bool_and_arguments_columns" columns of table "inscription" */ +["inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns"]:inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns; + /** select "inscription_aggregate_bool_exp_bool_or_arguments_columns" columns of table "inscription" */ +["inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns"]:inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "inscription" */ +["inscription_set_input"]: { + chain_id?: string | undefined | null | Variable, + content_hash?: string | undefined | null | Variable, + content_path?: string | undefined | null | Variable, + content_size_bytes?: number | undefined | null | Variable, + creator?: string | undefined | null | Variable, + current_owner?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + is_explicit?: boolean | undefined | null | Variable, + metadata?: ValueTypes["json"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable, + type?: string | undefined | null | Variable, + version?: string | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["inscription_stddev_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev() on columns of table "inscription" */ +["inscription_stddev_order_by"]: { + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_pop on columns */ +["inscription_stddev_pop_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_pop() on columns of table "inscription" */ +["inscription_stddev_pop_order_by"]: { + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_samp on columns */ +["inscription_stddev_samp_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_samp() on columns of table "inscription" */ +["inscription_stddev_samp_order_by"]: { + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Streaming cursor of the table "inscription" */ - ["inscription_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ValueTypes["inscription_stream_cursor_value_input"] | Variable, - /** cursor ordering */ - ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable - }; +["inscription_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["inscription_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; /** Initial value of the column from where the streaming should start */ - ["inscription_stream_cursor_value_input"]: { - chain_id?: string | undefined | null | Variable, - content_hash?: string | undefined | null | Variable, - content_path?: string | undefined | null | Variable, - content_size_bytes?: number | undefined | null | Variable, - creator?: string | undefined | null | Variable, - current_owner?: string | undefined | null | Variable, - date_created?: ValueTypes["timestamp"] | undefined | null | Variable, - height?: number | undefined | null | Variable, - id?: number | undefined | null | Variable, - is_explicit?: boolean | undefined | null | Variable, - metadata?: ValueTypes["json"] | undefined | null | Variable, - transaction_id?: number | undefined | null | Variable, - type?: string | undefined | null | Variable, - version?: string | undefined | null | Variable - }; - ["json"]: unknown; +["inscription_stream_cursor_value_input"]: { + chain_id?: string | undefined | null | Variable, + content_hash?: string | undefined | null | Variable, + content_path?: string | undefined | null | Variable, + content_size_bytes?: number | undefined | null | Variable, + creator?: string | undefined | null | Variable, + current_owner?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + is_explicit?: boolean | undefined | null | Variable, + metadata?: ValueTypes["json"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable, + type?: string | undefined | null | Variable, + version?: string | undefined | null | Variable +}; + /** aggregate sum on columns */ +["inscription_sum_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by sum() on columns of table "inscription" */ +["inscription_sum_order_by"]: { + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** update columns of table "inscription" */ +["inscription_update_column"]:inscription_update_column; + ["inscription_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["inscription_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["inscription_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["inscription_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["inscription_var_pop_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_pop() on columns of table "inscription" */ +["inscription_var_pop_order_by"]: { + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate var_samp on columns */ +["inscription_var_samp_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_samp() on columns of table "inscription" */ +["inscription_var_samp_order_by"]: { + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate variance on columns */ +["inscription_variance_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by variance() on columns of table "inscription" */ +["inscription_variance_order_by"]: { + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + ["json"]:unknown; /** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ - ["json_comparison_exp"]: { - _eq?: ValueTypes["json"] | undefined | null | Variable, - _gt?: ValueTypes["json"] | undefined | null | Variable, - _gte?: ValueTypes["json"] | undefined | null | Variable, - _in?: Array | undefined | null | Variable, - _is_null?: boolean | undefined | null | Variable, - _lt?: ValueTypes["json"] | undefined | null | Variable, - _lte?: ValueTypes["json"] | undefined | null | Variable, - _neq?: ValueTypes["json"] | undefined | null | Variable, - _nin?: Array | undefined | null | Variable - }; +["json_comparison_exp"]: { + _eq?: ValueTypes["json"] | undefined | null | Variable, + _gt?: ValueTypes["json"] | undefined | null | Variable, + _gte?: ValueTypes["json"] | undefined | null | Variable, + _in?: Array | undefined | null | Variable, + _is_null?: boolean | undefined | null | Variable, + _lt?: ValueTypes["json"] | undefined | null | Variable, + _lte?: ValueTypes["json"] | undefined | null | Variable, + _neq?: ValueTypes["json"] | undefined | null | Variable, + _nin?: Array | undefined | null | Variable +}; /** columns and relationships of "marketplace_cft20_detail" */ - ["marketplace_cft20_detail"]: AliasType<{ - amount?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - id?: boolean | `@${string}`, - listing_id?: boolean | `@${string}`, - /** An object relationship */ - marketplace_listing?: ValueTypes["marketplace_listing"], - ppt?: boolean | `@${string}`, - /** An object relationship */ - token?: ValueTypes["token"], - token_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["marketplace_cft20_detail"]: AliasType<{ + amount?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + /** An object relationship */ + marketplace_listing?:ValueTypes["marketplace_listing"], + ppt?:boolean | `@${string}`, + /** An object relationship */ + token?:ValueTypes["token"], + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "marketplace_cft20_detail" */ +["marketplace_cft20_detail_aggregate"]: AliasType<{ + aggregate?:ValueTypes["marketplace_cft20_detail_aggregate_fields"], + nodes?:ValueTypes["marketplace_cft20_detail"], + __typename?: boolean | `@${string}` +}>; + ["marketplace_cft20_detail_aggregate_bool_exp"]: { + count?: ValueTypes["marketplace_cft20_detail_aggregate_bool_exp_count"] | undefined | null | Variable +}; + ["marketplace_cft20_detail_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Int_comparison_exp"] | Variable +}; + /** aggregate fields of "marketplace_cft20_detail" */ +["marketplace_cft20_detail_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["marketplace_cft20_detail_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["marketplace_cft20_detail_max_fields"], + min?:ValueTypes["marketplace_cft20_detail_min_fields"], + stddev?:ValueTypes["marketplace_cft20_detail_stddev_fields"], + stddev_pop?:ValueTypes["marketplace_cft20_detail_stddev_pop_fields"], + stddev_samp?:ValueTypes["marketplace_cft20_detail_stddev_samp_fields"], + sum?:ValueTypes["marketplace_cft20_detail_sum_fields"], + var_pop?:ValueTypes["marketplace_cft20_detail_var_pop_fields"], + var_samp?:ValueTypes["marketplace_cft20_detail_var_samp_fields"], + variance?:ValueTypes["marketplace_cft20_detail_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_aggregate_order_by"]: { - avg?: ValueTypes["marketplace_cft20_detail_avg_order_by"] | undefined | null | Variable, - count?: ValueTypes["order_by"] | undefined | null | Variable, - max?: ValueTypes["marketplace_cft20_detail_max_order_by"] | undefined | null | Variable, - min?: ValueTypes["marketplace_cft20_detail_min_order_by"] | undefined | null | Variable, - stddev?: ValueTypes["marketplace_cft20_detail_stddev_order_by"] | undefined | null | Variable, - stddev_pop?: ValueTypes["marketplace_cft20_detail_stddev_pop_order_by"] | undefined | null | Variable, - stddev_samp?: ValueTypes["marketplace_cft20_detail_stddev_samp_order_by"] | undefined | null | Variable, - sum?: ValueTypes["marketplace_cft20_detail_sum_order_by"] | undefined | null | Variable, - var_pop?: ValueTypes["marketplace_cft20_detail_var_pop_order_by"] | undefined | null | Variable, - var_samp?: ValueTypes["marketplace_cft20_detail_var_samp_order_by"] | undefined | null | Variable, - variance?: ValueTypes["marketplace_cft20_detail_variance_order_by"] | undefined | null | Variable - }; +["marketplace_cft20_detail_aggregate_order_by"]: { + avg?: ValueTypes["marketplace_cft20_detail_avg_order_by"] | undefined | null | Variable, + count?: ValueTypes["order_by"] | undefined | null | Variable, + max?: ValueTypes["marketplace_cft20_detail_max_order_by"] | undefined | null | Variable, + min?: ValueTypes["marketplace_cft20_detail_min_order_by"] | undefined | null | Variable, + stddev?: ValueTypes["marketplace_cft20_detail_stddev_order_by"] | undefined | null | Variable, + stddev_pop?: ValueTypes["marketplace_cft20_detail_stddev_pop_order_by"] | undefined | null | Variable, + stddev_samp?: ValueTypes["marketplace_cft20_detail_stddev_samp_order_by"] | undefined | null | Variable, + sum?: ValueTypes["marketplace_cft20_detail_sum_order_by"] | undefined | null | Variable, + var_pop?: ValueTypes["marketplace_cft20_detail_var_pop_order_by"] | undefined | null | Variable, + var_samp?: ValueTypes["marketplace_cft20_detail_var_samp_order_by"] | undefined | null | Variable, + variance?: ValueTypes["marketplace_cft20_detail_variance_order_by"] | undefined | null | Variable +}; + /** input type for inserting array relation for remote table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_arr_rel_insert_input"]: { + data: Array | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["marketplace_cft20_detail_on_conflict"] | undefined | null | Variable +}; + /** aggregate avg on columns */ +["marketplace_cft20_detail_avg_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_avg_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - listing_id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_cft20_detail_avg_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Boolean expression to filter rows from the table "marketplace_cft20_detail". All fields are combined with a logical 'AND'. */ - ["marketplace_cft20_detail_bool_exp"]: { - _and?: Array | undefined | null | Variable, - _not?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable, - _or?: Array | undefined | null | Variable, - amount?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - listing_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - marketplace_listing?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable, - ppt?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - token?: ValueTypes["token_bool_exp"] | undefined | null | Variable, - token_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable - }; +["marketplace_cft20_detail_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + amount?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + listing_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + marketplace_listing?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable, + ppt?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + token?: ValueTypes["token_bool_exp"] | undefined | null | Variable, + token_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_constraint"]:marketplace_cft20_detail_constraint; + /** input type for incrementing numeric columns in table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_inc_input"]: { + amount?: ValueTypes["bigint"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + listing_id?: number | undefined | null | Variable, + ppt?: ValueTypes["bigint"] | undefined | null | Variable, + token_id?: number | undefined | null | Variable +}; + /** input type for inserting data into table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_insert_input"]: { + amount?: ValueTypes["bigint"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + listing_id?: number | undefined | null | Variable, + marketplace_listing?: ValueTypes["marketplace_listing_obj_rel_insert_input"] | undefined | null | Variable, + ppt?: ValueTypes["bigint"] | undefined | null | Variable, + token?: ValueTypes["token_obj_rel_insert_input"] | undefined | null | Variable, + token_id?: number | undefined | null | Variable +}; + /** aggregate max on columns */ +["marketplace_cft20_detail_max_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_max_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - listing_id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_cft20_detail_max_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate min on columns */ +["marketplace_cft20_detail_min_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_min_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - listing_id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_cft20_detail_min_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** response of any mutation on the table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["marketplace_cft20_detail"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_on_conflict"]: { + constraint: ValueTypes["marketplace_cft20_detail_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable +}; /** Ordering options when selecting data from "marketplace_cft20_detail". */ - ["marketplace_cft20_detail_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - listing_id?: ValueTypes["order_by"] | undefined | null | Variable, - marketplace_listing?: ValueTypes["marketplace_listing_order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - token?: ValueTypes["token_order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_cft20_detail_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + marketplace_listing?: ValueTypes["marketplace_listing_order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token?: ValueTypes["token_order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: marketplace_cft20_detail */ +["marketplace_cft20_detail_pk_columns_input"]: { + id: number | Variable +}; /** select columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_select_column"]: marketplace_cft20_detail_select_column; +["marketplace_cft20_detail_select_column"]:marketplace_cft20_detail_select_column; + /** input type for updating data in table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_set_input"]: { + amount?: ValueTypes["bigint"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + listing_id?: number | undefined | null | Variable, + ppt?: ValueTypes["bigint"] | undefined | null | Variable, + token_id?: number | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["marketplace_cft20_detail_stddev_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stddev_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - listing_id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_cft20_detail_stddev_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_pop on columns */ +["marketplace_cft20_detail_stddev_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stddev_pop_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - listing_id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_cft20_detail_stddev_pop_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_samp on columns */ +["marketplace_cft20_detail_stddev_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stddev_samp_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - listing_id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_cft20_detail_stddev_samp_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Streaming cursor of the table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ValueTypes["marketplace_cft20_detail_stream_cursor_value_input"] | Variable, - /** cursor ordering */ - ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable - }; +["marketplace_cft20_detail_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["marketplace_cft20_detail_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; /** Initial value of the column from where the streaming should start */ - ["marketplace_cft20_detail_stream_cursor_value_input"]: { - amount?: ValueTypes["bigint"] | undefined | null | Variable, - date_created?: ValueTypes["timestamp"] | undefined | null | Variable, - id?: number | undefined | null | Variable, - listing_id?: number | undefined | null | Variable, - ppt?: ValueTypes["bigint"] | undefined | null | Variable, - token_id?: number | undefined | null | Variable - }; +["marketplace_cft20_detail_stream_cursor_value_input"]: { + amount?: ValueTypes["bigint"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + listing_id?: number | undefined | null | Variable, + ppt?: ValueTypes["bigint"] | undefined | null | Variable, + token_id?: number | undefined | null | Variable +}; + /** aggregate sum on columns */ +["marketplace_cft20_detail_sum_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_sum_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - listing_id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_cft20_detail_sum_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** update columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_update_column"]:marketplace_cft20_detail_update_column; + ["marketplace_cft20_detail_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["marketplace_cft20_detail_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["marketplace_cft20_detail_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["marketplace_cft20_detail_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["marketplace_cft20_detail_var_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_var_pop_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - listing_id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_cft20_detail_var_pop_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate var_samp on columns */ +["marketplace_cft20_detail_var_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_var_samp_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - listing_id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_cft20_detail_var_samp_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate variance on columns */ +["marketplace_cft20_detail_variance_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_variance_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - listing_id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_cft20_detail_variance_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** columns and relationships of "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + buyer_address?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + /** An object relationship */ + marketplace_listing?:ValueTypes["marketplace_listing"], + rate?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + /** An object relationship */ + token?:ValueTypes["token"], + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ValueTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_aggregate"]: AliasType<{ + aggregate?:ValueTypes["marketplace_cft20_trade_history_aggregate_fields"], + nodes?:ValueTypes["marketplace_cft20_trade_history"], + __typename?: boolean | `@${string}` +}>; + ["marketplace_cft20_trade_history_aggregate_bool_exp"]: { + count?: ValueTypes["marketplace_cft20_trade_history_aggregate_bool_exp_count"] | undefined | null | Variable +}; + ["marketplace_cft20_trade_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Int_comparison_exp"] | Variable +}; + /** aggregate fields of "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["marketplace_cft20_trade_history_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["marketplace_cft20_trade_history_max_fields"], + min?:ValueTypes["marketplace_cft20_trade_history_min_fields"], + stddev?:ValueTypes["marketplace_cft20_trade_history_stddev_fields"], + stddev_pop?:ValueTypes["marketplace_cft20_trade_history_stddev_pop_fields"], + stddev_samp?:ValueTypes["marketplace_cft20_trade_history_stddev_samp_fields"], + sum?:ValueTypes["marketplace_cft20_trade_history_sum_fields"], + var_pop?:ValueTypes["marketplace_cft20_trade_history_var_pop_fields"], + var_samp?:ValueTypes["marketplace_cft20_trade_history_var_samp_fields"], + variance?:ValueTypes["marketplace_cft20_trade_history_variance_fields"], + __typename?: boolean | `@${string}` +}>; + /** order by aggregate values of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_aggregate_order_by"]: { + avg?: ValueTypes["marketplace_cft20_trade_history_avg_order_by"] | undefined | null | Variable, + count?: ValueTypes["order_by"] | undefined | null | Variable, + max?: ValueTypes["marketplace_cft20_trade_history_max_order_by"] | undefined | null | Variable, + min?: ValueTypes["marketplace_cft20_trade_history_min_order_by"] | undefined | null | Variable, + stddev?: ValueTypes["marketplace_cft20_trade_history_stddev_order_by"] | undefined | null | Variable, + stddev_pop?: ValueTypes["marketplace_cft20_trade_history_stddev_pop_order_by"] | undefined | null | Variable, + stddev_samp?: ValueTypes["marketplace_cft20_trade_history_stddev_samp_order_by"] | undefined | null | Variable, + sum?: ValueTypes["marketplace_cft20_trade_history_sum_order_by"] | undefined | null | Variable, + var_pop?: ValueTypes["marketplace_cft20_trade_history_var_pop_order_by"] | undefined | null | Variable, + var_samp?: ValueTypes["marketplace_cft20_trade_history_var_samp_order_by"] | undefined | null | Variable, + variance?: ValueTypes["marketplace_cft20_trade_history_variance_order_by"] | undefined | null | Variable +}; + /** input type for inserting array relation for remote table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_arr_rel_insert_input"]: { + data: Array | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["marketplace_cft20_trade_history_on_conflict"] | undefined | null | Variable +}; + /** aggregate avg on columns */ +["marketplace_cft20_trade_history_avg_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by avg() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_avg_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** Boolean expression to filter rows from the table "marketplace_cft20_trade_history". All fields are combined with a logical 'AND'. */ +["marketplace_cft20_trade_history_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + amount_base?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + amount_quote?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + buyer_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + listing_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + marketplace_listing?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable, + rate?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + seller_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + token?: ValueTypes["token_bool_exp"] | undefined | null | Variable, + token_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + total_usd?: ValueTypes["Float_comparison_exp"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, + transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_constraint"]:marketplace_cft20_trade_history_constraint; + /** input type for incrementing numeric columns in table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_inc_input"]: { + amount_base?: ValueTypes["bigint"] | undefined | null | Variable, + amount_quote?: ValueTypes["bigint"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + listing_id?: number | undefined | null | Variable, + rate?: number | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + total_usd?: number | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** input type for inserting data into table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_insert_input"]: { + amount_base?: ValueTypes["bigint"] | undefined | null | Variable, + amount_quote?: ValueTypes["bigint"] | undefined | null | Variable, + buyer_address?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + listing_id?: number | undefined | null | Variable, + marketplace_listing?: ValueTypes["marketplace_listing_obj_rel_insert_input"] | undefined | null | Variable, + rate?: number | undefined | null | Variable, + seller_address?: string | undefined | null | Variable, + token?: ValueTypes["token_obj_rel_insert_input"] | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + total_usd?: number | undefined | null | Variable, + transaction?: ValueTypes["transaction_obj_rel_insert_input"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate max on columns */ +["marketplace_cft20_trade_history_max_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + buyer_address?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by max() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_max_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + buyer_address?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + seller_address?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate min on columns */ +["marketplace_cft20_trade_history_min_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + buyer_address?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by min() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_min_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + buyer_address?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + seller_address?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** response of any mutation on the table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["marketplace_cft20_trade_history"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_on_conflict"]: { + constraint: ValueTypes["marketplace_cft20_trade_history_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable +}; + /** Ordering options when selecting data from "marketplace_cft20_trade_history". */ +["marketplace_cft20_trade_history_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + buyer_address?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + marketplace_listing?: ValueTypes["marketplace_listing_order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + seller_address?: ValueTypes["order_by"] | undefined | null | Variable, + token?: ValueTypes["token_order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: marketplace_cft20_trade_history */ +["marketplace_cft20_trade_history_pk_columns_input"]: { + id: number | Variable +}; + /** select columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_select_column"]:marketplace_cft20_trade_history_select_column; + /** input type for updating data in table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_set_input"]: { + amount_base?: ValueTypes["bigint"] | undefined | null | Variable, + amount_quote?: ValueTypes["bigint"] | undefined | null | Variable, + buyer_address?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + listing_id?: number | undefined | null | Variable, + rate?: number | undefined | null | Variable, + seller_address?: string | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + total_usd?: number | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["marketplace_cft20_trade_history_stddev_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stddev_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_pop on columns */ +["marketplace_cft20_trade_history_stddev_pop_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_pop() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stddev_pop_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_samp on columns */ +["marketplace_cft20_trade_history_stddev_samp_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_samp() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stddev_samp_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** Streaming cursor of the table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["marketplace_cft20_trade_history_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; + /** Initial value of the column from where the streaming should start */ +["marketplace_cft20_trade_history_stream_cursor_value_input"]: { + amount_base?: ValueTypes["bigint"] | undefined | null | Variable, + amount_quote?: ValueTypes["bigint"] | undefined | null | Variable, + buyer_address?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + listing_id?: number | undefined | null | Variable, + rate?: number | undefined | null | Variable, + seller_address?: string | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + total_usd?: number | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate sum on columns */ +["marketplace_cft20_trade_history_sum_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by sum() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_sum_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** update columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_update_column"]:marketplace_cft20_trade_history_update_column; + ["marketplace_cft20_trade_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["marketplace_cft20_trade_history_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["marketplace_cft20_trade_history_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["marketplace_cft20_trade_history_var_pop_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_pop() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_var_pop_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate var_samp on columns */ +["marketplace_cft20_trade_history_var_samp_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_samp() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_var_samp_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate variance on columns */ +["marketplace_cft20_trade_history_variance_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by variance() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_variance_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** columns and relationships of "marketplace_listing" */ - ["marketplace_listing"]: AliasType<{ - chain_id?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - date_updated?: boolean | `@${string}`, - deposit_timeout?: boolean | `@${string}`, - deposit_total?: boolean | `@${string}`, - depositor_address?: boolean | `@${string}`, - depositor_timedout_block?: boolean | `@${string}`, - id?: boolean | `@${string}`, - is_cancelled?: boolean | `@${string}`, - is_deposited?: boolean | `@${string}`, - is_filled?: boolean | `@${string}`, - marketplace_cft20_details?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable - }, ValueTypes["marketplace_cft20_detail"]], - seller_address?: boolean | `@${string}`, - total?: boolean | `@${string}`, - /** An object relationship */ - transaction?: ValueTypes["transaction"], - transaction_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["marketplace_listing"]: AliasType<{ + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_address?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + is_cancelled?:boolean | `@${string}`, + is_deposited?:boolean | `@${string}`, + is_filled?:boolean | `@${string}`, +marketplace_cft20_details?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_detail"]], +marketplace_cft20_details_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_detail_aggregate"]], +marketplace_cft20_trade_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history"]], +marketplace_cft20_trade_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history_aggregate"]], +marketplace_listing_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing_history"]], +marketplace_listing_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing_history_aggregate"]], + seller_address?:boolean | `@${string}`, + total?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ValueTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "marketplace_listing" */ +["marketplace_listing_aggregate"]: AliasType<{ + aggregate?:ValueTypes["marketplace_listing_aggregate_fields"], + nodes?:ValueTypes["marketplace_listing"], + __typename?: boolean | `@${string}` +}>; + ["marketplace_listing_aggregate_bool_exp"]: { + bool_and?: ValueTypes["marketplace_listing_aggregate_bool_exp_bool_and"] | undefined | null | Variable, + bool_or?: ValueTypes["marketplace_listing_aggregate_bool_exp_bool_or"] | undefined | null | Variable, + count?: ValueTypes["marketplace_listing_aggregate_bool_exp_count"] | undefined | null | Variable +}; + ["marketplace_listing_aggregate_bool_exp_bool_and"]: { + arguments: ValueTypes["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns"] | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Boolean_comparison_exp"] | Variable +}; + ["marketplace_listing_aggregate_bool_exp_bool_or"]: { + arguments: ValueTypes["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns"] | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Boolean_comparison_exp"] | Variable +}; + ["marketplace_listing_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Int_comparison_exp"] | Variable +}; + /** aggregate fields of "marketplace_listing" */ +["marketplace_listing_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["marketplace_listing_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["marketplace_listing_max_fields"], + min?:ValueTypes["marketplace_listing_min_fields"], + stddev?:ValueTypes["marketplace_listing_stddev_fields"], + stddev_pop?:ValueTypes["marketplace_listing_stddev_pop_fields"], + stddev_samp?:ValueTypes["marketplace_listing_stddev_samp_fields"], + sum?:ValueTypes["marketplace_listing_sum_fields"], + var_pop?:ValueTypes["marketplace_listing_var_pop_fields"], + var_samp?:ValueTypes["marketplace_listing_var_samp_fields"], + variance?:ValueTypes["marketplace_listing_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "marketplace_listing" */ - ["marketplace_listing_aggregate_order_by"]: { - avg?: ValueTypes["marketplace_listing_avg_order_by"] | undefined | null | Variable, - count?: ValueTypes["order_by"] | undefined | null | Variable, - max?: ValueTypes["marketplace_listing_max_order_by"] | undefined | null | Variable, - min?: ValueTypes["marketplace_listing_min_order_by"] | undefined | null | Variable, - stddev?: ValueTypes["marketplace_listing_stddev_order_by"] | undefined | null | Variable, - stddev_pop?: ValueTypes["marketplace_listing_stddev_pop_order_by"] | undefined | null | Variable, - stddev_samp?: ValueTypes["marketplace_listing_stddev_samp_order_by"] | undefined | null | Variable, - sum?: ValueTypes["marketplace_listing_sum_order_by"] | undefined | null | Variable, - var_pop?: ValueTypes["marketplace_listing_var_pop_order_by"] | undefined | null | Variable, - var_samp?: ValueTypes["marketplace_listing_var_samp_order_by"] | undefined | null | Variable, - variance?: ValueTypes["marketplace_listing_variance_order_by"] | undefined | null | Variable - }; +["marketplace_listing_aggregate_order_by"]: { + avg?: ValueTypes["marketplace_listing_avg_order_by"] | undefined | null | Variable, + count?: ValueTypes["order_by"] | undefined | null | Variable, + max?: ValueTypes["marketplace_listing_max_order_by"] | undefined | null | Variable, + min?: ValueTypes["marketplace_listing_min_order_by"] | undefined | null | Variable, + stddev?: ValueTypes["marketplace_listing_stddev_order_by"] | undefined | null | Variable, + stddev_pop?: ValueTypes["marketplace_listing_stddev_pop_order_by"] | undefined | null | Variable, + stddev_samp?: ValueTypes["marketplace_listing_stddev_samp_order_by"] | undefined | null | Variable, + sum?: ValueTypes["marketplace_listing_sum_order_by"] | undefined | null | Variable, + var_pop?: ValueTypes["marketplace_listing_var_pop_order_by"] | undefined | null | Variable, + var_samp?: ValueTypes["marketplace_listing_var_samp_order_by"] | undefined | null | Variable, + variance?: ValueTypes["marketplace_listing_variance_order_by"] | undefined | null | Variable +}; + /** input type for inserting array relation for remote table "marketplace_listing" */ +["marketplace_listing_arr_rel_insert_input"]: { + data: Array | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["marketplace_listing_on_conflict"] | undefined | null | Variable +}; + /** aggregate avg on columns */ +["marketplace_listing_avg_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "marketplace_listing" */ - ["marketplace_listing_avg_order_by"]: { - deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_listing_avg_order_by"]: { + deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Boolean expression to filter rows from the table "marketplace_listing". All fields are combined with a logical 'AND'. */ - ["marketplace_listing_bool_exp"]: { - _and?: Array | undefined | null | Variable, - _not?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable, - _or?: Array | undefined | null | Variable, - chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - date_updated?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - deposit_timeout?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - deposit_total?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - depositor_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - depositor_timedout_block?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - is_cancelled?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, - is_deposited?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, - is_filled?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, - marketplace_cft20_details?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable, - seller_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - total?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, - transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable - }; +["marketplace_listing_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + date_updated?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + deposit_timeout?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + deposit_total?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + depositor_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + depositor_timedout_block?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + is_cancelled?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, + is_deposited?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, + is_filled?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, + marketplace_cft20_details?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable, + marketplace_cft20_details_aggregate?: ValueTypes["marketplace_cft20_detail_aggregate_bool_exp"] | undefined | null | Variable, + marketplace_cft20_trade_histories?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable, + marketplace_cft20_trade_histories_aggregate?: ValueTypes["marketplace_cft20_trade_history_aggregate_bool_exp"] | undefined | null | Variable, + marketplace_listing_histories?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable, + marketplace_listing_histories_aggregate?: ValueTypes["marketplace_listing_history_aggregate_bool_exp"] | undefined | null | Variable, + seller_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + total?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, + transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "marketplace_listing" */ +["marketplace_listing_constraint"]:marketplace_listing_constraint; + /** columns and relationships of "marketplace_listing_history" */ +["marketplace_listing_history"]: AliasType<{ + action?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + /** An object relationship */ + marketplace_listing?:ValueTypes["marketplace_listing"], + sender_address?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ValueTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "marketplace_listing_history" */ +["marketplace_listing_history_aggregate"]: AliasType<{ + aggregate?:ValueTypes["marketplace_listing_history_aggregate_fields"], + nodes?:ValueTypes["marketplace_listing_history"], + __typename?: boolean | `@${string}` +}>; + ["marketplace_listing_history_aggregate_bool_exp"]: { + count?: ValueTypes["marketplace_listing_history_aggregate_bool_exp_count"] | undefined | null | Variable +}; + ["marketplace_listing_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Int_comparison_exp"] | Variable +}; + /** aggregate fields of "marketplace_listing_history" */ +["marketplace_listing_history_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["marketplace_listing_history_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["marketplace_listing_history_max_fields"], + min?:ValueTypes["marketplace_listing_history_min_fields"], + stddev?:ValueTypes["marketplace_listing_history_stddev_fields"], + stddev_pop?:ValueTypes["marketplace_listing_history_stddev_pop_fields"], + stddev_samp?:ValueTypes["marketplace_listing_history_stddev_samp_fields"], + sum?:ValueTypes["marketplace_listing_history_sum_fields"], + var_pop?:ValueTypes["marketplace_listing_history_var_pop_fields"], + var_samp?:ValueTypes["marketplace_listing_history_var_samp_fields"], + variance?:ValueTypes["marketplace_listing_history_variance_fields"], + __typename?: boolean | `@${string}` +}>; + /** order by aggregate values of table "marketplace_listing_history" */ +["marketplace_listing_history_aggregate_order_by"]: { + avg?: ValueTypes["marketplace_listing_history_avg_order_by"] | undefined | null | Variable, + count?: ValueTypes["order_by"] | undefined | null | Variable, + max?: ValueTypes["marketplace_listing_history_max_order_by"] | undefined | null | Variable, + min?: ValueTypes["marketplace_listing_history_min_order_by"] | undefined | null | Variable, + stddev?: ValueTypes["marketplace_listing_history_stddev_order_by"] | undefined | null | Variable, + stddev_pop?: ValueTypes["marketplace_listing_history_stddev_pop_order_by"] | undefined | null | Variable, + stddev_samp?: ValueTypes["marketplace_listing_history_stddev_samp_order_by"] | undefined | null | Variable, + sum?: ValueTypes["marketplace_listing_history_sum_order_by"] | undefined | null | Variable, + var_pop?: ValueTypes["marketplace_listing_history_var_pop_order_by"] | undefined | null | Variable, + var_samp?: ValueTypes["marketplace_listing_history_var_samp_order_by"] | undefined | null | Variable, + variance?: ValueTypes["marketplace_listing_history_variance_order_by"] | undefined | null | Variable +}; + /** input type for inserting array relation for remote table "marketplace_listing_history" */ +["marketplace_listing_history_arr_rel_insert_input"]: { + data: Array | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["marketplace_listing_history_on_conflict"] | undefined | null | Variable +}; + /** aggregate avg on columns */ +["marketplace_listing_history_avg_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by avg() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_avg_order_by"]: { + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** Boolean expression to filter rows from the table "marketplace_listing_history". All fields are combined with a logical 'AND'. */ +["marketplace_listing_history_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + action?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + listing_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + marketplace_listing?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable, + sender_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, + transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "marketplace_listing_history" */ +["marketplace_listing_history_constraint"]:marketplace_listing_history_constraint; + /** input type for incrementing numeric columns in table "marketplace_listing_history" */ +["marketplace_listing_history_inc_input"]: { + id?: number | undefined | null | Variable, + listing_id?: number | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** input type for inserting data into table "marketplace_listing_history" */ +["marketplace_listing_history_insert_input"]: { + action?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + listing_id?: number | undefined | null | Variable, + marketplace_listing?: ValueTypes["marketplace_listing_obj_rel_insert_input"] | undefined | null | Variable, + sender_address?: string | undefined | null | Variable, + transaction?: ValueTypes["transaction_obj_rel_insert_input"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate max on columns */ +["marketplace_listing_history_max_fields"]: AliasType<{ + action?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + sender_address?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by max() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_max_order_by"]: { + action?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + sender_address?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate min on columns */ +["marketplace_listing_history_min_fields"]: AliasType<{ + action?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + sender_address?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by min() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_min_order_by"]: { + action?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + sender_address?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** response of any mutation on the table "marketplace_listing_history" */ +["marketplace_listing_history_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["marketplace_listing_history"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "marketplace_listing_history" */ +["marketplace_listing_history_on_conflict"]: { + constraint: ValueTypes["marketplace_listing_history_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable +}; + /** Ordering options when selecting data from "marketplace_listing_history". */ +["marketplace_listing_history_order_by"]: { + action?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + marketplace_listing?: ValueTypes["marketplace_listing_order_by"] | undefined | null | Variable, + sender_address?: ValueTypes["order_by"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: marketplace_listing_history */ +["marketplace_listing_history_pk_columns_input"]: { + id: number | Variable +}; + /** select columns of table "marketplace_listing_history" */ +["marketplace_listing_history_select_column"]:marketplace_listing_history_select_column; + /** input type for updating data in table "marketplace_listing_history" */ +["marketplace_listing_history_set_input"]: { + action?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + listing_id?: number | undefined | null | Variable, + sender_address?: string | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["marketplace_listing_history_stddev_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_stddev_order_by"]: { + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_pop on columns */ +["marketplace_listing_history_stddev_pop_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_pop() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_stddev_pop_order_by"]: { + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_samp on columns */ +["marketplace_listing_history_stddev_samp_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_samp() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_stddev_samp_order_by"]: { + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** Streaming cursor of the table "marketplace_listing_history" */ +["marketplace_listing_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["marketplace_listing_history_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; + /** Initial value of the column from where the streaming should start */ +["marketplace_listing_history_stream_cursor_value_input"]: { + action?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + listing_id?: number | undefined | null | Variable, + sender_address?: string | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate sum on columns */ +["marketplace_listing_history_sum_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by sum() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_sum_order_by"]: { + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** update columns of table "marketplace_listing_history" */ +["marketplace_listing_history_update_column"]:marketplace_listing_history_update_column; + ["marketplace_listing_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["marketplace_listing_history_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["marketplace_listing_history_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["marketplace_listing_history_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["marketplace_listing_history_var_pop_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_pop() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_var_pop_order_by"]: { + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate var_samp on columns */ +["marketplace_listing_history_var_samp_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_samp() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_var_samp_order_by"]: { + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate variance on columns */ +["marketplace_listing_history_variance_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by variance() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_variance_order_by"]: { + id?: ValueTypes["order_by"] | undefined | null | Variable, + listing_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** input type for incrementing numeric columns in table "marketplace_listing" */ +["marketplace_listing_inc_input"]: { + deposit_timeout?: number | undefined | null | Variable, + deposit_total?: ValueTypes["bigint"] | undefined | null | Variable, + depositor_timedout_block?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + total?: ValueTypes["bigint"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** input type for inserting data into table "marketplace_listing" */ +["marketplace_listing_insert_input"]: { + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + date_updated?: ValueTypes["timestamp"] | undefined | null | Variable, + deposit_timeout?: number | undefined | null | Variable, + deposit_total?: ValueTypes["bigint"] | undefined | null | Variable, + depositor_address?: string | undefined | null | Variable, + depositor_timedout_block?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + is_cancelled?: boolean | undefined | null | Variable, + is_deposited?: boolean | undefined | null | Variable, + is_filled?: boolean | undefined | null | Variable, + marketplace_cft20_details?: ValueTypes["marketplace_cft20_detail_arr_rel_insert_input"] | undefined | null | Variable, + marketplace_cft20_trade_histories?: ValueTypes["marketplace_cft20_trade_history_arr_rel_insert_input"] | undefined | null | Variable, + marketplace_listing_histories?: ValueTypes["marketplace_listing_history_arr_rel_insert_input"] | undefined | null | Variable, + seller_address?: string | undefined | null | Variable, + total?: ValueTypes["bigint"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_obj_rel_insert_input"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate max on columns */ +["marketplace_listing_max_fields"]: AliasType<{ + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_address?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "marketplace_listing" */ - ["marketplace_listing_max_order_by"]: { - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - date_updated?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_address?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - seller_address?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_listing_max_order_by"]: { + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + date_updated?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_address?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + seller_address?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate min on columns */ +["marketplace_listing_min_fields"]: AliasType<{ + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_address?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "marketplace_listing" */ - ["marketplace_listing_min_order_by"]: { - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - date_updated?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_address?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - seller_address?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_listing_min_order_by"]: { + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + date_updated?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_address?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + seller_address?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** response of any mutation on the table "marketplace_listing" */ +["marketplace_listing_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["marketplace_listing"], + __typename?: boolean | `@${string}` +}>; + /** input type for inserting object relation for remote table "marketplace_listing" */ +["marketplace_listing_obj_rel_insert_input"]: { + data: ValueTypes["marketplace_listing_insert_input"] | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["marketplace_listing_on_conflict"] | undefined | null | Variable +}; + /** on_conflict condition type for table "marketplace_listing" */ +["marketplace_listing_on_conflict"]: { + constraint: ValueTypes["marketplace_listing_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable +}; /** Ordering options when selecting data from "marketplace_listing". */ - ["marketplace_listing_order_by"]: { - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - date_updated?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_address?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - is_cancelled?: ValueTypes["order_by"] | undefined | null | Variable, - is_deposited?: ValueTypes["order_by"] | undefined | null | Variable, - is_filled?: ValueTypes["order_by"] | undefined | null | Variable, - marketplace_cft20_details_aggregate?: ValueTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined | null | Variable, - seller_address?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_listing_order_by"]: { + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + date_updated?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_address?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + is_cancelled?: ValueTypes["order_by"] | undefined | null | Variable, + is_deposited?: ValueTypes["order_by"] | undefined | null | Variable, + is_filled?: ValueTypes["order_by"] | undefined | null | Variable, + marketplace_cft20_details_aggregate?: ValueTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined | null | Variable, + marketplace_cft20_trade_histories_aggregate?: ValueTypes["marketplace_cft20_trade_history_aggregate_order_by"] | undefined | null | Variable, + marketplace_listing_histories_aggregate?: ValueTypes["marketplace_listing_history_aggregate_order_by"] | undefined | null | Variable, + seller_address?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: marketplace_listing */ +["marketplace_listing_pk_columns_input"]: { + id: number | Variable +}; /** select columns of table "marketplace_listing" */ - ["marketplace_listing_select_column"]: marketplace_listing_select_column; +["marketplace_listing_select_column"]:marketplace_listing_select_column; + /** select "marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns" columns of table "marketplace_listing" */ +["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns"]:marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns; + /** select "marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns" columns of table "marketplace_listing" */ +["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns"]:marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "marketplace_listing" */ +["marketplace_listing_set_input"]: { + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + date_updated?: ValueTypes["timestamp"] | undefined | null | Variable, + deposit_timeout?: number | undefined | null | Variable, + deposit_total?: ValueTypes["bigint"] | undefined | null | Variable, + depositor_address?: string | undefined | null | Variable, + depositor_timedout_block?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + is_cancelled?: boolean | undefined | null | Variable, + is_deposited?: boolean | undefined | null | Variable, + is_filled?: boolean | undefined | null | Variable, + seller_address?: string | undefined | null | Variable, + total?: ValueTypes["bigint"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["marketplace_listing_stddev_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "marketplace_listing" */ - ["marketplace_listing_stddev_order_by"]: { - deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_listing_stddev_order_by"]: { + deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_pop on columns */ +["marketplace_listing_stddev_pop_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "marketplace_listing" */ - ["marketplace_listing_stddev_pop_order_by"]: { - deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_listing_stddev_pop_order_by"]: { + deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_samp on columns */ +["marketplace_listing_stddev_samp_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "marketplace_listing" */ - ["marketplace_listing_stddev_samp_order_by"]: { - deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_listing_stddev_samp_order_by"]: { + deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Streaming cursor of the table "marketplace_listing" */ - ["marketplace_listing_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ValueTypes["marketplace_listing_stream_cursor_value_input"] | Variable, - /** cursor ordering */ - ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable - }; +["marketplace_listing_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["marketplace_listing_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; /** Initial value of the column from where the streaming should start */ - ["marketplace_listing_stream_cursor_value_input"]: { - chain_id?: string | undefined | null | Variable, - date_created?: ValueTypes["timestamp"] | undefined | null | Variable, - date_updated?: ValueTypes["timestamp"] | undefined | null | Variable, - deposit_timeout?: number | undefined | null | Variable, - deposit_total?: ValueTypes["bigint"] | undefined | null | Variable, - depositor_address?: string | undefined | null | Variable, - depositor_timedout_block?: number | undefined | null | Variable, - id?: number | undefined | null | Variable, - is_cancelled?: boolean | undefined | null | Variable, - is_deposited?: boolean | undefined | null | Variable, - is_filled?: boolean | undefined | null | Variable, - seller_address?: string | undefined | null | Variable, - total?: ValueTypes["bigint"] | undefined | null | Variable, - transaction_id?: number | undefined | null | Variable - }; +["marketplace_listing_stream_cursor_value_input"]: { + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + date_updated?: ValueTypes["timestamp"] | undefined | null | Variable, + deposit_timeout?: number | undefined | null | Variable, + deposit_total?: ValueTypes["bigint"] | undefined | null | Variable, + depositor_address?: string | undefined | null | Variable, + depositor_timedout_block?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + is_cancelled?: boolean | undefined | null | Variable, + is_deposited?: boolean | undefined | null | Variable, + is_filled?: boolean | undefined | null | Variable, + seller_address?: string | undefined | null | Variable, + total?: ValueTypes["bigint"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate sum on columns */ +["marketplace_listing_sum_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "marketplace_listing" */ - ["marketplace_listing_sum_order_by"]: { - deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_listing_sum_order_by"]: { + deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** update columns of table "marketplace_listing" */ +["marketplace_listing_update_column"]:marketplace_listing_update_column; + ["marketplace_listing_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["marketplace_listing_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["marketplace_listing_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["marketplace_listing_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["marketplace_listing_var_pop_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "marketplace_listing" */ - ["marketplace_listing_var_pop_order_by"]: { - deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_listing_var_pop_order_by"]: { + deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate var_samp on columns */ +["marketplace_listing_var_samp_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "marketplace_listing" */ - ["marketplace_listing_var_samp_order_by"]: { - deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["marketplace_listing_var_samp_order_by"]: { + deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate variance on columns */ +["marketplace_listing_variance_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "marketplace_listing" */ - ["marketplace_listing_variance_order_by"]: { - deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, - deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, - depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; - ["numeric"]: unknown; +["marketplace_listing_variance_order_by"]: { + deposit_timeout?: ValueTypes["order_by"] | undefined | null | Variable, + deposit_total?: ValueTypes["order_by"] | undefined | null | Variable, + depositor_timedout_block?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** mutation root */ +["mutation_root"]: AliasType<{ +delete_inscription?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["inscription_bool_exp"] | Variable},ValueTypes["inscription_mutation_response"]], +delete_inscription_by_pk?: [{ id: number | Variable},ValueTypes["inscription"]], +delete_inscription_history?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["inscription_history_bool_exp"] | Variable},ValueTypes["inscription_history_mutation_response"]], +delete_inscription_history_by_pk?: [{ id: number | Variable},ValueTypes["inscription_history"]], +delete_marketplace_cft20_detail?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["marketplace_cft20_detail_bool_exp"] | Variable},ValueTypes["marketplace_cft20_detail_mutation_response"]], +delete_marketplace_cft20_detail_by_pk?: [{ id: number | Variable},ValueTypes["marketplace_cft20_detail"]], +delete_marketplace_cft20_trade_history?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | Variable},ValueTypes["marketplace_cft20_trade_history_mutation_response"]], +delete_marketplace_cft20_trade_history_by_pk?: [{ id: number | Variable},ValueTypes["marketplace_cft20_trade_history"]], +delete_marketplace_listing?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["marketplace_listing_bool_exp"] | Variable},ValueTypes["marketplace_listing_mutation_response"]], +delete_marketplace_listing_by_pk?: [{ id: number | Variable},ValueTypes["marketplace_listing"]], +delete_marketplace_listing_history?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["marketplace_listing_history_bool_exp"] | Variable},ValueTypes["marketplace_listing_history_mutation_response"]], +delete_marketplace_listing_history_by_pk?: [{ id: number | Variable},ValueTypes["marketplace_listing_history"]], +delete_status?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["status_bool_exp"] | Variable},ValueTypes["status_mutation_response"]], +delete_status_by_pk?: [{ id: number | Variable},ValueTypes["status"]], +delete_token?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["token_bool_exp"] | Variable},ValueTypes["token_mutation_response"]], +delete_token_address_history?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["token_address_history_bool_exp"] | Variable},ValueTypes["token_address_history_mutation_response"]], +delete_token_address_history_by_pk?: [{ id: number | Variable},ValueTypes["token_address_history"]], +delete_token_by_pk?: [{ id: number | Variable},ValueTypes["token"]], +delete_token_holder?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["token_holder_bool_exp"] | Variable},ValueTypes["token_holder_mutation_response"]], +delete_token_holder_by_pk?: [{ id: number | Variable},ValueTypes["token_holder"]], +delete_token_open_position?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["token_open_position_bool_exp"] | Variable},ValueTypes["token_open_position_mutation_response"]], +delete_token_open_position_by_pk?: [{ id: number | Variable},ValueTypes["token_open_position"]], +delete_token_trade_history?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["token_trade_history_bool_exp"] | Variable},ValueTypes["token_trade_history_mutation_response"]], +delete_token_trade_history_by_pk?: [{ id: number | Variable},ValueTypes["token_trade_history"]], +delete_transaction?: [{ /** filter the rows which have to be deleted */ + where: ValueTypes["transaction_bool_exp"] | Variable},ValueTypes["transaction_mutation_response"]], +delete_transaction_by_pk?: [{ id: number | Variable},ValueTypes["transaction"]], +insert_inscription?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["inscription_on_conflict"] | undefined | null | Variable},ValueTypes["inscription_mutation_response"]], +insert_inscription_history?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["inscription_history_on_conflict"] | undefined | null | Variable},ValueTypes["inscription_history_mutation_response"]], +insert_inscription_history_one?: [{ /** the row to be inserted */ + object: ValueTypes["inscription_history_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["inscription_history_on_conflict"] | undefined | null | Variable},ValueTypes["inscription_history"]], +insert_inscription_one?: [{ /** the row to be inserted */ + object: ValueTypes["inscription_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["inscription_on_conflict"] | undefined | null | Variable},ValueTypes["inscription"]], +insert_marketplace_cft20_detail?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["marketplace_cft20_detail_on_conflict"] | undefined | null | Variable},ValueTypes["marketplace_cft20_detail_mutation_response"]], +insert_marketplace_cft20_detail_one?: [{ /** the row to be inserted */ + object: ValueTypes["marketplace_cft20_detail_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["marketplace_cft20_detail_on_conflict"] | undefined | null | Variable},ValueTypes["marketplace_cft20_detail"]], +insert_marketplace_cft20_trade_history?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["marketplace_cft20_trade_history_on_conflict"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history_mutation_response"]], +insert_marketplace_cft20_trade_history_one?: [{ /** the row to be inserted */ + object: ValueTypes["marketplace_cft20_trade_history_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["marketplace_cft20_trade_history_on_conflict"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history"]], +insert_marketplace_listing?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["marketplace_listing_on_conflict"] | undefined | null | Variable},ValueTypes["marketplace_listing_mutation_response"]], +insert_marketplace_listing_history?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["marketplace_listing_history_on_conflict"] | undefined | null | Variable},ValueTypes["marketplace_listing_history_mutation_response"]], +insert_marketplace_listing_history_one?: [{ /** the row to be inserted */ + object: ValueTypes["marketplace_listing_history_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["marketplace_listing_history_on_conflict"] | undefined | null | Variable},ValueTypes["marketplace_listing_history"]], +insert_marketplace_listing_one?: [{ /** the row to be inserted */ + object: ValueTypes["marketplace_listing_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["marketplace_listing_on_conflict"] | undefined | null | Variable},ValueTypes["marketplace_listing"]], +insert_status?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["status_on_conflict"] | undefined | null | Variable},ValueTypes["status_mutation_response"]], +insert_status_one?: [{ /** the row to be inserted */ + object: ValueTypes["status_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["status_on_conflict"] | undefined | null | Variable},ValueTypes["status"]], +insert_token?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["token_on_conflict"] | undefined | null | Variable},ValueTypes["token_mutation_response"]], +insert_token_address_history?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["token_address_history_on_conflict"] | undefined | null | Variable},ValueTypes["token_address_history_mutation_response"]], +insert_token_address_history_one?: [{ /** the row to be inserted */ + object: ValueTypes["token_address_history_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["token_address_history_on_conflict"] | undefined | null | Variable},ValueTypes["token_address_history"]], +insert_token_holder?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["token_holder_on_conflict"] | undefined | null | Variable},ValueTypes["token_holder_mutation_response"]], +insert_token_holder_one?: [{ /** the row to be inserted */ + object: ValueTypes["token_holder_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["token_holder_on_conflict"] | undefined | null | Variable},ValueTypes["token_holder"]], +insert_token_one?: [{ /** the row to be inserted */ + object: ValueTypes["token_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["token_on_conflict"] | undefined | null | Variable},ValueTypes["token"]], +insert_token_open_position?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["token_open_position_on_conflict"] | undefined | null | Variable},ValueTypes["token_open_position_mutation_response"]], +insert_token_open_position_one?: [{ /** the row to be inserted */ + object: ValueTypes["token_open_position_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["token_open_position_on_conflict"] | undefined | null | Variable},ValueTypes["token_open_position"]], +insert_token_trade_history?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["token_trade_history_on_conflict"] | undefined | null | Variable},ValueTypes["token_trade_history_mutation_response"]], +insert_token_trade_history_one?: [{ /** the row to be inserted */ + object: ValueTypes["token_trade_history_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["token_trade_history_on_conflict"] | undefined | null | Variable},ValueTypes["token_trade_history"]], +insert_transaction?: [{ /** the rows to be inserted */ + objects: Array | Variable, /** upsert condition */ + on_conflict?: ValueTypes["transaction_on_conflict"] | undefined | null | Variable},ValueTypes["transaction_mutation_response"]], +insert_transaction_one?: [{ /** the row to be inserted */ + object: ValueTypes["transaction_insert_input"] | Variable, /** upsert condition */ + on_conflict?: ValueTypes["transaction_on_conflict"] | undefined | null | Variable},ValueTypes["transaction"]], +update_inscription?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["inscription_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["inscription_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["inscription_bool_exp"] | Variable},ValueTypes["inscription_mutation_response"]], +update_inscription_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["inscription_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["inscription_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["inscription_pk_columns_input"] | Variable},ValueTypes["inscription"]], +update_inscription_history?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["inscription_history_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["inscription_history_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["inscription_history_bool_exp"] | Variable},ValueTypes["inscription_history_mutation_response"]], +update_inscription_history_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["inscription_history_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["inscription_history_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["inscription_history_pk_columns_input"] | Variable},ValueTypes["inscription_history"]], +update_inscription_history_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["inscription_history_mutation_response"]], +update_inscription_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["inscription_mutation_response"]], +update_marketplace_cft20_detail?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["marketplace_cft20_detail_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["marketplace_cft20_detail_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["marketplace_cft20_detail_bool_exp"] | Variable},ValueTypes["marketplace_cft20_detail_mutation_response"]], +update_marketplace_cft20_detail_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["marketplace_cft20_detail_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["marketplace_cft20_detail_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["marketplace_cft20_detail_pk_columns_input"] | Variable},ValueTypes["marketplace_cft20_detail"]], +update_marketplace_cft20_detail_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["marketplace_cft20_detail_mutation_response"]], +update_marketplace_cft20_trade_history?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["marketplace_cft20_trade_history_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["marketplace_cft20_trade_history_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | Variable},ValueTypes["marketplace_cft20_trade_history_mutation_response"]], +update_marketplace_cft20_trade_history_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["marketplace_cft20_trade_history_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["marketplace_cft20_trade_history_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["marketplace_cft20_trade_history_pk_columns_input"] | Variable},ValueTypes["marketplace_cft20_trade_history"]], +update_marketplace_cft20_trade_history_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["marketplace_cft20_trade_history_mutation_response"]], +update_marketplace_listing?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["marketplace_listing_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["marketplace_listing_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["marketplace_listing_bool_exp"] | Variable},ValueTypes["marketplace_listing_mutation_response"]], +update_marketplace_listing_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["marketplace_listing_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["marketplace_listing_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["marketplace_listing_pk_columns_input"] | Variable},ValueTypes["marketplace_listing"]], +update_marketplace_listing_history?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["marketplace_listing_history_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["marketplace_listing_history_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["marketplace_listing_history_bool_exp"] | Variable},ValueTypes["marketplace_listing_history_mutation_response"]], +update_marketplace_listing_history_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["marketplace_listing_history_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["marketplace_listing_history_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["marketplace_listing_history_pk_columns_input"] | Variable},ValueTypes["marketplace_listing_history"]], +update_marketplace_listing_history_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["marketplace_listing_history_mutation_response"]], +update_marketplace_listing_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["marketplace_listing_mutation_response"]], +update_status?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["status_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["status_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["status_bool_exp"] | Variable},ValueTypes["status_mutation_response"]], +update_status_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["status_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["status_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["status_pk_columns_input"] | Variable},ValueTypes["status"]], +update_status_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["status_mutation_response"]], +update_token?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["token_bool_exp"] | Variable},ValueTypes["token_mutation_response"]], +update_token_address_history?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_address_history_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_address_history_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["token_address_history_bool_exp"] | Variable},ValueTypes["token_address_history_mutation_response"]], +update_token_address_history_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_address_history_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_address_history_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["token_address_history_pk_columns_input"] | Variable},ValueTypes["token_address_history"]], +update_token_address_history_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["token_address_history_mutation_response"]], +update_token_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["token_pk_columns_input"] | Variable},ValueTypes["token"]], +update_token_holder?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_holder_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_holder_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["token_holder_bool_exp"] | Variable},ValueTypes["token_holder_mutation_response"]], +update_token_holder_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_holder_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_holder_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["token_holder_pk_columns_input"] | Variable},ValueTypes["token_holder"]], +update_token_holder_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["token_holder_mutation_response"]], +update_token_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["token_mutation_response"]], +update_token_open_position?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_open_position_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_open_position_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["token_open_position_bool_exp"] | Variable},ValueTypes["token_open_position_mutation_response"]], +update_token_open_position_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_open_position_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_open_position_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["token_open_position_pk_columns_input"] | Variable},ValueTypes["token_open_position"]], +update_token_open_position_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["token_open_position_mutation_response"]], +update_token_trade_history?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_trade_history_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_trade_history_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["token_trade_history_bool_exp"] | Variable},ValueTypes["token_trade_history_mutation_response"]], +update_token_trade_history_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_trade_history_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_trade_history_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["token_trade_history_pk_columns_input"] | Variable},ValueTypes["token_trade_history"]], +update_token_trade_history_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["token_trade_history_mutation_response"]], +update_transaction?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["transaction_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["transaction_set_input"] | undefined | null | Variable, /** filter the rows which have to be updated */ + where: ValueTypes["transaction_bool_exp"] | Variable},ValueTypes["transaction_mutation_response"]], +update_transaction_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["transaction_inc_input"] | undefined | null | Variable, /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["transaction_set_input"] | undefined | null | Variable, pk_columns: ValueTypes["transaction_pk_columns_input"] | Variable},ValueTypes["transaction"]], +update_transaction_many?: [{ /** updates to execute, in order */ + updates: Array | Variable},ValueTypes["transaction_mutation_response"]], + __typename?: boolean | `@${string}` +}>; + ["numeric"]:unknown; /** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ - ["numeric_comparison_exp"]: { - _eq?: ValueTypes["numeric"] | undefined | null | Variable, - _gt?: ValueTypes["numeric"] | undefined | null | Variable, - _gte?: ValueTypes["numeric"] | undefined | null | Variable, - _in?: Array | undefined | null | Variable, - _is_null?: boolean | undefined | null | Variable, - _lt?: ValueTypes["numeric"] | undefined | null | Variable, - _lte?: ValueTypes["numeric"] | undefined | null | Variable, - _neq?: ValueTypes["numeric"] | undefined | null | Variable, - _nin?: Array | undefined | null | Variable - }; +["numeric_comparison_exp"]: { + _eq?: ValueTypes["numeric"] | undefined | null | Variable, + _gt?: ValueTypes["numeric"] | undefined | null | Variable, + _gte?: ValueTypes["numeric"] | undefined | null | Variable, + _in?: Array | undefined | null | Variable, + _is_null?: boolean | undefined | null | Variable, + _lt?: ValueTypes["numeric"] | undefined | null | Variable, + _lte?: ValueTypes["numeric"] | undefined | null | Variable, + _neq?: ValueTypes["numeric"] | undefined | null | Variable, + _nin?: Array | undefined | null | Variable +}; /** column ordering options */ - ["order_by"]: order_by; +["order_by"]:order_by; ["query_root"]: AliasType<{ - inscription?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable - }, ValueTypes["inscription"]], - inscription_by_pk?: [{ id: number | Variable }, ValueTypes["inscription"]], - inscription_history?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable - }, ValueTypes["inscription_history"]], - inscription_history_by_pk?: [{ id: number | Variable }, ValueTypes["inscription_history"]], - marketplace_cft20_detail?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable - }, ValueTypes["marketplace_cft20_detail"]], - marketplace_cft20_detail_by_pk?: [{ id: number | Variable }, ValueTypes["marketplace_cft20_detail"]], - marketplace_listing?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable - }, ValueTypes["marketplace_listing"]], - marketplace_listing_by_pk?: [{ id: number | Variable }, ValueTypes["marketplace_listing"]], - status?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["status_bool_exp"] | undefined | null | Variable - }, ValueTypes["status"]], - status_by_pk?: [{ id: number | Variable }, ValueTypes["status"]], - token?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_bool_exp"] | undefined | null | Variable - }, ValueTypes["token"]], - token_address_history?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_address_history"]], - token_address_history_by_pk?: [{ id: number | Variable }, ValueTypes["token_address_history"]], - token_by_pk?: [{ id: number | Variable }, ValueTypes["token"]], - token_holder?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_holder"]], - token_holder_by_pk?: [{ id: number | Variable }, ValueTypes["token_holder"]], - token_open_position?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_open_position"]], - token_open_position_by_pk?: [{ id: number | Variable }, ValueTypes["token_open_position"]], - token_trade_history?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_trade_history"]], - token_trade_history_by_pk?: [{ id: number | Variable }, ValueTypes["token_trade_history"]], - transaction?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable - }, ValueTypes["transaction"]], - transaction_by_pk?: [{ id: number | Variable }, ValueTypes["transaction"]], - __typename?: boolean | `@${string}` - }>; - ["smallint"]: unknown; +inscription?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable},ValueTypes["inscription"]], +inscription_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable},ValueTypes["inscription_aggregate"]], +inscription_by_pk?: [{ id: number | Variable},ValueTypes["inscription"]], +inscription_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable},ValueTypes["inscription_history"]], +inscription_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable},ValueTypes["inscription_history_aggregate"]], +inscription_history_by_pk?: [{ id: number | Variable},ValueTypes["inscription_history"]], +marketplace_cft20_detail?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_detail"]], +marketplace_cft20_detail_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_detail_aggregate"]], +marketplace_cft20_detail_by_pk?: [{ id: number | Variable},ValueTypes["marketplace_cft20_detail"]], +marketplace_cft20_trade_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history"]], +marketplace_cft20_trade_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history_aggregate"]], +marketplace_cft20_trade_history_by_pk?: [{ id: number | Variable},ValueTypes["marketplace_cft20_trade_history"]], +marketplace_listing?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing"]], +marketplace_listing_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing_aggregate"]], +marketplace_listing_by_pk?: [{ id: number | Variable},ValueTypes["marketplace_listing"]], +marketplace_listing_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing_history"]], +marketplace_listing_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing_history_aggregate"]], +marketplace_listing_history_by_pk?: [{ id: number | Variable},ValueTypes["marketplace_listing_history"]], +status?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["status_bool_exp"] | undefined | null | Variable},ValueTypes["status"]], +status_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["status_bool_exp"] | undefined | null | Variable},ValueTypes["status_aggregate"]], +status_by_pk?: [{ id: number | Variable},ValueTypes["status"]], +token?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_bool_exp"] | undefined | null | Variable},ValueTypes["token"]], +token_address_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_address_history"]], +token_address_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_address_history_aggregate"]], +token_address_history_by_pk?: [{ id: number | Variable},ValueTypes["token_address_history"]], +token_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_bool_exp"] | undefined | null | Variable},ValueTypes["token_aggregate"]], +token_by_pk?: [{ id: number | Variable},ValueTypes["token"]], +token_holder?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable},ValueTypes["token_holder"]], +token_holder_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable},ValueTypes["token_holder_aggregate"]], +token_holder_by_pk?: [{ id: number | Variable},ValueTypes["token_holder"]], +token_open_position?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable},ValueTypes["token_open_position"]], +token_open_position_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable},ValueTypes["token_open_position_aggregate"]], +token_open_position_by_pk?: [{ id: number | Variable},ValueTypes["token_open_position"]], +token_trade_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_trade_history"]], +token_trade_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_trade_history_aggregate"]], +token_trade_history_by_pk?: [{ id: number | Variable},ValueTypes["token_trade_history"]], +transaction?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable},ValueTypes["transaction"]], +transaction_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable},ValueTypes["transaction_aggregate"]], +transaction_by_pk?: [{ id: number | Variable},ValueTypes["transaction"]], + __typename?: boolean | `@${string}` +}>; + ["smallint"]:unknown; /** Boolean expression to compare columns of type "smallint". All fields are combined with logical 'AND'. */ - ["smallint_comparison_exp"]: { - _eq?: ValueTypes["smallint"] | undefined | null | Variable, - _gt?: ValueTypes["smallint"] | undefined | null | Variable, - _gte?: ValueTypes["smallint"] | undefined | null | Variable, - _in?: Array | undefined | null | Variable, - _is_null?: boolean | undefined | null | Variable, - _lt?: ValueTypes["smallint"] | undefined | null | Variable, - _lte?: ValueTypes["smallint"] | undefined | null | Variable, - _neq?: ValueTypes["smallint"] | undefined | null | Variable, - _nin?: Array | undefined | null | Variable - }; +["smallint_comparison_exp"]: { + _eq?: ValueTypes["smallint"] | undefined | null | Variable, + _gt?: ValueTypes["smallint"] | undefined | null | Variable, + _gte?: ValueTypes["smallint"] | undefined | null | Variable, + _in?: Array | undefined | null | Variable, + _is_null?: boolean | undefined | null | Variable, + _lt?: ValueTypes["smallint"] | undefined | null | Variable, + _lte?: ValueTypes["smallint"] | undefined | null | Variable, + _neq?: ValueTypes["smallint"] | undefined | null | Variable, + _nin?: Array | undefined | null | Variable +}; /** columns and relationships of "status" */ - ["status"]: AliasType<{ - base_token?: boolean | `@${string}`, - base_token_usd?: boolean | `@${string}`, - chain_id?: boolean | `@${string}`, - date_updated?: boolean | `@${string}`, - id?: boolean | `@${string}`, - last_known_height?: boolean | `@${string}`, - last_processed_height?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["status"]: AliasType<{ + base_token?:boolean | `@${string}`, + base_token_usd?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "status" */ +["status_aggregate"]: AliasType<{ + aggregate?:ValueTypes["status_aggregate_fields"], + nodes?:ValueTypes["status"], + __typename?: boolean | `@${string}` +}>; + /** aggregate fields of "status" */ +["status_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["status_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["status_max_fields"], + min?:ValueTypes["status_min_fields"], + stddev?:ValueTypes["status_stddev_fields"], + stddev_pop?:ValueTypes["status_stddev_pop_fields"], + stddev_samp?:ValueTypes["status_stddev_samp_fields"], + sum?:ValueTypes["status_sum_fields"], + var_pop?:ValueTypes["status_var_pop_fields"], + var_samp?:ValueTypes["status_var_samp_fields"], + variance?:ValueTypes["status_variance_fields"], + __typename?: boolean | `@${string}` +}>; + /** aggregate avg on columns */ +["status_avg_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** Boolean expression to filter rows from the table "status". All fields are combined with a logical 'AND'. */ - ["status_bool_exp"]: { - _and?: Array | undefined | null | Variable, - _not?: ValueTypes["status_bool_exp"] | undefined | null | Variable, - _or?: Array | undefined | null | Variable, - base_token?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - base_token_usd?: ValueTypes["Float_comparison_exp"] | undefined | null | Variable, - chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - date_updated?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - last_known_height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - last_processed_height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable - }; +["status_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["status_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + base_token?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + base_token_usd?: ValueTypes["Float_comparison_exp"] | undefined | null | Variable, + chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + date_updated?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + last_known_height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + last_processed_height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "status" */ +["status_constraint"]:status_constraint; + /** input type for incrementing numeric columns in table "status" */ +["status_inc_input"]: { + base_token_usd?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + last_known_height?: number | undefined | null | Variable, + last_processed_height?: number | undefined | null | Variable +}; + /** input type for inserting data into table "status" */ +["status_insert_input"]: { + base_token?: string | undefined | null | Variable, + base_token_usd?: number | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_updated?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + last_known_height?: number | undefined | null | Variable, + last_processed_height?: number | undefined | null | Variable +}; + /** aggregate max on columns */ +["status_max_fields"]: AliasType<{ + base_token?:boolean | `@${string}`, + base_token_usd?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate min on columns */ +["status_min_fields"]: AliasType<{ + base_token?:boolean | `@${string}`, + base_token_usd?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** response of any mutation on the table "status" */ +["status_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["status"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "status" */ +["status_on_conflict"]: { + constraint: ValueTypes["status_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["status_bool_exp"] | undefined | null | Variable +}; /** Ordering options when selecting data from "status". */ - ["status_order_by"]: { - base_token?: ValueTypes["order_by"] | undefined | null | Variable, - base_token_usd?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_updated?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - last_known_height?: ValueTypes["order_by"] | undefined | null | Variable, - last_processed_height?: ValueTypes["order_by"] | undefined | null | Variable - }; +["status_order_by"]: { + base_token?: ValueTypes["order_by"] | undefined | null | Variable, + base_token_usd?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_updated?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + last_known_height?: ValueTypes["order_by"] | undefined | null | Variable, + last_processed_height?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: status */ +["status_pk_columns_input"]: { + id: number | Variable +}; /** select columns of table "status" */ - ["status_select_column"]: status_select_column; +["status_select_column"]:status_select_column; + /** input type for updating data in table "status" */ +["status_set_input"]: { + base_token?: string | undefined | null | Variable, + base_token_usd?: number | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_updated?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + last_known_height?: number | undefined | null | Variable, + last_processed_height?: number | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["status_stddev_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate stddev_pop on columns */ +["status_stddev_pop_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate stddev_samp on columns */ +["status_stddev_samp_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** Streaming cursor of the table "status" */ - ["status_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ValueTypes["status_stream_cursor_value_input"] | Variable, - /** cursor ordering */ - ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable - }; +["status_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["status_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; /** Initial value of the column from where the streaming should start */ - ["status_stream_cursor_value_input"]: { - base_token?: string | undefined | null | Variable, - base_token_usd?: number | undefined | null | Variable, - chain_id?: string | undefined | null | Variable, - date_updated?: ValueTypes["timestamp"] | undefined | null | Variable, - id?: number | undefined | null | Variable, - last_known_height?: number | undefined | null | Variable, - last_processed_height?: number | undefined | null | Variable - }; +["status_stream_cursor_value_input"]: { + base_token?: string | undefined | null | Variable, + base_token_usd?: number | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_updated?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + last_known_height?: number | undefined | null | Variable, + last_processed_height?: number | undefined | null | Variable +}; + /** aggregate sum on columns */ +["status_sum_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** update columns of table "status" */ +["status_update_column"]:status_update_column; + ["status_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["status_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["status_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["status_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["status_var_pop_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate var_samp on columns */ +["status_var_samp_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate variance on columns */ +["status_variance_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; ["subscription_root"]: AliasType<{ - inscription?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable - }, ValueTypes["inscription"]], - inscription_by_pk?: [{ id: number | Variable }, ValueTypes["inscription"]], - inscription_history?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable - }, ValueTypes["inscription_history"]], - inscription_history_by_pk?: [{ id: number | Variable }, ValueTypes["inscription_history"]], - inscription_history_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number | Variable, /** cursor to stream the results returned by the query */ - cursor: Array | Variable, /** filter the rows returned */ - where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable - }, ValueTypes["inscription_history"]], - inscription_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number | Variable, /** cursor to stream the results returned by the query */ - cursor: Array | Variable, /** filter the rows returned */ - where?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable - }, ValueTypes["inscription"]], - marketplace_cft20_detail?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable - }, ValueTypes["marketplace_cft20_detail"]], - marketplace_cft20_detail_by_pk?: [{ id: number | Variable }, ValueTypes["marketplace_cft20_detail"]], - marketplace_cft20_detail_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number | Variable, /** cursor to stream the results returned by the query */ - cursor: Array | Variable, /** filter the rows returned */ - where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable - }, ValueTypes["marketplace_cft20_detail"]], - marketplace_listing?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable - }, ValueTypes["marketplace_listing"]], - marketplace_listing_by_pk?: [{ id: number | Variable }, ValueTypes["marketplace_listing"]], - marketplace_listing_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number | Variable, /** cursor to stream the results returned by the query */ - cursor: Array | Variable, /** filter the rows returned */ - where?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable - }, ValueTypes["marketplace_listing"]], - status?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["status_bool_exp"] | undefined | null | Variable - }, ValueTypes["status"]], - status_by_pk?: [{ id: number | Variable }, ValueTypes["status"]], - status_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number | Variable, /** cursor to stream the results returned by the query */ - cursor: Array | Variable, /** filter the rows returned */ - where?: ValueTypes["status_bool_exp"] | undefined | null | Variable - }, ValueTypes["status"]], - token?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_bool_exp"] | undefined | null | Variable - }, ValueTypes["token"]], - token_address_history?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_address_history"]], - token_address_history_by_pk?: [{ id: number | Variable }, ValueTypes["token_address_history"]], - token_address_history_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number | Variable, /** cursor to stream the results returned by the query */ - cursor: Array | Variable, /** filter the rows returned */ - where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_address_history"]], - token_by_pk?: [{ id: number | Variable }, ValueTypes["token"]], - token_holder?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_holder"]], - token_holder_by_pk?: [{ id: number | Variable }, ValueTypes["token_holder"]], - token_holder_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number | Variable, /** cursor to stream the results returned by the query */ - cursor: Array | Variable, /** filter the rows returned */ - where?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_holder"]], - token_open_position?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_open_position"]], - token_open_position_by_pk?: [{ id: number | Variable }, ValueTypes["token_open_position"]], - token_open_position_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number | Variable, /** cursor to stream the results returned by the query */ - cursor: Array | Variable, /** filter the rows returned */ - where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_open_position"]], - token_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number | Variable, /** cursor to stream the results returned by the query */ - cursor: Array | Variable, /** filter the rows returned */ - where?: ValueTypes["token_bool_exp"] | undefined | null | Variable - }, ValueTypes["token"]], - token_trade_history?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_trade_history"]], - token_trade_history_by_pk?: [{ id: number | Variable }, ValueTypes["token_trade_history"]], - token_trade_history_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number | Variable, /** cursor to stream the results returned by the query */ - cursor: Array | Variable, /** filter the rows returned */ - where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_trade_history"]], - transaction?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable - }, ValueTypes["transaction"]], - transaction_by_pk?: [{ id: number | Variable }, ValueTypes["transaction"]], - transaction_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number | Variable, /** cursor to stream the results returned by the query */ - cursor: Array | Variable, /** filter the rows returned */ - where?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable - }, ValueTypes["transaction"]], - __typename?: boolean | `@${string}` - }>; - ["timestamp"]: unknown; +inscription?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable},ValueTypes["inscription"]], +inscription_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable},ValueTypes["inscription_aggregate"]], +inscription_by_pk?: [{ id: number | Variable},ValueTypes["inscription"]], +inscription_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable},ValueTypes["inscription_history"]], +inscription_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable},ValueTypes["inscription_history_aggregate"]], +inscription_history_by_pk?: [{ id: number | Variable},ValueTypes["inscription_history"]], +inscription_history_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable},ValueTypes["inscription_history"]], +inscription_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable},ValueTypes["inscription"]], +marketplace_cft20_detail?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_detail"]], +marketplace_cft20_detail_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_detail_aggregate"]], +marketplace_cft20_detail_by_pk?: [{ id: number | Variable},ValueTypes["marketplace_cft20_detail"]], +marketplace_cft20_detail_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_detail"]], +marketplace_cft20_trade_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history"]], +marketplace_cft20_trade_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history_aggregate"]], +marketplace_cft20_trade_history_by_pk?: [{ id: number | Variable},ValueTypes["marketplace_cft20_trade_history"]], +marketplace_cft20_trade_history_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history"]], +marketplace_listing?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing"]], +marketplace_listing_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing_aggregate"]], +marketplace_listing_by_pk?: [{ id: number | Variable},ValueTypes["marketplace_listing"]], +marketplace_listing_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing_history"]], +marketplace_listing_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing_history_aggregate"]], +marketplace_listing_history_by_pk?: [{ id: number | Variable},ValueTypes["marketplace_listing_history"]], +marketplace_listing_history_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing_history"]], +marketplace_listing_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing"]], +status?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["status_bool_exp"] | undefined | null | Variable},ValueTypes["status"]], +status_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["status_bool_exp"] | undefined | null | Variable},ValueTypes["status_aggregate"]], +status_by_pk?: [{ id: number | Variable},ValueTypes["status"]], +status_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["status_bool_exp"] | undefined | null | Variable},ValueTypes["status"]], +token?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_bool_exp"] | undefined | null | Variable},ValueTypes["token"]], +token_address_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_address_history"]], +token_address_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_address_history_aggregate"]], +token_address_history_by_pk?: [{ id: number | Variable},ValueTypes["token_address_history"]], +token_address_history_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_address_history"]], +token_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_bool_exp"] | undefined | null | Variable},ValueTypes["token_aggregate"]], +token_by_pk?: [{ id: number | Variable},ValueTypes["token"]], +token_holder?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable},ValueTypes["token_holder"]], +token_holder_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable},ValueTypes["token_holder_aggregate"]], +token_holder_by_pk?: [{ id: number | Variable},ValueTypes["token_holder"]], +token_holder_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable},ValueTypes["token_holder"]], +token_open_position?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable},ValueTypes["token_open_position"]], +token_open_position_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable},ValueTypes["token_open_position_aggregate"]], +token_open_position_by_pk?: [{ id: number | Variable},ValueTypes["token_open_position"]], +token_open_position_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable},ValueTypes["token_open_position"]], +token_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["token_bool_exp"] | undefined | null | Variable},ValueTypes["token"]], +token_trade_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_trade_history"]], +token_trade_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_trade_history_aggregate"]], +token_trade_history_by_pk?: [{ id: number | Variable},ValueTypes["token_trade_history"]], +token_trade_history_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_trade_history"]], +transaction?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable},ValueTypes["transaction"]], +transaction_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable},ValueTypes["transaction_aggregate"]], +transaction_by_pk?: [{ id: number | Variable},ValueTypes["transaction"]], +transaction_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number | Variable, /** cursor to stream the results returned by the query */ + cursor: Array | Variable, /** filter the rows returned */ + where?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable},ValueTypes["transaction"]], + __typename?: boolean | `@${string}` +}>; + ["timestamp"]:unknown; /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ - ["timestamp_comparison_exp"]: { - _eq?: ValueTypes["timestamp"] | undefined | null | Variable, - _gt?: ValueTypes["timestamp"] | undefined | null | Variable, - _gte?: ValueTypes["timestamp"] | undefined | null | Variable, - _in?: Array | undefined | null | Variable, - _is_null?: boolean | undefined | null | Variable, - _lt?: ValueTypes["timestamp"] | undefined | null | Variable, - _lte?: ValueTypes["timestamp"] | undefined | null | Variable, - _neq?: ValueTypes["timestamp"] | undefined | null | Variable, - _nin?: Array | undefined | null | Variable - }; +["timestamp_comparison_exp"]: { + _eq?: ValueTypes["timestamp"] | undefined | null | Variable, + _gt?: ValueTypes["timestamp"] | undefined | null | Variable, + _gte?: ValueTypes["timestamp"] | undefined | null | Variable, + _in?: Array | undefined | null | Variable, + _is_null?: boolean | undefined | null | Variable, + _lt?: ValueTypes["timestamp"] | undefined | null | Variable, + _lte?: ValueTypes["timestamp"] | undefined | null | Variable, + _neq?: ValueTypes["timestamp"] | undefined | null | Variable, + _nin?: Array | undefined | null | Variable +}; /** columns and relationships of "token" */ - ["token"]: AliasType<{ - chain_id?: boolean | `@${string}`, - circulating_supply?: boolean | `@${string}`, - content_path?: boolean | `@${string}`, - content_size_bytes?: boolean | `@${string}`, - creator?: boolean | `@${string}`, - current_owner?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - decimals?: boolean | `@${string}`, - height?: boolean | `@${string}`, - id?: boolean | `@${string}`, - last_price_base?: boolean | `@${string}`, - launch_timestamp?: boolean | `@${string}`, - marketplace_cft20_details?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable - }, ValueTypes["marketplace_cft20_detail"]], - max_supply?: boolean | `@${string}`, - metadata?: boolean | `@${string}`, - mint_page?: boolean | `@${string}`, - name?: boolean | `@${string}`, - per_mint_limit?: boolean | `@${string}`, - ticker?: boolean | `@${string}`, - token_address_histories?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_address_history"]], - token_holders?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_holder"]], - token_open_positions?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_open_position"]], - token_trade_histories?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_trade_history"]], - /** An object relationship */ - transaction?: ValueTypes["transaction"], - transaction_id?: boolean | `@${string}`, - version?: boolean | `@${string}`, - volume_24_base?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["token"]: AliasType<{ + chain_id?:boolean | `@${string}`, + circulating_supply?:boolean | `@${string}`, + content_path?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + creator?:boolean | `@${string}`, + current_owner?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + is_explicit?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, +marketplace_cft20_details?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_detail"]], +marketplace_cft20_details_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_detail_aggregate"]], +marketplace_cft20_trade_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history"]], +marketplace_cft20_trade_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history_aggregate"]], + max_supply?:boolean | `@${string}`, + metadata?:boolean | `@${string}`, + mint_page?:boolean | `@${string}`, + name?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + ticker?:boolean | `@${string}`, +token_address_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_address_history"]], +token_address_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_address_history_aggregate"]], +token_holders?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable},ValueTypes["token_holder"]], +token_holders_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable},ValueTypes["token_holder_aggregate"]], +token_open_positions?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable},ValueTypes["token_open_position"]], +token_open_positions_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable},ValueTypes["token_open_position_aggregate"]], +token_trade_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_trade_history"]], +token_trade_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_trade_history_aggregate"]], + /** An object relationship */ + transaction?:ValueTypes["transaction"], + transaction_id?:boolean | `@${string}`, + version?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** columns and relationships of "token_address_history" */ - ["token_address_history"]: AliasType<{ - action?: boolean | `@${string}`, - amount?: boolean | `@${string}`, - chain_id?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - height?: boolean | `@${string}`, - id?: boolean | `@${string}`, - receiver?: boolean | `@${string}`, - sender?: boolean | `@${string}`, - /** An object relationship */ - token?: ValueTypes["token"], - token_id?: boolean | `@${string}`, - /** An object relationship */ - transaction?: ValueTypes["transaction"], - transaction_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["token_address_history"]: AliasType<{ + action?:boolean | `@${string}`, + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + receiver?:boolean | `@${string}`, + sender?:boolean | `@${string}`, + /** An object relationship */ + token?:ValueTypes["token"], + token_id?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ValueTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "token_address_history" */ +["token_address_history_aggregate"]: AliasType<{ + aggregate?:ValueTypes["token_address_history_aggregate_fields"], + nodes?:ValueTypes["token_address_history"], + __typename?: boolean | `@${string}` +}>; + ["token_address_history_aggregate_bool_exp"]: { + count?: ValueTypes["token_address_history_aggregate_bool_exp_count"] | undefined | null | Variable +}; + ["token_address_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Int_comparison_exp"] | Variable +}; + /** aggregate fields of "token_address_history" */ +["token_address_history_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["token_address_history_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["token_address_history_max_fields"], + min?:ValueTypes["token_address_history_min_fields"], + stddev?:ValueTypes["token_address_history_stddev_fields"], + stddev_pop?:ValueTypes["token_address_history_stddev_pop_fields"], + stddev_samp?:ValueTypes["token_address_history_stddev_samp_fields"], + sum?:ValueTypes["token_address_history_sum_fields"], + var_pop?:ValueTypes["token_address_history_var_pop_fields"], + var_samp?:ValueTypes["token_address_history_var_samp_fields"], + variance?:ValueTypes["token_address_history_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "token_address_history" */ - ["token_address_history_aggregate_order_by"]: { - avg?: ValueTypes["token_address_history_avg_order_by"] | undefined | null | Variable, - count?: ValueTypes["order_by"] | undefined | null | Variable, - max?: ValueTypes["token_address_history_max_order_by"] | undefined | null | Variable, - min?: ValueTypes["token_address_history_min_order_by"] | undefined | null | Variable, - stddev?: ValueTypes["token_address_history_stddev_order_by"] | undefined | null | Variable, - stddev_pop?: ValueTypes["token_address_history_stddev_pop_order_by"] | undefined | null | Variable, - stddev_samp?: ValueTypes["token_address_history_stddev_samp_order_by"] | undefined | null | Variable, - sum?: ValueTypes["token_address_history_sum_order_by"] | undefined | null | Variable, - var_pop?: ValueTypes["token_address_history_var_pop_order_by"] | undefined | null | Variable, - var_samp?: ValueTypes["token_address_history_var_samp_order_by"] | undefined | null | Variable, - variance?: ValueTypes["token_address_history_variance_order_by"] | undefined | null | Variable - }; +["token_address_history_aggregate_order_by"]: { + avg?: ValueTypes["token_address_history_avg_order_by"] | undefined | null | Variable, + count?: ValueTypes["order_by"] | undefined | null | Variable, + max?: ValueTypes["token_address_history_max_order_by"] | undefined | null | Variable, + min?: ValueTypes["token_address_history_min_order_by"] | undefined | null | Variable, + stddev?: ValueTypes["token_address_history_stddev_order_by"] | undefined | null | Variable, + stddev_pop?: ValueTypes["token_address_history_stddev_pop_order_by"] | undefined | null | Variable, + stddev_samp?: ValueTypes["token_address_history_stddev_samp_order_by"] | undefined | null | Variable, + sum?: ValueTypes["token_address_history_sum_order_by"] | undefined | null | Variable, + var_pop?: ValueTypes["token_address_history_var_pop_order_by"] | undefined | null | Variable, + var_samp?: ValueTypes["token_address_history_var_samp_order_by"] | undefined | null | Variable, + variance?: ValueTypes["token_address_history_variance_order_by"] | undefined | null | Variable +}; + /** input type for inserting array relation for remote table "token_address_history" */ +["token_address_history_arr_rel_insert_input"]: { + data: Array | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["token_address_history_on_conflict"] | undefined | null | Variable +}; + /** aggregate avg on columns */ +["token_address_history_avg_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "token_address_history" */ - ["token_address_history_avg_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_address_history_avg_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Boolean expression to filter rows from the table "token_address_history". All fields are combined with a logical 'AND'. */ - ["token_address_history_bool_exp"]: { - _and?: Array | undefined | null | Variable, - _not?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable, - _or?: Array | undefined | null | Variable, - action?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - amount?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - receiver?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - sender?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - token?: ValueTypes["token_bool_exp"] | undefined | null | Variable, - token_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, - transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable - }; +["token_address_history_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + action?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + amount?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + receiver?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + sender?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + token?: ValueTypes["token_bool_exp"] | undefined | null | Variable, + token_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, + transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "token_address_history" */ +["token_address_history_constraint"]:token_address_history_constraint; + /** input type for incrementing numeric columns in table "token_address_history" */ +["token_address_history_inc_input"]: { + amount?: ValueTypes["bigint"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** input type for inserting data into table "token_address_history" */ +["token_address_history_insert_input"]: { + action?: string | undefined | null | Variable, + amount?: ValueTypes["bigint"] | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + receiver?: string | undefined | null | Variable, + sender?: string | undefined | null | Variable, + token?: ValueTypes["token_obj_rel_insert_input"] | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + transaction?: ValueTypes["transaction_obj_rel_insert_input"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate max on columns */ +["token_address_history_max_fields"]: AliasType<{ + action?:boolean | `@${string}`, + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + receiver?:boolean | `@${string}`, + sender?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "token_address_history" */ - ["token_address_history_max_order_by"]: { - action?: ValueTypes["order_by"] | undefined | null | Variable, - amount?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - receiver?: ValueTypes["order_by"] | undefined | null | Variable, - sender?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_address_history_max_order_by"]: { + action?: ValueTypes["order_by"] | undefined | null | Variable, + amount?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + receiver?: ValueTypes["order_by"] | undefined | null | Variable, + sender?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate min on columns */ +["token_address_history_min_fields"]: AliasType<{ + action?:boolean | `@${string}`, + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + receiver?:boolean | `@${string}`, + sender?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "token_address_history" */ - ["token_address_history_min_order_by"]: { - action?: ValueTypes["order_by"] | undefined | null | Variable, - amount?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - receiver?: ValueTypes["order_by"] | undefined | null | Variable, - sender?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_address_history_min_order_by"]: { + action?: ValueTypes["order_by"] | undefined | null | Variable, + amount?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + receiver?: ValueTypes["order_by"] | undefined | null | Variable, + sender?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** response of any mutation on the table "token_address_history" */ +["token_address_history_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["token_address_history"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "token_address_history" */ +["token_address_history_on_conflict"]: { + constraint: ValueTypes["token_address_history_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable +}; /** Ordering options when selecting data from "token_address_history". */ - ["token_address_history_order_by"]: { - action?: ValueTypes["order_by"] | undefined | null | Variable, - amount?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - receiver?: ValueTypes["order_by"] | undefined | null | Variable, - sender?: ValueTypes["order_by"] | undefined | null | Variable, - token?: ValueTypes["token_order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_address_history_order_by"]: { + action?: ValueTypes["order_by"] | undefined | null | Variable, + amount?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + receiver?: ValueTypes["order_by"] | undefined | null | Variable, + sender?: ValueTypes["order_by"] | undefined | null | Variable, + token?: ValueTypes["token_order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: token_address_history */ +["token_address_history_pk_columns_input"]: { + id: number | Variable +}; /** select columns of table "token_address_history" */ - ["token_address_history_select_column"]: token_address_history_select_column; +["token_address_history_select_column"]:token_address_history_select_column; + /** input type for updating data in table "token_address_history" */ +["token_address_history_set_input"]: { + action?: string | undefined | null | Variable, + amount?: ValueTypes["bigint"] | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + receiver?: string | undefined | null | Variable, + sender?: string | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["token_address_history_stddev_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "token_address_history" */ - ["token_address_history_stddev_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_address_history_stddev_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_pop on columns */ +["token_address_history_stddev_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "token_address_history" */ - ["token_address_history_stddev_pop_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_address_history_stddev_pop_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_samp on columns */ +["token_address_history_stddev_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "token_address_history" */ - ["token_address_history_stddev_samp_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_address_history_stddev_samp_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Streaming cursor of the table "token_address_history" */ - ["token_address_history_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ValueTypes["token_address_history_stream_cursor_value_input"] | Variable, - /** cursor ordering */ - ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable - }; +["token_address_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["token_address_history_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; /** Initial value of the column from where the streaming should start */ - ["token_address_history_stream_cursor_value_input"]: { - action?: string | undefined | null | Variable, - amount?: ValueTypes["bigint"] | undefined | null | Variable, - chain_id?: string | undefined | null | Variable, - date_created?: ValueTypes["timestamp"] | undefined | null | Variable, - height?: number | undefined | null | Variable, - id?: number | undefined | null | Variable, - receiver?: string | undefined | null | Variable, - sender?: string | undefined | null | Variable, - token_id?: number | undefined | null | Variable, - transaction_id?: number | undefined | null | Variable - }; +["token_address_history_stream_cursor_value_input"]: { + action?: string | undefined | null | Variable, + amount?: ValueTypes["bigint"] | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + receiver?: string | undefined | null | Variable, + sender?: string | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate sum on columns */ +["token_address_history_sum_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "token_address_history" */ - ["token_address_history_sum_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_address_history_sum_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** update columns of table "token_address_history" */ +["token_address_history_update_column"]:token_address_history_update_column; + ["token_address_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_address_history_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_address_history_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["token_address_history_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["token_address_history_var_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "token_address_history" */ - ["token_address_history_var_pop_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_address_history_var_pop_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate var_samp on columns */ +["token_address_history_var_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "token_address_history" */ - ["token_address_history_var_samp_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_address_history_var_samp_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate variance on columns */ +["token_address_history_variance_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "token_address_history" */ - ["token_address_history_variance_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_address_history_variance_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregated selection of "token" */ +["token_aggregate"]: AliasType<{ + aggregate?:ValueTypes["token_aggregate_fields"], + nodes?:ValueTypes["token"], + __typename?: boolean | `@${string}` +}>; + ["token_aggregate_bool_exp"]: { + bool_and?: ValueTypes["token_aggregate_bool_exp_bool_and"] | undefined | null | Variable, + bool_or?: ValueTypes["token_aggregate_bool_exp_bool_or"] | undefined | null | Variable, + count?: ValueTypes["token_aggregate_bool_exp_count"] | undefined | null | Variable +}; + ["token_aggregate_bool_exp_bool_and"]: { + arguments: ValueTypes["token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns"] | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["token_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Boolean_comparison_exp"] | Variable +}; + ["token_aggregate_bool_exp_bool_or"]: { + arguments: ValueTypes["token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns"] | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["token_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Boolean_comparison_exp"] | Variable +}; + ["token_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["token_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Int_comparison_exp"] | Variable +}; + /** aggregate fields of "token" */ +["token_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["token_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["token_max_fields"], + min?:ValueTypes["token_min_fields"], + stddev?:ValueTypes["token_stddev_fields"], + stddev_pop?:ValueTypes["token_stddev_pop_fields"], + stddev_samp?:ValueTypes["token_stddev_samp_fields"], + sum?:ValueTypes["token_sum_fields"], + var_pop?:ValueTypes["token_var_pop_fields"], + var_samp?:ValueTypes["token_var_samp_fields"], + variance?:ValueTypes["token_variance_fields"], + __typename?: boolean | `@${string}` +}>; + /** order by aggregate values of table "token" */ +["token_aggregate_order_by"]: { + avg?: ValueTypes["token_avg_order_by"] | undefined | null | Variable, + count?: ValueTypes["order_by"] | undefined | null | Variable, + max?: ValueTypes["token_max_order_by"] | undefined | null | Variable, + min?: ValueTypes["token_min_order_by"] | undefined | null | Variable, + stddev?: ValueTypes["token_stddev_order_by"] | undefined | null | Variable, + stddev_pop?: ValueTypes["token_stddev_pop_order_by"] | undefined | null | Variable, + stddev_samp?: ValueTypes["token_stddev_samp_order_by"] | undefined | null | Variable, + sum?: ValueTypes["token_sum_order_by"] | undefined | null | Variable, + var_pop?: ValueTypes["token_var_pop_order_by"] | undefined | null | Variable, + var_samp?: ValueTypes["token_var_samp_order_by"] | undefined | null | Variable, + variance?: ValueTypes["token_variance_order_by"] | undefined | null | Variable +}; + /** input type for inserting array relation for remote table "token" */ +["token_arr_rel_insert_input"]: { + data: Array | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["token_on_conflict"] | undefined | null | Variable +}; + /** aggregate avg on columns */ +["token_avg_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by avg() on columns of table "token" */ +["token_avg_order_by"]: { + circulating_supply?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + decimals?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + last_price_base?: ValueTypes["order_by"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["order_by"] | undefined | null | Variable, + max_supply?: ValueTypes["order_by"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + volume_24_base?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Boolean expression to filter rows from the table "token". All fields are combined with a logical 'AND'. */ - ["token_bool_exp"]: { - _and?: Array | undefined | null | Variable, - _not?: ValueTypes["token_bool_exp"] | undefined | null | Variable, - _or?: Array | undefined | null | Variable, - chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - circulating_supply?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - content_path?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - content_size_bytes?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - creator?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - current_owner?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - decimals?: ValueTypes["smallint_comparison_exp"] | undefined | null | Variable, - height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - last_price_base?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - launch_timestamp?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - marketplace_cft20_details?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable, - max_supply?: ValueTypes["numeric_comparison_exp"] | undefined | null | Variable, - metadata?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - mint_page?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - name?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - per_mint_limit?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - ticker?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - token_address_histories?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable, - token_holders?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable, - token_open_positions?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable, - token_trade_histories?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, - transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - version?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - volume_24_base?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable - }; +["token_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["token_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + circulating_supply?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + content_path?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + creator?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + current_owner?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + decimals?: ValueTypes["smallint_comparison_exp"] | undefined | null | Variable, + height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + is_explicit?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, + last_price_base?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + marketplace_cft20_details?: ValueTypes["marketplace_cft20_detail_bool_exp"] | undefined | null | Variable, + marketplace_cft20_details_aggregate?: ValueTypes["marketplace_cft20_detail_aggregate_bool_exp"] | undefined | null | Variable, + marketplace_cft20_trade_histories?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable, + marketplace_cft20_trade_histories_aggregate?: ValueTypes["marketplace_cft20_trade_history_aggregate_bool_exp"] | undefined | null | Variable, + max_supply?: ValueTypes["numeric_comparison_exp"] | undefined | null | Variable, + metadata?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + mint_page?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + name?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + ticker?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + token_address_histories?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable, + token_address_histories_aggregate?: ValueTypes["token_address_history_aggregate_bool_exp"] | undefined | null | Variable, + token_holders?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable, + token_holders_aggregate?: ValueTypes["token_holder_aggregate_bool_exp"] | undefined | null | Variable, + token_open_positions?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable, + token_open_positions_aggregate?: ValueTypes["token_open_position_aggregate_bool_exp"] | undefined | null | Variable, + token_trade_histories?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable, + token_trade_histories_aggregate?: ValueTypes["token_trade_history_aggregate_bool_exp"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, + transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + version?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + volume_24_base?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "token" */ +["token_constraint"]:token_constraint; /** columns and relationships of "token_holder" */ - ["token_holder"]: AliasType<{ - address?: boolean | `@${string}`, - amount?: boolean | `@${string}`, - chain_id?: boolean | `@${string}`, - date_updated?: boolean | `@${string}`, - id?: boolean | `@${string}`, - /** An object relationship */ - token?: ValueTypes["token"], - token_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["token_holder"]: AliasType<{ + address?:boolean | `@${string}`, + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + id?:boolean | `@${string}`, + /** An object relationship */ + token?:ValueTypes["token"], + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "token_holder" */ +["token_holder_aggregate"]: AliasType<{ + aggregate?:ValueTypes["token_holder_aggregate_fields"], + nodes?:ValueTypes["token_holder"], + __typename?: boolean | `@${string}` +}>; + ["token_holder_aggregate_bool_exp"]: { + count?: ValueTypes["token_holder_aggregate_bool_exp_count"] | undefined | null | Variable +}; + ["token_holder_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Int_comparison_exp"] | Variable +}; + /** aggregate fields of "token_holder" */ +["token_holder_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["token_holder_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["token_holder_max_fields"], + min?:ValueTypes["token_holder_min_fields"], + stddev?:ValueTypes["token_holder_stddev_fields"], + stddev_pop?:ValueTypes["token_holder_stddev_pop_fields"], + stddev_samp?:ValueTypes["token_holder_stddev_samp_fields"], + sum?:ValueTypes["token_holder_sum_fields"], + var_pop?:ValueTypes["token_holder_var_pop_fields"], + var_samp?:ValueTypes["token_holder_var_samp_fields"], + variance?:ValueTypes["token_holder_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "token_holder" */ - ["token_holder_aggregate_order_by"]: { - avg?: ValueTypes["token_holder_avg_order_by"] | undefined | null | Variable, - count?: ValueTypes["order_by"] | undefined | null | Variable, - max?: ValueTypes["token_holder_max_order_by"] | undefined | null | Variable, - min?: ValueTypes["token_holder_min_order_by"] | undefined | null | Variable, - stddev?: ValueTypes["token_holder_stddev_order_by"] | undefined | null | Variable, - stddev_pop?: ValueTypes["token_holder_stddev_pop_order_by"] | undefined | null | Variable, - stddev_samp?: ValueTypes["token_holder_stddev_samp_order_by"] | undefined | null | Variable, - sum?: ValueTypes["token_holder_sum_order_by"] | undefined | null | Variable, - var_pop?: ValueTypes["token_holder_var_pop_order_by"] | undefined | null | Variable, - var_samp?: ValueTypes["token_holder_var_samp_order_by"] | undefined | null | Variable, - variance?: ValueTypes["token_holder_variance_order_by"] | undefined | null | Variable - }; +["token_holder_aggregate_order_by"]: { + avg?: ValueTypes["token_holder_avg_order_by"] | undefined | null | Variable, + count?: ValueTypes["order_by"] | undefined | null | Variable, + max?: ValueTypes["token_holder_max_order_by"] | undefined | null | Variable, + min?: ValueTypes["token_holder_min_order_by"] | undefined | null | Variable, + stddev?: ValueTypes["token_holder_stddev_order_by"] | undefined | null | Variable, + stddev_pop?: ValueTypes["token_holder_stddev_pop_order_by"] | undefined | null | Variable, + stddev_samp?: ValueTypes["token_holder_stddev_samp_order_by"] | undefined | null | Variable, + sum?: ValueTypes["token_holder_sum_order_by"] | undefined | null | Variable, + var_pop?: ValueTypes["token_holder_var_pop_order_by"] | undefined | null | Variable, + var_samp?: ValueTypes["token_holder_var_samp_order_by"] | undefined | null | Variable, + variance?: ValueTypes["token_holder_variance_order_by"] | undefined | null | Variable +}; + /** input type for inserting array relation for remote table "token_holder" */ +["token_holder_arr_rel_insert_input"]: { + data: Array | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["token_holder_on_conflict"] | undefined | null | Variable +}; + /** aggregate avg on columns */ +["token_holder_avg_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "token_holder" */ - ["token_holder_avg_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_holder_avg_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Boolean expression to filter rows from the table "token_holder". All fields are combined with a logical 'AND'. */ - ["token_holder_bool_exp"]: { - _and?: Array | undefined | null | Variable, - _not?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable, - _or?: Array | undefined | null | Variable, - address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - amount?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - date_updated?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - token?: ValueTypes["token_bool_exp"] | undefined | null | Variable, - token_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable - }; +["token_holder_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + amount?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + date_updated?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + token?: ValueTypes["token_bool_exp"] | undefined | null | Variable, + token_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "token_holder" */ +["token_holder_constraint"]:token_holder_constraint; + /** input type for incrementing numeric columns in table "token_holder" */ +["token_holder_inc_input"]: { + amount?: ValueTypes["bigint"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + token_id?: number | undefined | null | Variable +}; + /** input type for inserting data into table "token_holder" */ +["token_holder_insert_input"]: { + address?: string | undefined | null | Variable, + amount?: ValueTypes["bigint"] | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_updated?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + token?: ValueTypes["token_obj_rel_insert_input"] | undefined | null | Variable, + token_id?: number | undefined | null | Variable +}; + /** aggregate max on columns */ +["token_holder_max_fields"]: AliasType<{ + address?:boolean | `@${string}`, + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "token_holder" */ - ["token_holder_max_order_by"]: { - address?: ValueTypes["order_by"] | undefined | null | Variable, - amount?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_updated?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_holder_max_order_by"]: { + address?: ValueTypes["order_by"] | undefined | null | Variable, + amount?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_updated?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate min on columns */ +["token_holder_min_fields"]: AliasType<{ + address?:boolean | `@${string}`, + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "token_holder" */ - ["token_holder_min_order_by"]: { - address?: ValueTypes["order_by"] | undefined | null | Variable, - amount?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_updated?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_holder_min_order_by"]: { + address?: ValueTypes["order_by"] | undefined | null | Variable, + amount?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_updated?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** response of any mutation on the table "token_holder" */ +["token_holder_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["token_holder"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "token_holder" */ +["token_holder_on_conflict"]: { + constraint: ValueTypes["token_holder_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["token_holder_bool_exp"] | undefined | null | Variable +}; /** Ordering options when selecting data from "token_holder". */ - ["token_holder_order_by"]: { - address?: ValueTypes["order_by"] | undefined | null | Variable, - amount?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_updated?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token?: ValueTypes["token_order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_holder_order_by"]: { + address?: ValueTypes["order_by"] | undefined | null | Variable, + amount?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_updated?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token?: ValueTypes["token_order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: token_holder */ +["token_holder_pk_columns_input"]: { + id: number | Variable +}; /** select columns of table "token_holder" */ - ["token_holder_select_column"]: token_holder_select_column; +["token_holder_select_column"]:token_holder_select_column; + /** input type for updating data in table "token_holder" */ +["token_holder_set_input"]: { + address?: string | undefined | null | Variable, + amount?: ValueTypes["bigint"] | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_updated?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + token_id?: number | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["token_holder_stddev_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "token_holder" */ - ["token_holder_stddev_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_holder_stddev_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_pop on columns */ +["token_holder_stddev_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "token_holder" */ - ["token_holder_stddev_pop_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_holder_stddev_pop_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_samp on columns */ +["token_holder_stddev_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "token_holder" */ - ["token_holder_stddev_samp_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_holder_stddev_samp_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Streaming cursor of the table "token_holder" */ - ["token_holder_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ValueTypes["token_holder_stream_cursor_value_input"] | Variable, - /** cursor ordering */ - ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable - }; +["token_holder_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["token_holder_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; /** Initial value of the column from where the streaming should start */ - ["token_holder_stream_cursor_value_input"]: { - address?: string | undefined | null | Variable, - amount?: ValueTypes["bigint"] | undefined | null | Variable, - chain_id?: string | undefined | null | Variable, - date_updated?: ValueTypes["timestamp"] | undefined | null | Variable, - id?: number | undefined | null | Variable, - token_id?: number | undefined | null | Variable - }; +["token_holder_stream_cursor_value_input"]: { + address?: string | undefined | null | Variable, + amount?: ValueTypes["bigint"] | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_updated?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + token_id?: number | undefined | null | Variable +}; + /** aggregate sum on columns */ +["token_holder_sum_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "token_holder" */ - ["token_holder_sum_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_holder_sum_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** update columns of table "token_holder" */ +["token_holder_update_column"]:token_holder_update_column; + ["token_holder_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_holder_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_holder_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["token_holder_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["token_holder_var_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "token_holder" */ - ["token_holder_var_pop_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_holder_var_pop_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate var_samp on columns */ +["token_holder_var_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "token_holder" */ - ["token_holder_var_samp_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_holder_var_samp_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate variance on columns */ +["token_holder_variance_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "token_holder" */ - ["token_holder_variance_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_holder_variance_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** input type for incrementing numeric columns in table "token" */ +["token_inc_input"]: { + circulating_supply?: ValueTypes["bigint"] | undefined | null | Variable, + content_size_bytes?: number | undefined | null | Variable, + decimals?: ValueTypes["smallint"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + last_price_base?: ValueTypes["bigint"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["bigint"] | undefined | null | Variable, + max_supply?: ValueTypes["numeric"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["bigint"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable, + volume_24_base?: ValueTypes["bigint"] | undefined | null | Variable +}; + /** input type for inserting data into table "token" */ +["token_insert_input"]: { + chain_id?: string | undefined | null | Variable, + circulating_supply?: ValueTypes["bigint"] | undefined | null | Variable, + content_path?: string | undefined | null | Variable, + content_size_bytes?: number | undefined | null | Variable, + creator?: string | undefined | null | Variable, + current_owner?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + decimals?: ValueTypes["smallint"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + is_explicit?: boolean | undefined | null | Variable, + last_price_base?: ValueTypes["bigint"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["bigint"] | undefined | null | Variable, + marketplace_cft20_details?: ValueTypes["marketplace_cft20_detail_arr_rel_insert_input"] | undefined | null | Variable, + marketplace_cft20_trade_histories?: ValueTypes["marketplace_cft20_trade_history_arr_rel_insert_input"] | undefined | null | Variable, + max_supply?: ValueTypes["numeric"] | undefined | null | Variable, + metadata?: string | undefined | null | Variable, + mint_page?: string | undefined | null | Variable, + name?: string | undefined | null | Variable, + per_mint_limit?: ValueTypes["bigint"] | undefined | null | Variable, + ticker?: string | undefined | null | Variable, + token_address_histories?: ValueTypes["token_address_history_arr_rel_insert_input"] | undefined | null | Variable, + token_holders?: ValueTypes["token_holder_arr_rel_insert_input"] | undefined | null | Variable, + token_open_positions?: ValueTypes["token_open_position_arr_rel_insert_input"] | undefined | null | Variable, + token_trade_histories?: ValueTypes["token_trade_history_arr_rel_insert_input"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_obj_rel_insert_input"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable, + version?: string | undefined | null | Variable, + volume_24_base?: ValueTypes["bigint"] | undefined | null | Variable +}; + /** aggregate max on columns */ +["token_max_fields"]: AliasType<{ + chain_id?:boolean | `@${string}`, + circulating_supply?:boolean | `@${string}`, + content_path?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + creator?:boolean | `@${string}`, + current_owner?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + metadata?:boolean | `@${string}`, + mint_page?:boolean | `@${string}`, + name?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + ticker?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + version?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by max() on columns of table "token" */ +["token_max_order_by"]: { + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + circulating_supply?: ValueTypes["order_by"] | undefined | null | Variable, + content_path?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + creator?: ValueTypes["order_by"] | undefined | null | Variable, + current_owner?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + decimals?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + last_price_base?: ValueTypes["order_by"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["order_by"] | undefined | null | Variable, + max_supply?: ValueTypes["order_by"] | undefined | null | Variable, + metadata?: ValueTypes["order_by"] | undefined | null | Variable, + mint_page?: ValueTypes["order_by"] | undefined | null | Variable, + name?: ValueTypes["order_by"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["order_by"] | undefined | null | Variable, + ticker?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + version?: ValueTypes["order_by"] | undefined | null | Variable, + volume_24_base?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate min on columns */ +["token_min_fields"]: AliasType<{ + chain_id?:boolean | `@${string}`, + circulating_supply?:boolean | `@${string}`, + content_path?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + creator?:boolean | `@${string}`, + current_owner?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + metadata?:boolean | `@${string}`, + mint_page?:boolean | `@${string}`, + name?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + ticker?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + version?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by min() on columns of table "token" */ +["token_min_order_by"]: { + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + circulating_supply?: ValueTypes["order_by"] | undefined | null | Variable, + content_path?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + creator?: ValueTypes["order_by"] | undefined | null | Variable, + current_owner?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + decimals?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + last_price_base?: ValueTypes["order_by"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["order_by"] | undefined | null | Variable, + max_supply?: ValueTypes["order_by"] | undefined | null | Variable, + metadata?: ValueTypes["order_by"] | undefined | null | Variable, + mint_page?: ValueTypes["order_by"] | undefined | null | Variable, + name?: ValueTypes["order_by"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["order_by"] | undefined | null | Variable, + ticker?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + version?: ValueTypes["order_by"] | undefined | null | Variable, + volume_24_base?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** response of any mutation on the table "token" */ +["token_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["token"], + __typename?: boolean | `@${string}` +}>; + /** input type for inserting object relation for remote table "token" */ +["token_obj_rel_insert_input"]: { + data: ValueTypes["token_insert_input"] | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["token_on_conflict"] | undefined | null | Variable +}; + /** on_conflict condition type for table "token" */ +["token_on_conflict"]: { + constraint: ValueTypes["token_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["token_bool_exp"] | undefined | null | Variable +}; /** columns and relationships of "token_open_position" */ - ["token_open_position"]: AliasType<{ - amount?: boolean | `@${string}`, - chain_id?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - date_filled?: boolean | `@${string}`, - id?: boolean | `@${string}`, - is_cancelled?: boolean | `@${string}`, - is_filled?: boolean | `@${string}`, - is_reserved?: boolean | `@${string}`, - ppt?: boolean | `@${string}`, - reserve_expires_block?: boolean | `@${string}`, - reserved_by?: boolean | `@${string}`, - seller_address?: boolean | `@${string}`, - /** An object relationship */ - token?: ValueTypes["token"], - token_id?: boolean | `@${string}`, - total?: boolean | `@${string}`, - /** An object relationship */ - transaction?: ValueTypes["transaction"], - transaction_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["token_open_position"]: AliasType<{ + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + date_filled?:boolean | `@${string}`, + id?:boolean | `@${string}`, + is_cancelled?:boolean | `@${string}`, + is_filled?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + /** An object relationship */ + token?:ValueTypes["token"], + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ValueTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "token_open_position" */ +["token_open_position_aggregate"]: AliasType<{ + aggregate?:ValueTypes["token_open_position_aggregate_fields"], + nodes?:ValueTypes["token_open_position"], + __typename?: boolean | `@${string}` +}>; + ["token_open_position_aggregate_bool_exp"]: { + bool_and?: ValueTypes["token_open_position_aggregate_bool_exp_bool_and"] | undefined | null | Variable, + bool_or?: ValueTypes["token_open_position_aggregate_bool_exp_bool_or"] | undefined | null | Variable, + count?: ValueTypes["token_open_position_aggregate_bool_exp_count"] | undefined | null | Variable +}; + ["token_open_position_aggregate_bool_exp_bool_and"]: { + arguments: ValueTypes["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns"] | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Boolean_comparison_exp"] | Variable +}; + ["token_open_position_aggregate_bool_exp_bool_or"]: { + arguments: ValueTypes["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns"] | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Boolean_comparison_exp"] | Variable +}; + ["token_open_position_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Int_comparison_exp"] | Variable +}; + /** aggregate fields of "token_open_position" */ +["token_open_position_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["token_open_position_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["token_open_position_max_fields"], + min?:ValueTypes["token_open_position_min_fields"], + stddev?:ValueTypes["token_open_position_stddev_fields"], + stddev_pop?:ValueTypes["token_open_position_stddev_pop_fields"], + stddev_samp?:ValueTypes["token_open_position_stddev_samp_fields"], + sum?:ValueTypes["token_open_position_sum_fields"], + var_pop?:ValueTypes["token_open_position_var_pop_fields"], + var_samp?:ValueTypes["token_open_position_var_samp_fields"], + variance?:ValueTypes["token_open_position_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "token_open_position" */ - ["token_open_position_aggregate_order_by"]: { - avg?: ValueTypes["token_open_position_avg_order_by"] | undefined | null | Variable, - count?: ValueTypes["order_by"] | undefined | null | Variable, - max?: ValueTypes["token_open_position_max_order_by"] | undefined | null | Variable, - min?: ValueTypes["token_open_position_min_order_by"] | undefined | null | Variable, - stddev?: ValueTypes["token_open_position_stddev_order_by"] | undefined | null | Variable, - stddev_pop?: ValueTypes["token_open_position_stddev_pop_order_by"] | undefined | null | Variable, - stddev_samp?: ValueTypes["token_open_position_stddev_samp_order_by"] | undefined | null | Variable, - sum?: ValueTypes["token_open_position_sum_order_by"] | undefined | null | Variable, - var_pop?: ValueTypes["token_open_position_var_pop_order_by"] | undefined | null | Variable, - var_samp?: ValueTypes["token_open_position_var_samp_order_by"] | undefined | null | Variable, - variance?: ValueTypes["token_open_position_variance_order_by"] | undefined | null | Variable - }; +["token_open_position_aggregate_order_by"]: { + avg?: ValueTypes["token_open_position_avg_order_by"] | undefined | null | Variable, + count?: ValueTypes["order_by"] | undefined | null | Variable, + max?: ValueTypes["token_open_position_max_order_by"] | undefined | null | Variable, + min?: ValueTypes["token_open_position_min_order_by"] | undefined | null | Variable, + stddev?: ValueTypes["token_open_position_stddev_order_by"] | undefined | null | Variable, + stddev_pop?: ValueTypes["token_open_position_stddev_pop_order_by"] | undefined | null | Variable, + stddev_samp?: ValueTypes["token_open_position_stddev_samp_order_by"] | undefined | null | Variable, + sum?: ValueTypes["token_open_position_sum_order_by"] | undefined | null | Variable, + var_pop?: ValueTypes["token_open_position_var_pop_order_by"] | undefined | null | Variable, + var_samp?: ValueTypes["token_open_position_var_samp_order_by"] | undefined | null | Variable, + variance?: ValueTypes["token_open_position_variance_order_by"] | undefined | null | Variable +}; + /** input type for inserting array relation for remote table "token_open_position" */ +["token_open_position_arr_rel_insert_input"]: { + data: Array | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["token_open_position_on_conflict"] | undefined | null | Variable +}; + /** aggregate avg on columns */ +["token_open_position_avg_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "token_open_position" */ - ["token_open_position_avg_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - reserve_expires_block?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_open_position_avg_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Boolean expression to filter rows from the table "token_open_position". All fields are combined with a logical 'AND'. */ - ["token_open_position_bool_exp"]: { - _and?: Array | undefined | null | Variable, - _not?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable, - _or?: Array | undefined | null | Variable, - amount?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - date_filled?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - is_cancelled?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, - is_filled?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, - is_reserved?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, - ppt?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - reserve_expires_block?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - reserved_by?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - seller_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - token?: ValueTypes["token_bool_exp"] | undefined | null | Variable, - token_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - total?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, - transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable - }; +["token_open_position_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + amount?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + date_filled?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + is_cancelled?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, + is_filled?: ValueTypes["Boolean_comparison_exp"] | undefined | null | Variable, + ppt?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + seller_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + token?: ValueTypes["token_bool_exp"] | undefined | null | Variable, + token_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + total?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, + transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "token_open_position" */ +["token_open_position_constraint"]:token_open_position_constraint; + /** input type for incrementing numeric columns in table "token_open_position" */ +["token_open_position_inc_input"]: { + amount?: ValueTypes["bigint"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + ppt?: ValueTypes["bigint"] | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + total?: ValueTypes["bigint"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** input type for inserting data into table "token_open_position" */ +["token_open_position_insert_input"]: { + amount?: ValueTypes["bigint"] | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + date_filled?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + is_cancelled?: boolean | undefined | null | Variable, + is_filled?: boolean | undefined | null | Variable, + ppt?: ValueTypes["bigint"] | undefined | null | Variable, + seller_address?: string | undefined | null | Variable, + token?: ValueTypes["token_obj_rel_insert_input"] | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + total?: ValueTypes["bigint"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_obj_rel_insert_input"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate max on columns */ +["token_open_position_max_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + date_filled?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "token_open_position" */ - ["token_open_position_max_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - date_filled?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - reserve_expires_block?: ValueTypes["order_by"] | undefined | null | Variable, - reserved_by?: ValueTypes["order_by"] | undefined | null | Variable, - seller_address?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_open_position_max_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + date_filled?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + seller_address?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate min on columns */ +["token_open_position_min_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + date_filled?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "token_open_position" */ - ["token_open_position_min_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - date_filled?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - reserve_expires_block?: ValueTypes["order_by"] | undefined | null | Variable, - reserved_by?: ValueTypes["order_by"] | undefined | null | Variable, - seller_address?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_open_position_min_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + date_filled?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + seller_address?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** response of any mutation on the table "token_open_position" */ +["token_open_position_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["token_open_position"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "token_open_position" */ +["token_open_position_on_conflict"]: { + constraint: ValueTypes["token_open_position_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable +}; /** Ordering options when selecting data from "token_open_position". */ - ["token_open_position_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - date_filled?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - is_cancelled?: ValueTypes["order_by"] | undefined | null | Variable, - is_filled?: ValueTypes["order_by"] | undefined | null | Variable, - is_reserved?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - reserve_expires_block?: ValueTypes["order_by"] | undefined | null | Variable, - reserved_by?: ValueTypes["order_by"] | undefined | null | Variable, - seller_address?: ValueTypes["order_by"] | undefined | null | Variable, - token?: ValueTypes["token_order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_open_position_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + date_filled?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + is_cancelled?: ValueTypes["order_by"] | undefined | null | Variable, + is_filled?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + seller_address?: ValueTypes["order_by"] | undefined | null | Variable, + token?: ValueTypes["token_order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: token_open_position */ +["token_open_position_pk_columns_input"]: { + id: number | Variable +}; /** select columns of table "token_open_position" */ - ["token_open_position_select_column"]: token_open_position_select_column; +["token_open_position_select_column"]:token_open_position_select_column; + /** select "token_open_position_aggregate_bool_exp_bool_and_arguments_columns" columns of table "token_open_position" */ +["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns"]:token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns; + /** select "token_open_position_aggregate_bool_exp_bool_or_arguments_columns" columns of table "token_open_position" */ +["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns"]:token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "token_open_position" */ +["token_open_position_set_input"]: { + amount?: ValueTypes["bigint"] | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + date_filled?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + is_cancelled?: boolean | undefined | null | Variable, + is_filled?: boolean | undefined | null | Variable, + ppt?: ValueTypes["bigint"] | undefined | null | Variable, + seller_address?: string | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + total?: ValueTypes["bigint"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["token_open_position_stddev_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "token_open_position" */ - ["token_open_position_stddev_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - reserve_expires_block?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_open_position_stddev_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_pop on columns */ +["token_open_position_stddev_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "token_open_position" */ - ["token_open_position_stddev_pop_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - reserve_expires_block?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_open_position_stddev_pop_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_samp on columns */ +["token_open_position_stddev_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "token_open_position" */ - ["token_open_position_stddev_samp_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - reserve_expires_block?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_open_position_stddev_samp_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Streaming cursor of the table "token_open_position" */ - ["token_open_position_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ValueTypes["token_open_position_stream_cursor_value_input"] | Variable, - /** cursor ordering */ - ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable - }; +["token_open_position_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["token_open_position_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; /** Initial value of the column from where the streaming should start */ - ["token_open_position_stream_cursor_value_input"]: { - amount?: ValueTypes["bigint"] | undefined | null | Variable, - chain_id?: string | undefined | null | Variable, - date_created?: ValueTypes["timestamp"] | undefined | null | Variable, - date_filled?: ValueTypes["timestamp"] | undefined | null | Variable, - id?: number | undefined | null | Variable, - is_cancelled?: boolean | undefined | null | Variable, - is_filled?: boolean | undefined | null | Variable, - is_reserved?: boolean | undefined | null | Variable, - ppt?: ValueTypes["bigint"] | undefined | null | Variable, - reserve_expires_block?: number | undefined | null | Variable, - reserved_by?: string | undefined | null | Variable, - seller_address?: string | undefined | null | Variable, - token_id?: number | undefined | null | Variable, - total?: ValueTypes["bigint"] | undefined | null | Variable, - transaction_id?: number | undefined | null | Variable - }; +["token_open_position_stream_cursor_value_input"]: { + amount?: ValueTypes["bigint"] | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + date_filled?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + is_cancelled?: boolean | undefined | null | Variable, + is_filled?: boolean | undefined | null | Variable, + ppt?: ValueTypes["bigint"] | undefined | null | Variable, + seller_address?: string | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + total?: ValueTypes["bigint"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate sum on columns */ +["token_open_position_sum_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "token_open_position" */ - ["token_open_position_sum_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - reserve_expires_block?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_open_position_sum_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** update columns of table "token_open_position" */ +["token_open_position_update_column"]:token_open_position_update_column; + ["token_open_position_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_open_position_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_open_position_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["token_open_position_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["token_open_position_var_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "token_open_position" */ - ["token_open_position_var_pop_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - reserve_expires_block?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_open_position_var_pop_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate var_samp on columns */ +["token_open_position_var_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "token_open_position" */ - ["token_open_position_var_samp_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - reserve_expires_block?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_open_position_var_samp_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate variance on columns */ +["token_open_position_variance_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "token_open_position" */ - ["token_open_position_variance_order_by"]: { - amount?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - ppt?: ValueTypes["order_by"] | undefined | null | Variable, - reserve_expires_block?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_open_position_variance_order_by"]: { + amount?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + ppt?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Ordering options when selecting data from "token". */ - ["token_order_by"]: { - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - circulating_supply?: ValueTypes["order_by"] | undefined | null | Variable, - content_path?: ValueTypes["order_by"] | undefined | null | Variable, - content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, - creator?: ValueTypes["order_by"] | undefined | null | Variable, - current_owner?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - decimals?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - last_price_base?: ValueTypes["order_by"] | undefined | null | Variable, - launch_timestamp?: ValueTypes["order_by"] | undefined | null | Variable, - marketplace_cft20_details_aggregate?: ValueTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined | null | Variable, - max_supply?: ValueTypes["order_by"] | undefined | null | Variable, - metadata?: ValueTypes["order_by"] | undefined | null | Variable, - mint_page?: ValueTypes["order_by"] | undefined | null | Variable, - name?: ValueTypes["order_by"] | undefined | null | Variable, - per_mint_limit?: ValueTypes["order_by"] | undefined | null | Variable, - ticker?: ValueTypes["order_by"] | undefined | null | Variable, - token_address_histories_aggregate?: ValueTypes["token_address_history_aggregate_order_by"] | undefined | null | Variable, - token_holders_aggregate?: ValueTypes["token_holder_aggregate_order_by"] | undefined | null | Variable, - token_open_positions_aggregate?: ValueTypes["token_open_position_aggregate_order_by"] | undefined | null | Variable, - token_trade_histories_aggregate?: ValueTypes["token_trade_history_aggregate_order_by"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, - version?: ValueTypes["order_by"] | undefined | null | Variable, - volume_24_base?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_order_by"]: { + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + circulating_supply?: ValueTypes["order_by"] | undefined | null | Variable, + content_path?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + creator?: ValueTypes["order_by"] | undefined | null | Variable, + current_owner?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + decimals?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + is_explicit?: ValueTypes["order_by"] | undefined | null | Variable, + last_price_base?: ValueTypes["order_by"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["order_by"] | undefined | null | Variable, + marketplace_cft20_details_aggregate?: ValueTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined | null | Variable, + marketplace_cft20_trade_histories_aggregate?: ValueTypes["marketplace_cft20_trade_history_aggregate_order_by"] | undefined | null | Variable, + max_supply?: ValueTypes["order_by"] | undefined | null | Variable, + metadata?: ValueTypes["order_by"] | undefined | null | Variable, + mint_page?: ValueTypes["order_by"] | undefined | null | Variable, + name?: ValueTypes["order_by"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["order_by"] | undefined | null | Variable, + ticker?: ValueTypes["order_by"] | undefined | null | Variable, + token_address_histories_aggregate?: ValueTypes["token_address_history_aggregate_order_by"] | undefined | null | Variable, + token_holders_aggregate?: ValueTypes["token_holder_aggregate_order_by"] | undefined | null | Variable, + token_open_positions_aggregate?: ValueTypes["token_open_position_aggregate_order_by"] | undefined | null | Variable, + token_trade_histories_aggregate?: ValueTypes["token_trade_history_aggregate_order_by"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + version?: ValueTypes["order_by"] | undefined | null | Variable, + volume_24_base?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: token */ +["token_pk_columns_input"]: { + id: number | Variable +}; /** select columns of table "token" */ - ["token_select_column"]: token_select_column; +["token_select_column"]:token_select_column; + /** select "token_aggregate_bool_exp_bool_and_arguments_columns" columns of table "token" */ +["token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns"]:token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns; + /** select "token_aggregate_bool_exp_bool_or_arguments_columns" columns of table "token" */ +["token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns"]:token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "token" */ +["token_set_input"]: { + chain_id?: string | undefined | null | Variable, + circulating_supply?: ValueTypes["bigint"] | undefined | null | Variable, + content_path?: string | undefined | null | Variable, + content_size_bytes?: number | undefined | null | Variable, + creator?: string | undefined | null | Variable, + current_owner?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + decimals?: ValueTypes["smallint"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + is_explicit?: boolean | undefined | null | Variable, + last_price_base?: ValueTypes["bigint"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["bigint"] | undefined | null | Variable, + max_supply?: ValueTypes["numeric"] | undefined | null | Variable, + metadata?: string | undefined | null | Variable, + mint_page?: string | undefined | null | Variable, + name?: string | undefined | null | Variable, + per_mint_limit?: ValueTypes["bigint"] | undefined | null | Variable, + ticker?: string | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable, + version?: string | undefined | null | Variable, + volume_24_base?: ValueTypes["bigint"] | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["token_stddev_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev() on columns of table "token" */ +["token_stddev_order_by"]: { + circulating_supply?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + decimals?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + last_price_base?: ValueTypes["order_by"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["order_by"] | undefined | null | Variable, + max_supply?: ValueTypes["order_by"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + volume_24_base?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_pop on columns */ +["token_stddev_pop_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_pop() on columns of table "token" */ +["token_stddev_pop_order_by"]: { + circulating_supply?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + decimals?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + last_price_base?: ValueTypes["order_by"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["order_by"] | undefined | null | Variable, + max_supply?: ValueTypes["order_by"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + volume_24_base?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_samp on columns */ +["token_stddev_samp_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_samp() on columns of table "token" */ +["token_stddev_samp_order_by"]: { + circulating_supply?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + decimals?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + last_price_base?: ValueTypes["order_by"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["order_by"] | undefined | null | Variable, + max_supply?: ValueTypes["order_by"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + volume_24_base?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Streaming cursor of the table "token" */ - ["token_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ValueTypes["token_stream_cursor_value_input"] | Variable, - /** cursor ordering */ - ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable - }; +["token_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["token_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; /** Initial value of the column from where the streaming should start */ - ["token_stream_cursor_value_input"]: { - chain_id?: string | undefined | null | Variable, - circulating_supply?: ValueTypes["bigint"] | undefined | null | Variable, - content_path?: string | undefined | null | Variable, - content_size_bytes?: number | undefined | null | Variable, - creator?: string | undefined | null | Variable, - current_owner?: string | undefined | null | Variable, - date_created?: ValueTypes["timestamp"] | undefined | null | Variable, - decimals?: ValueTypes["smallint"] | undefined | null | Variable, - height?: number | undefined | null | Variable, - id?: number | undefined | null | Variable, - last_price_base?: ValueTypes["bigint"] | undefined | null | Variable, - launch_timestamp?: ValueTypes["bigint"] | undefined | null | Variable, - max_supply?: ValueTypes["numeric"] | undefined | null | Variable, - metadata?: string | undefined | null | Variable, - mint_page?: string | undefined | null | Variable, - name?: string | undefined | null | Variable, - per_mint_limit?: ValueTypes["bigint"] | undefined | null | Variable, - ticker?: string | undefined | null | Variable, - transaction_id?: number | undefined | null | Variable, - version?: string | undefined | null | Variable, - volume_24_base?: ValueTypes["bigint"] | undefined | null | Variable - }; +["token_stream_cursor_value_input"]: { + chain_id?: string | undefined | null | Variable, + circulating_supply?: ValueTypes["bigint"] | undefined | null | Variable, + content_path?: string | undefined | null | Variable, + content_size_bytes?: number | undefined | null | Variable, + creator?: string | undefined | null | Variable, + current_owner?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + decimals?: ValueTypes["smallint"] | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + is_explicit?: boolean | undefined | null | Variable, + last_price_base?: ValueTypes["bigint"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["bigint"] | undefined | null | Variable, + max_supply?: ValueTypes["numeric"] | undefined | null | Variable, + metadata?: string | undefined | null | Variable, + mint_page?: string | undefined | null | Variable, + name?: string | undefined | null | Variable, + per_mint_limit?: ValueTypes["bigint"] | undefined | null | Variable, + ticker?: string | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable, + version?: string | undefined | null | Variable, + volume_24_base?: ValueTypes["bigint"] | undefined | null | Variable +}; + /** aggregate sum on columns */ +["token_sum_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by sum() on columns of table "token" */ +["token_sum_order_by"]: { + circulating_supply?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + decimals?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + last_price_base?: ValueTypes["order_by"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["order_by"] | undefined | null | Variable, + max_supply?: ValueTypes["order_by"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + volume_24_base?: ValueTypes["order_by"] | undefined | null | Variable +}; /** columns and relationships of "token_trade_history" */ - ["token_trade_history"]: AliasType<{ - amount_base?: boolean | `@${string}`, - amount_quote?: boolean | `@${string}`, - buyer_address?: boolean | `@${string}`, - chain_id?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - id?: boolean | `@${string}`, - rate?: boolean | `@${string}`, - seller_address?: boolean | `@${string}`, - /** An object relationship */ - token?: ValueTypes["token"], - token_id?: boolean | `@${string}`, - total_usd?: boolean | `@${string}`, - /** An object relationship */ - transaction?: ValueTypes["transaction"], - transaction_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["token_trade_history"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + buyer_address?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + /** An object relationship */ + token?:ValueTypes["token"], + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ValueTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "token_trade_history" */ +["token_trade_history_aggregate"]: AliasType<{ + aggregate?:ValueTypes["token_trade_history_aggregate_fields"], + nodes?:ValueTypes["token_trade_history"], + __typename?: boolean | `@${string}` +}>; + ["token_trade_history_aggregate_bool_exp"]: { + count?: ValueTypes["token_trade_history_aggregate_bool_exp_count"] | undefined | null | Variable +}; + ["token_trade_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null | Variable, + distinct?: boolean | undefined | null | Variable, + filter?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable, + predicate: ValueTypes["Int_comparison_exp"] | Variable +}; + /** aggregate fields of "token_trade_history" */ +["token_trade_history_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["token_trade_history_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["token_trade_history_max_fields"], + min?:ValueTypes["token_trade_history_min_fields"], + stddev?:ValueTypes["token_trade_history_stddev_fields"], + stddev_pop?:ValueTypes["token_trade_history_stddev_pop_fields"], + stddev_samp?:ValueTypes["token_trade_history_stddev_samp_fields"], + sum?:ValueTypes["token_trade_history_sum_fields"], + var_pop?:ValueTypes["token_trade_history_var_pop_fields"], + var_samp?:ValueTypes["token_trade_history_var_samp_fields"], + variance?:ValueTypes["token_trade_history_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "token_trade_history" */ - ["token_trade_history_aggregate_order_by"]: { - avg?: ValueTypes["token_trade_history_avg_order_by"] | undefined | null | Variable, - count?: ValueTypes["order_by"] | undefined | null | Variable, - max?: ValueTypes["token_trade_history_max_order_by"] | undefined | null | Variable, - min?: ValueTypes["token_trade_history_min_order_by"] | undefined | null | Variable, - stddev?: ValueTypes["token_trade_history_stddev_order_by"] | undefined | null | Variable, - stddev_pop?: ValueTypes["token_trade_history_stddev_pop_order_by"] | undefined | null | Variable, - stddev_samp?: ValueTypes["token_trade_history_stddev_samp_order_by"] | undefined | null | Variable, - sum?: ValueTypes["token_trade_history_sum_order_by"] | undefined | null | Variable, - var_pop?: ValueTypes["token_trade_history_var_pop_order_by"] | undefined | null | Variable, - var_samp?: ValueTypes["token_trade_history_var_samp_order_by"] | undefined | null | Variable, - variance?: ValueTypes["token_trade_history_variance_order_by"] | undefined | null | Variable - }; +["token_trade_history_aggregate_order_by"]: { + avg?: ValueTypes["token_trade_history_avg_order_by"] | undefined | null | Variable, + count?: ValueTypes["order_by"] | undefined | null | Variable, + max?: ValueTypes["token_trade_history_max_order_by"] | undefined | null | Variable, + min?: ValueTypes["token_trade_history_min_order_by"] | undefined | null | Variable, + stddev?: ValueTypes["token_trade_history_stddev_order_by"] | undefined | null | Variable, + stddev_pop?: ValueTypes["token_trade_history_stddev_pop_order_by"] | undefined | null | Variable, + stddev_samp?: ValueTypes["token_trade_history_stddev_samp_order_by"] | undefined | null | Variable, + sum?: ValueTypes["token_trade_history_sum_order_by"] | undefined | null | Variable, + var_pop?: ValueTypes["token_trade_history_var_pop_order_by"] | undefined | null | Variable, + var_samp?: ValueTypes["token_trade_history_var_samp_order_by"] | undefined | null | Variable, + variance?: ValueTypes["token_trade_history_variance_order_by"] | undefined | null | Variable +}; + /** input type for inserting array relation for remote table "token_trade_history" */ +["token_trade_history_arr_rel_insert_input"]: { + data: Array | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["token_trade_history_on_conflict"] | undefined | null | Variable +}; + /** aggregate avg on columns */ +["token_trade_history_avg_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "token_trade_history" */ - ["token_trade_history_avg_order_by"]: { - amount_base?: ValueTypes["order_by"] | undefined | null | Variable, - amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - rate?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total_usd?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_trade_history_avg_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Boolean expression to filter rows from the table "token_trade_history". All fields are combined with a logical 'AND'. */ - ["token_trade_history_bool_exp"]: { - _and?: Array | undefined | null | Variable, - _not?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable, - _or?: Array | undefined | null | Variable, - amount_base?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - amount_quote?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - buyer_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - rate?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, - seller_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - token?: ValueTypes["token_bool_exp"] | undefined | null | Variable, - token_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - total_usd?: ValueTypes["Float_comparison_exp"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, - transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable - }; +["token_trade_history_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + amount_base?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + amount_quote?: ValueTypes["bigint_comparison_exp"] | undefined | null | Variable, + buyer_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + chain_id?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + rate?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + seller_address?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + token?: ValueTypes["token_bool_exp"] | undefined | null | Variable, + token_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + total_usd?: ValueTypes["Float_comparison_exp"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, + transaction_id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "token_trade_history" */ +["token_trade_history_constraint"]:token_trade_history_constraint; + /** input type for incrementing numeric columns in table "token_trade_history" */ +["token_trade_history_inc_input"]: { + amount_base?: ValueTypes["bigint"] | undefined | null | Variable, + amount_quote?: ValueTypes["bigint"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + rate?: number | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + total_usd?: number | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** input type for inserting data into table "token_trade_history" */ +["token_trade_history_insert_input"]: { + amount_base?: ValueTypes["bigint"] | undefined | null | Variable, + amount_quote?: ValueTypes["bigint"] | undefined | null | Variable, + buyer_address?: string | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + rate?: number | undefined | null | Variable, + seller_address?: string | undefined | null | Variable, + token?: ValueTypes["token_obj_rel_insert_input"] | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + total_usd?: number | undefined | null | Variable, + transaction?: ValueTypes["transaction_obj_rel_insert_input"] | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate max on columns */ +["token_trade_history_max_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + buyer_address?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "token_trade_history" */ - ["token_trade_history_max_order_by"]: { - amount_base?: ValueTypes["order_by"] | undefined | null | Variable, - amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, - buyer_address?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - rate?: ValueTypes["order_by"] | undefined | null | Variable, - seller_address?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total_usd?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_trade_history_max_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + buyer_address?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + seller_address?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate min on columns */ +["token_trade_history_min_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + buyer_address?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "token_trade_history" */ - ["token_trade_history_min_order_by"]: { - amount_base?: ValueTypes["order_by"] | undefined | null | Variable, - amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, - buyer_address?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - rate?: ValueTypes["order_by"] | undefined | null | Variable, - seller_address?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total_usd?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_trade_history_min_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + buyer_address?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + seller_address?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** response of any mutation on the table "token_trade_history" */ +["token_trade_history_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["token_trade_history"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "token_trade_history" */ +["token_trade_history_on_conflict"]: { + constraint: ValueTypes["token_trade_history_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable +}; /** Ordering options when selecting data from "token_trade_history". */ - ["token_trade_history_order_by"]: { - amount_base?: ValueTypes["order_by"] | undefined | null | Variable, - amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, - buyer_address?: ValueTypes["order_by"] | undefined | null | Variable, - chain_id?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - rate?: ValueTypes["order_by"] | undefined | null | Variable, - seller_address?: ValueTypes["order_by"] | undefined | null | Variable, - token?: ValueTypes["token_order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total_usd?: ValueTypes["order_by"] | undefined | null | Variable, - transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_trade_history_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + buyer_address?: ValueTypes["order_by"] | undefined | null | Variable, + chain_id?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + seller_address?: ValueTypes["order_by"] | undefined | null | Variable, + token?: ValueTypes["token_order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction?: ValueTypes["transaction_order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: token_trade_history */ +["token_trade_history_pk_columns_input"]: { + id: number | Variable +}; /** select columns of table "token_trade_history" */ - ["token_trade_history_select_column"]: token_trade_history_select_column; +["token_trade_history_select_column"]:token_trade_history_select_column; + /** input type for updating data in table "token_trade_history" */ +["token_trade_history_set_input"]: { + amount_base?: ValueTypes["bigint"] | undefined | null | Variable, + amount_quote?: ValueTypes["bigint"] | undefined | null | Variable, + buyer_address?: string | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + rate?: number | undefined | null | Variable, + seller_address?: string | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + total_usd?: number | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["token_trade_history_stddev_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "token_trade_history" */ - ["token_trade_history_stddev_order_by"]: { - amount_base?: ValueTypes["order_by"] | undefined | null | Variable, - amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - rate?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total_usd?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_trade_history_stddev_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_pop on columns */ +["token_trade_history_stddev_pop_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "token_trade_history" */ - ["token_trade_history_stddev_pop_order_by"]: { - amount_base?: ValueTypes["order_by"] | undefined | null | Variable, - amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - rate?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total_usd?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_trade_history_stddev_pop_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate stddev_samp on columns */ +["token_trade_history_stddev_samp_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "token_trade_history" */ - ["token_trade_history_stddev_samp_order_by"]: { - amount_base?: ValueTypes["order_by"] | undefined | null | Variable, - amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - rate?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total_usd?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_trade_history_stddev_samp_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; /** Streaming cursor of the table "token_trade_history" */ - ["token_trade_history_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ValueTypes["token_trade_history_stream_cursor_value_input"] | Variable, - /** cursor ordering */ - ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable - }; +["token_trade_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["token_trade_history_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; /** Initial value of the column from where the streaming should start */ - ["token_trade_history_stream_cursor_value_input"]: { - amount_base?: ValueTypes["bigint"] | undefined | null | Variable, - amount_quote?: ValueTypes["bigint"] | undefined | null | Variable, - buyer_address?: string | undefined | null | Variable, - chain_id?: string | undefined | null | Variable, - date_created?: ValueTypes["timestamp"] | undefined | null | Variable, - id?: number | undefined | null | Variable, - rate?: ValueTypes["bigint"] | undefined | null | Variable, - seller_address?: string | undefined | null | Variable, - token_id?: number | undefined | null | Variable, - total_usd?: number | undefined | null | Variable, - transaction_id?: number | undefined | null | Variable - }; +["token_trade_history_stream_cursor_value_input"]: { + amount_base?: ValueTypes["bigint"] | undefined | null | Variable, + amount_quote?: ValueTypes["bigint"] | undefined | null | Variable, + buyer_address?: string | undefined | null | Variable, + chain_id?: string | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + id?: number | undefined | null | Variable, + rate?: number | undefined | null | Variable, + seller_address?: string | undefined | null | Variable, + token_id?: number | undefined | null | Variable, + total_usd?: number | undefined | null | Variable, + transaction_id?: number | undefined | null | Variable +}; + /** aggregate sum on columns */ +["token_trade_history_sum_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "token_trade_history" */ - ["token_trade_history_sum_order_by"]: { - amount_base?: ValueTypes["order_by"] | undefined | null | Variable, - amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - rate?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total_usd?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_trade_history_sum_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** update columns of table "token_trade_history" */ +["token_trade_history_update_column"]:token_trade_history_update_column; + ["token_trade_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_trade_history_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_trade_history_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["token_trade_history_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["token_trade_history_var_pop_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "token_trade_history" */ - ["token_trade_history_var_pop_order_by"]: { - amount_base?: ValueTypes["order_by"] | undefined | null | Variable, - amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - rate?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total_usd?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_trade_history_var_pop_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate var_samp on columns */ +["token_trade_history_var_samp_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "token_trade_history" */ - ["token_trade_history_var_samp_order_by"]: { - amount_base?: ValueTypes["order_by"] | undefined | null | Variable, - amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - rate?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total_usd?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_trade_history_var_samp_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate variance on columns */ +["token_trade_history_variance_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "token_trade_history" */ - ["token_trade_history_variance_order_by"]: { - amount_base?: ValueTypes["order_by"] | undefined | null | Variable, - amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - rate?: ValueTypes["order_by"] | undefined | null | Variable, - token_id?: ValueTypes["order_by"] | undefined | null | Variable, - total_usd?: ValueTypes["order_by"] | undefined | null | Variable, - transaction_id?: ValueTypes["order_by"] | undefined | null | Variable - }; +["token_trade_history_variance_order_by"]: { + amount_base?: ValueTypes["order_by"] | undefined | null | Variable, + amount_quote?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + rate?: ValueTypes["order_by"] | undefined | null | Variable, + token_id?: ValueTypes["order_by"] | undefined | null | Variable, + total_usd?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** update columns of table "token" */ +["token_update_column"]:token_update_column; + ["token_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["token_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["token_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["token_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["token_var_pop_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_pop() on columns of table "token" */ +["token_var_pop_order_by"]: { + circulating_supply?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + decimals?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + last_price_base?: ValueTypes["order_by"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["order_by"] | undefined | null | Variable, + max_supply?: ValueTypes["order_by"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + volume_24_base?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate var_samp on columns */ +["token_var_samp_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_samp() on columns of table "token" */ +["token_var_samp_order_by"]: { + circulating_supply?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + decimals?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + last_price_base?: ValueTypes["order_by"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["order_by"] | undefined | null | Variable, + max_supply?: ValueTypes["order_by"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + volume_24_base?: ValueTypes["order_by"] | undefined | null | Variable +}; + /** aggregate variance on columns */ +["token_variance_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by variance() on columns of table "token" */ +["token_variance_order_by"]: { + circulating_supply?: ValueTypes["order_by"] | undefined | null | Variable, + content_size_bytes?: ValueTypes["order_by"] | undefined | null | Variable, + decimals?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + last_price_base?: ValueTypes["order_by"] | undefined | null | Variable, + launch_timestamp?: ValueTypes["order_by"] | undefined | null | Variable, + max_supply?: ValueTypes["order_by"] | undefined | null | Variable, + per_mint_limit?: ValueTypes["order_by"] | undefined | null | Variable, + transaction_id?: ValueTypes["order_by"] | undefined | null | Variable, + volume_24_base?: ValueTypes["order_by"] | undefined | null | Variable +}; /** columns and relationships of "transaction" */ - ["transaction"]: AliasType<{ - content?: boolean | `@${string}`, - content_length?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - fees?: boolean | `@${string}`, - gas_used?: boolean | `@${string}`, - hash?: boolean | `@${string}`, - height?: boolean | `@${string}`, - id?: boolean | `@${string}`, - /** An object relationship */ - inscription?: ValueTypes["inscription"], - /** An object relationship */ - inscription_history?: ValueTypes["inscription_history"], - marketplace_listings?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable - }, ValueTypes["marketplace_listing"]], - status_message?: boolean | `@${string}`, - /** An object relationship */ - token?: ValueTypes["token"], - /** An object relationship */ - token_address_history?: ValueTypes["token_address_history"], - token_open_positions?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ - limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null | Variable, /** filter the rows returned */ - where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable - }, ValueTypes["token_open_position"]], - /** An object relationship */ - token_trade_history?: ValueTypes["token_trade_history"], - __typename?: boolean | `@${string}` - }>; +["transaction"]: AliasType<{ + content?:boolean | `@${string}`, + content_length?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + fees?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + hash?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, +inscription_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable},ValueTypes["inscription_history"]], +inscription_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable},ValueTypes["inscription_history_aggregate"]], +inscriptions?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable},ValueTypes["inscription"]], +inscriptions_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable},ValueTypes["inscription_aggregate"]], +marketplace_cft20_trade_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history"]], +marketplace_cft20_trade_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_cft20_trade_history_aggregate"]], +marketplace_listing_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing_history"]], +marketplace_listing_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing_history_aggregate"]], +marketplace_listings?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing"]], +marketplace_listings_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable},ValueTypes["marketplace_listing_aggregate"]], + status_message?:boolean | `@${string}`, +token_address_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_address_history"]], +token_address_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_address_history_aggregate"]], +token_open_positions?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable},ValueTypes["token_open_position"]], +token_open_positions_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable},ValueTypes["token_open_position_aggregate"]], +token_trade_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_trade_history"]], +token_trade_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable},ValueTypes["token_trade_history_aggregate"]], +tokens?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_bool_exp"] | undefined | null | Variable},ValueTypes["token"]], +tokens_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null | Variable, /** limit the number of rows returned */ + limit?: number | undefined | null | Variable, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null | Variable, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null | Variable, /** filter the rows returned */ + where?: ValueTypes["token_bool_exp"] | undefined | null | Variable},ValueTypes["token_aggregate"]], + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "transaction" */ +["transaction_aggregate"]: AliasType<{ + aggregate?:ValueTypes["transaction_aggregate_fields"], + nodes?:ValueTypes["transaction"], + __typename?: boolean | `@${string}` +}>; + /** aggregate fields of "transaction" */ +["transaction_aggregate_fields"]: AliasType<{ + avg?:ValueTypes["transaction_avg_fields"], +count?: [{ columns?: Array | undefined | null | Variable, distinct?: boolean | undefined | null | Variable},boolean | `@${string}`], + max?:ValueTypes["transaction_max_fields"], + min?:ValueTypes["transaction_min_fields"], + stddev?:ValueTypes["transaction_stddev_fields"], + stddev_pop?:ValueTypes["transaction_stddev_pop_fields"], + stddev_samp?:ValueTypes["transaction_stddev_samp_fields"], + sum?:ValueTypes["transaction_sum_fields"], + var_pop?:ValueTypes["transaction_var_pop_fields"], + var_samp?:ValueTypes["transaction_var_samp_fields"], + variance?:ValueTypes["transaction_variance_fields"], + __typename?: boolean | `@${string}` +}>; + /** aggregate avg on columns */ +["transaction_avg_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** Boolean expression to filter rows from the table "transaction". All fields are combined with a logical 'AND'. */ - ["transaction_bool_exp"]: { - _and?: Array | undefined | null | Variable, - _not?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, - _or?: Array | undefined | null | Variable, - content?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - content_length?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, - fees?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - gas_used?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - hash?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, - inscription?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable, - inscription_history?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable, - marketplace_listings?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable, - status_message?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, - token?: ValueTypes["token_bool_exp"] | undefined | null | Variable, - token_address_history?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable, - token_open_positions?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable, - token_trade_history?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable - }; +["transaction_bool_exp"]: { + _and?: Array | undefined | null | Variable, + _not?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable, + _or?: Array | undefined | null | Variable, + content?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + content_length?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + date_created?: ValueTypes["timestamp_comparison_exp"] | undefined | null | Variable, + fees?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + gas_used?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + hash?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + height?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + id?: ValueTypes["Int_comparison_exp"] | undefined | null | Variable, + inscription_histories?: ValueTypes["inscription_history_bool_exp"] | undefined | null | Variable, + inscription_histories_aggregate?: ValueTypes["inscription_history_aggregate_bool_exp"] | undefined | null | Variable, + inscriptions?: ValueTypes["inscription_bool_exp"] | undefined | null | Variable, + inscriptions_aggregate?: ValueTypes["inscription_aggregate_bool_exp"] | undefined | null | Variable, + marketplace_cft20_trade_histories?: ValueTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null | Variable, + marketplace_cft20_trade_histories_aggregate?: ValueTypes["marketplace_cft20_trade_history_aggregate_bool_exp"] | undefined | null | Variable, + marketplace_listing_histories?: ValueTypes["marketplace_listing_history_bool_exp"] | undefined | null | Variable, + marketplace_listing_histories_aggregate?: ValueTypes["marketplace_listing_history_aggregate_bool_exp"] | undefined | null | Variable, + marketplace_listings?: ValueTypes["marketplace_listing_bool_exp"] | undefined | null | Variable, + marketplace_listings_aggregate?: ValueTypes["marketplace_listing_aggregate_bool_exp"] | undefined | null | Variable, + status_message?: ValueTypes["String_comparison_exp"] | undefined | null | Variable, + token_address_histories?: ValueTypes["token_address_history_bool_exp"] | undefined | null | Variable, + token_address_histories_aggregate?: ValueTypes["token_address_history_aggregate_bool_exp"] | undefined | null | Variable, + token_open_positions?: ValueTypes["token_open_position_bool_exp"] | undefined | null | Variable, + token_open_positions_aggregate?: ValueTypes["token_open_position_aggregate_bool_exp"] | undefined | null | Variable, + token_trade_histories?: ValueTypes["token_trade_history_bool_exp"] | undefined | null | Variable, + token_trade_histories_aggregate?: ValueTypes["token_trade_history_aggregate_bool_exp"] | undefined | null | Variable, + tokens?: ValueTypes["token_bool_exp"] | undefined | null | Variable, + tokens_aggregate?: ValueTypes["token_aggregate_bool_exp"] | undefined | null | Variable +}; + /** unique or primary key constraints on table "transaction" */ +["transaction_constraint"]:transaction_constraint; + /** input type for incrementing numeric columns in table "transaction" */ +["transaction_inc_input"]: { + content_length?: number | undefined | null | Variable, + gas_used?: number | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable +}; + /** input type for inserting data into table "transaction" */ +["transaction_insert_input"]: { + content?: string | undefined | null | Variable, + content_length?: number | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + fees?: string | undefined | null | Variable, + gas_used?: number | undefined | null | Variable, + hash?: string | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + inscription_histories?: ValueTypes["inscription_history_arr_rel_insert_input"] | undefined | null | Variable, + inscriptions?: ValueTypes["inscription_arr_rel_insert_input"] | undefined | null | Variable, + marketplace_cft20_trade_histories?: ValueTypes["marketplace_cft20_trade_history_arr_rel_insert_input"] | undefined | null | Variable, + marketplace_listing_histories?: ValueTypes["marketplace_listing_history_arr_rel_insert_input"] | undefined | null | Variable, + marketplace_listings?: ValueTypes["marketplace_listing_arr_rel_insert_input"] | undefined | null | Variable, + status_message?: string | undefined | null | Variable, + token_address_histories?: ValueTypes["token_address_history_arr_rel_insert_input"] | undefined | null | Variable, + token_open_positions?: ValueTypes["token_open_position_arr_rel_insert_input"] | undefined | null | Variable, + token_trade_histories?: ValueTypes["token_trade_history_arr_rel_insert_input"] | undefined | null | Variable, + tokens?: ValueTypes["token_arr_rel_insert_input"] | undefined | null | Variable +}; + /** aggregate max on columns */ +["transaction_max_fields"]: AliasType<{ + content?:boolean | `@${string}`, + content_length?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + fees?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + hash?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + status_message?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate min on columns */ +["transaction_min_fields"]: AliasType<{ + content?:boolean | `@${string}`, + content_length?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + fees?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + hash?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + status_message?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** response of any mutation on the table "transaction" */ +["transaction_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ValueTypes["transaction"], + __typename?: boolean | `@${string}` +}>; + /** input type for inserting object relation for remote table "transaction" */ +["transaction_obj_rel_insert_input"]: { + data: ValueTypes["transaction_insert_input"] | Variable, + /** upsert condition */ + on_conflict?: ValueTypes["transaction_on_conflict"] | undefined | null | Variable +}; + /** on_conflict condition type for table "transaction" */ +["transaction_on_conflict"]: { + constraint: ValueTypes["transaction_constraint"] | Variable, + update_columns: Array | Variable, + where?: ValueTypes["transaction_bool_exp"] | undefined | null | Variable +}; /** Ordering options when selecting data from "transaction". */ - ["transaction_order_by"]: { - content?: ValueTypes["order_by"] | undefined | null | Variable, - content_length?: ValueTypes["order_by"] | undefined | null | Variable, - date_created?: ValueTypes["order_by"] | undefined | null | Variable, - fees?: ValueTypes["order_by"] | undefined | null | Variable, - gas_used?: ValueTypes["order_by"] | undefined | null | Variable, - hash?: ValueTypes["order_by"] | undefined | null | Variable, - height?: ValueTypes["order_by"] | undefined | null | Variable, - id?: ValueTypes["order_by"] | undefined | null | Variable, - inscription?: ValueTypes["inscription_order_by"] | undefined | null | Variable, - inscription_history?: ValueTypes["inscription_history_order_by"] | undefined | null | Variable, - marketplace_listings_aggregate?: ValueTypes["marketplace_listing_aggregate_order_by"] | undefined | null | Variable, - status_message?: ValueTypes["order_by"] | undefined | null | Variable, - token?: ValueTypes["token_order_by"] | undefined | null | Variable, - token_address_history?: ValueTypes["token_address_history_order_by"] | undefined | null | Variable, - token_open_positions_aggregate?: ValueTypes["token_open_position_aggregate_order_by"] | undefined | null | Variable, - token_trade_history?: ValueTypes["token_trade_history_order_by"] | undefined | null | Variable - }; +["transaction_order_by"]: { + content?: ValueTypes["order_by"] | undefined | null | Variable, + content_length?: ValueTypes["order_by"] | undefined | null | Variable, + date_created?: ValueTypes["order_by"] | undefined | null | Variable, + fees?: ValueTypes["order_by"] | undefined | null | Variable, + gas_used?: ValueTypes["order_by"] | undefined | null | Variable, + hash?: ValueTypes["order_by"] | undefined | null | Variable, + height?: ValueTypes["order_by"] | undefined | null | Variable, + id?: ValueTypes["order_by"] | undefined | null | Variable, + inscription_histories_aggregate?: ValueTypes["inscription_history_aggregate_order_by"] | undefined | null | Variable, + inscriptions_aggregate?: ValueTypes["inscription_aggregate_order_by"] | undefined | null | Variable, + marketplace_cft20_trade_histories_aggregate?: ValueTypes["marketplace_cft20_trade_history_aggregate_order_by"] | undefined | null | Variable, + marketplace_listing_histories_aggregate?: ValueTypes["marketplace_listing_history_aggregate_order_by"] | undefined | null | Variable, + marketplace_listings_aggregate?: ValueTypes["marketplace_listing_aggregate_order_by"] | undefined | null | Variable, + status_message?: ValueTypes["order_by"] | undefined | null | Variable, + token_address_histories_aggregate?: ValueTypes["token_address_history_aggregate_order_by"] | undefined | null | Variable, + token_open_positions_aggregate?: ValueTypes["token_open_position_aggregate_order_by"] | undefined | null | Variable, + token_trade_histories_aggregate?: ValueTypes["token_trade_history_aggregate_order_by"] | undefined | null | Variable, + tokens_aggregate?: ValueTypes["token_aggregate_order_by"] | undefined | null | Variable +}; + /** primary key columns input for table: transaction */ +["transaction_pk_columns_input"]: { + id: number | Variable +}; /** select columns of table "transaction" */ - ["transaction_select_column"]: transaction_select_column; +["transaction_select_column"]:transaction_select_column; + /** input type for updating data in table "transaction" */ +["transaction_set_input"]: { + content?: string | undefined | null | Variable, + content_length?: number | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + fees?: string | undefined | null | Variable, + gas_used?: number | undefined | null | Variable, + hash?: string | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + status_message?: string | undefined | null | Variable +}; + /** aggregate stddev on columns */ +["transaction_stddev_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate stddev_pop on columns */ +["transaction_stddev_pop_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate stddev_samp on columns */ +["transaction_stddev_samp_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** Streaming cursor of the table "transaction" */ - ["transaction_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ValueTypes["transaction_stream_cursor_value_input"] | Variable, - /** cursor ordering */ - ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable - }; +["transaction_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ValueTypes["transaction_stream_cursor_value_input"] | Variable, + /** cursor ordering */ + ordering?: ValueTypes["cursor_ordering"] | undefined | null | Variable +}; /** Initial value of the column from where the streaming should start */ - ["transaction_stream_cursor_value_input"]: { - content?: string | undefined | null | Variable, - content_length?: number | undefined | null | Variable, - date_created?: ValueTypes["timestamp"] | undefined | null | Variable, - fees?: string | undefined | null | Variable, - gas_used?: number | undefined | null | Variable, - hash?: string | undefined | null | Variable, - height?: number | undefined | null | Variable, - id?: number | undefined | null | Variable, - status_message?: string | undefined | null | Variable - } -} +["transaction_stream_cursor_value_input"]: { + content?: string | undefined | null | Variable, + content_length?: number | undefined | null | Variable, + date_created?: ValueTypes["timestamp"] | undefined | null | Variable, + fees?: string | undefined | null | Variable, + gas_used?: number | undefined | null | Variable, + hash?: string | undefined | null | Variable, + height?: number | undefined | null | Variable, + id?: number | undefined | null | Variable, + status_message?: string | undefined | null | Variable +}; + /** aggregate sum on columns */ +["transaction_sum_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** update columns of table "transaction" */ +["transaction_update_column"]:transaction_update_column; + ["transaction_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ValueTypes["transaction_inc_input"] | undefined | null | Variable, + /** sets the columns of the filtered rows to the given values */ + _set?: ValueTypes["transaction_set_input"] | undefined | null | Variable, + /** filter the rows which have to be updated */ + where: ValueTypes["transaction_bool_exp"] | Variable +}; + /** aggregate var_pop on columns */ +["transaction_var_pop_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate var_samp on columns */ +["transaction_var_samp_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate variance on columns */ +["transaction_variance_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}> + } export type ResolverInputTypes = { - ["schema"]: AliasType<{ - query?: ResolverInputTypes["query_root"], - subscription?: ResolverInputTypes["subscription_root"], + ["schema"]: AliasType<{ + query?:ResolverInputTypes["query_root"], + mutation?:ResolverInputTypes["mutation_root"], + subscription?:ResolverInputTypes["subscription_root"], __typename?: boolean | `@${string}` - }>; +}>; /** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ - ["Boolean_comparison_exp"]: { - _eq?: boolean | undefined | null, - _gt?: boolean | undefined | null, - _gte?: boolean | undefined | null, - _in?: Array | undefined | null, - _is_null?: boolean | undefined | null, - _lt?: boolean | undefined | null, - _lte?: boolean | undefined | null, - _neq?: boolean | undefined | null, - _nin?: Array | undefined | null - }; +["Boolean_comparison_exp"]: { + _eq?: boolean | undefined | null, + _gt?: boolean | undefined | null, + _gte?: boolean | undefined | null, + _in?: Array | undefined | null, + _is_null?: boolean | undefined | null, + _lt?: boolean | undefined | null, + _lte?: boolean | undefined | null, + _neq?: boolean | undefined | null, + _nin?: Array | undefined | null +}; /** Boolean expression to compare columns of type "Float". All fields are combined with logical 'AND'. */ - ["Float_comparison_exp"]: { - _eq?: number | undefined | null, - _gt?: number | undefined | null, - _gte?: number | undefined | null, - _in?: Array | undefined | null, - _is_null?: boolean | undefined | null, - _lt?: number | undefined | null, - _lte?: number | undefined | null, - _neq?: number | undefined | null, - _nin?: Array | undefined | null - }; +["Float_comparison_exp"]: { + _eq?: number | undefined | null, + _gt?: number | undefined | null, + _gte?: number | undefined | null, + _in?: Array | undefined | null, + _is_null?: boolean | undefined | null, + _lt?: number | undefined | null, + _lte?: number | undefined | null, + _neq?: number | undefined | null, + _nin?: Array | undefined | null +}; /** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ - ["Int_comparison_exp"]: { - _eq?: number | undefined | null, - _gt?: number | undefined | null, - _gte?: number | undefined | null, - _in?: Array | undefined | null, - _is_null?: boolean | undefined | null, - _lt?: number | undefined | null, - _lte?: number | undefined | null, - _neq?: number | undefined | null, - _nin?: Array | undefined | null - }; +["Int_comparison_exp"]: { + _eq?: number | undefined | null, + _gt?: number | undefined | null, + _gte?: number | undefined | null, + _in?: Array | undefined | null, + _is_null?: boolean | undefined | null, + _lt?: number | undefined | null, + _lte?: number | undefined | null, + _neq?: number | undefined | null, + _nin?: Array | undefined | null +}; /** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ - ["String_comparison_exp"]: { - _eq?: string | undefined | null, - _gt?: string | undefined | null, - _gte?: string | undefined | null, - /** does the column match the given case-insensitive pattern */ - _ilike?: string | undefined | null, - _in?: Array | undefined | null, - /** does the column match the given POSIX regular expression, case insensitive */ - _iregex?: string | undefined | null, - _is_null?: boolean | undefined | null, - /** does the column match the given pattern */ - _like?: string | undefined | null, - _lt?: string | undefined | null, - _lte?: string | undefined | null, - _neq?: string | undefined | null, - /** does the column NOT match the given case-insensitive pattern */ - _nilike?: string | undefined | null, - _nin?: Array | undefined | null, - /** does the column NOT match the given POSIX regular expression, case insensitive */ - _niregex?: string | undefined | null, - /** does the column NOT match the given pattern */ - _nlike?: string | undefined | null, - /** does the column NOT match the given POSIX regular expression, case sensitive */ - _nregex?: string | undefined | null, - /** does the column NOT match the given SQL regular expression */ - _nsimilar?: string | undefined | null, - /** does the column match the given POSIX regular expression, case sensitive */ - _regex?: string | undefined | null, - /** does the column match the given SQL regular expression */ - _similar?: string | undefined | null - }; - ["bigint"]: unknown; +["String_comparison_exp"]: { + _eq?: string | undefined | null, + _gt?: string | undefined | null, + _gte?: string | undefined | null, + /** does the column match the given case-insensitive pattern */ + _ilike?: string | undefined | null, + _in?: Array | undefined | null, + /** does the column match the given POSIX regular expression, case insensitive */ + _iregex?: string | undefined | null, + _is_null?: boolean | undefined | null, + /** does the column match the given pattern */ + _like?: string | undefined | null, + _lt?: string | undefined | null, + _lte?: string | undefined | null, + _neq?: string | undefined | null, + /** does the column NOT match the given case-insensitive pattern */ + _nilike?: string | undefined | null, + _nin?: Array | undefined | null, + /** does the column NOT match the given POSIX regular expression, case insensitive */ + _niregex?: string | undefined | null, + /** does the column NOT match the given pattern */ + _nlike?: string | undefined | null, + /** does the column NOT match the given POSIX regular expression, case sensitive */ + _nregex?: string | undefined | null, + /** does the column NOT match the given SQL regular expression */ + _nsimilar?: string | undefined | null, + /** does the column match the given POSIX regular expression, case sensitive */ + _regex?: string | undefined | null, + /** does the column match the given SQL regular expression */ + _similar?: string | undefined | null +}; + ["bigint"]:unknown; /** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */ - ["bigint_comparison_exp"]: { - _eq?: ResolverInputTypes["bigint"] | undefined | null, - _gt?: ResolverInputTypes["bigint"] | undefined | null, - _gte?: ResolverInputTypes["bigint"] | undefined | null, - _in?: Array | undefined | null, - _is_null?: boolean | undefined | null, - _lt?: ResolverInputTypes["bigint"] | undefined | null, - _lte?: ResolverInputTypes["bigint"] | undefined | null, - _neq?: ResolverInputTypes["bigint"] | undefined | null, - _nin?: Array | undefined | null - }; +["bigint_comparison_exp"]: { + _eq?: ResolverInputTypes["bigint"] | undefined | null, + _gt?: ResolverInputTypes["bigint"] | undefined | null, + _gte?: ResolverInputTypes["bigint"] | undefined | null, + _in?: Array | undefined | null, + _is_null?: boolean | undefined | null, + _lt?: ResolverInputTypes["bigint"] | undefined | null, + _lte?: ResolverInputTypes["bigint"] | undefined | null, + _neq?: ResolverInputTypes["bigint"] | undefined | null, + _nin?: Array | undefined | null +}; /** ordering argument of a cursor */ - ["cursor_ordering"]: cursor_ordering; +["cursor_ordering"]:cursor_ordering; /** columns and relationships of "inscription" */ - ["inscription"]: AliasType<{ - chain_id?: boolean | `@${string}`, - content_hash?: boolean | `@${string}`, - content_path?: boolean | `@${string}`, - content_size_bytes?: boolean | `@${string}`, - creator?: boolean | `@${string}`, - current_owner?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - height?: boolean | `@${string}`, - id?: boolean | `@${string}`, - inscription_histories?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null - }, ResolverInputTypes["inscription_history"]], - is_explicit?: boolean | `@${string}`, - metadata?: [{ /** JSON select path */ - path?: string | undefined | null - }, boolean | `@${string}`], - /** An object relationship */ - transaction?: ResolverInputTypes["transaction"], - transaction_id?: boolean | `@${string}`, - type?: boolean | `@${string}`, - version?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; - /** Boolean expression to filter rows from the table "inscription". All fields are combined with a logical 'AND'. */ - ["inscription_bool_exp"]: { - _and?: Array | undefined | null, - _not?: ResolverInputTypes["inscription_bool_exp"] | undefined | null, - _or?: Array | undefined | null, - chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - content_hash?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - content_path?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - content_size_bytes?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - creator?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - current_owner?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - inscription_histories?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null, - is_explicit?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, - metadata?: ResolverInputTypes["json_comparison_exp"] | undefined | null, - transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, - transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - type?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - version?: ResolverInputTypes["String_comparison_exp"] | undefined | null - }; +["inscription"]: AliasType<{ + chain_id?:boolean | `@${string}`, + content_hash?:boolean | `@${string}`, + content_path?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + creator?:boolean | `@${string}`, + current_owner?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, +inscription_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null},ResolverInputTypes["inscription_history"]], +inscription_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null},ResolverInputTypes["inscription_history_aggregate"]], + is_explicit?:boolean | `@${string}`, +metadata?: [{ /** JSON select path */ + path?: string | undefined | null},boolean | `@${string}`], + /** An object relationship */ + transaction?:ResolverInputTypes["transaction"], + transaction_id?:boolean | `@${string}`, + type?:boolean | `@${string}`, + version?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "inscription" */ +["inscription_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["inscription_aggregate_fields"], + nodes?:ResolverInputTypes["inscription"], + __typename?: boolean | `@${string}` +}>; + ["inscription_aggregate_bool_exp"]: { + bool_and?: ResolverInputTypes["inscription_aggregate_bool_exp_bool_and"] | undefined | null, + bool_or?: ResolverInputTypes["inscription_aggregate_bool_exp_bool_or"] | undefined | null, + count?: ResolverInputTypes["inscription_aggregate_bool_exp_count"] | undefined | null +}; + ["inscription_aggregate_bool_exp_bool_and"]: { + arguments: ResolverInputTypes["inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns"], + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["inscription_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Boolean_comparison_exp"] +}; + ["inscription_aggregate_bool_exp_bool_or"]: { + arguments: ResolverInputTypes["inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns"], + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["inscription_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Boolean_comparison_exp"] +}; + ["inscription_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null, + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["inscription_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Int_comparison_exp"] +}; + /** aggregate fields of "inscription" */ +["inscription_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["inscription_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["inscription_max_fields"], + min?:ResolverInputTypes["inscription_min_fields"], + stddev?:ResolverInputTypes["inscription_stddev_fields"], + stddev_pop?:ResolverInputTypes["inscription_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["inscription_stddev_samp_fields"], + sum?:ResolverInputTypes["inscription_sum_fields"], + var_pop?:ResolverInputTypes["inscription_var_pop_fields"], + var_samp?:ResolverInputTypes["inscription_var_samp_fields"], + variance?:ResolverInputTypes["inscription_variance_fields"], + __typename?: boolean | `@${string}` +}>; + /** order by aggregate values of table "inscription" */ +["inscription_aggregate_order_by"]: { + avg?: ResolverInputTypes["inscription_avg_order_by"] | undefined | null, + count?: ResolverInputTypes["order_by"] | undefined | null, + max?: ResolverInputTypes["inscription_max_order_by"] | undefined | null, + min?: ResolverInputTypes["inscription_min_order_by"] | undefined | null, + stddev?: ResolverInputTypes["inscription_stddev_order_by"] | undefined | null, + stddev_pop?: ResolverInputTypes["inscription_stddev_pop_order_by"] | undefined | null, + stddev_samp?: ResolverInputTypes["inscription_stddev_samp_order_by"] | undefined | null, + sum?: ResolverInputTypes["inscription_sum_order_by"] | undefined | null, + var_pop?: ResolverInputTypes["inscription_var_pop_order_by"] | undefined | null, + var_samp?: ResolverInputTypes["inscription_var_samp_order_by"] | undefined | null, + variance?: ResolverInputTypes["inscription_variance_order_by"] | undefined | null +}; + /** input type for inserting array relation for remote table "inscription" */ +["inscription_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ResolverInputTypes["inscription_on_conflict"] | undefined | null +}; + /** aggregate avg on columns */ +["inscription_avg_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by avg() on columns of table "inscription" */ +["inscription_avg_order_by"]: { + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** Boolean expression to filter rows from the table "inscription". All fields are combined with a logical 'AND'. */ +["inscription_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["inscription_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + content_hash?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + content_path?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + content_size_bytes?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + creator?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + current_owner?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + inscription_histories?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null, + inscription_histories_aggregate?: ResolverInputTypes["inscription_history_aggregate_bool_exp"] | undefined | null, + is_explicit?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, + metadata?: ResolverInputTypes["json_comparison_exp"] | undefined | null, + transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, + transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + type?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + version?: ResolverInputTypes["String_comparison_exp"] | undefined | null +}; + /** unique or primary key constraints on table "inscription" */ +["inscription_constraint"]:inscription_constraint; /** columns and relationships of "inscription_history" */ - ["inscription_history"]: AliasType<{ - action?: boolean | `@${string}`, - chain_id?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - height?: boolean | `@${string}`, - id?: boolean | `@${string}`, - /** An object relationship */ - inscription?: ResolverInputTypes["inscription"], - inscription_id?: boolean | `@${string}`, - receiver?: boolean | `@${string}`, - sender?: boolean | `@${string}`, - /** An object relationship */ - transaction?: ResolverInputTypes["transaction"], - transaction_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["inscription_history"]: AliasType<{ + action?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + /** An object relationship */ + inscription?:ResolverInputTypes["inscription"], + inscription_id?:boolean | `@${string}`, + receiver?:boolean | `@${string}`, + sender?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ResolverInputTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "inscription_history" */ +["inscription_history_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["inscription_history_aggregate_fields"], + nodes?:ResolverInputTypes["inscription_history"], + __typename?: boolean | `@${string}` +}>; + ["inscription_history_aggregate_bool_exp"]: { + count?: ResolverInputTypes["inscription_history_aggregate_bool_exp_count"] | undefined | null +}; + ["inscription_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null, + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Int_comparison_exp"] +}; + /** aggregate fields of "inscription_history" */ +["inscription_history_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["inscription_history_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["inscription_history_max_fields"], + min?:ResolverInputTypes["inscription_history_min_fields"], + stddev?:ResolverInputTypes["inscription_history_stddev_fields"], + stddev_pop?:ResolverInputTypes["inscription_history_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["inscription_history_stddev_samp_fields"], + sum?:ResolverInputTypes["inscription_history_sum_fields"], + var_pop?:ResolverInputTypes["inscription_history_var_pop_fields"], + var_samp?:ResolverInputTypes["inscription_history_var_samp_fields"], + variance?:ResolverInputTypes["inscription_history_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "inscription_history" */ - ["inscription_history_aggregate_order_by"]: { - avg?: ResolverInputTypes["inscription_history_avg_order_by"] | undefined | null, - count?: ResolverInputTypes["order_by"] | undefined | null, - max?: ResolverInputTypes["inscription_history_max_order_by"] | undefined | null, - min?: ResolverInputTypes["inscription_history_min_order_by"] | undefined | null, - stddev?: ResolverInputTypes["inscription_history_stddev_order_by"] | undefined | null, - stddev_pop?: ResolverInputTypes["inscription_history_stddev_pop_order_by"] | undefined | null, - stddev_samp?: ResolverInputTypes["inscription_history_stddev_samp_order_by"] | undefined | null, - sum?: ResolverInputTypes["inscription_history_sum_order_by"] | undefined | null, - var_pop?: ResolverInputTypes["inscription_history_var_pop_order_by"] | undefined | null, - var_samp?: ResolverInputTypes["inscription_history_var_samp_order_by"] | undefined | null, - variance?: ResolverInputTypes["inscription_history_variance_order_by"] | undefined | null - }; +["inscription_history_aggregate_order_by"]: { + avg?: ResolverInputTypes["inscription_history_avg_order_by"] | undefined | null, + count?: ResolverInputTypes["order_by"] | undefined | null, + max?: ResolverInputTypes["inscription_history_max_order_by"] | undefined | null, + min?: ResolverInputTypes["inscription_history_min_order_by"] | undefined | null, + stddev?: ResolverInputTypes["inscription_history_stddev_order_by"] | undefined | null, + stddev_pop?: ResolverInputTypes["inscription_history_stddev_pop_order_by"] | undefined | null, + stddev_samp?: ResolverInputTypes["inscription_history_stddev_samp_order_by"] | undefined | null, + sum?: ResolverInputTypes["inscription_history_sum_order_by"] | undefined | null, + var_pop?: ResolverInputTypes["inscription_history_var_pop_order_by"] | undefined | null, + var_samp?: ResolverInputTypes["inscription_history_var_samp_order_by"] | undefined | null, + variance?: ResolverInputTypes["inscription_history_variance_order_by"] | undefined | null +}; + /** input type for inserting array relation for remote table "inscription_history" */ +["inscription_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ResolverInputTypes["inscription_history_on_conflict"] | undefined | null +}; + /** aggregate avg on columns */ +["inscription_history_avg_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "inscription_history" */ - ["inscription_history_avg_order_by"]: { - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["inscription_history_avg_order_by"]: { + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Boolean expression to filter rows from the table "inscription_history". All fields are combined with a logical 'AND'. */ - ["inscription_history_bool_exp"]: { - _and?: Array | undefined | null, - _not?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null, - _or?: Array | undefined | null, - action?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - inscription?: ResolverInputTypes["inscription_bool_exp"] | undefined | null, - inscription_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - receiver?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - sender?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, - transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null - }; +["inscription_history_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + action?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + inscription?: ResolverInputTypes["inscription_bool_exp"] | undefined | null, + inscription_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + receiver?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + sender?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, + transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null +}; + /** unique or primary key constraints on table "inscription_history" */ +["inscription_history_constraint"]:inscription_history_constraint; + /** input type for incrementing numeric columns in table "inscription_history" */ +["inscription_history_inc_input"]: { + height?: number | undefined | null, + id?: number | undefined | null, + inscription_id?: number | undefined | null, + transaction_id?: number | undefined | null +}; + /** input type for inserting data into table "inscription_history" */ +["inscription_history_insert_input"]: { + action?: string | undefined | null, + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + inscription?: ResolverInputTypes["inscription_obj_rel_insert_input"] | undefined | null, + inscription_id?: number | undefined | null, + receiver?: string | undefined | null, + sender?: string | undefined | null, + transaction?: ResolverInputTypes["transaction_obj_rel_insert_input"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate max on columns */ +["inscription_history_max_fields"]: AliasType<{ + action?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + receiver?:boolean | `@${string}`, + sender?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "inscription_history" */ - ["inscription_history_max_order_by"]: { - action?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription_id?: ResolverInputTypes["order_by"] | undefined | null, - receiver?: ResolverInputTypes["order_by"] | undefined | null, - sender?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["inscription_history_max_order_by"]: { + action?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription_id?: ResolverInputTypes["order_by"] | undefined | null, + receiver?: ResolverInputTypes["order_by"] | undefined | null, + sender?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate min on columns */ +["inscription_history_min_fields"]: AliasType<{ + action?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + receiver?:boolean | `@${string}`, + sender?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "inscription_history" */ - ["inscription_history_min_order_by"]: { - action?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription_id?: ResolverInputTypes["order_by"] | undefined | null, - receiver?: ResolverInputTypes["order_by"] | undefined | null, - sender?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["inscription_history_min_order_by"]: { + action?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription_id?: ResolverInputTypes["order_by"] | undefined | null, + receiver?: ResolverInputTypes["order_by"] | undefined | null, + sender?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** response of any mutation on the table "inscription_history" */ +["inscription_history_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["inscription_history"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "inscription_history" */ +["inscription_history_on_conflict"]: { + constraint: ResolverInputTypes["inscription_history_constraint"], + update_columns: Array, + where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null +}; /** Ordering options when selecting data from "inscription_history". */ - ["inscription_history_order_by"]: { - action?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription?: ResolverInputTypes["inscription_order_by"] | undefined | null, - inscription_id?: ResolverInputTypes["order_by"] | undefined | null, - receiver?: ResolverInputTypes["order_by"] | undefined | null, - sender?: ResolverInputTypes["order_by"] | undefined | null, - transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["inscription_history_order_by"]: { + action?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription?: ResolverInputTypes["inscription_order_by"] | undefined | null, + inscription_id?: ResolverInputTypes["order_by"] | undefined | null, + receiver?: ResolverInputTypes["order_by"] | undefined | null, + sender?: ResolverInputTypes["order_by"] | undefined | null, + transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** primary key columns input for table: inscription_history */ +["inscription_history_pk_columns_input"]: { + id: number +}; /** select columns of table "inscription_history" */ - ["inscription_history_select_column"]: inscription_history_select_column; +["inscription_history_select_column"]:inscription_history_select_column; + /** input type for updating data in table "inscription_history" */ +["inscription_history_set_input"]: { + action?: string | undefined | null, + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + inscription_id?: number | undefined | null, + receiver?: string | undefined | null, + sender?: string | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate stddev on columns */ +["inscription_history_stddev_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "inscription_history" */ - ["inscription_history_stddev_order_by"]: { - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["inscription_history_stddev_order_by"]: { + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_pop on columns */ +["inscription_history_stddev_pop_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "inscription_history" */ - ["inscription_history_stddev_pop_order_by"]: { - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["inscription_history_stddev_pop_order_by"]: { + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_samp on columns */ +["inscription_history_stddev_samp_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "inscription_history" */ - ["inscription_history_stddev_samp_order_by"]: { - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["inscription_history_stddev_samp_order_by"]: { + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Streaming cursor of the table "inscription_history" */ - ["inscription_history_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ResolverInputTypes["inscription_history_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null - }; +["inscription_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["inscription_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; /** Initial value of the column from where the streaming should start */ - ["inscription_history_stream_cursor_value_input"]: { - action?: string | undefined | null, - chain_id?: string | undefined | null, - date_created?: ResolverInputTypes["timestamp"] | undefined | null, - height?: number | undefined | null, - id?: number | undefined | null, - inscription_id?: number | undefined | null, - receiver?: string | undefined | null, - sender?: string | undefined | null, - transaction_id?: number | undefined | null - }; +["inscription_history_stream_cursor_value_input"]: { + action?: string | undefined | null, + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + inscription_id?: number | undefined | null, + receiver?: string | undefined | null, + sender?: string | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate sum on columns */ +["inscription_history_sum_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "inscription_history" */ - ["inscription_history_sum_order_by"]: { - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["inscription_history_sum_order_by"]: { + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** update columns of table "inscription_history" */ +["inscription_history_update_column"]:inscription_history_update_column; + ["inscription_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["inscription_history_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["inscription_history_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["inscription_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["inscription_history_var_pop_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "inscription_history" */ - ["inscription_history_var_pop_order_by"]: { - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["inscription_history_var_pop_order_by"]: { + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate var_samp on columns */ +["inscription_history_var_samp_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "inscription_history" */ - ["inscription_history_var_samp_order_by"]: { - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["inscription_history_var_samp_order_by"]: { + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate variance on columns */ +["inscription_history_variance_fields"]: AliasType<{ + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + inscription_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "inscription_history" */ - ["inscription_history_variance_order_by"]: { - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["inscription_history_variance_order_by"]: { + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** input type for incrementing numeric columns in table "inscription" */ +["inscription_inc_input"]: { + content_size_bytes?: number | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + transaction_id?: number | undefined | null +}; + /** input type for inserting data into table "inscription" */ +["inscription_insert_input"]: { + chain_id?: string | undefined | null, + content_hash?: string | undefined | null, + content_path?: string | undefined | null, + content_size_bytes?: number | undefined | null, + creator?: string | undefined | null, + current_owner?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + inscription_histories?: ResolverInputTypes["inscription_history_arr_rel_insert_input"] | undefined | null, + is_explicit?: boolean | undefined | null, + metadata?: ResolverInputTypes["json"] | undefined | null, + transaction?: ResolverInputTypes["transaction_obj_rel_insert_input"] | undefined | null, + transaction_id?: number | undefined | null, + type?: string | undefined | null, + version?: string | undefined | null +}; + /** aggregate max on columns */ +["inscription_max_fields"]: AliasType<{ + chain_id?:boolean | `@${string}`, + content_hash?:boolean | `@${string}`, + content_path?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + creator?:boolean | `@${string}`, + current_owner?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + type?:boolean | `@${string}`, + version?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by max() on columns of table "inscription" */ +["inscription_max_order_by"]: { + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + content_hash?: ResolverInputTypes["order_by"] | undefined | null, + content_path?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + creator?: ResolverInputTypes["order_by"] | undefined | null, + current_owner?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + type?: ResolverInputTypes["order_by"] | undefined | null, + version?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate min on columns */ +["inscription_min_fields"]: AliasType<{ + chain_id?:boolean | `@${string}`, + content_hash?:boolean | `@${string}`, + content_path?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + creator?:boolean | `@${string}`, + current_owner?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + type?:boolean | `@${string}`, + version?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by min() on columns of table "inscription" */ +["inscription_min_order_by"]: { + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + content_hash?: ResolverInputTypes["order_by"] | undefined | null, + content_path?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + creator?: ResolverInputTypes["order_by"] | undefined | null, + current_owner?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + type?: ResolverInputTypes["order_by"] | undefined | null, + version?: ResolverInputTypes["order_by"] | undefined | null +}; + /** response of any mutation on the table "inscription" */ +["inscription_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["inscription"], + __typename?: boolean | `@${string}` +}>; + /** input type for inserting object relation for remote table "inscription" */ +["inscription_obj_rel_insert_input"]: { + data: ResolverInputTypes["inscription_insert_input"], + /** upsert condition */ + on_conflict?: ResolverInputTypes["inscription_on_conflict"] | undefined | null +}; + /** on_conflict condition type for table "inscription" */ +["inscription_on_conflict"]: { + constraint: ResolverInputTypes["inscription_constraint"], + update_columns: Array, + where?: ResolverInputTypes["inscription_bool_exp"] | undefined | null +}; /** Ordering options when selecting data from "inscription". */ - ["inscription_order_by"]: { - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - content_hash?: ResolverInputTypes["order_by"] | undefined | null, - content_path?: ResolverInputTypes["order_by"] | undefined | null, - content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, - creator?: ResolverInputTypes["order_by"] | undefined | null, - current_owner?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription_histories_aggregate?: ResolverInputTypes["inscription_history_aggregate_order_by"] | undefined | null, - is_explicit?: ResolverInputTypes["order_by"] | undefined | null, - metadata?: ResolverInputTypes["order_by"] | undefined | null, - transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null, - type?: ResolverInputTypes["order_by"] | undefined | null, - version?: ResolverInputTypes["order_by"] | undefined | null - }; +["inscription_order_by"]: { + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + content_hash?: ResolverInputTypes["order_by"] | undefined | null, + content_path?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + creator?: ResolverInputTypes["order_by"] | undefined | null, + current_owner?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription_histories_aggregate?: ResolverInputTypes["inscription_history_aggregate_order_by"] | undefined | null, + is_explicit?: ResolverInputTypes["order_by"] | undefined | null, + metadata?: ResolverInputTypes["order_by"] | undefined | null, + transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + type?: ResolverInputTypes["order_by"] | undefined | null, + version?: ResolverInputTypes["order_by"] | undefined | null +}; + /** primary key columns input for table: inscription */ +["inscription_pk_columns_input"]: { + id: number +}; /** select columns of table "inscription" */ - ["inscription_select_column"]: inscription_select_column; +["inscription_select_column"]:inscription_select_column; + /** select "inscription_aggregate_bool_exp_bool_and_arguments_columns" columns of table "inscription" */ +["inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns"]:inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns; + /** select "inscription_aggregate_bool_exp_bool_or_arguments_columns" columns of table "inscription" */ +["inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns"]:inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "inscription" */ +["inscription_set_input"]: { + chain_id?: string | undefined | null, + content_hash?: string | undefined | null, + content_path?: string | undefined | null, + content_size_bytes?: number | undefined | null, + creator?: string | undefined | null, + current_owner?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + is_explicit?: boolean | undefined | null, + metadata?: ResolverInputTypes["json"] | undefined | null, + transaction_id?: number | undefined | null, + type?: string | undefined | null, + version?: string | undefined | null +}; + /** aggregate stddev on columns */ +["inscription_stddev_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev() on columns of table "inscription" */ +["inscription_stddev_order_by"]: { + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_pop on columns */ +["inscription_stddev_pop_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_pop() on columns of table "inscription" */ +["inscription_stddev_pop_order_by"]: { + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_samp on columns */ +["inscription_stddev_samp_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_samp() on columns of table "inscription" */ +["inscription_stddev_samp_order_by"]: { + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Streaming cursor of the table "inscription" */ - ["inscription_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ResolverInputTypes["inscription_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null - }; +["inscription_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["inscription_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; /** Initial value of the column from where the streaming should start */ - ["inscription_stream_cursor_value_input"]: { - chain_id?: string | undefined | null, - content_hash?: string | undefined | null, - content_path?: string | undefined | null, - content_size_bytes?: number | undefined | null, - creator?: string | undefined | null, - current_owner?: string | undefined | null, - date_created?: ResolverInputTypes["timestamp"] | undefined | null, - height?: number | undefined | null, - id?: number | undefined | null, - is_explicit?: boolean | undefined | null, - metadata?: ResolverInputTypes["json"] | undefined | null, - transaction_id?: number | undefined | null, - type?: string | undefined | null, - version?: string | undefined | null - }; - ["json"]: unknown; +["inscription_stream_cursor_value_input"]: { + chain_id?: string | undefined | null, + content_hash?: string | undefined | null, + content_path?: string | undefined | null, + content_size_bytes?: number | undefined | null, + creator?: string | undefined | null, + current_owner?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + is_explicit?: boolean | undefined | null, + metadata?: ResolverInputTypes["json"] | undefined | null, + transaction_id?: number | undefined | null, + type?: string | undefined | null, + version?: string | undefined | null +}; + /** aggregate sum on columns */ +["inscription_sum_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by sum() on columns of table "inscription" */ +["inscription_sum_order_by"]: { + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** update columns of table "inscription" */ +["inscription_update_column"]:inscription_update_column; + ["inscription_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["inscription_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["inscription_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["inscription_bool_exp"] +}; + /** aggregate var_pop on columns */ +["inscription_var_pop_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_pop() on columns of table "inscription" */ +["inscription_var_pop_order_by"]: { + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate var_samp on columns */ +["inscription_var_samp_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_samp() on columns of table "inscription" */ +["inscription_var_samp_order_by"]: { + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate variance on columns */ +["inscription_variance_fields"]: AliasType<{ + content_size_bytes?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by variance() on columns of table "inscription" */ +["inscription_variance_order_by"]: { + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + ["json"]:unknown; /** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ - ["json_comparison_exp"]: { - _eq?: ResolverInputTypes["json"] | undefined | null, - _gt?: ResolverInputTypes["json"] | undefined | null, - _gte?: ResolverInputTypes["json"] | undefined | null, - _in?: Array | undefined | null, - _is_null?: boolean | undefined | null, - _lt?: ResolverInputTypes["json"] | undefined | null, - _lte?: ResolverInputTypes["json"] | undefined | null, - _neq?: ResolverInputTypes["json"] | undefined | null, - _nin?: Array | undefined | null - }; +["json_comparison_exp"]: { + _eq?: ResolverInputTypes["json"] | undefined | null, + _gt?: ResolverInputTypes["json"] | undefined | null, + _gte?: ResolverInputTypes["json"] | undefined | null, + _in?: Array | undefined | null, + _is_null?: boolean | undefined | null, + _lt?: ResolverInputTypes["json"] | undefined | null, + _lte?: ResolverInputTypes["json"] | undefined | null, + _neq?: ResolverInputTypes["json"] | undefined | null, + _nin?: Array | undefined | null +}; /** columns and relationships of "marketplace_cft20_detail" */ - ["marketplace_cft20_detail"]: AliasType<{ - amount?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - id?: boolean | `@${string}`, - listing_id?: boolean | `@${string}`, - /** An object relationship */ - marketplace_listing?: ResolverInputTypes["marketplace_listing"], - ppt?: boolean | `@${string}`, - /** An object relationship */ - token?: ResolverInputTypes["token"], - token_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["marketplace_cft20_detail"]: AliasType<{ + amount?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + /** An object relationship */ + marketplace_listing?:ResolverInputTypes["marketplace_listing"], + ppt?:boolean | `@${string}`, + /** An object relationship */ + token?:ResolverInputTypes["token"], + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "marketplace_cft20_detail" */ +["marketplace_cft20_detail_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["marketplace_cft20_detail_aggregate_fields"], + nodes?:ResolverInputTypes["marketplace_cft20_detail"], + __typename?: boolean | `@${string}` +}>; + ["marketplace_cft20_detail_aggregate_bool_exp"]: { + count?: ResolverInputTypes["marketplace_cft20_detail_aggregate_bool_exp_count"] | undefined | null +}; + ["marketplace_cft20_detail_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null, + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Int_comparison_exp"] +}; + /** aggregate fields of "marketplace_cft20_detail" */ +["marketplace_cft20_detail_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["marketplace_cft20_detail_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["marketplace_cft20_detail_max_fields"], + min?:ResolverInputTypes["marketplace_cft20_detail_min_fields"], + stddev?:ResolverInputTypes["marketplace_cft20_detail_stddev_fields"], + stddev_pop?:ResolverInputTypes["marketplace_cft20_detail_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["marketplace_cft20_detail_stddev_samp_fields"], + sum?:ResolverInputTypes["marketplace_cft20_detail_sum_fields"], + var_pop?:ResolverInputTypes["marketplace_cft20_detail_var_pop_fields"], + var_samp?:ResolverInputTypes["marketplace_cft20_detail_var_samp_fields"], + variance?:ResolverInputTypes["marketplace_cft20_detail_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_aggregate_order_by"]: { - avg?: ResolverInputTypes["marketplace_cft20_detail_avg_order_by"] | undefined | null, - count?: ResolverInputTypes["order_by"] | undefined | null, - max?: ResolverInputTypes["marketplace_cft20_detail_max_order_by"] | undefined | null, - min?: ResolverInputTypes["marketplace_cft20_detail_min_order_by"] | undefined | null, - stddev?: ResolverInputTypes["marketplace_cft20_detail_stddev_order_by"] | undefined | null, - stddev_pop?: ResolverInputTypes["marketplace_cft20_detail_stddev_pop_order_by"] | undefined | null, - stddev_samp?: ResolverInputTypes["marketplace_cft20_detail_stddev_samp_order_by"] | undefined | null, - sum?: ResolverInputTypes["marketplace_cft20_detail_sum_order_by"] | undefined | null, - var_pop?: ResolverInputTypes["marketplace_cft20_detail_var_pop_order_by"] | undefined | null, - var_samp?: ResolverInputTypes["marketplace_cft20_detail_var_samp_order_by"] | undefined | null, - variance?: ResolverInputTypes["marketplace_cft20_detail_variance_order_by"] | undefined | null - }; +["marketplace_cft20_detail_aggregate_order_by"]: { + avg?: ResolverInputTypes["marketplace_cft20_detail_avg_order_by"] | undefined | null, + count?: ResolverInputTypes["order_by"] | undefined | null, + max?: ResolverInputTypes["marketplace_cft20_detail_max_order_by"] | undefined | null, + min?: ResolverInputTypes["marketplace_cft20_detail_min_order_by"] | undefined | null, + stddev?: ResolverInputTypes["marketplace_cft20_detail_stddev_order_by"] | undefined | null, + stddev_pop?: ResolverInputTypes["marketplace_cft20_detail_stddev_pop_order_by"] | undefined | null, + stddev_samp?: ResolverInputTypes["marketplace_cft20_detail_stddev_samp_order_by"] | undefined | null, + sum?: ResolverInputTypes["marketplace_cft20_detail_sum_order_by"] | undefined | null, + var_pop?: ResolverInputTypes["marketplace_cft20_detail_var_pop_order_by"] | undefined | null, + var_samp?: ResolverInputTypes["marketplace_cft20_detail_var_samp_order_by"] | undefined | null, + variance?: ResolverInputTypes["marketplace_cft20_detail_variance_order_by"] | undefined | null +}; + /** input type for inserting array relation for remote table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_cft20_detail_on_conflict"] | undefined | null +}; + /** aggregate avg on columns */ +["marketplace_cft20_detail_avg_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_avg_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - listing_id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_cft20_detail_avg_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Boolean expression to filter rows from the table "marketplace_cft20_detail". All fields are combined with a logical 'AND'. */ - ["marketplace_cft20_detail_bool_exp"]: { - _and?: Array | undefined | null, - _not?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null, - _or?: Array | undefined | null, - amount?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - listing_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - marketplace_listing?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null, - ppt?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - token?: ResolverInputTypes["token_bool_exp"] | undefined | null, - token_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null - }; +["marketplace_cft20_detail_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + amount?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + listing_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + marketplace_listing?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null, + ppt?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + token?: ResolverInputTypes["token_bool_exp"] | undefined | null, + token_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null +}; + /** unique or primary key constraints on table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_constraint"]:marketplace_cft20_detail_constraint; + /** input type for incrementing numeric columns in table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_inc_input"]: { + amount?: ResolverInputTypes["bigint"] | undefined | null, + id?: number | undefined | null, + listing_id?: number | undefined | null, + ppt?: ResolverInputTypes["bigint"] | undefined | null, + token_id?: number | undefined | null +}; + /** input type for inserting data into table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_insert_input"]: { + amount?: ResolverInputTypes["bigint"] | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + listing_id?: number | undefined | null, + marketplace_listing?: ResolverInputTypes["marketplace_listing_obj_rel_insert_input"] | undefined | null, + ppt?: ResolverInputTypes["bigint"] | undefined | null, + token?: ResolverInputTypes["token_obj_rel_insert_input"] | undefined | null, + token_id?: number | undefined | null +}; + /** aggregate max on columns */ +["marketplace_cft20_detail_max_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_max_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - listing_id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_cft20_detail_max_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate min on columns */ +["marketplace_cft20_detail_min_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_min_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - listing_id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_cft20_detail_min_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** response of any mutation on the table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["marketplace_cft20_detail"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_on_conflict"]: { + constraint: ResolverInputTypes["marketplace_cft20_detail_constraint"], + update_columns: Array, + where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null +}; /** Ordering options when selecting data from "marketplace_cft20_detail". */ - ["marketplace_cft20_detail_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - listing_id?: ResolverInputTypes["order_by"] | undefined | null, - marketplace_listing?: ResolverInputTypes["marketplace_listing_order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - token?: ResolverInputTypes["token_order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_cft20_detail_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + marketplace_listing?: ResolverInputTypes["marketplace_listing_order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token?: ResolverInputTypes["token_order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** primary key columns input for table: marketplace_cft20_detail */ +["marketplace_cft20_detail_pk_columns_input"]: { + id: number +}; /** select columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_select_column"]: marketplace_cft20_detail_select_column; +["marketplace_cft20_detail_select_column"]:marketplace_cft20_detail_select_column; + /** input type for updating data in table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_set_input"]: { + amount?: ResolverInputTypes["bigint"] | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + listing_id?: number | undefined | null, + ppt?: ResolverInputTypes["bigint"] | undefined | null, + token_id?: number | undefined | null +}; + /** aggregate stddev on columns */ +["marketplace_cft20_detail_stddev_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stddev_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - listing_id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_cft20_detail_stddev_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_pop on columns */ +["marketplace_cft20_detail_stddev_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stddev_pop_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - listing_id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_cft20_detail_stddev_pop_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_samp on columns */ +["marketplace_cft20_detail_stddev_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stddev_samp_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - listing_id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_cft20_detail_stddev_samp_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Streaming cursor of the table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ResolverInputTypes["marketplace_cft20_detail_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null - }; +["marketplace_cft20_detail_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["marketplace_cft20_detail_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; /** Initial value of the column from where the streaming should start */ - ["marketplace_cft20_detail_stream_cursor_value_input"]: { - amount?: ResolverInputTypes["bigint"] | undefined | null, - date_created?: ResolverInputTypes["timestamp"] | undefined | null, - id?: number | undefined | null, - listing_id?: number | undefined | null, - ppt?: ResolverInputTypes["bigint"] | undefined | null, - token_id?: number | undefined | null - }; +["marketplace_cft20_detail_stream_cursor_value_input"]: { + amount?: ResolverInputTypes["bigint"] | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + listing_id?: number | undefined | null, + ppt?: ResolverInputTypes["bigint"] | undefined | null, + token_id?: number | undefined | null +}; + /** aggregate sum on columns */ +["marketplace_cft20_detail_sum_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_sum_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - listing_id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_cft20_detail_sum_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** update columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_update_column"]:marketplace_cft20_detail_update_column; + ["marketplace_cft20_detail_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["marketplace_cft20_detail_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["marketplace_cft20_detail_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] +}; + /** aggregate var_pop on columns */ +["marketplace_cft20_detail_var_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_var_pop_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - listing_id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_cft20_detail_var_pop_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate var_samp on columns */ +["marketplace_cft20_detail_var_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_var_samp_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - listing_id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_cft20_detail_var_samp_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate variance on columns */ +["marketplace_cft20_detail_variance_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_variance_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - listing_id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_cft20_detail_variance_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** columns and relationships of "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + buyer_address?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + /** An object relationship */ + marketplace_listing?:ResolverInputTypes["marketplace_listing"], + rate?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + /** An object relationship */ + token?:ResolverInputTypes["token"], + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ResolverInputTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["marketplace_cft20_trade_history_aggregate_fields"], + nodes?:ResolverInputTypes["marketplace_cft20_trade_history"], + __typename?: boolean | `@${string}` +}>; + ["marketplace_cft20_trade_history_aggregate_bool_exp"]: { + count?: ResolverInputTypes["marketplace_cft20_trade_history_aggregate_bool_exp_count"] | undefined | null +}; + ["marketplace_cft20_trade_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null, + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Int_comparison_exp"] +}; + /** aggregate fields of "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["marketplace_cft20_trade_history_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["marketplace_cft20_trade_history_max_fields"], + min?:ResolverInputTypes["marketplace_cft20_trade_history_min_fields"], + stddev?:ResolverInputTypes["marketplace_cft20_trade_history_stddev_fields"], + stddev_pop?:ResolverInputTypes["marketplace_cft20_trade_history_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["marketplace_cft20_trade_history_stddev_samp_fields"], + sum?:ResolverInputTypes["marketplace_cft20_trade_history_sum_fields"], + var_pop?:ResolverInputTypes["marketplace_cft20_trade_history_var_pop_fields"], + var_samp?:ResolverInputTypes["marketplace_cft20_trade_history_var_samp_fields"], + variance?:ResolverInputTypes["marketplace_cft20_trade_history_variance_fields"], + __typename?: boolean | `@${string}` +}>; + /** order by aggregate values of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_aggregate_order_by"]: { + avg?: ResolverInputTypes["marketplace_cft20_trade_history_avg_order_by"] | undefined | null, + count?: ResolverInputTypes["order_by"] | undefined | null, + max?: ResolverInputTypes["marketplace_cft20_trade_history_max_order_by"] | undefined | null, + min?: ResolverInputTypes["marketplace_cft20_trade_history_min_order_by"] | undefined | null, + stddev?: ResolverInputTypes["marketplace_cft20_trade_history_stddev_order_by"] | undefined | null, + stddev_pop?: ResolverInputTypes["marketplace_cft20_trade_history_stddev_pop_order_by"] | undefined | null, + stddev_samp?: ResolverInputTypes["marketplace_cft20_trade_history_stddev_samp_order_by"] | undefined | null, + sum?: ResolverInputTypes["marketplace_cft20_trade_history_sum_order_by"] | undefined | null, + var_pop?: ResolverInputTypes["marketplace_cft20_trade_history_var_pop_order_by"] | undefined | null, + var_samp?: ResolverInputTypes["marketplace_cft20_trade_history_var_samp_order_by"] | undefined | null, + variance?: ResolverInputTypes["marketplace_cft20_trade_history_variance_order_by"] | undefined | null +}; + /** input type for inserting array relation for remote table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_cft20_trade_history_on_conflict"] | undefined | null +}; + /** aggregate avg on columns */ +["marketplace_cft20_trade_history_avg_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by avg() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_avg_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** Boolean expression to filter rows from the table "marketplace_cft20_trade_history". All fields are combined with a logical 'AND'. */ +["marketplace_cft20_trade_history_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + amount_base?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + amount_quote?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + buyer_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + listing_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + marketplace_listing?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null, + rate?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + seller_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + token?: ResolverInputTypes["token_bool_exp"] | undefined | null, + token_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + total_usd?: ResolverInputTypes["Float_comparison_exp"] | undefined | null, + transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, + transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null +}; + /** unique or primary key constraints on table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_constraint"]:marketplace_cft20_trade_history_constraint; + /** input type for incrementing numeric columns in table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_inc_input"]: { + amount_base?: ResolverInputTypes["bigint"] | undefined | null, + amount_quote?: ResolverInputTypes["bigint"] | undefined | null, + id?: number | undefined | null, + listing_id?: number | undefined | null, + rate?: number | undefined | null, + token_id?: number | undefined | null, + total_usd?: number | undefined | null, + transaction_id?: number | undefined | null +}; + /** input type for inserting data into table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_insert_input"]: { + amount_base?: ResolverInputTypes["bigint"] | undefined | null, + amount_quote?: ResolverInputTypes["bigint"] | undefined | null, + buyer_address?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + listing_id?: number | undefined | null, + marketplace_listing?: ResolverInputTypes["marketplace_listing_obj_rel_insert_input"] | undefined | null, + rate?: number | undefined | null, + seller_address?: string | undefined | null, + token?: ResolverInputTypes["token_obj_rel_insert_input"] | undefined | null, + token_id?: number | undefined | null, + total_usd?: number | undefined | null, + transaction?: ResolverInputTypes["transaction_obj_rel_insert_input"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate max on columns */ +["marketplace_cft20_trade_history_max_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + buyer_address?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by max() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_max_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + buyer_address?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + seller_address?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate min on columns */ +["marketplace_cft20_trade_history_min_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + buyer_address?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by min() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_min_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + buyer_address?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + seller_address?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** response of any mutation on the table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["marketplace_cft20_trade_history"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_on_conflict"]: { + constraint: ResolverInputTypes["marketplace_cft20_trade_history_constraint"], + update_columns: Array, + where?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null +}; + /** Ordering options when selecting data from "marketplace_cft20_trade_history". */ +["marketplace_cft20_trade_history_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + buyer_address?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + marketplace_listing?: ResolverInputTypes["marketplace_listing_order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + seller_address?: ResolverInputTypes["order_by"] | undefined | null, + token?: ResolverInputTypes["token_order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** primary key columns input for table: marketplace_cft20_trade_history */ +["marketplace_cft20_trade_history_pk_columns_input"]: { + id: number +}; + /** select columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_select_column"]:marketplace_cft20_trade_history_select_column; + /** input type for updating data in table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_set_input"]: { + amount_base?: ResolverInputTypes["bigint"] | undefined | null, + amount_quote?: ResolverInputTypes["bigint"] | undefined | null, + buyer_address?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + listing_id?: number | undefined | null, + rate?: number | undefined | null, + seller_address?: string | undefined | null, + token_id?: number | undefined | null, + total_usd?: number | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate stddev on columns */ +["marketplace_cft20_trade_history_stddev_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stddev_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_pop on columns */ +["marketplace_cft20_trade_history_stddev_pop_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_pop() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stddev_pop_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_samp on columns */ +["marketplace_cft20_trade_history_stddev_samp_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_samp() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stddev_samp_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** Streaming cursor of the table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["marketplace_cft20_trade_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; + /** Initial value of the column from where the streaming should start */ +["marketplace_cft20_trade_history_stream_cursor_value_input"]: { + amount_base?: ResolverInputTypes["bigint"] | undefined | null, + amount_quote?: ResolverInputTypes["bigint"] | undefined | null, + buyer_address?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + listing_id?: number | undefined | null, + rate?: number | undefined | null, + seller_address?: string | undefined | null, + token_id?: number | undefined | null, + total_usd?: number | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate sum on columns */ +["marketplace_cft20_trade_history_sum_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by sum() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_sum_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** update columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_update_column"]:marketplace_cft20_trade_history_update_column; + ["marketplace_cft20_trade_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["marketplace_cft20_trade_history_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["marketplace_cft20_trade_history_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["marketplace_cft20_trade_history_var_pop_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_pop() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_var_pop_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate var_samp on columns */ +["marketplace_cft20_trade_history_var_samp_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_samp() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_var_samp_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate variance on columns */ +["marketplace_cft20_trade_history_variance_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by variance() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_variance_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** columns and relationships of "marketplace_listing" */ - ["marketplace_listing"]: AliasType<{ - chain_id?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - date_updated?: boolean | `@${string}`, - deposit_timeout?: boolean | `@${string}`, - deposit_total?: boolean | `@${string}`, - depositor_address?: boolean | `@${string}`, - depositor_timedout_block?: boolean | `@${string}`, - id?: boolean | `@${string}`, - is_cancelled?: boolean | `@${string}`, - is_deposited?: boolean | `@${string}`, - is_filled?: boolean | `@${string}`, - marketplace_cft20_details?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null - }, ResolverInputTypes["marketplace_cft20_detail"]], - seller_address?: boolean | `@${string}`, - total?: boolean | `@${string}`, - /** An object relationship */ - transaction?: ResolverInputTypes["transaction"], - transaction_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["marketplace_listing"]: AliasType<{ + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_address?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + is_cancelled?:boolean | `@${string}`, + is_deposited?:boolean | `@${string}`, + is_filled?:boolean | `@${string}`, +marketplace_cft20_details?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_detail"]], +marketplace_cft20_details_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_detail_aggregate"]], +marketplace_cft20_trade_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history"]], +marketplace_cft20_trade_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history_aggregate"]], +marketplace_listing_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing_history"]], +marketplace_listing_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing_history_aggregate"]], + seller_address?:boolean | `@${string}`, + total?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ResolverInputTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "marketplace_listing" */ +["marketplace_listing_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["marketplace_listing_aggregate_fields"], + nodes?:ResolverInputTypes["marketplace_listing"], + __typename?: boolean | `@${string}` +}>; + ["marketplace_listing_aggregate_bool_exp"]: { + bool_and?: ResolverInputTypes["marketplace_listing_aggregate_bool_exp_bool_and"] | undefined | null, + bool_or?: ResolverInputTypes["marketplace_listing_aggregate_bool_exp_bool_or"] | undefined | null, + count?: ResolverInputTypes["marketplace_listing_aggregate_bool_exp_count"] | undefined | null +}; + ["marketplace_listing_aggregate_bool_exp_bool_and"]: { + arguments: ResolverInputTypes["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns"], + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Boolean_comparison_exp"] +}; + ["marketplace_listing_aggregate_bool_exp_bool_or"]: { + arguments: ResolverInputTypes["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns"], + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Boolean_comparison_exp"] +}; + ["marketplace_listing_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null, + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Int_comparison_exp"] +}; + /** aggregate fields of "marketplace_listing" */ +["marketplace_listing_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["marketplace_listing_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["marketplace_listing_max_fields"], + min?:ResolverInputTypes["marketplace_listing_min_fields"], + stddev?:ResolverInputTypes["marketplace_listing_stddev_fields"], + stddev_pop?:ResolverInputTypes["marketplace_listing_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["marketplace_listing_stddev_samp_fields"], + sum?:ResolverInputTypes["marketplace_listing_sum_fields"], + var_pop?:ResolverInputTypes["marketplace_listing_var_pop_fields"], + var_samp?:ResolverInputTypes["marketplace_listing_var_samp_fields"], + variance?:ResolverInputTypes["marketplace_listing_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "marketplace_listing" */ - ["marketplace_listing_aggregate_order_by"]: { - avg?: ResolverInputTypes["marketplace_listing_avg_order_by"] | undefined | null, - count?: ResolverInputTypes["order_by"] | undefined | null, - max?: ResolverInputTypes["marketplace_listing_max_order_by"] | undefined | null, - min?: ResolverInputTypes["marketplace_listing_min_order_by"] | undefined | null, - stddev?: ResolverInputTypes["marketplace_listing_stddev_order_by"] | undefined | null, - stddev_pop?: ResolverInputTypes["marketplace_listing_stddev_pop_order_by"] | undefined | null, - stddev_samp?: ResolverInputTypes["marketplace_listing_stddev_samp_order_by"] | undefined | null, - sum?: ResolverInputTypes["marketplace_listing_sum_order_by"] | undefined | null, - var_pop?: ResolverInputTypes["marketplace_listing_var_pop_order_by"] | undefined | null, - var_samp?: ResolverInputTypes["marketplace_listing_var_samp_order_by"] | undefined | null, - variance?: ResolverInputTypes["marketplace_listing_variance_order_by"] | undefined | null - }; +["marketplace_listing_aggregate_order_by"]: { + avg?: ResolverInputTypes["marketplace_listing_avg_order_by"] | undefined | null, + count?: ResolverInputTypes["order_by"] | undefined | null, + max?: ResolverInputTypes["marketplace_listing_max_order_by"] | undefined | null, + min?: ResolverInputTypes["marketplace_listing_min_order_by"] | undefined | null, + stddev?: ResolverInputTypes["marketplace_listing_stddev_order_by"] | undefined | null, + stddev_pop?: ResolverInputTypes["marketplace_listing_stddev_pop_order_by"] | undefined | null, + stddev_samp?: ResolverInputTypes["marketplace_listing_stddev_samp_order_by"] | undefined | null, + sum?: ResolverInputTypes["marketplace_listing_sum_order_by"] | undefined | null, + var_pop?: ResolverInputTypes["marketplace_listing_var_pop_order_by"] | undefined | null, + var_samp?: ResolverInputTypes["marketplace_listing_var_samp_order_by"] | undefined | null, + variance?: ResolverInputTypes["marketplace_listing_variance_order_by"] | undefined | null +}; + /** input type for inserting array relation for remote table "marketplace_listing" */ +["marketplace_listing_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_listing_on_conflict"] | undefined | null +}; + /** aggregate avg on columns */ +["marketplace_listing_avg_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "marketplace_listing" */ - ["marketplace_listing_avg_order_by"]: { - deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, - deposit_total?: ResolverInputTypes["order_by"] | undefined | null, - depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_listing_avg_order_by"]: { + deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, + deposit_total?: ResolverInputTypes["order_by"] | undefined | null, + depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Boolean expression to filter rows from the table "marketplace_listing". All fields are combined with a logical 'AND'. */ - ["marketplace_listing_bool_exp"]: { - _and?: Array | undefined | null, - _not?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null, - _or?: Array | undefined | null, - chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - date_updated?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - deposit_timeout?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - deposit_total?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - depositor_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - depositor_timedout_block?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - is_cancelled?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, - is_deposited?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, - is_filled?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, - marketplace_cft20_details?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null, - seller_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - total?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, - transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null - }; +["marketplace_listing_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + date_updated?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + deposit_timeout?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + deposit_total?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + depositor_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + depositor_timedout_block?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + is_cancelled?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, + is_deposited?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, + is_filled?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, + marketplace_cft20_details?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null, + marketplace_cft20_details_aggregate?: ResolverInputTypes["marketplace_cft20_detail_aggregate_bool_exp"] | undefined | null, + marketplace_cft20_trade_histories?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null, + marketplace_cft20_trade_histories_aggregate?: ResolverInputTypes["marketplace_cft20_trade_history_aggregate_bool_exp"] | undefined | null, + marketplace_listing_histories?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null, + marketplace_listing_histories_aggregate?: ResolverInputTypes["marketplace_listing_history_aggregate_bool_exp"] | undefined | null, + seller_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + total?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, + transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null +}; + /** unique or primary key constraints on table "marketplace_listing" */ +["marketplace_listing_constraint"]:marketplace_listing_constraint; + /** columns and relationships of "marketplace_listing_history" */ +["marketplace_listing_history"]: AliasType<{ + action?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + /** An object relationship */ + marketplace_listing?:ResolverInputTypes["marketplace_listing"], + sender_address?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ResolverInputTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "marketplace_listing_history" */ +["marketplace_listing_history_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["marketplace_listing_history_aggregate_fields"], + nodes?:ResolverInputTypes["marketplace_listing_history"], + __typename?: boolean | `@${string}` +}>; + ["marketplace_listing_history_aggregate_bool_exp"]: { + count?: ResolverInputTypes["marketplace_listing_history_aggregate_bool_exp_count"] | undefined | null +}; + ["marketplace_listing_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null, + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Int_comparison_exp"] +}; + /** aggregate fields of "marketplace_listing_history" */ +["marketplace_listing_history_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["marketplace_listing_history_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["marketplace_listing_history_max_fields"], + min?:ResolverInputTypes["marketplace_listing_history_min_fields"], + stddev?:ResolverInputTypes["marketplace_listing_history_stddev_fields"], + stddev_pop?:ResolverInputTypes["marketplace_listing_history_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["marketplace_listing_history_stddev_samp_fields"], + sum?:ResolverInputTypes["marketplace_listing_history_sum_fields"], + var_pop?:ResolverInputTypes["marketplace_listing_history_var_pop_fields"], + var_samp?:ResolverInputTypes["marketplace_listing_history_var_samp_fields"], + variance?:ResolverInputTypes["marketplace_listing_history_variance_fields"], + __typename?: boolean | `@${string}` +}>; + /** order by aggregate values of table "marketplace_listing_history" */ +["marketplace_listing_history_aggregate_order_by"]: { + avg?: ResolverInputTypes["marketplace_listing_history_avg_order_by"] | undefined | null, + count?: ResolverInputTypes["order_by"] | undefined | null, + max?: ResolverInputTypes["marketplace_listing_history_max_order_by"] | undefined | null, + min?: ResolverInputTypes["marketplace_listing_history_min_order_by"] | undefined | null, + stddev?: ResolverInputTypes["marketplace_listing_history_stddev_order_by"] | undefined | null, + stddev_pop?: ResolverInputTypes["marketplace_listing_history_stddev_pop_order_by"] | undefined | null, + stddev_samp?: ResolverInputTypes["marketplace_listing_history_stddev_samp_order_by"] | undefined | null, + sum?: ResolverInputTypes["marketplace_listing_history_sum_order_by"] | undefined | null, + var_pop?: ResolverInputTypes["marketplace_listing_history_var_pop_order_by"] | undefined | null, + var_samp?: ResolverInputTypes["marketplace_listing_history_var_samp_order_by"] | undefined | null, + variance?: ResolverInputTypes["marketplace_listing_history_variance_order_by"] | undefined | null +}; + /** input type for inserting array relation for remote table "marketplace_listing_history" */ +["marketplace_listing_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_listing_history_on_conflict"] | undefined | null +}; + /** aggregate avg on columns */ +["marketplace_listing_history_avg_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by avg() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_avg_order_by"]: { + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** Boolean expression to filter rows from the table "marketplace_listing_history". All fields are combined with a logical 'AND'. */ +["marketplace_listing_history_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + action?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + listing_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + marketplace_listing?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null, + sender_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, + transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null +}; + /** unique or primary key constraints on table "marketplace_listing_history" */ +["marketplace_listing_history_constraint"]:marketplace_listing_history_constraint; + /** input type for incrementing numeric columns in table "marketplace_listing_history" */ +["marketplace_listing_history_inc_input"]: { + id?: number | undefined | null, + listing_id?: number | undefined | null, + transaction_id?: number | undefined | null +}; + /** input type for inserting data into table "marketplace_listing_history" */ +["marketplace_listing_history_insert_input"]: { + action?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + listing_id?: number | undefined | null, + marketplace_listing?: ResolverInputTypes["marketplace_listing_obj_rel_insert_input"] | undefined | null, + sender_address?: string | undefined | null, + transaction?: ResolverInputTypes["transaction_obj_rel_insert_input"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate max on columns */ +["marketplace_listing_history_max_fields"]: AliasType<{ + action?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + sender_address?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by max() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_max_order_by"]: { + action?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + sender_address?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate min on columns */ +["marketplace_listing_history_min_fields"]: AliasType<{ + action?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + sender_address?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by min() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_min_order_by"]: { + action?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + sender_address?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** response of any mutation on the table "marketplace_listing_history" */ +["marketplace_listing_history_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["marketplace_listing_history"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "marketplace_listing_history" */ +["marketplace_listing_history_on_conflict"]: { + constraint: ResolverInputTypes["marketplace_listing_history_constraint"], + update_columns: Array, + where?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null +}; + /** Ordering options when selecting data from "marketplace_listing_history". */ +["marketplace_listing_history_order_by"]: { + action?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + marketplace_listing?: ResolverInputTypes["marketplace_listing_order_by"] | undefined | null, + sender_address?: ResolverInputTypes["order_by"] | undefined | null, + transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** primary key columns input for table: marketplace_listing_history */ +["marketplace_listing_history_pk_columns_input"]: { + id: number +}; + /** select columns of table "marketplace_listing_history" */ +["marketplace_listing_history_select_column"]:marketplace_listing_history_select_column; + /** input type for updating data in table "marketplace_listing_history" */ +["marketplace_listing_history_set_input"]: { + action?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + listing_id?: number | undefined | null, + sender_address?: string | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate stddev on columns */ +["marketplace_listing_history_stddev_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_stddev_order_by"]: { + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_pop on columns */ +["marketplace_listing_history_stddev_pop_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_pop() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_stddev_pop_order_by"]: { + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_samp on columns */ +["marketplace_listing_history_stddev_samp_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_samp() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_stddev_samp_order_by"]: { + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** Streaming cursor of the table "marketplace_listing_history" */ +["marketplace_listing_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["marketplace_listing_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; + /** Initial value of the column from where the streaming should start */ +["marketplace_listing_history_stream_cursor_value_input"]: { + action?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + listing_id?: number | undefined | null, + sender_address?: string | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate sum on columns */ +["marketplace_listing_history_sum_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by sum() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_sum_order_by"]: { + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** update columns of table "marketplace_listing_history" */ +["marketplace_listing_history_update_column"]:marketplace_listing_history_update_column; + ["marketplace_listing_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["marketplace_listing_history_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["marketplace_listing_history_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["marketplace_listing_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["marketplace_listing_history_var_pop_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_pop() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_var_pop_order_by"]: { + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate var_samp on columns */ +["marketplace_listing_history_var_samp_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_samp() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_var_samp_order_by"]: { + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate variance on columns */ +["marketplace_listing_history_variance_fields"]: AliasType<{ + id?:boolean | `@${string}`, + listing_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by variance() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_variance_order_by"]: { + id?: ResolverInputTypes["order_by"] | undefined | null, + listing_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** input type for incrementing numeric columns in table "marketplace_listing" */ +["marketplace_listing_inc_input"]: { + deposit_timeout?: number | undefined | null, + deposit_total?: ResolverInputTypes["bigint"] | undefined | null, + depositor_timedout_block?: number | undefined | null, + id?: number | undefined | null, + total?: ResolverInputTypes["bigint"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** input type for inserting data into table "marketplace_listing" */ +["marketplace_listing_insert_input"]: { + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + date_updated?: ResolverInputTypes["timestamp"] | undefined | null, + deposit_timeout?: number | undefined | null, + deposit_total?: ResolverInputTypes["bigint"] | undefined | null, + depositor_address?: string | undefined | null, + depositor_timedout_block?: number | undefined | null, + id?: number | undefined | null, + is_cancelled?: boolean | undefined | null, + is_deposited?: boolean | undefined | null, + is_filled?: boolean | undefined | null, + marketplace_cft20_details?: ResolverInputTypes["marketplace_cft20_detail_arr_rel_insert_input"] | undefined | null, + marketplace_cft20_trade_histories?: ResolverInputTypes["marketplace_cft20_trade_history_arr_rel_insert_input"] | undefined | null, + marketplace_listing_histories?: ResolverInputTypes["marketplace_listing_history_arr_rel_insert_input"] | undefined | null, + seller_address?: string | undefined | null, + total?: ResolverInputTypes["bigint"] | undefined | null, + transaction?: ResolverInputTypes["transaction_obj_rel_insert_input"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate max on columns */ +["marketplace_listing_max_fields"]: AliasType<{ + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_address?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "marketplace_listing" */ - ["marketplace_listing_max_order_by"]: { - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - date_updated?: ResolverInputTypes["order_by"] | undefined | null, - deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, - deposit_total?: ResolverInputTypes["order_by"] | undefined | null, - depositor_address?: ResolverInputTypes["order_by"] | undefined | null, - depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - seller_address?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_listing_max_order_by"]: { + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + date_updated?: ResolverInputTypes["order_by"] | undefined | null, + deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, + deposit_total?: ResolverInputTypes["order_by"] | undefined | null, + depositor_address?: ResolverInputTypes["order_by"] | undefined | null, + depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + seller_address?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate min on columns */ +["marketplace_listing_min_fields"]: AliasType<{ + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_address?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "marketplace_listing" */ - ["marketplace_listing_min_order_by"]: { - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - date_updated?: ResolverInputTypes["order_by"] | undefined | null, - deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, - deposit_total?: ResolverInputTypes["order_by"] | undefined | null, - depositor_address?: ResolverInputTypes["order_by"] | undefined | null, - depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - seller_address?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_listing_min_order_by"]: { + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + date_updated?: ResolverInputTypes["order_by"] | undefined | null, + deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, + deposit_total?: ResolverInputTypes["order_by"] | undefined | null, + depositor_address?: ResolverInputTypes["order_by"] | undefined | null, + depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + seller_address?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** response of any mutation on the table "marketplace_listing" */ +["marketplace_listing_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["marketplace_listing"], + __typename?: boolean | `@${string}` +}>; + /** input type for inserting object relation for remote table "marketplace_listing" */ +["marketplace_listing_obj_rel_insert_input"]: { + data: ResolverInputTypes["marketplace_listing_insert_input"], + /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_listing_on_conflict"] | undefined | null +}; + /** on_conflict condition type for table "marketplace_listing" */ +["marketplace_listing_on_conflict"]: { + constraint: ResolverInputTypes["marketplace_listing_constraint"], + update_columns: Array, + where?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null +}; /** Ordering options when selecting data from "marketplace_listing". */ - ["marketplace_listing_order_by"]: { - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - date_updated?: ResolverInputTypes["order_by"] | undefined | null, - deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, - deposit_total?: ResolverInputTypes["order_by"] | undefined | null, - depositor_address?: ResolverInputTypes["order_by"] | undefined | null, - depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - is_cancelled?: ResolverInputTypes["order_by"] | undefined | null, - is_deposited?: ResolverInputTypes["order_by"] | undefined | null, - is_filled?: ResolverInputTypes["order_by"] | undefined | null, - marketplace_cft20_details_aggregate?: ResolverInputTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined | null, - seller_address?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_listing_order_by"]: { + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + date_updated?: ResolverInputTypes["order_by"] | undefined | null, + deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, + deposit_total?: ResolverInputTypes["order_by"] | undefined | null, + depositor_address?: ResolverInputTypes["order_by"] | undefined | null, + depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + is_cancelled?: ResolverInputTypes["order_by"] | undefined | null, + is_deposited?: ResolverInputTypes["order_by"] | undefined | null, + is_filled?: ResolverInputTypes["order_by"] | undefined | null, + marketplace_cft20_details_aggregate?: ResolverInputTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined | null, + marketplace_cft20_trade_histories_aggregate?: ResolverInputTypes["marketplace_cft20_trade_history_aggregate_order_by"] | undefined | null, + marketplace_listing_histories_aggregate?: ResolverInputTypes["marketplace_listing_history_aggregate_order_by"] | undefined | null, + seller_address?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** primary key columns input for table: marketplace_listing */ +["marketplace_listing_pk_columns_input"]: { + id: number +}; /** select columns of table "marketplace_listing" */ - ["marketplace_listing_select_column"]: marketplace_listing_select_column; +["marketplace_listing_select_column"]:marketplace_listing_select_column; + /** select "marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns" columns of table "marketplace_listing" */ +["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns"]:marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns; + /** select "marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns" columns of table "marketplace_listing" */ +["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns"]:marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "marketplace_listing" */ +["marketplace_listing_set_input"]: { + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + date_updated?: ResolverInputTypes["timestamp"] | undefined | null, + deposit_timeout?: number | undefined | null, + deposit_total?: ResolverInputTypes["bigint"] | undefined | null, + depositor_address?: string | undefined | null, + depositor_timedout_block?: number | undefined | null, + id?: number | undefined | null, + is_cancelled?: boolean | undefined | null, + is_deposited?: boolean | undefined | null, + is_filled?: boolean | undefined | null, + seller_address?: string | undefined | null, + total?: ResolverInputTypes["bigint"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate stddev on columns */ +["marketplace_listing_stddev_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "marketplace_listing" */ - ["marketplace_listing_stddev_order_by"]: { - deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, - deposit_total?: ResolverInputTypes["order_by"] | undefined | null, - depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_listing_stddev_order_by"]: { + deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, + deposit_total?: ResolverInputTypes["order_by"] | undefined | null, + depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_pop on columns */ +["marketplace_listing_stddev_pop_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "marketplace_listing" */ - ["marketplace_listing_stddev_pop_order_by"]: { - deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, - deposit_total?: ResolverInputTypes["order_by"] | undefined | null, - depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_listing_stddev_pop_order_by"]: { + deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, + deposit_total?: ResolverInputTypes["order_by"] | undefined | null, + depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_samp on columns */ +["marketplace_listing_stddev_samp_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "marketplace_listing" */ - ["marketplace_listing_stddev_samp_order_by"]: { - deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, - deposit_total?: ResolverInputTypes["order_by"] | undefined | null, - depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_listing_stddev_samp_order_by"]: { + deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, + deposit_total?: ResolverInputTypes["order_by"] | undefined | null, + depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Streaming cursor of the table "marketplace_listing" */ - ["marketplace_listing_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ResolverInputTypes["marketplace_listing_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null - }; +["marketplace_listing_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["marketplace_listing_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; /** Initial value of the column from where the streaming should start */ - ["marketplace_listing_stream_cursor_value_input"]: { - chain_id?: string | undefined | null, - date_created?: ResolverInputTypes["timestamp"] | undefined | null, - date_updated?: ResolverInputTypes["timestamp"] | undefined | null, - deposit_timeout?: number | undefined | null, - deposit_total?: ResolverInputTypes["bigint"] | undefined | null, - depositor_address?: string | undefined | null, - depositor_timedout_block?: number | undefined | null, - id?: number | undefined | null, - is_cancelled?: boolean | undefined | null, - is_deposited?: boolean | undefined | null, - is_filled?: boolean | undefined | null, - seller_address?: string | undefined | null, - total?: ResolverInputTypes["bigint"] | undefined | null, - transaction_id?: number | undefined | null - }; +["marketplace_listing_stream_cursor_value_input"]: { + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + date_updated?: ResolverInputTypes["timestamp"] | undefined | null, + deposit_timeout?: number | undefined | null, + deposit_total?: ResolverInputTypes["bigint"] | undefined | null, + depositor_address?: string | undefined | null, + depositor_timedout_block?: number | undefined | null, + id?: number | undefined | null, + is_cancelled?: boolean | undefined | null, + is_deposited?: boolean | undefined | null, + is_filled?: boolean | undefined | null, + seller_address?: string | undefined | null, + total?: ResolverInputTypes["bigint"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate sum on columns */ +["marketplace_listing_sum_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "marketplace_listing" */ - ["marketplace_listing_sum_order_by"]: { - deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, - deposit_total?: ResolverInputTypes["order_by"] | undefined | null, - depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_listing_sum_order_by"]: { + deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, + deposit_total?: ResolverInputTypes["order_by"] | undefined | null, + depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** update columns of table "marketplace_listing" */ +["marketplace_listing_update_column"]:marketplace_listing_update_column; + ["marketplace_listing_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["marketplace_listing_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["marketplace_listing_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["marketplace_listing_bool_exp"] +}; + /** aggregate var_pop on columns */ +["marketplace_listing_var_pop_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "marketplace_listing" */ - ["marketplace_listing_var_pop_order_by"]: { - deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, - deposit_total?: ResolverInputTypes["order_by"] | undefined | null, - depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_listing_var_pop_order_by"]: { + deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, + deposit_total?: ResolverInputTypes["order_by"] | undefined | null, + depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate var_samp on columns */ +["marketplace_listing_var_samp_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "marketplace_listing" */ - ["marketplace_listing_var_samp_order_by"]: { - deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, - deposit_total?: ResolverInputTypes["order_by"] | undefined | null, - depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["marketplace_listing_var_samp_order_by"]: { + deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, + deposit_total?: ResolverInputTypes["order_by"] | undefined | null, + depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate variance on columns */ +["marketplace_listing_variance_fields"]: AliasType<{ + deposit_timeout?:boolean | `@${string}`, + deposit_total?:boolean | `@${string}`, + depositor_timedout_block?:boolean | `@${string}`, + id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "marketplace_listing" */ - ["marketplace_listing_variance_order_by"]: { - deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, - deposit_total?: ResolverInputTypes["order_by"] | undefined | null, - depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; - ["numeric"]: unknown; +["marketplace_listing_variance_order_by"]: { + deposit_timeout?: ResolverInputTypes["order_by"] | undefined | null, + deposit_total?: ResolverInputTypes["order_by"] | undefined | null, + depositor_timedout_block?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** mutation root */ +["mutation_root"]: AliasType<{ +delete_inscription?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["inscription_bool_exp"]},ResolverInputTypes["inscription_mutation_response"]], +delete_inscription_by_pk?: [{ id: number},ResolverInputTypes["inscription"]], +delete_inscription_history?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["inscription_history_bool_exp"]},ResolverInputTypes["inscription_history_mutation_response"]], +delete_inscription_history_by_pk?: [{ id: number},ResolverInputTypes["inscription_history"]], +delete_marketplace_cft20_detail?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["marketplace_cft20_detail_bool_exp"]},ResolverInputTypes["marketplace_cft20_detail_mutation_response"]], +delete_marketplace_cft20_detail_by_pk?: [{ id: number},ResolverInputTypes["marketplace_cft20_detail"]], +delete_marketplace_cft20_trade_history?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"]},ResolverInputTypes["marketplace_cft20_trade_history_mutation_response"]], +delete_marketplace_cft20_trade_history_by_pk?: [{ id: number},ResolverInputTypes["marketplace_cft20_trade_history"]], +delete_marketplace_listing?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["marketplace_listing_bool_exp"]},ResolverInputTypes["marketplace_listing_mutation_response"]], +delete_marketplace_listing_by_pk?: [{ id: number},ResolverInputTypes["marketplace_listing"]], +delete_marketplace_listing_history?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["marketplace_listing_history_bool_exp"]},ResolverInputTypes["marketplace_listing_history_mutation_response"]], +delete_marketplace_listing_history_by_pk?: [{ id: number},ResolverInputTypes["marketplace_listing_history"]], +delete_status?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["status_bool_exp"]},ResolverInputTypes["status_mutation_response"]], +delete_status_by_pk?: [{ id: number},ResolverInputTypes["status"]], +delete_token?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["token_bool_exp"]},ResolverInputTypes["token_mutation_response"]], +delete_token_address_history?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["token_address_history_bool_exp"]},ResolverInputTypes["token_address_history_mutation_response"]], +delete_token_address_history_by_pk?: [{ id: number},ResolverInputTypes["token_address_history"]], +delete_token_by_pk?: [{ id: number},ResolverInputTypes["token"]], +delete_token_holder?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["token_holder_bool_exp"]},ResolverInputTypes["token_holder_mutation_response"]], +delete_token_holder_by_pk?: [{ id: number},ResolverInputTypes["token_holder"]], +delete_token_open_position?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["token_open_position_bool_exp"]},ResolverInputTypes["token_open_position_mutation_response"]], +delete_token_open_position_by_pk?: [{ id: number},ResolverInputTypes["token_open_position"]], +delete_token_trade_history?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["token_trade_history_bool_exp"]},ResolverInputTypes["token_trade_history_mutation_response"]], +delete_token_trade_history_by_pk?: [{ id: number},ResolverInputTypes["token_trade_history"]], +delete_transaction?: [{ /** filter the rows which have to be deleted */ + where: ResolverInputTypes["transaction_bool_exp"]},ResolverInputTypes["transaction_mutation_response"]], +delete_transaction_by_pk?: [{ id: number},ResolverInputTypes["transaction"]], +insert_inscription?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["inscription_on_conflict"] | undefined | null},ResolverInputTypes["inscription_mutation_response"]], +insert_inscription_history?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["inscription_history_on_conflict"] | undefined | null},ResolverInputTypes["inscription_history_mutation_response"]], +insert_inscription_history_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["inscription_history_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["inscription_history_on_conflict"] | undefined | null},ResolverInputTypes["inscription_history"]], +insert_inscription_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["inscription_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["inscription_on_conflict"] | undefined | null},ResolverInputTypes["inscription"]], +insert_marketplace_cft20_detail?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_cft20_detail_on_conflict"] | undefined | null},ResolverInputTypes["marketplace_cft20_detail_mutation_response"]], +insert_marketplace_cft20_detail_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["marketplace_cft20_detail_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_cft20_detail_on_conflict"] | undefined | null},ResolverInputTypes["marketplace_cft20_detail"]], +insert_marketplace_cft20_trade_history?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_cft20_trade_history_on_conflict"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history_mutation_response"]], +insert_marketplace_cft20_trade_history_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["marketplace_cft20_trade_history_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_cft20_trade_history_on_conflict"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history"]], +insert_marketplace_listing?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_listing_on_conflict"] | undefined | null},ResolverInputTypes["marketplace_listing_mutation_response"]], +insert_marketplace_listing_history?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_listing_history_on_conflict"] | undefined | null},ResolverInputTypes["marketplace_listing_history_mutation_response"]], +insert_marketplace_listing_history_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["marketplace_listing_history_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_listing_history_on_conflict"] | undefined | null},ResolverInputTypes["marketplace_listing_history"]], +insert_marketplace_listing_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["marketplace_listing_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["marketplace_listing_on_conflict"] | undefined | null},ResolverInputTypes["marketplace_listing"]], +insert_status?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["status_on_conflict"] | undefined | null},ResolverInputTypes["status_mutation_response"]], +insert_status_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["status_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["status_on_conflict"] | undefined | null},ResolverInputTypes["status"]], +insert_token?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["token_on_conflict"] | undefined | null},ResolverInputTypes["token_mutation_response"]], +insert_token_address_history?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["token_address_history_on_conflict"] | undefined | null},ResolverInputTypes["token_address_history_mutation_response"]], +insert_token_address_history_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["token_address_history_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["token_address_history_on_conflict"] | undefined | null},ResolverInputTypes["token_address_history"]], +insert_token_holder?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["token_holder_on_conflict"] | undefined | null},ResolverInputTypes["token_holder_mutation_response"]], +insert_token_holder_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["token_holder_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["token_holder_on_conflict"] | undefined | null},ResolverInputTypes["token_holder"]], +insert_token_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["token_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["token_on_conflict"] | undefined | null},ResolverInputTypes["token"]], +insert_token_open_position?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["token_open_position_on_conflict"] | undefined | null},ResolverInputTypes["token_open_position_mutation_response"]], +insert_token_open_position_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["token_open_position_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["token_open_position_on_conflict"] | undefined | null},ResolverInputTypes["token_open_position"]], +insert_token_trade_history?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["token_trade_history_on_conflict"] | undefined | null},ResolverInputTypes["token_trade_history_mutation_response"]], +insert_token_trade_history_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["token_trade_history_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["token_trade_history_on_conflict"] | undefined | null},ResolverInputTypes["token_trade_history"]], +insert_transaction?: [{ /** the rows to be inserted */ + objects: Array, /** upsert condition */ + on_conflict?: ResolverInputTypes["transaction_on_conflict"] | undefined | null},ResolverInputTypes["transaction_mutation_response"]], +insert_transaction_one?: [{ /** the row to be inserted */ + object: ResolverInputTypes["transaction_insert_input"], /** upsert condition */ + on_conflict?: ResolverInputTypes["transaction_on_conflict"] | undefined | null},ResolverInputTypes["transaction"]], +update_inscription?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["inscription_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["inscription_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["inscription_bool_exp"]},ResolverInputTypes["inscription_mutation_response"]], +update_inscription_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["inscription_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["inscription_set_input"] | undefined | null, pk_columns: ResolverInputTypes["inscription_pk_columns_input"]},ResolverInputTypes["inscription"]], +update_inscription_history?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["inscription_history_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["inscription_history_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["inscription_history_bool_exp"]},ResolverInputTypes["inscription_history_mutation_response"]], +update_inscription_history_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["inscription_history_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["inscription_history_set_input"] | undefined | null, pk_columns: ResolverInputTypes["inscription_history_pk_columns_input"]},ResolverInputTypes["inscription_history"]], +update_inscription_history_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["inscription_history_mutation_response"]], +update_inscription_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["inscription_mutation_response"]], +update_marketplace_cft20_detail?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["marketplace_cft20_detail_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["marketplace_cft20_detail_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["marketplace_cft20_detail_bool_exp"]},ResolverInputTypes["marketplace_cft20_detail_mutation_response"]], +update_marketplace_cft20_detail_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["marketplace_cft20_detail_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["marketplace_cft20_detail_set_input"] | undefined | null, pk_columns: ResolverInputTypes["marketplace_cft20_detail_pk_columns_input"]},ResolverInputTypes["marketplace_cft20_detail"]], +update_marketplace_cft20_detail_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["marketplace_cft20_detail_mutation_response"]], +update_marketplace_cft20_trade_history?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["marketplace_cft20_trade_history_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["marketplace_cft20_trade_history_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"]},ResolverInputTypes["marketplace_cft20_trade_history_mutation_response"]], +update_marketplace_cft20_trade_history_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["marketplace_cft20_trade_history_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["marketplace_cft20_trade_history_set_input"] | undefined | null, pk_columns: ResolverInputTypes["marketplace_cft20_trade_history_pk_columns_input"]},ResolverInputTypes["marketplace_cft20_trade_history"]], +update_marketplace_cft20_trade_history_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["marketplace_cft20_trade_history_mutation_response"]], +update_marketplace_listing?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["marketplace_listing_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["marketplace_listing_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["marketplace_listing_bool_exp"]},ResolverInputTypes["marketplace_listing_mutation_response"]], +update_marketplace_listing_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["marketplace_listing_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["marketplace_listing_set_input"] | undefined | null, pk_columns: ResolverInputTypes["marketplace_listing_pk_columns_input"]},ResolverInputTypes["marketplace_listing"]], +update_marketplace_listing_history?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["marketplace_listing_history_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["marketplace_listing_history_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["marketplace_listing_history_bool_exp"]},ResolverInputTypes["marketplace_listing_history_mutation_response"]], +update_marketplace_listing_history_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["marketplace_listing_history_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["marketplace_listing_history_set_input"] | undefined | null, pk_columns: ResolverInputTypes["marketplace_listing_history_pk_columns_input"]},ResolverInputTypes["marketplace_listing_history"]], +update_marketplace_listing_history_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["marketplace_listing_history_mutation_response"]], +update_marketplace_listing_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["marketplace_listing_mutation_response"]], +update_status?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["status_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["status_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["status_bool_exp"]},ResolverInputTypes["status_mutation_response"]], +update_status_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["status_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["status_set_input"] | undefined | null, pk_columns: ResolverInputTypes["status_pk_columns_input"]},ResolverInputTypes["status"]], +update_status_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["status_mutation_response"]], +update_token?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["token_bool_exp"]},ResolverInputTypes["token_mutation_response"]], +update_token_address_history?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_address_history_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_address_history_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["token_address_history_bool_exp"]},ResolverInputTypes["token_address_history_mutation_response"]], +update_token_address_history_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_address_history_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_address_history_set_input"] | undefined | null, pk_columns: ResolverInputTypes["token_address_history_pk_columns_input"]},ResolverInputTypes["token_address_history"]], +update_token_address_history_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["token_address_history_mutation_response"]], +update_token_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_set_input"] | undefined | null, pk_columns: ResolverInputTypes["token_pk_columns_input"]},ResolverInputTypes["token"]], +update_token_holder?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_holder_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_holder_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["token_holder_bool_exp"]},ResolverInputTypes["token_holder_mutation_response"]], +update_token_holder_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_holder_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_holder_set_input"] | undefined | null, pk_columns: ResolverInputTypes["token_holder_pk_columns_input"]},ResolverInputTypes["token_holder"]], +update_token_holder_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["token_holder_mutation_response"]], +update_token_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["token_mutation_response"]], +update_token_open_position?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_open_position_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_open_position_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["token_open_position_bool_exp"]},ResolverInputTypes["token_open_position_mutation_response"]], +update_token_open_position_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_open_position_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_open_position_set_input"] | undefined | null, pk_columns: ResolverInputTypes["token_open_position_pk_columns_input"]},ResolverInputTypes["token_open_position"]], +update_token_open_position_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["token_open_position_mutation_response"]], +update_token_trade_history?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_trade_history_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_trade_history_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["token_trade_history_bool_exp"]},ResolverInputTypes["token_trade_history_mutation_response"]], +update_token_trade_history_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_trade_history_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_trade_history_set_input"] | undefined | null, pk_columns: ResolverInputTypes["token_trade_history_pk_columns_input"]},ResolverInputTypes["token_trade_history"]], +update_token_trade_history_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["token_trade_history_mutation_response"]], +update_transaction?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["transaction_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["transaction_set_input"] | undefined | null, /** filter the rows which have to be updated */ + where: ResolverInputTypes["transaction_bool_exp"]},ResolverInputTypes["transaction_mutation_response"]], +update_transaction_by_pk?: [{ /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["transaction_inc_input"] | undefined | null, /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["transaction_set_input"] | undefined | null, pk_columns: ResolverInputTypes["transaction_pk_columns_input"]},ResolverInputTypes["transaction"]], +update_transaction_many?: [{ /** updates to execute, in order */ + updates: Array},ResolverInputTypes["transaction_mutation_response"]], + __typename?: boolean | `@${string}` +}>; + ["numeric"]:unknown; /** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ - ["numeric_comparison_exp"]: { - _eq?: ResolverInputTypes["numeric"] | undefined | null, - _gt?: ResolverInputTypes["numeric"] | undefined | null, - _gte?: ResolverInputTypes["numeric"] | undefined | null, - _in?: Array | undefined | null, - _is_null?: boolean | undefined | null, - _lt?: ResolverInputTypes["numeric"] | undefined | null, - _lte?: ResolverInputTypes["numeric"] | undefined | null, - _neq?: ResolverInputTypes["numeric"] | undefined | null, - _nin?: Array | undefined | null - }; +["numeric_comparison_exp"]: { + _eq?: ResolverInputTypes["numeric"] | undefined | null, + _gt?: ResolverInputTypes["numeric"] | undefined | null, + _gte?: ResolverInputTypes["numeric"] | undefined | null, + _in?: Array | undefined | null, + _is_null?: boolean | undefined | null, + _lt?: ResolverInputTypes["numeric"] | undefined | null, + _lte?: ResolverInputTypes["numeric"] | undefined | null, + _neq?: ResolverInputTypes["numeric"] | undefined | null, + _nin?: Array | undefined | null +}; /** column ordering options */ - ["order_by"]: order_by; +["order_by"]:order_by; ["query_root"]: AliasType<{ - inscription?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["inscription_bool_exp"] | undefined | null - }, ResolverInputTypes["inscription"]], - inscription_by_pk?: [{ id: number }, ResolverInputTypes["inscription"]], - inscription_history?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null - }, ResolverInputTypes["inscription_history"]], - inscription_history_by_pk?: [{ id: number }, ResolverInputTypes["inscription_history"]], - marketplace_cft20_detail?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null - }, ResolverInputTypes["marketplace_cft20_detail"]], - marketplace_cft20_detail_by_pk?: [{ id: number }, ResolverInputTypes["marketplace_cft20_detail"]], - marketplace_listing?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null - }, ResolverInputTypes["marketplace_listing"]], - marketplace_listing_by_pk?: [{ id: number }, ResolverInputTypes["marketplace_listing"]], - status?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["status_bool_exp"] | undefined | null - }, ResolverInputTypes["status"]], - status_by_pk?: [{ id: number }, ResolverInputTypes["status"]], - token?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_bool_exp"] | undefined | null - }, ResolverInputTypes["token"]], - token_address_history?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null - }, ResolverInputTypes["token_address_history"]], - token_address_history_by_pk?: [{ id: number }, ResolverInputTypes["token_address_history"]], - token_by_pk?: [{ id: number }, ResolverInputTypes["token"]], - token_holder?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null - }, ResolverInputTypes["token_holder"]], - token_holder_by_pk?: [{ id: number }, ResolverInputTypes["token_holder"]], - token_open_position?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null - }, ResolverInputTypes["token_open_position"]], - token_open_position_by_pk?: [{ id: number }, ResolverInputTypes["token_open_position"]], - token_trade_history?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null - }, ResolverInputTypes["token_trade_history"]], - token_trade_history_by_pk?: [{ id: number }, ResolverInputTypes["token_trade_history"]], - transaction?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["transaction_bool_exp"] | undefined | null - }, ResolverInputTypes["transaction"]], - transaction_by_pk?: [{ id: number }, ResolverInputTypes["transaction"]], - __typename?: boolean | `@${string}` - }>; - ["smallint"]: unknown; +inscription?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_bool_exp"] | undefined | null},ResolverInputTypes["inscription"]], +inscription_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_bool_exp"] | undefined | null},ResolverInputTypes["inscription_aggregate"]], +inscription_by_pk?: [{ id: number},ResolverInputTypes["inscription"]], +inscription_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null},ResolverInputTypes["inscription_history"]], +inscription_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null},ResolverInputTypes["inscription_history_aggregate"]], +inscription_history_by_pk?: [{ id: number},ResolverInputTypes["inscription_history"]], +marketplace_cft20_detail?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_detail"]], +marketplace_cft20_detail_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_detail_aggregate"]], +marketplace_cft20_detail_by_pk?: [{ id: number},ResolverInputTypes["marketplace_cft20_detail"]], +marketplace_cft20_trade_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history"]], +marketplace_cft20_trade_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history_aggregate"]], +marketplace_cft20_trade_history_by_pk?: [{ id: number},ResolverInputTypes["marketplace_cft20_trade_history"]], +marketplace_listing?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing"]], +marketplace_listing_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing_aggregate"]], +marketplace_listing_by_pk?: [{ id: number},ResolverInputTypes["marketplace_listing"]], +marketplace_listing_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing_history"]], +marketplace_listing_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing_history_aggregate"]], +marketplace_listing_history_by_pk?: [{ id: number},ResolverInputTypes["marketplace_listing_history"]], +status?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["status_bool_exp"] | undefined | null},ResolverInputTypes["status"]], +status_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["status_bool_exp"] | undefined | null},ResolverInputTypes["status_aggregate"]], +status_by_pk?: [{ id: number},ResolverInputTypes["status"]], +token?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_bool_exp"] | undefined | null},ResolverInputTypes["token"]], +token_address_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null},ResolverInputTypes["token_address_history"]], +token_address_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null},ResolverInputTypes["token_address_history_aggregate"]], +token_address_history_by_pk?: [{ id: number},ResolverInputTypes["token_address_history"]], +token_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_bool_exp"] | undefined | null},ResolverInputTypes["token_aggregate"]], +token_by_pk?: [{ id: number},ResolverInputTypes["token"]], +token_holder?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null},ResolverInputTypes["token_holder"]], +token_holder_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null},ResolverInputTypes["token_holder_aggregate"]], +token_holder_by_pk?: [{ id: number},ResolverInputTypes["token_holder"]], +token_open_position?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null},ResolverInputTypes["token_open_position"]], +token_open_position_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null},ResolverInputTypes["token_open_position_aggregate"]], +token_open_position_by_pk?: [{ id: number},ResolverInputTypes["token_open_position"]], +token_trade_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["token_trade_history"]], +token_trade_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["token_trade_history_aggregate"]], +token_trade_history_by_pk?: [{ id: number},ResolverInputTypes["token_trade_history"]], +transaction?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["transaction_bool_exp"] | undefined | null},ResolverInputTypes["transaction"]], +transaction_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["transaction_bool_exp"] | undefined | null},ResolverInputTypes["transaction_aggregate"]], +transaction_by_pk?: [{ id: number},ResolverInputTypes["transaction"]], + __typename?: boolean | `@${string}` +}>; + ["smallint"]:unknown; /** Boolean expression to compare columns of type "smallint". All fields are combined with logical 'AND'. */ - ["smallint_comparison_exp"]: { - _eq?: ResolverInputTypes["smallint"] | undefined | null, - _gt?: ResolverInputTypes["smallint"] | undefined | null, - _gte?: ResolverInputTypes["smallint"] | undefined | null, - _in?: Array | undefined | null, - _is_null?: boolean | undefined | null, - _lt?: ResolverInputTypes["smallint"] | undefined | null, - _lte?: ResolverInputTypes["smallint"] | undefined | null, - _neq?: ResolverInputTypes["smallint"] | undefined | null, - _nin?: Array | undefined | null - }; +["smallint_comparison_exp"]: { + _eq?: ResolverInputTypes["smallint"] | undefined | null, + _gt?: ResolverInputTypes["smallint"] | undefined | null, + _gte?: ResolverInputTypes["smallint"] | undefined | null, + _in?: Array | undefined | null, + _is_null?: boolean | undefined | null, + _lt?: ResolverInputTypes["smallint"] | undefined | null, + _lte?: ResolverInputTypes["smallint"] | undefined | null, + _neq?: ResolverInputTypes["smallint"] | undefined | null, + _nin?: Array | undefined | null +}; /** columns and relationships of "status" */ - ["status"]: AliasType<{ - base_token?: boolean | `@${string}`, - base_token_usd?: boolean | `@${string}`, - chain_id?: boolean | `@${string}`, - date_updated?: boolean | `@${string}`, - id?: boolean | `@${string}`, - last_known_height?: boolean | `@${string}`, - last_processed_height?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["status"]: AliasType<{ + base_token?:boolean | `@${string}`, + base_token_usd?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "status" */ +["status_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["status_aggregate_fields"], + nodes?:ResolverInputTypes["status"], + __typename?: boolean | `@${string}` +}>; + /** aggregate fields of "status" */ +["status_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["status_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["status_max_fields"], + min?:ResolverInputTypes["status_min_fields"], + stddev?:ResolverInputTypes["status_stddev_fields"], + stddev_pop?:ResolverInputTypes["status_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["status_stddev_samp_fields"], + sum?:ResolverInputTypes["status_sum_fields"], + var_pop?:ResolverInputTypes["status_var_pop_fields"], + var_samp?:ResolverInputTypes["status_var_samp_fields"], + variance?:ResolverInputTypes["status_variance_fields"], + __typename?: boolean | `@${string}` +}>; + /** aggregate avg on columns */ +["status_avg_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** Boolean expression to filter rows from the table "status". All fields are combined with a logical 'AND'. */ - ["status_bool_exp"]: { - _and?: Array | undefined | null, - _not?: ResolverInputTypes["status_bool_exp"] | undefined | null, - _or?: Array | undefined | null, - base_token?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - base_token_usd?: ResolverInputTypes["Float_comparison_exp"] | undefined | null, - chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - date_updated?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - last_known_height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - last_processed_height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null - }; - /** Ordering options when selecting data from "status". */ - ["status_order_by"]: { - base_token?: ResolverInputTypes["order_by"] | undefined | null, - base_token_usd?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_updated?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - last_known_height?: ResolverInputTypes["order_by"] | undefined | null, - last_processed_height?: ResolverInputTypes["order_by"] | undefined | null - }; - /** select columns of table "status" */ - ["status_select_column"]: status_select_column; - /** Streaming cursor of the table "status" */ - ["status_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ResolverInputTypes["status_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null - }; - /** Initial value of the column from where the streaming should start */ - ["status_stream_cursor_value_input"]: { - base_token?: string | undefined | null, - base_token_usd?: number | undefined | null, - chain_id?: string | undefined | null, - date_updated?: ResolverInputTypes["timestamp"] | undefined | null, - id?: number | undefined | null, - last_known_height?: number | undefined | null, - last_processed_height?: number | undefined | null - }; - ["subscription_root"]: AliasType<{ - inscription?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["inscription_bool_exp"] | undefined | null - }, ResolverInputTypes["inscription"]], - inscription_by_pk?: [{ id: number }, ResolverInputTypes["inscription"]], - inscription_history?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null - }, ResolverInputTypes["inscription_history"]], - inscription_history_by_pk?: [{ id: number }, ResolverInputTypes["inscription_history"]], - inscription_history_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number, /** cursor to stream the results returned by the query */ - cursor: Array, /** filter the rows returned */ - where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null - }, ResolverInputTypes["inscription_history"]], - inscription_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number, /** cursor to stream the results returned by the query */ - cursor: Array, /** filter the rows returned */ - where?: ResolverInputTypes["inscription_bool_exp"] | undefined | null - }, ResolverInputTypes["inscription"]], - marketplace_cft20_detail?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null - }, ResolverInputTypes["marketplace_cft20_detail"]], - marketplace_cft20_detail_by_pk?: [{ id: number }, ResolverInputTypes["marketplace_cft20_detail"]], - marketplace_cft20_detail_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number, /** cursor to stream the results returned by the query */ - cursor: Array, /** filter the rows returned */ - where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null - }, ResolverInputTypes["marketplace_cft20_detail"]], - marketplace_listing?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null - }, ResolverInputTypes["marketplace_listing"]], - marketplace_listing_by_pk?: [{ id: number }, ResolverInputTypes["marketplace_listing"]], - marketplace_listing_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number, /** cursor to stream the results returned by the query */ - cursor: Array, /** filter the rows returned */ - where?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null - }, ResolverInputTypes["marketplace_listing"]], - status?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["status_bool_exp"] | undefined | null - }, ResolverInputTypes["status"]], - status_by_pk?: [{ id: number }, ResolverInputTypes["status"]], - status_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number, /** cursor to stream the results returned by the query */ - cursor: Array, /** filter the rows returned */ - where?: ResolverInputTypes["status_bool_exp"] | undefined | null - }, ResolverInputTypes["status"]], - token?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_bool_exp"] | undefined | null - }, ResolverInputTypes["token"]], - token_address_history?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null - }, ResolverInputTypes["token_address_history"]], - token_address_history_by_pk?: [{ id: number }, ResolverInputTypes["token_address_history"]], - token_address_history_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number, /** cursor to stream the results returned by the query */ - cursor: Array, /** filter the rows returned */ - where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null - }, ResolverInputTypes["token_address_history"]], - token_by_pk?: [{ id: number }, ResolverInputTypes["token"]], - token_holder?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null - }, ResolverInputTypes["token_holder"]], - token_holder_by_pk?: [{ id: number }, ResolverInputTypes["token_holder"]], - token_holder_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number, /** cursor to stream the results returned by the query */ - cursor: Array, /** filter the rows returned */ - where?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null - }, ResolverInputTypes["token_holder"]], - token_open_position?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null - }, ResolverInputTypes["token_open_position"]], - token_open_position_by_pk?: [{ id: number }, ResolverInputTypes["token_open_position"]], - token_open_position_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number, /** cursor to stream the results returned by the query */ - cursor: Array, /** filter the rows returned */ - where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null - }, ResolverInputTypes["token_open_position"]], - token_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number, /** cursor to stream the results returned by the query */ - cursor: Array, /** filter the rows returned */ - where?: ResolverInputTypes["token_bool_exp"] | undefined | null - }, ResolverInputTypes["token"]], - token_trade_history?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null - }, ResolverInputTypes["token_trade_history"]], - token_trade_history_by_pk?: [{ id: number }, ResolverInputTypes["token_trade_history"]], - token_trade_history_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number, /** cursor to stream the results returned by the query */ - cursor: Array, /** filter the rows returned */ - where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null - }, ResolverInputTypes["token_trade_history"]], - transaction?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["transaction_bool_exp"] | undefined | null - }, ResolverInputTypes["transaction"]], - transaction_by_pk?: [{ id: number }, ResolverInputTypes["transaction"]], - transaction_stream?: [{ /** maximum number of rows returned in a single batch */ - batch_size: number, /** cursor to stream the results returned by the query */ - cursor: Array, /** filter the rows returned */ - where?: ResolverInputTypes["transaction_bool_exp"] | undefined | null - }, ResolverInputTypes["transaction"]], - __typename?: boolean | `@${string}` - }>; - ["timestamp"]: unknown; +["status_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["status_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + base_token?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + base_token_usd?: ResolverInputTypes["Float_comparison_exp"] | undefined | null, + chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + date_updated?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + last_known_height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + last_processed_height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null +}; + /** unique or primary key constraints on table "status" */ +["status_constraint"]:status_constraint; + /** input type for incrementing numeric columns in table "status" */ +["status_inc_input"]: { + base_token_usd?: number | undefined | null, + id?: number | undefined | null, + last_known_height?: number | undefined | null, + last_processed_height?: number | undefined | null +}; + /** input type for inserting data into table "status" */ +["status_insert_input"]: { + base_token?: string | undefined | null, + base_token_usd?: number | undefined | null, + chain_id?: string | undefined | null, + date_updated?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + last_known_height?: number | undefined | null, + last_processed_height?: number | undefined | null +}; + /** aggregate max on columns */ +["status_max_fields"]: AliasType<{ + base_token?:boolean | `@${string}`, + base_token_usd?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate min on columns */ +["status_min_fields"]: AliasType<{ + base_token?:boolean | `@${string}`, + base_token_usd?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** response of any mutation on the table "status" */ +["status_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["status"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "status" */ +["status_on_conflict"]: { + constraint: ResolverInputTypes["status_constraint"], + update_columns: Array, + where?: ResolverInputTypes["status_bool_exp"] | undefined | null +}; + /** Ordering options when selecting data from "status". */ +["status_order_by"]: { + base_token?: ResolverInputTypes["order_by"] | undefined | null, + base_token_usd?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_updated?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + last_known_height?: ResolverInputTypes["order_by"] | undefined | null, + last_processed_height?: ResolverInputTypes["order_by"] | undefined | null +}; + /** primary key columns input for table: status */ +["status_pk_columns_input"]: { + id: number +}; + /** select columns of table "status" */ +["status_select_column"]:status_select_column; + /** input type for updating data in table "status" */ +["status_set_input"]: { + base_token?: string | undefined | null, + base_token_usd?: number | undefined | null, + chain_id?: string | undefined | null, + date_updated?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + last_known_height?: number | undefined | null, + last_processed_height?: number | undefined | null +}; + /** aggregate stddev on columns */ +["status_stddev_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate stddev_pop on columns */ +["status_stddev_pop_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate stddev_samp on columns */ +["status_stddev_samp_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** Streaming cursor of the table "status" */ +["status_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["status_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; + /** Initial value of the column from where the streaming should start */ +["status_stream_cursor_value_input"]: { + base_token?: string | undefined | null, + base_token_usd?: number | undefined | null, + chain_id?: string | undefined | null, + date_updated?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + last_known_height?: number | undefined | null, + last_processed_height?: number | undefined | null +}; + /** aggregate sum on columns */ +["status_sum_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** update columns of table "status" */ +["status_update_column"]:status_update_column; + ["status_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["status_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["status_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["status_bool_exp"] +}; + /** aggregate var_pop on columns */ +["status_var_pop_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate var_samp on columns */ +["status_var_samp_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate variance on columns */ +["status_variance_fields"]: AliasType<{ + base_token_usd?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_known_height?:boolean | `@${string}`, + last_processed_height?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + ["subscription_root"]: AliasType<{ +inscription?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_bool_exp"] | undefined | null},ResolverInputTypes["inscription"]], +inscription_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_bool_exp"] | undefined | null},ResolverInputTypes["inscription_aggregate"]], +inscription_by_pk?: [{ id: number},ResolverInputTypes["inscription"]], +inscription_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null},ResolverInputTypes["inscription_history"]], +inscription_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null},ResolverInputTypes["inscription_history_aggregate"]], +inscription_history_by_pk?: [{ id: number},ResolverInputTypes["inscription_history"]], +inscription_history_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null},ResolverInputTypes["inscription_history"]], +inscription_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_bool_exp"] | undefined | null},ResolverInputTypes["inscription"]], +marketplace_cft20_detail?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_detail"]], +marketplace_cft20_detail_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_detail_aggregate"]], +marketplace_cft20_detail_by_pk?: [{ id: number},ResolverInputTypes["marketplace_cft20_detail"]], +marketplace_cft20_detail_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_detail"]], +marketplace_cft20_trade_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history"]], +marketplace_cft20_trade_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history_aggregate"]], +marketplace_cft20_trade_history_by_pk?: [{ id: number},ResolverInputTypes["marketplace_cft20_trade_history"]], +marketplace_cft20_trade_history_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history"]], +marketplace_listing?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing"]], +marketplace_listing_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing_aggregate"]], +marketplace_listing_by_pk?: [{ id: number},ResolverInputTypes["marketplace_listing"]], +marketplace_listing_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing_history"]], +marketplace_listing_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing_history_aggregate"]], +marketplace_listing_history_by_pk?: [{ id: number},ResolverInputTypes["marketplace_listing_history"]], +marketplace_listing_history_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing_history"]], +marketplace_listing_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing"]], +status?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["status_bool_exp"] | undefined | null},ResolverInputTypes["status"]], +status_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["status_bool_exp"] | undefined | null},ResolverInputTypes["status_aggregate"]], +status_by_pk?: [{ id: number},ResolverInputTypes["status"]], +status_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["status_bool_exp"] | undefined | null},ResolverInputTypes["status"]], +token?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_bool_exp"] | undefined | null},ResolverInputTypes["token"]], +token_address_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null},ResolverInputTypes["token_address_history"]], +token_address_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null},ResolverInputTypes["token_address_history_aggregate"]], +token_address_history_by_pk?: [{ id: number},ResolverInputTypes["token_address_history"]], +token_address_history_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null},ResolverInputTypes["token_address_history"]], +token_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_bool_exp"] | undefined | null},ResolverInputTypes["token_aggregate"]], +token_by_pk?: [{ id: number},ResolverInputTypes["token"]], +token_holder?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null},ResolverInputTypes["token_holder"]], +token_holder_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null},ResolverInputTypes["token_holder_aggregate"]], +token_holder_by_pk?: [{ id: number},ResolverInputTypes["token_holder"]], +token_holder_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null},ResolverInputTypes["token_holder"]], +token_open_position?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null},ResolverInputTypes["token_open_position"]], +token_open_position_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null},ResolverInputTypes["token_open_position_aggregate"]], +token_open_position_by_pk?: [{ id: number},ResolverInputTypes["token_open_position"]], +token_open_position_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null},ResolverInputTypes["token_open_position"]], +token_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["token_bool_exp"] | undefined | null},ResolverInputTypes["token"]], +token_trade_history?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["token_trade_history"]], +token_trade_history_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["token_trade_history_aggregate"]], +token_trade_history_by_pk?: [{ id: number},ResolverInputTypes["token_trade_history"]], +token_trade_history_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["token_trade_history"]], +transaction?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["transaction_bool_exp"] | undefined | null},ResolverInputTypes["transaction"]], +transaction_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["transaction_bool_exp"] | undefined | null},ResolverInputTypes["transaction_aggregate"]], +transaction_by_pk?: [{ id: number},ResolverInputTypes["transaction"]], +transaction_stream?: [{ /** maximum number of rows returned in a single batch */ + batch_size: number, /** cursor to stream the results returned by the query */ + cursor: Array, /** filter the rows returned */ + where?: ResolverInputTypes["transaction_bool_exp"] | undefined | null},ResolverInputTypes["transaction"]], + __typename?: boolean | `@${string}` +}>; + ["timestamp"]:unknown; /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ - ["timestamp_comparison_exp"]: { - _eq?: ResolverInputTypes["timestamp"] | undefined | null, - _gt?: ResolverInputTypes["timestamp"] | undefined | null, - _gte?: ResolverInputTypes["timestamp"] | undefined | null, - _in?: Array | undefined | null, - _is_null?: boolean | undefined | null, - _lt?: ResolverInputTypes["timestamp"] | undefined | null, - _lte?: ResolverInputTypes["timestamp"] | undefined | null, - _neq?: ResolverInputTypes["timestamp"] | undefined | null, - _nin?: Array | undefined | null - }; +["timestamp_comparison_exp"]: { + _eq?: ResolverInputTypes["timestamp"] | undefined | null, + _gt?: ResolverInputTypes["timestamp"] | undefined | null, + _gte?: ResolverInputTypes["timestamp"] | undefined | null, + _in?: Array | undefined | null, + _is_null?: boolean | undefined | null, + _lt?: ResolverInputTypes["timestamp"] | undefined | null, + _lte?: ResolverInputTypes["timestamp"] | undefined | null, + _neq?: ResolverInputTypes["timestamp"] | undefined | null, + _nin?: Array | undefined | null +}; /** columns and relationships of "token" */ - ["token"]: AliasType<{ - chain_id?: boolean | `@${string}`, - circulating_supply?: boolean | `@${string}`, - content_path?: boolean | `@${string}`, - content_size_bytes?: boolean | `@${string}`, - creator?: boolean | `@${string}`, - current_owner?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - decimals?: boolean | `@${string}`, - height?: boolean | `@${string}`, - id?: boolean | `@${string}`, - last_price_base?: boolean | `@${string}`, - launch_timestamp?: boolean | `@${string}`, - marketplace_cft20_details?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null - }, ResolverInputTypes["marketplace_cft20_detail"]], - max_supply?: boolean | `@${string}`, - metadata?: boolean | `@${string}`, - mint_page?: boolean | `@${string}`, - name?: boolean | `@${string}`, - per_mint_limit?: boolean | `@${string}`, - ticker?: boolean | `@${string}`, - token_address_histories?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null - }, ResolverInputTypes["token_address_history"]], - token_holders?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null - }, ResolverInputTypes["token_holder"]], - token_open_positions?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null - }, ResolverInputTypes["token_open_position"]], - token_trade_histories?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null - }, ResolverInputTypes["token_trade_history"]], - /** An object relationship */ - transaction?: ResolverInputTypes["transaction"], - transaction_id?: boolean | `@${string}`, - version?: boolean | `@${string}`, - volume_24_base?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["token"]: AliasType<{ + chain_id?:boolean | `@${string}`, + circulating_supply?:boolean | `@${string}`, + content_path?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + creator?:boolean | `@${string}`, + current_owner?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + is_explicit?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, +marketplace_cft20_details?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_detail"]], +marketplace_cft20_details_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_detail_aggregate"]], +marketplace_cft20_trade_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history"]], +marketplace_cft20_trade_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history_aggregate"]], + max_supply?:boolean | `@${string}`, + metadata?:boolean | `@${string}`, + mint_page?:boolean | `@${string}`, + name?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + ticker?:boolean | `@${string}`, +token_address_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null},ResolverInputTypes["token_address_history"]], +token_address_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null},ResolverInputTypes["token_address_history_aggregate"]], +token_holders?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null},ResolverInputTypes["token_holder"]], +token_holders_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null},ResolverInputTypes["token_holder_aggregate"]], +token_open_positions?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null},ResolverInputTypes["token_open_position"]], +token_open_positions_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null},ResolverInputTypes["token_open_position_aggregate"]], +token_trade_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["token_trade_history"]], +token_trade_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["token_trade_history_aggregate"]], + /** An object relationship */ + transaction?:ResolverInputTypes["transaction"], + transaction_id?:boolean | `@${string}`, + version?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** columns and relationships of "token_address_history" */ - ["token_address_history"]: AliasType<{ - action?: boolean | `@${string}`, - amount?: boolean | `@${string}`, - chain_id?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - height?: boolean | `@${string}`, - id?: boolean | `@${string}`, - receiver?: boolean | `@${string}`, - sender?: boolean | `@${string}`, - /** An object relationship */ - token?: ResolverInputTypes["token"], - token_id?: boolean | `@${string}`, - /** An object relationship */ - transaction?: ResolverInputTypes["transaction"], - transaction_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["token_address_history"]: AliasType<{ + action?:boolean | `@${string}`, + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + receiver?:boolean | `@${string}`, + sender?:boolean | `@${string}`, + /** An object relationship */ + token?:ResolverInputTypes["token"], + token_id?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ResolverInputTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "token_address_history" */ +["token_address_history_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["token_address_history_aggregate_fields"], + nodes?:ResolverInputTypes["token_address_history"], + __typename?: boolean | `@${string}` +}>; + ["token_address_history_aggregate_bool_exp"]: { + count?: ResolverInputTypes["token_address_history_aggregate_bool_exp_count"] | undefined | null +}; + ["token_address_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null, + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token_address_history" */ +["token_address_history_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["token_address_history_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["token_address_history_max_fields"], + min?:ResolverInputTypes["token_address_history_min_fields"], + stddev?:ResolverInputTypes["token_address_history_stddev_fields"], + stddev_pop?:ResolverInputTypes["token_address_history_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["token_address_history_stddev_samp_fields"], + sum?:ResolverInputTypes["token_address_history_sum_fields"], + var_pop?:ResolverInputTypes["token_address_history_var_pop_fields"], + var_samp?:ResolverInputTypes["token_address_history_var_samp_fields"], + variance?:ResolverInputTypes["token_address_history_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "token_address_history" */ - ["token_address_history_aggregate_order_by"]: { - avg?: ResolverInputTypes["token_address_history_avg_order_by"] | undefined | null, - count?: ResolverInputTypes["order_by"] | undefined | null, - max?: ResolverInputTypes["token_address_history_max_order_by"] | undefined | null, - min?: ResolverInputTypes["token_address_history_min_order_by"] | undefined | null, - stddev?: ResolverInputTypes["token_address_history_stddev_order_by"] | undefined | null, - stddev_pop?: ResolverInputTypes["token_address_history_stddev_pop_order_by"] | undefined | null, - stddev_samp?: ResolverInputTypes["token_address_history_stddev_samp_order_by"] | undefined | null, - sum?: ResolverInputTypes["token_address_history_sum_order_by"] | undefined | null, - var_pop?: ResolverInputTypes["token_address_history_var_pop_order_by"] | undefined | null, - var_samp?: ResolverInputTypes["token_address_history_var_samp_order_by"] | undefined | null, - variance?: ResolverInputTypes["token_address_history_variance_order_by"] | undefined | null - }; +["token_address_history_aggregate_order_by"]: { + avg?: ResolverInputTypes["token_address_history_avg_order_by"] | undefined | null, + count?: ResolverInputTypes["order_by"] | undefined | null, + max?: ResolverInputTypes["token_address_history_max_order_by"] | undefined | null, + min?: ResolverInputTypes["token_address_history_min_order_by"] | undefined | null, + stddev?: ResolverInputTypes["token_address_history_stddev_order_by"] | undefined | null, + stddev_pop?: ResolverInputTypes["token_address_history_stddev_pop_order_by"] | undefined | null, + stddev_samp?: ResolverInputTypes["token_address_history_stddev_samp_order_by"] | undefined | null, + sum?: ResolverInputTypes["token_address_history_sum_order_by"] | undefined | null, + var_pop?: ResolverInputTypes["token_address_history_var_pop_order_by"] | undefined | null, + var_samp?: ResolverInputTypes["token_address_history_var_samp_order_by"] | undefined | null, + variance?: ResolverInputTypes["token_address_history_variance_order_by"] | undefined | null +}; + /** input type for inserting array relation for remote table "token_address_history" */ +["token_address_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ResolverInputTypes["token_address_history_on_conflict"] | undefined | null +}; + /** aggregate avg on columns */ +["token_address_history_avg_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "token_address_history" */ - ["token_address_history_avg_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_address_history_avg_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Boolean expression to filter rows from the table "token_address_history". All fields are combined with a logical 'AND'. */ - ["token_address_history_bool_exp"]: { - _and?: Array | undefined | null, - _not?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null, - _or?: Array | undefined | null, - action?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - amount?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - receiver?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - sender?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - token?: ResolverInputTypes["token_bool_exp"] | undefined | null, - token_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, - transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null - }; +["token_address_history_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + action?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + amount?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + receiver?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + sender?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + token?: ResolverInputTypes["token_bool_exp"] | undefined | null, + token_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, + transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null +}; + /** unique or primary key constraints on table "token_address_history" */ +["token_address_history_constraint"]:token_address_history_constraint; + /** input type for incrementing numeric columns in table "token_address_history" */ +["token_address_history_inc_input"]: { + amount?: ResolverInputTypes["bigint"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + token_id?: number | undefined | null, + transaction_id?: number | undefined | null +}; + /** input type for inserting data into table "token_address_history" */ +["token_address_history_insert_input"]: { + action?: string | undefined | null, + amount?: ResolverInputTypes["bigint"] | undefined | null, + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + receiver?: string | undefined | null, + sender?: string | undefined | null, + token?: ResolverInputTypes["token_obj_rel_insert_input"] | undefined | null, + token_id?: number | undefined | null, + transaction?: ResolverInputTypes["transaction_obj_rel_insert_input"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate max on columns */ +["token_address_history_max_fields"]: AliasType<{ + action?:boolean | `@${string}`, + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + receiver?:boolean | `@${string}`, + sender?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "token_address_history" */ - ["token_address_history_max_order_by"]: { - action?: ResolverInputTypes["order_by"] | undefined | null, - amount?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - receiver?: ResolverInputTypes["order_by"] | undefined | null, - sender?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_address_history_max_order_by"]: { + action?: ResolverInputTypes["order_by"] | undefined | null, + amount?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + receiver?: ResolverInputTypes["order_by"] | undefined | null, + sender?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate min on columns */ +["token_address_history_min_fields"]: AliasType<{ + action?:boolean | `@${string}`, + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + receiver?:boolean | `@${string}`, + sender?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "token_address_history" */ - ["token_address_history_min_order_by"]: { - action?: ResolverInputTypes["order_by"] | undefined | null, - amount?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - receiver?: ResolverInputTypes["order_by"] | undefined | null, - sender?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_address_history_min_order_by"]: { + action?: ResolverInputTypes["order_by"] | undefined | null, + amount?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + receiver?: ResolverInputTypes["order_by"] | undefined | null, + sender?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** response of any mutation on the table "token_address_history" */ +["token_address_history_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["token_address_history"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "token_address_history" */ +["token_address_history_on_conflict"]: { + constraint: ResolverInputTypes["token_address_history_constraint"], + update_columns: Array, + where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null +}; /** Ordering options when selecting data from "token_address_history". */ - ["token_address_history_order_by"]: { - action?: ResolverInputTypes["order_by"] | undefined | null, - amount?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - receiver?: ResolverInputTypes["order_by"] | undefined | null, - sender?: ResolverInputTypes["order_by"] | undefined | null, - token?: ResolverInputTypes["token_order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_address_history_order_by"]: { + action?: ResolverInputTypes["order_by"] | undefined | null, + amount?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + receiver?: ResolverInputTypes["order_by"] | undefined | null, + sender?: ResolverInputTypes["order_by"] | undefined | null, + token?: ResolverInputTypes["token_order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** primary key columns input for table: token_address_history */ +["token_address_history_pk_columns_input"]: { + id: number +}; /** select columns of table "token_address_history" */ - ["token_address_history_select_column"]: token_address_history_select_column; +["token_address_history_select_column"]:token_address_history_select_column; + /** input type for updating data in table "token_address_history" */ +["token_address_history_set_input"]: { + action?: string | undefined | null, + amount?: ResolverInputTypes["bigint"] | undefined | null, + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + receiver?: string | undefined | null, + sender?: string | undefined | null, + token_id?: number | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate stddev on columns */ +["token_address_history_stddev_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "token_address_history" */ - ["token_address_history_stddev_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_address_history_stddev_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_pop on columns */ +["token_address_history_stddev_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "token_address_history" */ - ["token_address_history_stddev_pop_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_address_history_stddev_pop_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_samp on columns */ +["token_address_history_stddev_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "token_address_history" */ - ["token_address_history_stddev_samp_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_address_history_stddev_samp_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Streaming cursor of the table "token_address_history" */ - ["token_address_history_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ResolverInputTypes["token_address_history_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null - }; +["token_address_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["token_address_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; /** Initial value of the column from where the streaming should start */ - ["token_address_history_stream_cursor_value_input"]: { - action?: string | undefined | null, - amount?: ResolverInputTypes["bigint"] | undefined | null, - chain_id?: string | undefined | null, - date_created?: ResolverInputTypes["timestamp"] | undefined | null, - height?: number | undefined | null, - id?: number | undefined | null, - receiver?: string | undefined | null, - sender?: string | undefined | null, - token_id?: number | undefined | null, - transaction_id?: number | undefined | null - }; +["token_address_history_stream_cursor_value_input"]: { + action?: string | undefined | null, + amount?: ResolverInputTypes["bigint"] | undefined | null, + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + receiver?: string | undefined | null, + sender?: string | undefined | null, + token_id?: number | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate sum on columns */ +["token_address_history_sum_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "token_address_history" */ - ["token_address_history_sum_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_address_history_sum_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** update columns of table "token_address_history" */ +["token_address_history_update_column"]:token_address_history_update_column; + ["token_address_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_address_history_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_address_history_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["token_address_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_address_history_var_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "token_address_history" */ - ["token_address_history_var_pop_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_address_history_var_pop_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate var_samp on columns */ +["token_address_history_var_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "token_address_history" */ - ["token_address_history_var_samp_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_address_history_var_samp_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate variance on columns */ +["token_address_history_variance_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "token_address_history" */ - ["token_address_history_variance_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_address_history_variance_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregated selection of "token" */ +["token_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["token_aggregate_fields"], + nodes?:ResolverInputTypes["token"], + __typename?: boolean | `@${string}` +}>; + ["token_aggregate_bool_exp"]: { + bool_and?: ResolverInputTypes["token_aggregate_bool_exp_bool_and"] | undefined | null, + bool_or?: ResolverInputTypes["token_aggregate_bool_exp_bool_or"] | undefined | null, + count?: ResolverInputTypes["token_aggregate_bool_exp_count"] | undefined | null +}; + ["token_aggregate_bool_exp_bool_and"]: { + arguments: ResolverInputTypes["token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns"], + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["token_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Boolean_comparison_exp"] +}; + ["token_aggregate_bool_exp_bool_or"]: { + arguments: ResolverInputTypes["token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns"], + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["token_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Boolean_comparison_exp"] +}; + ["token_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null, + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["token_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token" */ +["token_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["token_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["token_max_fields"], + min?:ResolverInputTypes["token_min_fields"], + stddev?:ResolverInputTypes["token_stddev_fields"], + stddev_pop?:ResolverInputTypes["token_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["token_stddev_samp_fields"], + sum?:ResolverInputTypes["token_sum_fields"], + var_pop?:ResolverInputTypes["token_var_pop_fields"], + var_samp?:ResolverInputTypes["token_var_samp_fields"], + variance?:ResolverInputTypes["token_variance_fields"], + __typename?: boolean | `@${string}` +}>; + /** order by aggregate values of table "token" */ +["token_aggregate_order_by"]: { + avg?: ResolverInputTypes["token_avg_order_by"] | undefined | null, + count?: ResolverInputTypes["order_by"] | undefined | null, + max?: ResolverInputTypes["token_max_order_by"] | undefined | null, + min?: ResolverInputTypes["token_min_order_by"] | undefined | null, + stddev?: ResolverInputTypes["token_stddev_order_by"] | undefined | null, + stddev_pop?: ResolverInputTypes["token_stddev_pop_order_by"] | undefined | null, + stddev_samp?: ResolverInputTypes["token_stddev_samp_order_by"] | undefined | null, + sum?: ResolverInputTypes["token_sum_order_by"] | undefined | null, + var_pop?: ResolverInputTypes["token_var_pop_order_by"] | undefined | null, + var_samp?: ResolverInputTypes["token_var_samp_order_by"] | undefined | null, + variance?: ResolverInputTypes["token_variance_order_by"] | undefined | null +}; + /** input type for inserting array relation for remote table "token" */ +["token_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ResolverInputTypes["token_on_conflict"] | undefined | null +}; + /** aggregate avg on columns */ +["token_avg_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by avg() on columns of table "token" */ +["token_avg_order_by"]: { + circulating_supply?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + decimals?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + last_price_base?: ResolverInputTypes["order_by"] | undefined | null, + launch_timestamp?: ResolverInputTypes["order_by"] | undefined | null, + max_supply?: ResolverInputTypes["order_by"] | undefined | null, + per_mint_limit?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + volume_24_base?: ResolverInputTypes["order_by"] | undefined | null +}; /** Boolean expression to filter rows from the table "token". All fields are combined with a logical 'AND'. */ - ["token_bool_exp"]: { - _and?: Array | undefined | null, - _not?: ResolverInputTypes["token_bool_exp"] | undefined | null, - _or?: Array | undefined | null, - chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - circulating_supply?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - content_path?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - content_size_bytes?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - creator?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - current_owner?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - decimals?: ResolverInputTypes["smallint_comparison_exp"] | undefined | null, - height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - last_price_base?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - launch_timestamp?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - marketplace_cft20_details?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null, - max_supply?: ResolverInputTypes["numeric_comparison_exp"] | undefined | null, - metadata?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - mint_page?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - name?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - per_mint_limit?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - ticker?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - token_address_histories?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null, - token_holders?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null, - token_open_positions?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null, - token_trade_histories?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null, - transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, - transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - version?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - volume_24_base?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null - }; +["token_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["token_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + circulating_supply?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + content_path?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + content_size_bytes?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + creator?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + current_owner?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + decimals?: ResolverInputTypes["smallint_comparison_exp"] | undefined | null, + height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + is_explicit?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, + last_price_base?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + launch_timestamp?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + marketplace_cft20_details?: ResolverInputTypes["marketplace_cft20_detail_bool_exp"] | undefined | null, + marketplace_cft20_details_aggregate?: ResolverInputTypes["marketplace_cft20_detail_aggregate_bool_exp"] | undefined | null, + marketplace_cft20_trade_histories?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null, + marketplace_cft20_trade_histories_aggregate?: ResolverInputTypes["marketplace_cft20_trade_history_aggregate_bool_exp"] | undefined | null, + max_supply?: ResolverInputTypes["numeric_comparison_exp"] | undefined | null, + metadata?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + mint_page?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + name?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + per_mint_limit?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + ticker?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + token_address_histories?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null, + token_address_histories_aggregate?: ResolverInputTypes["token_address_history_aggregate_bool_exp"] | undefined | null, + token_holders?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null, + token_holders_aggregate?: ResolverInputTypes["token_holder_aggregate_bool_exp"] | undefined | null, + token_open_positions?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null, + token_open_positions_aggregate?: ResolverInputTypes["token_open_position_aggregate_bool_exp"] | undefined | null, + token_trade_histories?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null, + token_trade_histories_aggregate?: ResolverInputTypes["token_trade_history_aggregate_bool_exp"] | undefined | null, + transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, + transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + version?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + volume_24_base?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null +}; + /** unique or primary key constraints on table "token" */ +["token_constraint"]:token_constraint; /** columns and relationships of "token_holder" */ - ["token_holder"]: AliasType<{ - address?: boolean | `@${string}`, - amount?: boolean | `@${string}`, - chain_id?: boolean | `@${string}`, - date_updated?: boolean | `@${string}`, - id?: boolean | `@${string}`, - /** An object relationship */ - token?: ResolverInputTypes["token"], - token_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["token_holder"]: AliasType<{ + address?:boolean | `@${string}`, + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + id?:boolean | `@${string}`, + /** An object relationship */ + token?:ResolverInputTypes["token"], + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "token_holder" */ +["token_holder_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["token_holder_aggregate_fields"], + nodes?:ResolverInputTypes["token_holder"], + __typename?: boolean | `@${string}` +}>; + ["token_holder_aggregate_bool_exp"]: { + count?: ResolverInputTypes["token_holder_aggregate_bool_exp_count"] | undefined | null +}; + ["token_holder_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null, + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token_holder" */ +["token_holder_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["token_holder_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["token_holder_max_fields"], + min?:ResolverInputTypes["token_holder_min_fields"], + stddev?:ResolverInputTypes["token_holder_stddev_fields"], + stddev_pop?:ResolverInputTypes["token_holder_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["token_holder_stddev_samp_fields"], + sum?:ResolverInputTypes["token_holder_sum_fields"], + var_pop?:ResolverInputTypes["token_holder_var_pop_fields"], + var_samp?:ResolverInputTypes["token_holder_var_samp_fields"], + variance?:ResolverInputTypes["token_holder_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "token_holder" */ - ["token_holder_aggregate_order_by"]: { - avg?: ResolverInputTypes["token_holder_avg_order_by"] | undefined | null, - count?: ResolverInputTypes["order_by"] | undefined | null, - max?: ResolverInputTypes["token_holder_max_order_by"] | undefined | null, - min?: ResolverInputTypes["token_holder_min_order_by"] | undefined | null, - stddev?: ResolverInputTypes["token_holder_stddev_order_by"] | undefined | null, - stddev_pop?: ResolverInputTypes["token_holder_stddev_pop_order_by"] | undefined | null, - stddev_samp?: ResolverInputTypes["token_holder_stddev_samp_order_by"] | undefined | null, - sum?: ResolverInputTypes["token_holder_sum_order_by"] | undefined | null, - var_pop?: ResolverInputTypes["token_holder_var_pop_order_by"] | undefined | null, - var_samp?: ResolverInputTypes["token_holder_var_samp_order_by"] | undefined | null, - variance?: ResolverInputTypes["token_holder_variance_order_by"] | undefined | null - }; +["token_holder_aggregate_order_by"]: { + avg?: ResolverInputTypes["token_holder_avg_order_by"] | undefined | null, + count?: ResolverInputTypes["order_by"] | undefined | null, + max?: ResolverInputTypes["token_holder_max_order_by"] | undefined | null, + min?: ResolverInputTypes["token_holder_min_order_by"] | undefined | null, + stddev?: ResolverInputTypes["token_holder_stddev_order_by"] | undefined | null, + stddev_pop?: ResolverInputTypes["token_holder_stddev_pop_order_by"] | undefined | null, + stddev_samp?: ResolverInputTypes["token_holder_stddev_samp_order_by"] | undefined | null, + sum?: ResolverInputTypes["token_holder_sum_order_by"] | undefined | null, + var_pop?: ResolverInputTypes["token_holder_var_pop_order_by"] | undefined | null, + var_samp?: ResolverInputTypes["token_holder_var_samp_order_by"] | undefined | null, + variance?: ResolverInputTypes["token_holder_variance_order_by"] | undefined | null +}; + /** input type for inserting array relation for remote table "token_holder" */ +["token_holder_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ResolverInputTypes["token_holder_on_conflict"] | undefined | null +}; + /** aggregate avg on columns */ +["token_holder_avg_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "token_holder" */ - ["token_holder_avg_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_holder_avg_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Boolean expression to filter rows from the table "token_holder". All fields are combined with a logical 'AND'. */ - ["token_holder_bool_exp"]: { - _and?: Array | undefined | null, - _not?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null, - _or?: Array | undefined | null, - address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - amount?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - date_updated?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - token?: ResolverInputTypes["token_bool_exp"] | undefined | null, - token_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null - }; +["token_holder_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + amount?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + date_updated?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + token?: ResolverInputTypes["token_bool_exp"] | undefined | null, + token_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null +}; + /** unique or primary key constraints on table "token_holder" */ +["token_holder_constraint"]:token_holder_constraint; + /** input type for incrementing numeric columns in table "token_holder" */ +["token_holder_inc_input"]: { + amount?: ResolverInputTypes["bigint"] | undefined | null, + id?: number | undefined | null, + token_id?: number | undefined | null +}; + /** input type for inserting data into table "token_holder" */ +["token_holder_insert_input"]: { + address?: string | undefined | null, + amount?: ResolverInputTypes["bigint"] | undefined | null, + chain_id?: string | undefined | null, + date_updated?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + token?: ResolverInputTypes["token_obj_rel_insert_input"] | undefined | null, + token_id?: number | undefined | null +}; + /** aggregate max on columns */ +["token_holder_max_fields"]: AliasType<{ + address?:boolean | `@${string}`, + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "token_holder" */ - ["token_holder_max_order_by"]: { - address?: ResolverInputTypes["order_by"] | undefined | null, - amount?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_updated?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_holder_max_order_by"]: { + address?: ResolverInputTypes["order_by"] | undefined | null, + amount?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_updated?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate min on columns */ +["token_holder_min_fields"]: AliasType<{ + address?:boolean | `@${string}`, + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_updated?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "token_holder" */ - ["token_holder_min_order_by"]: { - address?: ResolverInputTypes["order_by"] | undefined | null, - amount?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_updated?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_holder_min_order_by"]: { + address?: ResolverInputTypes["order_by"] | undefined | null, + amount?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_updated?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** response of any mutation on the table "token_holder" */ +["token_holder_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["token_holder"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "token_holder" */ +["token_holder_on_conflict"]: { + constraint: ResolverInputTypes["token_holder_constraint"], + update_columns: Array, + where?: ResolverInputTypes["token_holder_bool_exp"] | undefined | null +}; /** Ordering options when selecting data from "token_holder". */ - ["token_holder_order_by"]: { - address?: ResolverInputTypes["order_by"] | undefined | null, - amount?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_updated?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token?: ResolverInputTypes["token_order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_holder_order_by"]: { + address?: ResolverInputTypes["order_by"] | undefined | null, + amount?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_updated?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token?: ResolverInputTypes["token_order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** primary key columns input for table: token_holder */ +["token_holder_pk_columns_input"]: { + id: number +}; /** select columns of table "token_holder" */ - ["token_holder_select_column"]: token_holder_select_column; +["token_holder_select_column"]:token_holder_select_column; + /** input type for updating data in table "token_holder" */ +["token_holder_set_input"]: { + address?: string | undefined | null, + amount?: ResolverInputTypes["bigint"] | undefined | null, + chain_id?: string | undefined | null, + date_updated?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + token_id?: number | undefined | null +}; + /** aggregate stddev on columns */ +["token_holder_stddev_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "token_holder" */ - ["token_holder_stddev_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_holder_stddev_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_pop on columns */ +["token_holder_stddev_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "token_holder" */ - ["token_holder_stddev_pop_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_holder_stddev_pop_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_samp on columns */ +["token_holder_stddev_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "token_holder" */ - ["token_holder_stddev_samp_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_holder_stddev_samp_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Streaming cursor of the table "token_holder" */ - ["token_holder_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ResolverInputTypes["token_holder_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null - }; +["token_holder_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["token_holder_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; /** Initial value of the column from where the streaming should start */ - ["token_holder_stream_cursor_value_input"]: { - address?: string | undefined | null, - amount?: ResolverInputTypes["bigint"] | undefined | null, - chain_id?: string | undefined | null, - date_updated?: ResolverInputTypes["timestamp"] | undefined | null, - id?: number | undefined | null, - token_id?: number | undefined | null - }; +["token_holder_stream_cursor_value_input"]: { + address?: string | undefined | null, + amount?: ResolverInputTypes["bigint"] | undefined | null, + chain_id?: string | undefined | null, + date_updated?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + token_id?: number | undefined | null +}; + /** aggregate sum on columns */ +["token_holder_sum_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "token_holder" */ - ["token_holder_sum_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_holder_sum_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** update columns of table "token_holder" */ +["token_holder_update_column"]:token_holder_update_column; + ["token_holder_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_holder_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_holder_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["token_holder_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_holder_var_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "token_holder" */ - ["token_holder_var_pop_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_holder_var_pop_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate var_samp on columns */ +["token_holder_var_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "token_holder" */ - ["token_holder_var_samp_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_holder_var_samp_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate variance on columns */ +["token_holder_variance_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "token_holder" */ - ["token_holder_variance_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_holder_variance_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** input type for incrementing numeric columns in table "token" */ +["token_inc_input"]: { + circulating_supply?: ResolverInputTypes["bigint"] | undefined | null, + content_size_bytes?: number | undefined | null, + decimals?: ResolverInputTypes["smallint"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + last_price_base?: ResolverInputTypes["bigint"] | undefined | null, + launch_timestamp?: ResolverInputTypes["bigint"] | undefined | null, + max_supply?: ResolverInputTypes["numeric"] | undefined | null, + per_mint_limit?: ResolverInputTypes["bigint"] | undefined | null, + transaction_id?: number | undefined | null, + volume_24_base?: ResolverInputTypes["bigint"] | undefined | null +}; + /** input type for inserting data into table "token" */ +["token_insert_input"]: { + chain_id?: string | undefined | null, + circulating_supply?: ResolverInputTypes["bigint"] | undefined | null, + content_path?: string | undefined | null, + content_size_bytes?: number | undefined | null, + creator?: string | undefined | null, + current_owner?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + decimals?: ResolverInputTypes["smallint"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + is_explicit?: boolean | undefined | null, + last_price_base?: ResolverInputTypes["bigint"] | undefined | null, + launch_timestamp?: ResolverInputTypes["bigint"] | undefined | null, + marketplace_cft20_details?: ResolverInputTypes["marketplace_cft20_detail_arr_rel_insert_input"] | undefined | null, + marketplace_cft20_trade_histories?: ResolverInputTypes["marketplace_cft20_trade_history_arr_rel_insert_input"] | undefined | null, + max_supply?: ResolverInputTypes["numeric"] | undefined | null, + metadata?: string | undefined | null, + mint_page?: string | undefined | null, + name?: string | undefined | null, + per_mint_limit?: ResolverInputTypes["bigint"] | undefined | null, + ticker?: string | undefined | null, + token_address_histories?: ResolverInputTypes["token_address_history_arr_rel_insert_input"] | undefined | null, + token_holders?: ResolverInputTypes["token_holder_arr_rel_insert_input"] | undefined | null, + token_open_positions?: ResolverInputTypes["token_open_position_arr_rel_insert_input"] | undefined | null, + token_trade_histories?: ResolverInputTypes["token_trade_history_arr_rel_insert_input"] | undefined | null, + transaction?: ResolverInputTypes["transaction_obj_rel_insert_input"] | undefined | null, + transaction_id?: number | undefined | null, + version?: string | undefined | null, + volume_24_base?: ResolverInputTypes["bigint"] | undefined | null +}; + /** aggregate max on columns */ +["token_max_fields"]: AliasType<{ + chain_id?:boolean | `@${string}`, + circulating_supply?:boolean | `@${string}`, + content_path?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + creator?:boolean | `@${string}`, + current_owner?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + metadata?:boolean | `@${string}`, + mint_page?:boolean | `@${string}`, + name?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + ticker?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + version?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by max() on columns of table "token" */ +["token_max_order_by"]: { + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + circulating_supply?: ResolverInputTypes["order_by"] | undefined | null, + content_path?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + creator?: ResolverInputTypes["order_by"] | undefined | null, + current_owner?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + decimals?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + last_price_base?: ResolverInputTypes["order_by"] | undefined | null, + launch_timestamp?: ResolverInputTypes["order_by"] | undefined | null, + max_supply?: ResolverInputTypes["order_by"] | undefined | null, + metadata?: ResolverInputTypes["order_by"] | undefined | null, + mint_page?: ResolverInputTypes["order_by"] | undefined | null, + name?: ResolverInputTypes["order_by"] | undefined | null, + per_mint_limit?: ResolverInputTypes["order_by"] | undefined | null, + ticker?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + version?: ResolverInputTypes["order_by"] | undefined | null, + volume_24_base?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate min on columns */ +["token_min_fields"]: AliasType<{ + chain_id?:boolean | `@${string}`, + circulating_supply?:boolean | `@${string}`, + content_path?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + creator?:boolean | `@${string}`, + current_owner?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + metadata?:boolean | `@${string}`, + mint_page?:boolean | `@${string}`, + name?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + ticker?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + version?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by min() on columns of table "token" */ +["token_min_order_by"]: { + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + circulating_supply?: ResolverInputTypes["order_by"] | undefined | null, + content_path?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + creator?: ResolverInputTypes["order_by"] | undefined | null, + current_owner?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + decimals?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + last_price_base?: ResolverInputTypes["order_by"] | undefined | null, + launch_timestamp?: ResolverInputTypes["order_by"] | undefined | null, + max_supply?: ResolverInputTypes["order_by"] | undefined | null, + metadata?: ResolverInputTypes["order_by"] | undefined | null, + mint_page?: ResolverInputTypes["order_by"] | undefined | null, + name?: ResolverInputTypes["order_by"] | undefined | null, + per_mint_limit?: ResolverInputTypes["order_by"] | undefined | null, + ticker?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + version?: ResolverInputTypes["order_by"] | undefined | null, + volume_24_base?: ResolverInputTypes["order_by"] | undefined | null +}; + /** response of any mutation on the table "token" */ +["token_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["token"], + __typename?: boolean | `@${string}` +}>; + /** input type for inserting object relation for remote table "token" */ +["token_obj_rel_insert_input"]: { + data: ResolverInputTypes["token_insert_input"], + /** upsert condition */ + on_conflict?: ResolverInputTypes["token_on_conflict"] | undefined | null +}; + /** on_conflict condition type for table "token" */ +["token_on_conflict"]: { + constraint: ResolverInputTypes["token_constraint"], + update_columns: Array, + where?: ResolverInputTypes["token_bool_exp"] | undefined | null +}; /** columns and relationships of "token_open_position" */ - ["token_open_position"]: AliasType<{ - amount?: boolean | `@${string}`, - chain_id?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - date_filled?: boolean | `@${string}`, - id?: boolean | `@${string}`, - is_cancelled?: boolean | `@${string}`, - is_filled?: boolean | `@${string}`, - is_reserved?: boolean | `@${string}`, - ppt?: boolean | `@${string}`, - reserve_expires_block?: boolean | `@${string}`, - reserved_by?: boolean | `@${string}`, - seller_address?: boolean | `@${string}`, - /** An object relationship */ - token?: ResolverInputTypes["token"], - token_id?: boolean | `@${string}`, - total?: boolean | `@${string}`, - /** An object relationship */ - transaction?: ResolverInputTypes["transaction"], - transaction_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["token_open_position"]: AliasType<{ + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + date_filled?:boolean | `@${string}`, + id?:boolean | `@${string}`, + is_cancelled?:boolean | `@${string}`, + is_filled?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + /** An object relationship */ + token?:ResolverInputTypes["token"], + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ResolverInputTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "token_open_position" */ +["token_open_position_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["token_open_position_aggregate_fields"], + nodes?:ResolverInputTypes["token_open_position"], + __typename?: boolean | `@${string}` +}>; + ["token_open_position_aggregate_bool_exp"]: { + bool_and?: ResolverInputTypes["token_open_position_aggregate_bool_exp_bool_and"] | undefined | null, + bool_or?: ResolverInputTypes["token_open_position_aggregate_bool_exp_bool_or"] | undefined | null, + count?: ResolverInputTypes["token_open_position_aggregate_bool_exp_count"] | undefined | null +}; + ["token_open_position_aggregate_bool_exp_bool_and"]: { + arguments: ResolverInputTypes["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns"], + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Boolean_comparison_exp"] +}; + ["token_open_position_aggregate_bool_exp_bool_or"]: { + arguments: ResolverInputTypes["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns"], + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Boolean_comparison_exp"] +}; + ["token_open_position_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null, + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token_open_position" */ +["token_open_position_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["token_open_position_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["token_open_position_max_fields"], + min?:ResolverInputTypes["token_open_position_min_fields"], + stddev?:ResolverInputTypes["token_open_position_stddev_fields"], + stddev_pop?:ResolverInputTypes["token_open_position_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["token_open_position_stddev_samp_fields"], + sum?:ResolverInputTypes["token_open_position_sum_fields"], + var_pop?:ResolverInputTypes["token_open_position_var_pop_fields"], + var_samp?:ResolverInputTypes["token_open_position_var_samp_fields"], + variance?:ResolverInputTypes["token_open_position_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "token_open_position" */ - ["token_open_position_aggregate_order_by"]: { - avg?: ResolverInputTypes["token_open_position_avg_order_by"] | undefined | null, - count?: ResolverInputTypes["order_by"] | undefined | null, - max?: ResolverInputTypes["token_open_position_max_order_by"] | undefined | null, - min?: ResolverInputTypes["token_open_position_min_order_by"] | undefined | null, - stddev?: ResolverInputTypes["token_open_position_stddev_order_by"] | undefined | null, - stddev_pop?: ResolverInputTypes["token_open_position_stddev_pop_order_by"] | undefined | null, - stddev_samp?: ResolverInputTypes["token_open_position_stddev_samp_order_by"] | undefined | null, - sum?: ResolverInputTypes["token_open_position_sum_order_by"] | undefined | null, - var_pop?: ResolverInputTypes["token_open_position_var_pop_order_by"] | undefined | null, - var_samp?: ResolverInputTypes["token_open_position_var_samp_order_by"] | undefined | null, - variance?: ResolverInputTypes["token_open_position_variance_order_by"] | undefined | null - }; +["token_open_position_aggregate_order_by"]: { + avg?: ResolverInputTypes["token_open_position_avg_order_by"] | undefined | null, + count?: ResolverInputTypes["order_by"] | undefined | null, + max?: ResolverInputTypes["token_open_position_max_order_by"] | undefined | null, + min?: ResolverInputTypes["token_open_position_min_order_by"] | undefined | null, + stddev?: ResolverInputTypes["token_open_position_stddev_order_by"] | undefined | null, + stddev_pop?: ResolverInputTypes["token_open_position_stddev_pop_order_by"] | undefined | null, + stddev_samp?: ResolverInputTypes["token_open_position_stddev_samp_order_by"] | undefined | null, + sum?: ResolverInputTypes["token_open_position_sum_order_by"] | undefined | null, + var_pop?: ResolverInputTypes["token_open_position_var_pop_order_by"] | undefined | null, + var_samp?: ResolverInputTypes["token_open_position_var_samp_order_by"] | undefined | null, + variance?: ResolverInputTypes["token_open_position_variance_order_by"] | undefined | null +}; + /** input type for inserting array relation for remote table "token_open_position" */ +["token_open_position_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ResolverInputTypes["token_open_position_on_conflict"] | undefined | null +}; + /** aggregate avg on columns */ +["token_open_position_avg_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "token_open_position" */ - ["token_open_position_avg_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - reserve_expires_block?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_open_position_avg_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Boolean expression to filter rows from the table "token_open_position". All fields are combined with a logical 'AND'. */ - ["token_open_position_bool_exp"]: { - _and?: Array | undefined | null, - _not?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null, - _or?: Array | undefined | null, - amount?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - date_filled?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - is_cancelled?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, - is_filled?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, - is_reserved?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, - ppt?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - reserve_expires_block?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - reserved_by?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - seller_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - token?: ResolverInputTypes["token_bool_exp"] | undefined | null, - token_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - total?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, - transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null - }; +["token_open_position_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + amount?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + date_filled?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + is_cancelled?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, + is_filled?: ResolverInputTypes["Boolean_comparison_exp"] | undefined | null, + ppt?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + seller_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + token?: ResolverInputTypes["token_bool_exp"] | undefined | null, + token_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + total?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, + transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null +}; + /** unique or primary key constraints on table "token_open_position" */ +["token_open_position_constraint"]:token_open_position_constraint; + /** input type for incrementing numeric columns in table "token_open_position" */ +["token_open_position_inc_input"]: { + amount?: ResolverInputTypes["bigint"] | undefined | null, + id?: number | undefined | null, + ppt?: ResolverInputTypes["bigint"] | undefined | null, + token_id?: number | undefined | null, + total?: ResolverInputTypes["bigint"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** input type for inserting data into table "token_open_position" */ +["token_open_position_insert_input"]: { + amount?: ResolverInputTypes["bigint"] | undefined | null, + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + date_filled?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + is_cancelled?: boolean | undefined | null, + is_filled?: boolean | undefined | null, + ppt?: ResolverInputTypes["bigint"] | undefined | null, + seller_address?: string | undefined | null, + token?: ResolverInputTypes["token_obj_rel_insert_input"] | undefined | null, + token_id?: number | undefined | null, + total?: ResolverInputTypes["bigint"] | undefined | null, + transaction?: ResolverInputTypes["transaction_obj_rel_insert_input"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate max on columns */ +["token_open_position_max_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + date_filled?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "token_open_position" */ - ["token_open_position_max_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - date_filled?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - reserve_expires_block?: ResolverInputTypes["order_by"] | undefined | null, - reserved_by?: ResolverInputTypes["order_by"] | undefined | null, - seller_address?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_open_position_max_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + date_filled?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + seller_address?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate min on columns */ +["token_open_position_min_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + date_filled?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "token_open_position" */ - ["token_open_position_min_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - date_filled?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - reserve_expires_block?: ResolverInputTypes["order_by"] | undefined | null, - reserved_by?: ResolverInputTypes["order_by"] | undefined | null, - seller_address?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_open_position_min_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + date_filled?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + seller_address?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** response of any mutation on the table "token_open_position" */ +["token_open_position_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["token_open_position"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "token_open_position" */ +["token_open_position_on_conflict"]: { + constraint: ResolverInputTypes["token_open_position_constraint"], + update_columns: Array, + where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null +}; /** Ordering options when selecting data from "token_open_position". */ - ["token_open_position_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - date_filled?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - is_cancelled?: ResolverInputTypes["order_by"] | undefined | null, - is_filled?: ResolverInputTypes["order_by"] | undefined | null, - is_reserved?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - reserve_expires_block?: ResolverInputTypes["order_by"] | undefined | null, - reserved_by?: ResolverInputTypes["order_by"] | undefined | null, - seller_address?: ResolverInputTypes["order_by"] | undefined | null, - token?: ResolverInputTypes["token_order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_open_position_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + date_filled?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + is_cancelled?: ResolverInputTypes["order_by"] | undefined | null, + is_filled?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + seller_address?: ResolverInputTypes["order_by"] | undefined | null, + token?: ResolverInputTypes["token_order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** primary key columns input for table: token_open_position */ +["token_open_position_pk_columns_input"]: { + id: number +}; /** select columns of table "token_open_position" */ - ["token_open_position_select_column"]: token_open_position_select_column; +["token_open_position_select_column"]:token_open_position_select_column; + /** select "token_open_position_aggregate_bool_exp_bool_and_arguments_columns" columns of table "token_open_position" */ +["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns"]:token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns; + /** select "token_open_position_aggregate_bool_exp_bool_or_arguments_columns" columns of table "token_open_position" */ +["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns"]:token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "token_open_position" */ +["token_open_position_set_input"]: { + amount?: ResolverInputTypes["bigint"] | undefined | null, + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + date_filled?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + is_cancelled?: boolean | undefined | null, + is_filled?: boolean | undefined | null, + ppt?: ResolverInputTypes["bigint"] | undefined | null, + seller_address?: string | undefined | null, + token_id?: number | undefined | null, + total?: ResolverInputTypes["bigint"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate stddev on columns */ +["token_open_position_stddev_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "token_open_position" */ - ["token_open_position_stddev_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - reserve_expires_block?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_open_position_stddev_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_pop on columns */ +["token_open_position_stddev_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "token_open_position" */ - ["token_open_position_stddev_pop_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - reserve_expires_block?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_open_position_stddev_pop_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_samp on columns */ +["token_open_position_stddev_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "token_open_position" */ - ["token_open_position_stddev_samp_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - reserve_expires_block?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_open_position_stddev_samp_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Streaming cursor of the table "token_open_position" */ - ["token_open_position_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ResolverInputTypes["token_open_position_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null - }; +["token_open_position_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["token_open_position_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; /** Initial value of the column from where the streaming should start */ - ["token_open_position_stream_cursor_value_input"]: { - amount?: ResolverInputTypes["bigint"] | undefined | null, - chain_id?: string | undefined | null, - date_created?: ResolverInputTypes["timestamp"] | undefined | null, - date_filled?: ResolverInputTypes["timestamp"] | undefined | null, - id?: number | undefined | null, - is_cancelled?: boolean | undefined | null, - is_filled?: boolean | undefined | null, - is_reserved?: boolean | undefined | null, - ppt?: ResolverInputTypes["bigint"] | undefined | null, - reserve_expires_block?: number | undefined | null, - reserved_by?: string | undefined | null, - seller_address?: string | undefined | null, - token_id?: number | undefined | null, - total?: ResolverInputTypes["bigint"] | undefined | null, - transaction_id?: number | undefined | null - }; +["token_open_position_stream_cursor_value_input"]: { + amount?: ResolverInputTypes["bigint"] | undefined | null, + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + date_filled?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + is_cancelled?: boolean | undefined | null, + is_filled?: boolean | undefined | null, + ppt?: ResolverInputTypes["bigint"] | undefined | null, + seller_address?: string | undefined | null, + token_id?: number | undefined | null, + total?: ResolverInputTypes["bigint"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate sum on columns */ +["token_open_position_sum_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "token_open_position" */ - ["token_open_position_sum_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - reserve_expires_block?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_open_position_sum_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** update columns of table "token_open_position" */ +["token_open_position_update_column"]:token_open_position_update_column; + ["token_open_position_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_open_position_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_open_position_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["token_open_position_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_open_position_var_pop_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "token_open_position" */ - ["token_open_position_var_pop_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - reserve_expires_block?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_open_position_var_pop_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate var_samp on columns */ +["token_open_position_var_samp_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "token_open_position" */ - ["token_open_position_var_samp_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - reserve_expires_block?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_open_position_var_samp_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate variance on columns */ +["token_open_position_variance_fields"]: AliasType<{ + amount?:boolean | `@${string}`, + id?:boolean | `@${string}`, + ppt?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "token_open_position" */ - ["token_open_position_variance_order_by"]: { - amount?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - ppt?: ResolverInputTypes["order_by"] | undefined | null, - reserve_expires_block?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_open_position_variance_order_by"]: { + amount?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + ppt?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Ordering options when selecting data from "token". */ - ["token_order_by"]: { - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - circulating_supply?: ResolverInputTypes["order_by"] | undefined | null, - content_path?: ResolverInputTypes["order_by"] | undefined | null, - content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, - creator?: ResolverInputTypes["order_by"] | undefined | null, - current_owner?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - decimals?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - last_price_base?: ResolverInputTypes["order_by"] | undefined | null, - launch_timestamp?: ResolverInputTypes["order_by"] | undefined | null, - marketplace_cft20_details_aggregate?: ResolverInputTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined | null, - max_supply?: ResolverInputTypes["order_by"] | undefined | null, - metadata?: ResolverInputTypes["order_by"] | undefined | null, - mint_page?: ResolverInputTypes["order_by"] | undefined | null, - name?: ResolverInputTypes["order_by"] | undefined | null, - per_mint_limit?: ResolverInputTypes["order_by"] | undefined | null, - ticker?: ResolverInputTypes["order_by"] | undefined | null, - token_address_histories_aggregate?: ResolverInputTypes["token_address_history_aggregate_order_by"] | undefined | null, - token_holders_aggregate?: ResolverInputTypes["token_holder_aggregate_order_by"] | undefined | null, - token_open_positions_aggregate?: ResolverInputTypes["token_open_position_aggregate_order_by"] | undefined | null, - token_trade_histories_aggregate?: ResolverInputTypes["token_trade_history_aggregate_order_by"] | undefined | null, - transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null, - version?: ResolverInputTypes["order_by"] | undefined | null, - volume_24_base?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_order_by"]: { + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + circulating_supply?: ResolverInputTypes["order_by"] | undefined | null, + content_path?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + creator?: ResolverInputTypes["order_by"] | undefined | null, + current_owner?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + decimals?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + is_explicit?: ResolverInputTypes["order_by"] | undefined | null, + last_price_base?: ResolverInputTypes["order_by"] | undefined | null, + launch_timestamp?: ResolverInputTypes["order_by"] | undefined | null, + marketplace_cft20_details_aggregate?: ResolverInputTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined | null, + marketplace_cft20_trade_histories_aggregate?: ResolverInputTypes["marketplace_cft20_trade_history_aggregate_order_by"] | undefined | null, + max_supply?: ResolverInputTypes["order_by"] | undefined | null, + metadata?: ResolverInputTypes["order_by"] | undefined | null, + mint_page?: ResolverInputTypes["order_by"] | undefined | null, + name?: ResolverInputTypes["order_by"] | undefined | null, + per_mint_limit?: ResolverInputTypes["order_by"] | undefined | null, + ticker?: ResolverInputTypes["order_by"] | undefined | null, + token_address_histories_aggregate?: ResolverInputTypes["token_address_history_aggregate_order_by"] | undefined | null, + token_holders_aggregate?: ResolverInputTypes["token_holder_aggregate_order_by"] | undefined | null, + token_open_positions_aggregate?: ResolverInputTypes["token_open_position_aggregate_order_by"] | undefined | null, + token_trade_histories_aggregate?: ResolverInputTypes["token_trade_history_aggregate_order_by"] | undefined | null, + transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + version?: ResolverInputTypes["order_by"] | undefined | null, + volume_24_base?: ResolverInputTypes["order_by"] | undefined | null +}; + /** primary key columns input for table: token */ +["token_pk_columns_input"]: { + id: number +}; /** select columns of table "token" */ - ["token_select_column"]: token_select_column; +["token_select_column"]:token_select_column; + /** select "token_aggregate_bool_exp_bool_and_arguments_columns" columns of table "token" */ +["token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns"]:token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns; + /** select "token_aggregate_bool_exp_bool_or_arguments_columns" columns of table "token" */ +["token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns"]:token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "token" */ +["token_set_input"]: { + chain_id?: string | undefined | null, + circulating_supply?: ResolverInputTypes["bigint"] | undefined | null, + content_path?: string | undefined | null, + content_size_bytes?: number | undefined | null, + creator?: string | undefined | null, + current_owner?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + decimals?: ResolverInputTypes["smallint"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + is_explicit?: boolean | undefined | null, + last_price_base?: ResolverInputTypes["bigint"] | undefined | null, + launch_timestamp?: ResolverInputTypes["bigint"] | undefined | null, + max_supply?: ResolverInputTypes["numeric"] | undefined | null, + metadata?: string | undefined | null, + mint_page?: string | undefined | null, + name?: string | undefined | null, + per_mint_limit?: ResolverInputTypes["bigint"] | undefined | null, + ticker?: string | undefined | null, + transaction_id?: number | undefined | null, + version?: string | undefined | null, + volume_24_base?: ResolverInputTypes["bigint"] | undefined | null +}; + /** aggregate stddev on columns */ +["token_stddev_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev() on columns of table "token" */ +["token_stddev_order_by"]: { + circulating_supply?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + decimals?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + last_price_base?: ResolverInputTypes["order_by"] | undefined | null, + launch_timestamp?: ResolverInputTypes["order_by"] | undefined | null, + max_supply?: ResolverInputTypes["order_by"] | undefined | null, + per_mint_limit?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + volume_24_base?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_pop on columns */ +["token_stddev_pop_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_pop() on columns of table "token" */ +["token_stddev_pop_order_by"]: { + circulating_supply?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + decimals?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + last_price_base?: ResolverInputTypes["order_by"] | undefined | null, + launch_timestamp?: ResolverInputTypes["order_by"] | undefined | null, + max_supply?: ResolverInputTypes["order_by"] | undefined | null, + per_mint_limit?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + volume_24_base?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_samp on columns */ +["token_stddev_samp_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by stddev_samp() on columns of table "token" */ +["token_stddev_samp_order_by"]: { + circulating_supply?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + decimals?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + last_price_base?: ResolverInputTypes["order_by"] | undefined | null, + launch_timestamp?: ResolverInputTypes["order_by"] | undefined | null, + max_supply?: ResolverInputTypes["order_by"] | undefined | null, + per_mint_limit?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + volume_24_base?: ResolverInputTypes["order_by"] | undefined | null +}; /** Streaming cursor of the table "token" */ - ["token_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ResolverInputTypes["token_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null - }; +["token_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["token_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; /** Initial value of the column from where the streaming should start */ - ["token_stream_cursor_value_input"]: { - chain_id?: string | undefined | null, - circulating_supply?: ResolverInputTypes["bigint"] | undefined | null, - content_path?: string | undefined | null, - content_size_bytes?: number | undefined | null, - creator?: string | undefined | null, - current_owner?: string | undefined | null, - date_created?: ResolverInputTypes["timestamp"] | undefined | null, - decimals?: ResolverInputTypes["smallint"] | undefined | null, - height?: number | undefined | null, - id?: number | undefined | null, - last_price_base?: ResolverInputTypes["bigint"] | undefined | null, - launch_timestamp?: ResolverInputTypes["bigint"] | undefined | null, - max_supply?: ResolverInputTypes["numeric"] | undefined | null, - metadata?: string | undefined | null, - mint_page?: string | undefined | null, - name?: string | undefined | null, - per_mint_limit?: ResolverInputTypes["bigint"] | undefined | null, - ticker?: string | undefined | null, - transaction_id?: number | undefined | null, - version?: string | undefined | null, - volume_24_base?: ResolverInputTypes["bigint"] | undefined | null - }; +["token_stream_cursor_value_input"]: { + chain_id?: string | undefined | null, + circulating_supply?: ResolverInputTypes["bigint"] | undefined | null, + content_path?: string | undefined | null, + content_size_bytes?: number | undefined | null, + creator?: string | undefined | null, + current_owner?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + decimals?: ResolverInputTypes["smallint"] | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + is_explicit?: boolean | undefined | null, + last_price_base?: ResolverInputTypes["bigint"] | undefined | null, + launch_timestamp?: ResolverInputTypes["bigint"] | undefined | null, + max_supply?: ResolverInputTypes["numeric"] | undefined | null, + metadata?: string | undefined | null, + mint_page?: string | undefined | null, + name?: string | undefined | null, + per_mint_limit?: ResolverInputTypes["bigint"] | undefined | null, + ticker?: string | undefined | null, + transaction_id?: number | undefined | null, + version?: string | undefined | null, + volume_24_base?: ResolverInputTypes["bigint"] | undefined | null +}; + /** aggregate sum on columns */ +["token_sum_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by sum() on columns of table "token" */ +["token_sum_order_by"]: { + circulating_supply?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + decimals?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + last_price_base?: ResolverInputTypes["order_by"] | undefined | null, + launch_timestamp?: ResolverInputTypes["order_by"] | undefined | null, + max_supply?: ResolverInputTypes["order_by"] | undefined | null, + per_mint_limit?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + volume_24_base?: ResolverInputTypes["order_by"] | undefined | null +}; /** columns and relationships of "token_trade_history" */ - ["token_trade_history"]: AliasType<{ - amount_base?: boolean | `@${string}`, - amount_quote?: boolean | `@${string}`, - buyer_address?: boolean | `@${string}`, - chain_id?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - id?: boolean | `@${string}`, - rate?: boolean | `@${string}`, - seller_address?: boolean | `@${string}`, - /** An object relationship */ - token?: ResolverInputTypes["token"], - token_id?: boolean | `@${string}`, - total_usd?: boolean | `@${string}`, - /** An object relationship */ - transaction?: ResolverInputTypes["transaction"], - transaction_id?: boolean | `@${string}`, - __typename?: boolean | `@${string}` - }>; +["token_trade_history"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + buyer_address?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + /** An object relationship */ + token?:ResolverInputTypes["token"], + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + /** An object relationship */ + transaction?:ResolverInputTypes["transaction"], + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "token_trade_history" */ +["token_trade_history_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["token_trade_history_aggregate_fields"], + nodes?:ResolverInputTypes["token_trade_history"], + __typename?: boolean | `@${string}` +}>; + ["token_trade_history_aggregate_bool_exp"]: { + count?: ResolverInputTypes["token_trade_history_aggregate_bool_exp_count"] | undefined | null +}; + ["token_trade_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined | null, + distinct?: boolean | undefined | null, + filter?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null, + predicate: ResolverInputTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token_trade_history" */ +["token_trade_history_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["token_trade_history_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["token_trade_history_max_fields"], + min?:ResolverInputTypes["token_trade_history_min_fields"], + stddev?:ResolverInputTypes["token_trade_history_stddev_fields"], + stddev_pop?:ResolverInputTypes["token_trade_history_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["token_trade_history_stddev_samp_fields"], + sum?:ResolverInputTypes["token_trade_history_sum_fields"], + var_pop?:ResolverInputTypes["token_trade_history_var_pop_fields"], + var_samp?:ResolverInputTypes["token_trade_history_var_samp_fields"], + variance?:ResolverInputTypes["token_trade_history_variance_fields"], + __typename?: boolean | `@${string}` +}>; /** order by aggregate values of table "token_trade_history" */ - ["token_trade_history_aggregate_order_by"]: { - avg?: ResolverInputTypes["token_trade_history_avg_order_by"] | undefined | null, - count?: ResolverInputTypes["order_by"] | undefined | null, - max?: ResolverInputTypes["token_trade_history_max_order_by"] | undefined | null, - min?: ResolverInputTypes["token_trade_history_min_order_by"] | undefined | null, - stddev?: ResolverInputTypes["token_trade_history_stddev_order_by"] | undefined | null, - stddev_pop?: ResolverInputTypes["token_trade_history_stddev_pop_order_by"] | undefined | null, - stddev_samp?: ResolverInputTypes["token_trade_history_stddev_samp_order_by"] | undefined | null, - sum?: ResolverInputTypes["token_trade_history_sum_order_by"] | undefined | null, - var_pop?: ResolverInputTypes["token_trade_history_var_pop_order_by"] | undefined | null, - var_samp?: ResolverInputTypes["token_trade_history_var_samp_order_by"] | undefined | null, - variance?: ResolverInputTypes["token_trade_history_variance_order_by"] | undefined | null - }; +["token_trade_history_aggregate_order_by"]: { + avg?: ResolverInputTypes["token_trade_history_avg_order_by"] | undefined | null, + count?: ResolverInputTypes["order_by"] | undefined | null, + max?: ResolverInputTypes["token_trade_history_max_order_by"] | undefined | null, + min?: ResolverInputTypes["token_trade_history_min_order_by"] | undefined | null, + stddev?: ResolverInputTypes["token_trade_history_stddev_order_by"] | undefined | null, + stddev_pop?: ResolverInputTypes["token_trade_history_stddev_pop_order_by"] | undefined | null, + stddev_samp?: ResolverInputTypes["token_trade_history_stddev_samp_order_by"] | undefined | null, + sum?: ResolverInputTypes["token_trade_history_sum_order_by"] | undefined | null, + var_pop?: ResolverInputTypes["token_trade_history_var_pop_order_by"] | undefined | null, + var_samp?: ResolverInputTypes["token_trade_history_var_samp_order_by"] | undefined | null, + variance?: ResolverInputTypes["token_trade_history_variance_order_by"] | undefined | null +}; + /** input type for inserting array relation for remote table "token_trade_history" */ +["token_trade_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ResolverInputTypes["token_trade_history_on_conflict"] | undefined | null +}; + /** aggregate avg on columns */ +["token_trade_history_avg_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by avg() on columns of table "token_trade_history" */ - ["token_trade_history_avg_order_by"]: { - amount_base?: ResolverInputTypes["order_by"] | undefined | null, - amount_quote?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - rate?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total_usd?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_trade_history_avg_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Boolean expression to filter rows from the table "token_trade_history". All fields are combined with a logical 'AND'. */ - ["token_trade_history_bool_exp"]: { - _and?: Array | undefined | null, - _not?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null, - _or?: Array | undefined | null, - amount_base?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - amount_quote?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - buyer_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - rate?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, - seller_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - token?: ResolverInputTypes["token_bool_exp"] | undefined | null, - token_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - total_usd?: ResolverInputTypes["Float_comparison_exp"] | undefined | null, - transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, - transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null - }; +["token_trade_history_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + amount_base?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + amount_quote?: ResolverInputTypes["bigint_comparison_exp"] | undefined | null, + buyer_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + chain_id?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + rate?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + seller_address?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + token?: ResolverInputTypes["token_bool_exp"] | undefined | null, + token_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + total_usd?: ResolverInputTypes["Float_comparison_exp"] | undefined | null, + transaction?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, + transaction_id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null +}; + /** unique or primary key constraints on table "token_trade_history" */ +["token_trade_history_constraint"]:token_trade_history_constraint; + /** input type for incrementing numeric columns in table "token_trade_history" */ +["token_trade_history_inc_input"]: { + amount_base?: ResolverInputTypes["bigint"] | undefined | null, + amount_quote?: ResolverInputTypes["bigint"] | undefined | null, + id?: number | undefined | null, + rate?: number | undefined | null, + token_id?: number | undefined | null, + total_usd?: number | undefined | null, + transaction_id?: number | undefined | null +}; + /** input type for inserting data into table "token_trade_history" */ +["token_trade_history_insert_input"]: { + amount_base?: ResolverInputTypes["bigint"] | undefined | null, + amount_quote?: ResolverInputTypes["bigint"] | undefined | null, + buyer_address?: string | undefined | null, + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + rate?: number | undefined | null, + seller_address?: string | undefined | null, + token?: ResolverInputTypes["token_obj_rel_insert_input"] | undefined | null, + token_id?: number | undefined | null, + total_usd?: number | undefined | null, + transaction?: ResolverInputTypes["transaction_obj_rel_insert_input"] | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate max on columns */ +["token_trade_history_max_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + buyer_address?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by max() on columns of table "token_trade_history" */ - ["token_trade_history_max_order_by"]: { - amount_base?: ResolverInputTypes["order_by"] | undefined | null, - amount_quote?: ResolverInputTypes["order_by"] | undefined | null, - buyer_address?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - rate?: ResolverInputTypes["order_by"] | undefined | null, - seller_address?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total_usd?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_trade_history_max_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + buyer_address?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + seller_address?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate min on columns */ +["token_trade_history_min_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + buyer_address?:boolean | `@${string}`, + chain_id?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + seller_address?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by min() on columns of table "token_trade_history" */ - ["token_trade_history_min_order_by"]: { - amount_base?: ResolverInputTypes["order_by"] | undefined | null, - amount_quote?: ResolverInputTypes["order_by"] | undefined | null, - buyer_address?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - rate?: ResolverInputTypes["order_by"] | undefined | null, - seller_address?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total_usd?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_trade_history_min_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + buyer_address?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + seller_address?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** response of any mutation on the table "token_trade_history" */ +["token_trade_history_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["token_trade_history"], + __typename?: boolean | `@${string}` +}>; + /** on_conflict condition type for table "token_trade_history" */ +["token_trade_history_on_conflict"]: { + constraint: ResolverInputTypes["token_trade_history_constraint"], + update_columns: Array, + where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null +}; /** Ordering options when selecting data from "token_trade_history". */ - ["token_trade_history_order_by"]: { - amount_base?: ResolverInputTypes["order_by"] | undefined | null, - amount_quote?: ResolverInputTypes["order_by"] | undefined | null, - buyer_address?: ResolverInputTypes["order_by"] | undefined | null, - chain_id?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - rate?: ResolverInputTypes["order_by"] | undefined | null, - seller_address?: ResolverInputTypes["order_by"] | undefined | null, - token?: ResolverInputTypes["token_order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total_usd?: ResolverInputTypes["order_by"] | undefined | null, - transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_trade_history_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + buyer_address?: ResolverInputTypes["order_by"] | undefined | null, + chain_id?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + seller_address?: ResolverInputTypes["order_by"] | undefined | null, + token?: ResolverInputTypes["token_order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction?: ResolverInputTypes["transaction_order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** primary key columns input for table: token_trade_history */ +["token_trade_history_pk_columns_input"]: { + id: number +}; /** select columns of table "token_trade_history" */ - ["token_trade_history_select_column"]: token_trade_history_select_column; +["token_trade_history_select_column"]:token_trade_history_select_column; + /** input type for updating data in table "token_trade_history" */ +["token_trade_history_set_input"]: { + amount_base?: ResolverInputTypes["bigint"] | undefined | null, + amount_quote?: ResolverInputTypes["bigint"] | undefined | null, + buyer_address?: string | undefined | null, + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + rate?: number | undefined | null, + seller_address?: string | undefined | null, + token_id?: number | undefined | null, + total_usd?: number | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate stddev on columns */ +["token_trade_history_stddev_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev() on columns of table "token_trade_history" */ - ["token_trade_history_stddev_order_by"]: { - amount_base?: ResolverInputTypes["order_by"] | undefined | null, - amount_quote?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - rate?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total_usd?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_trade_history_stddev_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_pop on columns */ +["token_trade_history_stddev_pop_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_pop() on columns of table "token_trade_history" */ - ["token_trade_history_stddev_pop_order_by"]: { - amount_base?: ResolverInputTypes["order_by"] | undefined | null, - amount_quote?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - rate?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total_usd?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_trade_history_stddev_pop_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate stddev_samp on columns */ +["token_trade_history_stddev_samp_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by stddev_samp() on columns of table "token_trade_history" */ - ["token_trade_history_stddev_samp_order_by"]: { - amount_base?: ResolverInputTypes["order_by"] | undefined | null, - amount_quote?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - rate?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total_usd?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_trade_history_stddev_samp_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; /** Streaming cursor of the table "token_trade_history" */ - ["token_trade_history_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ResolverInputTypes["token_trade_history_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null - }; +["token_trade_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["token_trade_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; /** Initial value of the column from where the streaming should start */ - ["token_trade_history_stream_cursor_value_input"]: { - amount_base?: ResolverInputTypes["bigint"] | undefined | null, - amount_quote?: ResolverInputTypes["bigint"] | undefined | null, - buyer_address?: string | undefined | null, - chain_id?: string | undefined | null, - date_created?: ResolverInputTypes["timestamp"] | undefined | null, - id?: number | undefined | null, - rate?: ResolverInputTypes["bigint"] | undefined | null, - seller_address?: string | undefined | null, - token_id?: number | undefined | null, - total_usd?: number | undefined | null, - transaction_id?: number | undefined | null - }; +["token_trade_history_stream_cursor_value_input"]: { + amount_base?: ResolverInputTypes["bigint"] | undefined | null, + amount_quote?: ResolverInputTypes["bigint"] | undefined | null, + buyer_address?: string | undefined | null, + chain_id?: string | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + id?: number | undefined | null, + rate?: number | undefined | null, + seller_address?: string | undefined | null, + token_id?: number | undefined | null, + total_usd?: number | undefined | null, + transaction_id?: number | undefined | null +}; + /** aggregate sum on columns */ +["token_trade_history_sum_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by sum() on columns of table "token_trade_history" */ - ["token_trade_history_sum_order_by"]: { - amount_base?: ResolverInputTypes["order_by"] | undefined | null, - amount_quote?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - rate?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total_usd?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_trade_history_sum_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** update columns of table "token_trade_history" */ +["token_trade_history_update_column"]:token_trade_history_update_column; + ["token_trade_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_trade_history_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_trade_history_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["token_trade_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_trade_history_var_pop_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_pop() on columns of table "token_trade_history" */ - ["token_trade_history_var_pop_order_by"]: { - amount_base?: ResolverInputTypes["order_by"] | undefined | null, - amount_quote?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - rate?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total_usd?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_trade_history_var_pop_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate var_samp on columns */ +["token_trade_history_var_samp_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by var_samp() on columns of table "token_trade_history" */ - ["token_trade_history_var_samp_order_by"]: { - amount_base?: ResolverInputTypes["order_by"] | undefined | null, - amount_quote?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - rate?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total_usd?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_trade_history_var_samp_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate variance on columns */ +["token_trade_history_variance_fields"]: AliasType<{ + amount_base?:boolean | `@${string}`, + amount_quote?:boolean | `@${string}`, + id?:boolean | `@${string}`, + rate?:boolean | `@${string}`, + token_id?:boolean | `@${string}`, + total_usd?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** order by variance() on columns of table "token_trade_history" */ - ["token_trade_history_variance_order_by"]: { - amount_base?: ResolverInputTypes["order_by"] | undefined | null, - amount_quote?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - rate?: ResolverInputTypes["order_by"] | undefined | null, - token_id?: ResolverInputTypes["order_by"] | undefined | null, - total_usd?: ResolverInputTypes["order_by"] | undefined | null, - transaction_id?: ResolverInputTypes["order_by"] | undefined | null - }; +["token_trade_history_variance_order_by"]: { + amount_base?: ResolverInputTypes["order_by"] | undefined | null, + amount_quote?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + rate?: ResolverInputTypes["order_by"] | undefined | null, + token_id?: ResolverInputTypes["order_by"] | undefined | null, + total_usd?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null +}; + /** update columns of table "token" */ +["token_update_column"]:token_update_column; + ["token_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["token_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["token_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["token_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_var_pop_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_pop() on columns of table "token" */ +["token_var_pop_order_by"]: { + circulating_supply?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + decimals?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + last_price_base?: ResolverInputTypes["order_by"] | undefined | null, + launch_timestamp?: ResolverInputTypes["order_by"] | undefined | null, + max_supply?: ResolverInputTypes["order_by"] | undefined | null, + per_mint_limit?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + volume_24_base?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate var_samp on columns */ +["token_var_samp_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by var_samp() on columns of table "token" */ +["token_var_samp_order_by"]: { + circulating_supply?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + decimals?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + last_price_base?: ResolverInputTypes["order_by"] | undefined | null, + launch_timestamp?: ResolverInputTypes["order_by"] | undefined | null, + max_supply?: ResolverInputTypes["order_by"] | undefined | null, + per_mint_limit?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + volume_24_base?: ResolverInputTypes["order_by"] | undefined | null +}; + /** aggregate variance on columns */ +["token_variance_fields"]: AliasType<{ + circulating_supply?:boolean | `@${string}`, + content_size_bytes?:boolean | `@${string}`, + decimals?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + last_price_base?:boolean | `@${string}`, + launch_timestamp?:boolean | `@${string}`, + max_supply?:boolean | `@${string}`, + per_mint_limit?:boolean | `@${string}`, + transaction_id?:boolean | `@${string}`, + volume_24_base?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** order by variance() on columns of table "token" */ +["token_variance_order_by"]: { + circulating_supply?: ResolverInputTypes["order_by"] | undefined | null, + content_size_bytes?: ResolverInputTypes["order_by"] | undefined | null, + decimals?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + last_price_base?: ResolverInputTypes["order_by"] | undefined | null, + launch_timestamp?: ResolverInputTypes["order_by"] | undefined | null, + max_supply?: ResolverInputTypes["order_by"] | undefined | null, + per_mint_limit?: ResolverInputTypes["order_by"] | undefined | null, + transaction_id?: ResolverInputTypes["order_by"] | undefined | null, + volume_24_base?: ResolverInputTypes["order_by"] | undefined | null +}; /** columns and relationships of "transaction" */ - ["transaction"]: AliasType<{ - content?: boolean | `@${string}`, - content_length?: boolean | `@${string}`, - date_created?: boolean | `@${string}`, - fees?: boolean | `@${string}`, - gas_used?: boolean | `@${string}`, - hash?: boolean | `@${string}`, - height?: boolean | `@${string}`, - id?: boolean | `@${string}`, - /** An object relationship */ - inscription?: ResolverInputTypes["inscription"], - /** An object relationship */ - inscription_history?: ResolverInputTypes["inscription_history"], - marketplace_listings?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null - }, ResolverInputTypes["marketplace_listing"]], - status_message?: boolean | `@${string}`, - /** An object relationship */ - token?: ResolverInputTypes["token"], - /** An object relationship */ - token_address_history?: ResolverInputTypes["token_address_history"], - token_open_positions?: [{ /** distinct select on columns */ - distinct_on?: Array | undefined | null, /** limit the number of rows returned */ - limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ - offset?: number | undefined | null, /** sort the rows by one or more columns */ - order_by?: Array | undefined | null, /** filter the rows returned */ - where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null - }, ResolverInputTypes["token_open_position"]], - /** An object relationship */ - token_trade_history?: ResolverInputTypes["token_trade_history"], - __typename?: boolean | `@${string}` - }>; +["transaction"]: AliasType<{ + content?:boolean | `@${string}`, + content_length?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + fees?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + hash?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, +inscription_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null},ResolverInputTypes["inscription_history"]], +inscription_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null},ResolverInputTypes["inscription_history_aggregate"]], +inscriptions?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_bool_exp"] | undefined | null},ResolverInputTypes["inscription"]], +inscriptions_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["inscription_bool_exp"] | undefined | null},ResolverInputTypes["inscription_aggregate"]], +marketplace_cft20_trade_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history"]], +marketplace_cft20_trade_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_cft20_trade_history_aggregate"]], +marketplace_listing_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing_history"]], +marketplace_listing_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing_history_aggregate"]], +marketplace_listings?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing"]], +marketplace_listings_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null},ResolverInputTypes["marketplace_listing_aggregate"]], + status_message?:boolean | `@${string}`, +token_address_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null},ResolverInputTypes["token_address_history"]], +token_address_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null},ResolverInputTypes["token_address_history_aggregate"]], +token_open_positions?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null},ResolverInputTypes["token_open_position"]], +token_open_positions_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null},ResolverInputTypes["token_open_position_aggregate"]], +token_trade_histories?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["token_trade_history"]], +token_trade_histories_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null},ResolverInputTypes["token_trade_history_aggregate"]], +tokens?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_bool_exp"] | undefined | null},ResolverInputTypes["token"]], +tokens_aggregate?: [{ /** distinct select on columns */ + distinct_on?: Array | undefined | null, /** limit the number of rows returned */ + limit?: number | undefined | null, /** skip the first n rows. Use only with order_by */ + offset?: number | undefined | null, /** sort the rows by one or more columns */ + order_by?: Array | undefined | null, /** filter the rows returned */ + where?: ResolverInputTypes["token_bool_exp"] | undefined | null},ResolverInputTypes["token_aggregate"]], + __typename?: boolean | `@${string}` +}>; + /** aggregated selection of "transaction" */ +["transaction_aggregate"]: AliasType<{ + aggregate?:ResolverInputTypes["transaction_aggregate_fields"], + nodes?:ResolverInputTypes["transaction"], + __typename?: boolean | `@${string}` +}>; + /** aggregate fields of "transaction" */ +["transaction_aggregate_fields"]: AliasType<{ + avg?:ResolverInputTypes["transaction_avg_fields"], +count?: [{ columns?: Array | undefined | null, distinct?: boolean | undefined | null},boolean | `@${string}`], + max?:ResolverInputTypes["transaction_max_fields"], + min?:ResolverInputTypes["transaction_min_fields"], + stddev?:ResolverInputTypes["transaction_stddev_fields"], + stddev_pop?:ResolverInputTypes["transaction_stddev_pop_fields"], + stddev_samp?:ResolverInputTypes["transaction_stddev_samp_fields"], + sum?:ResolverInputTypes["transaction_sum_fields"], + var_pop?:ResolverInputTypes["transaction_var_pop_fields"], + var_samp?:ResolverInputTypes["transaction_var_samp_fields"], + variance?:ResolverInputTypes["transaction_variance_fields"], + __typename?: boolean | `@${string}` +}>; + /** aggregate avg on columns */ +["transaction_avg_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** Boolean expression to filter rows from the table "transaction". All fields are combined with a logical 'AND'. */ - ["transaction_bool_exp"]: { - _and?: Array | undefined | null, - _not?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, - _or?: Array | undefined | null, - content?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - content_length?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, - fees?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - gas_used?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - hash?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, - inscription?: ResolverInputTypes["inscription_bool_exp"] | undefined | null, - inscription_history?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null, - marketplace_listings?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null, - status_message?: ResolverInputTypes["String_comparison_exp"] | undefined | null, - token?: ResolverInputTypes["token_bool_exp"] | undefined | null, - token_address_history?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null, - token_open_positions?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null, - token_trade_history?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null - }; +["transaction_bool_exp"]: { + _and?: Array | undefined | null, + _not?: ResolverInputTypes["transaction_bool_exp"] | undefined | null, + _or?: Array | undefined | null, + content?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + content_length?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + date_created?: ResolverInputTypes["timestamp_comparison_exp"] | undefined | null, + fees?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + gas_used?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + hash?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + height?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + id?: ResolverInputTypes["Int_comparison_exp"] | undefined | null, + inscription_histories?: ResolverInputTypes["inscription_history_bool_exp"] | undefined | null, + inscription_histories_aggregate?: ResolverInputTypes["inscription_history_aggregate_bool_exp"] | undefined | null, + inscriptions?: ResolverInputTypes["inscription_bool_exp"] | undefined | null, + inscriptions_aggregate?: ResolverInputTypes["inscription_aggregate_bool_exp"] | undefined | null, + marketplace_cft20_trade_histories?: ResolverInputTypes["marketplace_cft20_trade_history_bool_exp"] | undefined | null, + marketplace_cft20_trade_histories_aggregate?: ResolverInputTypes["marketplace_cft20_trade_history_aggregate_bool_exp"] | undefined | null, + marketplace_listing_histories?: ResolverInputTypes["marketplace_listing_history_bool_exp"] | undefined | null, + marketplace_listing_histories_aggregate?: ResolverInputTypes["marketplace_listing_history_aggregate_bool_exp"] | undefined | null, + marketplace_listings?: ResolverInputTypes["marketplace_listing_bool_exp"] | undefined | null, + marketplace_listings_aggregate?: ResolverInputTypes["marketplace_listing_aggregate_bool_exp"] | undefined | null, + status_message?: ResolverInputTypes["String_comparison_exp"] | undefined | null, + token_address_histories?: ResolverInputTypes["token_address_history_bool_exp"] | undefined | null, + token_address_histories_aggregate?: ResolverInputTypes["token_address_history_aggregate_bool_exp"] | undefined | null, + token_open_positions?: ResolverInputTypes["token_open_position_bool_exp"] | undefined | null, + token_open_positions_aggregate?: ResolverInputTypes["token_open_position_aggregate_bool_exp"] | undefined | null, + token_trade_histories?: ResolverInputTypes["token_trade_history_bool_exp"] | undefined | null, + token_trade_histories_aggregate?: ResolverInputTypes["token_trade_history_aggregate_bool_exp"] | undefined | null, + tokens?: ResolverInputTypes["token_bool_exp"] | undefined | null, + tokens_aggregate?: ResolverInputTypes["token_aggregate_bool_exp"] | undefined | null +}; + /** unique or primary key constraints on table "transaction" */ +["transaction_constraint"]:transaction_constraint; + /** input type for incrementing numeric columns in table "transaction" */ +["transaction_inc_input"]: { + content_length?: number | undefined | null, + gas_used?: number | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null +}; + /** input type for inserting data into table "transaction" */ +["transaction_insert_input"]: { + content?: string | undefined | null, + content_length?: number | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + fees?: string | undefined | null, + gas_used?: number | undefined | null, + hash?: string | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + inscription_histories?: ResolverInputTypes["inscription_history_arr_rel_insert_input"] | undefined | null, + inscriptions?: ResolverInputTypes["inscription_arr_rel_insert_input"] | undefined | null, + marketplace_cft20_trade_histories?: ResolverInputTypes["marketplace_cft20_trade_history_arr_rel_insert_input"] | undefined | null, + marketplace_listing_histories?: ResolverInputTypes["marketplace_listing_history_arr_rel_insert_input"] | undefined | null, + marketplace_listings?: ResolverInputTypes["marketplace_listing_arr_rel_insert_input"] | undefined | null, + status_message?: string | undefined | null, + token_address_histories?: ResolverInputTypes["token_address_history_arr_rel_insert_input"] | undefined | null, + token_open_positions?: ResolverInputTypes["token_open_position_arr_rel_insert_input"] | undefined | null, + token_trade_histories?: ResolverInputTypes["token_trade_history_arr_rel_insert_input"] | undefined | null, + tokens?: ResolverInputTypes["token_arr_rel_insert_input"] | undefined | null +}; + /** aggregate max on columns */ +["transaction_max_fields"]: AliasType<{ + content?:boolean | `@${string}`, + content_length?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + fees?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + hash?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + status_message?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate min on columns */ +["transaction_min_fields"]: AliasType<{ + content?:boolean | `@${string}`, + content_length?:boolean | `@${string}`, + date_created?:boolean | `@${string}`, + fees?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + hash?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + status_message?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** response of any mutation on the table "transaction" */ +["transaction_mutation_response"]: AliasType<{ + /** number of rows affected by the mutation */ + affected_rows?:boolean | `@${string}`, + /** data from the rows affected by the mutation */ + returning?:ResolverInputTypes["transaction"], + __typename?: boolean | `@${string}` +}>; + /** input type for inserting object relation for remote table "transaction" */ +["transaction_obj_rel_insert_input"]: { + data: ResolverInputTypes["transaction_insert_input"], + /** upsert condition */ + on_conflict?: ResolverInputTypes["transaction_on_conflict"] | undefined | null +}; + /** on_conflict condition type for table "transaction" */ +["transaction_on_conflict"]: { + constraint: ResolverInputTypes["transaction_constraint"], + update_columns: Array, + where?: ResolverInputTypes["transaction_bool_exp"] | undefined | null +}; /** Ordering options when selecting data from "transaction". */ - ["transaction_order_by"]: { - content?: ResolverInputTypes["order_by"] | undefined | null, - content_length?: ResolverInputTypes["order_by"] | undefined | null, - date_created?: ResolverInputTypes["order_by"] | undefined | null, - fees?: ResolverInputTypes["order_by"] | undefined | null, - gas_used?: ResolverInputTypes["order_by"] | undefined | null, - hash?: ResolverInputTypes["order_by"] | undefined | null, - height?: ResolverInputTypes["order_by"] | undefined | null, - id?: ResolverInputTypes["order_by"] | undefined | null, - inscription?: ResolverInputTypes["inscription_order_by"] | undefined | null, - inscription_history?: ResolverInputTypes["inscription_history_order_by"] | undefined | null, - marketplace_listings_aggregate?: ResolverInputTypes["marketplace_listing_aggregate_order_by"] | undefined | null, - status_message?: ResolverInputTypes["order_by"] | undefined | null, - token?: ResolverInputTypes["token_order_by"] | undefined | null, - token_address_history?: ResolverInputTypes["token_address_history_order_by"] | undefined | null, - token_open_positions_aggregate?: ResolverInputTypes["token_open_position_aggregate_order_by"] | undefined | null, - token_trade_history?: ResolverInputTypes["token_trade_history_order_by"] | undefined | null - }; +["transaction_order_by"]: { + content?: ResolverInputTypes["order_by"] | undefined | null, + content_length?: ResolverInputTypes["order_by"] | undefined | null, + date_created?: ResolverInputTypes["order_by"] | undefined | null, + fees?: ResolverInputTypes["order_by"] | undefined | null, + gas_used?: ResolverInputTypes["order_by"] | undefined | null, + hash?: ResolverInputTypes["order_by"] | undefined | null, + height?: ResolverInputTypes["order_by"] | undefined | null, + id?: ResolverInputTypes["order_by"] | undefined | null, + inscription_histories_aggregate?: ResolverInputTypes["inscription_history_aggregate_order_by"] | undefined | null, + inscriptions_aggregate?: ResolverInputTypes["inscription_aggregate_order_by"] | undefined | null, + marketplace_cft20_trade_histories_aggregate?: ResolverInputTypes["marketplace_cft20_trade_history_aggregate_order_by"] | undefined | null, + marketplace_listing_histories_aggregate?: ResolverInputTypes["marketplace_listing_history_aggregate_order_by"] | undefined | null, + marketplace_listings_aggregate?: ResolverInputTypes["marketplace_listing_aggregate_order_by"] | undefined | null, + status_message?: ResolverInputTypes["order_by"] | undefined | null, + token_address_histories_aggregate?: ResolverInputTypes["token_address_history_aggregate_order_by"] | undefined | null, + token_open_positions_aggregate?: ResolverInputTypes["token_open_position_aggregate_order_by"] | undefined | null, + token_trade_histories_aggregate?: ResolverInputTypes["token_trade_history_aggregate_order_by"] | undefined | null, + tokens_aggregate?: ResolverInputTypes["token_aggregate_order_by"] | undefined | null +}; + /** primary key columns input for table: transaction */ +["transaction_pk_columns_input"]: { + id: number +}; /** select columns of table "transaction" */ - ["transaction_select_column"]: transaction_select_column; +["transaction_select_column"]:transaction_select_column; + /** input type for updating data in table "transaction" */ +["transaction_set_input"]: { + content?: string | undefined | null, + content_length?: number | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + fees?: string | undefined | null, + gas_used?: number | undefined | null, + hash?: string | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + status_message?: string | undefined | null +}; + /** aggregate stddev on columns */ +["transaction_stddev_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate stddev_pop on columns */ +["transaction_stddev_pop_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate stddev_samp on columns */ +["transaction_stddev_samp_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; /** Streaming cursor of the table "transaction" */ - ["transaction_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ResolverInputTypes["transaction_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null - }; +["transaction_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ResolverInputTypes["transaction_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ResolverInputTypes["cursor_ordering"] | undefined | null +}; /** Initial value of the column from where the streaming should start */ - ["transaction_stream_cursor_value_input"]: { - content?: string | undefined | null, - content_length?: number | undefined | null, - date_created?: ResolverInputTypes["timestamp"] | undefined | null, - fees?: string | undefined | null, - gas_used?: number | undefined | null, - hash?: string | undefined | null, - height?: number | undefined | null, - id?: number | undefined | null, - status_message?: string | undefined | null - } -} +["transaction_stream_cursor_value_input"]: { + content?: string | undefined | null, + content_length?: number | undefined | null, + date_created?: ResolverInputTypes["timestamp"] | undefined | null, + fees?: string | undefined | null, + gas_used?: number | undefined | null, + hash?: string | undefined | null, + height?: number | undefined | null, + id?: number | undefined | null, + status_message?: string | undefined | null +}; + /** aggregate sum on columns */ +["transaction_sum_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** update columns of table "transaction" */ +["transaction_update_column"]:transaction_update_column; + ["transaction_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ResolverInputTypes["transaction_inc_input"] | undefined | null, + /** sets the columns of the filtered rows to the given values */ + _set?: ResolverInputTypes["transaction_set_input"] | undefined | null, + /** filter the rows which have to be updated */ + where: ResolverInputTypes["transaction_bool_exp"] +}; + /** aggregate var_pop on columns */ +["transaction_var_pop_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate var_samp on columns */ +["transaction_var_samp_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}>; + /** aggregate variance on columns */ +["transaction_variance_fields"]: AliasType<{ + content_length?:boolean | `@${string}`, + gas_used?:boolean | `@${string}`, + height?:boolean | `@${string}`, + id?:boolean | `@${string}`, + __typename?: boolean | `@${string}` +}> + } export type ModelTypes = { - ["schema"]: { - query?: ModelTypes["query_root"] | undefined, - subscription?: ModelTypes["subscription_root"] | undefined - }; + ["schema"]: { + query?: ModelTypes["query_root"] | undefined, + mutation?: ModelTypes["mutation_root"] | undefined, + subscription?: ModelTypes["subscription_root"] | undefined +}; /** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ - ["Boolean_comparison_exp"]: { - _eq?: boolean | undefined, - _gt?: boolean | undefined, - _gte?: boolean | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: boolean | undefined, - _lte?: boolean | undefined, - _neq?: boolean | undefined, - _nin?: Array | undefined - }; +["Boolean_comparison_exp"]: { + _eq?: boolean | undefined, + _gt?: boolean | undefined, + _gte?: boolean | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: boolean | undefined, + _lte?: boolean | undefined, + _neq?: boolean | undefined, + _nin?: Array | undefined +}; /** Boolean expression to compare columns of type "Float". All fields are combined with logical 'AND'. */ - ["Float_comparison_exp"]: { - _eq?: number | undefined, - _gt?: number | undefined, - _gte?: number | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: number | undefined, - _lte?: number | undefined, - _neq?: number | undefined, - _nin?: Array | undefined - }; +["Float_comparison_exp"]: { + _eq?: number | undefined, + _gt?: number | undefined, + _gte?: number | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: number | undefined, + _lte?: number | undefined, + _neq?: number | undefined, + _nin?: Array | undefined +}; /** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ - ["Int_comparison_exp"]: { - _eq?: number | undefined, - _gt?: number | undefined, - _gte?: number | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: number | undefined, - _lte?: number | undefined, - _neq?: number | undefined, - _nin?: Array | undefined - }; +["Int_comparison_exp"]: { + _eq?: number | undefined, + _gt?: number | undefined, + _gte?: number | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: number | undefined, + _lte?: number | undefined, + _neq?: number | undefined, + _nin?: Array | undefined +}; /** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ - ["String_comparison_exp"]: { - _eq?: string | undefined, - _gt?: string | undefined, - _gte?: string | undefined, - /** does the column match the given case-insensitive pattern */ - _ilike?: string | undefined, - _in?: Array | undefined, - /** does the column match the given POSIX regular expression, case insensitive */ - _iregex?: string | undefined, - _is_null?: boolean | undefined, - /** does the column match the given pattern */ - _like?: string | undefined, - _lt?: string | undefined, - _lte?: string | undefined, - _neq?: string | undefined, - /** does the column NOT match the given case-insensitive pattern */ - _nilike?: string | undefined, - _nin?: Array | undefined, - /** does the column NOT match the given POSIX regular expression, case insensitive */ - _niregex?: string | undefined, - /** does the column NOT match the given pattern */ - _nlike?: string | undefined, - /** does the column NOT match the given POSIX regular expression, case sensitive */ - _nregex?: string | undefined, - /** does the column NOT match the given SQL regular expression */ - _nsimilar?: string | undefined, - /** does the column match the given POSIX regular expression, case sensitive */ - _regex?: string | undefined, - /** does the column match the given SQL regular expression */ - _similar?: string | undefined - }; - ["bigint"]: any; +["String_comparison_exp"]: { + _eq?: string | undefined, + _gt?: string | undefined, + _gte?: string | undefined, + /** does the column match the given case-insensitive pattern */ + _ilike?: string | undefined, + _in?: Array | undefined, + /** does the column match the given POSIX regular expression, case insensitive */ + _iregex?: string | undefined, + _is_null?: boolean | undefined, + /** does the column match the given pattern */ + _like?: string | undefined, + _lt?: string | undefined, + _lte?: string | undefined, + _neq?: string | undefined, + /** does the column NOT match the given case-insensitive pattern */ + _nilike?: string | undefined, + _nin?: Array | undefined, + /** does the column NOT match the given POSIX regular expression, case insensitive */ + _niregex?: string | undefined, + /** does the column NOT match the given pattern */ + _nlike?: string | undefined, + /** does the column NOT match the given POSIX regular expression, case sensitive */ + _nregex?: string | undefined, + /** does the column NOT match the given SQL regular expression */ + _nsimilar?: string | undefined, + /** does the column match the given POSIX regular expression, case sensitive */ + _regex?: string | undefined, + /** does the column match the given SQL regular expression */ + _similar?: string | undefined +}; + ["bigint"]:any; /** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */ - ["bigint_comparison_exp"]: { - _eq?: ModelTypes["bigint"] | undefined, - _gt?: ModelTypes["bigint"] | undefined, - _gte?: ModelTypes["bigint"] | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: ModelTypes["bigint"] | undefined, - _lte?: ModelTypes["bigint"] | undefined, - _neq?: ModelTypes["bigint"] | undefined, - _nin?: Array | undefined - }; - ["cursor_ordering"]: cursor_ordering; +["bigint_comparison_exp"]: { + _eq?: ModelTypes["bigint"] | undefined, + _gt?: ModelTypes["bigint"] | undefined, + _gte?: ModelTypes["bigint"] | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: ModelTypes["bigint"] | undefined, + _lte?: ModelTypes["bigint"] | undefined, + _neq?: ModelTypes["bigint"] | undefined, + _nin?: Array | undefined +}; + ["cursor_ordering"]:cursor_ordering; /** columns and relationships of "inscription" */ - ["inscription"]: { +["inscription"]: { chain_id: string, - content_hash: string, - content_path: string, - content_size_bytes: number, - creator: string, - current_owner: string, - date_created: ModelTypes["timestamp"], - height: number, - id: number, - /** An array relationship */ - inscription_histories: Array, - is_explicit?: boolean | undefined, - metadata: ModelTypes["json"], - /** An object relationship */ - transaction: ModelTypes["transaction"], - transaction_id: number, - type: string, - version: string - }; + content_hash: string, + content_path: string, + content_size_bytes: number, + creator: string, + current_owner: string, + date_created: ModelTypes["timestamp"], + height: number, + id: number, + /** An array relationship */ + inscription_histories: Array, + /** An aggregate relationship */ + inscription_histories_aggregate: ModelTypes["inscription_history_aggregate"], + is_explicit?: boolean | undefined, + metadata: ModelTypes["json"], + /** An object relationship */ + transaction: ModelTypes["transaction"], + transaction_id: number, + type: string, + version: string +}; + /** aggregated selection of "inscription" */ +["inscription_aggregate"]: { + aggregate?: ModelTypes["inscription_aggregate_fields"] | undefined, + nodes: Array +}; + ["inscription_aggregate_bool_exp"]: { + bool_and?: ModelTypes["inscription_aggregate_bool_exp_bool_and"] | undefined, + bool_or?: ModelTypes["inscription_aggregate_bool_exp_bool_or"] | undefined, + count?: ModelTypes["inscription_aggregate_bool_exp_count"] | undefined +}; + ["inscription_aggregate_bool_exp_bool_and"]: { + arguments: ModelTypes["inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns"], + distinct?: boolean | undefined, + filter?: ModelTypes["inscription_bool_exp"] | undefined, + predicate: ModelTypes["Boolean_comparison_exp"] +}; + ["inscription_aggregate_bool_exp_bool_or"]: { + arguments: ModelTypes["inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns"], + distinct?: boolean | undefined, + filter?: ModelTypes["inscription_bool_exp"] | undefined, + predicate: ModelTypes["Boolean_comparison_exp"] +}; + ["inscription_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: ModelTypes["inscription_bool_exp"] | undefined, + predicate: ModelTypes["Int_comparison_exp"] +}; + /** aggregate fields of "inscription" */ +["inscription_aggregate_fields"]: { + avg?: ModelTypes["inscription_avg_fields"] | undefined, + count: number, + max?: ModelTypes["inscription_max_fields"] | undefined, + min?: ModelTypes["inscription_min_fields"] | undefined, + stddev?: ModelTypes["inscription_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["inscription_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["inscription_stddev_samp_fields"] | undefined, + sum?: ModelTypes["inscription_sum_fields"] | undefined, + var_pop?: ModelTypes["inscription_var_pop_fields"] | undefined, + var_samp?: ModelTypes["inscription_var_samp_fields"] | undefined, + variance?: ModelTypes["inscription_variance_fields"] | undefined +}; + /** order by aggregate values of table "inscription" */ +["inscription_aggregate_order_by"]: { + avg?: ModelTypes["inscription_avg_order_by"] | undefined, + count?: ModelTypes["order_by"] | undefined, + max?: ModelTypes["inscription_max_order_by"] | undefined, + min?: ModelTypes["inscription_min_order_by"] | undefined, + stddev?: ModelTypes["inscription_stddev_order_by"] | undefined, + stddev_pop?: ModelTypes["inscription_stddev_pop_order_by"] | undefined, + stddev_samp?: ModelTypes["inscription_stddev_samp_order_by"] | undefined, + sum?: ModelTypes["inscription_sum_order_by"] | undefined, + var_pop?: ModelTypes["inscription_var_pop_order_by"] | undefined, + var_samp?: ModelTypes["inscription_var_samp_order_by"] | undefined, + variance?: ModelTypes["inscription_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "inscription" */ +["inscription_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ModelTypes["inscription_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["inscription_avg_fields"]: { + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by avg() on columns of table "inscription" */ +["inscription_avg_order_by"]: { + content_size_bytes?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "inscription". All fields are combined with a logical 'AND'. */ - ["inscription_bool_exp"]: { - _and?: Array | undefined, - _not?: ModelTypes["inscription_bool_exp"] | undefined, - _or?: Array | undefined, - chain_id?: ModelTypes["String_comparison_exp"] | undefined, - content_hash?: ModelTypes["String_comparison_exp"] | undefined, - content_path?: ModelTypes["String_comparison_exp"] | undefined, - content_size_bytes?: ModelTypes["Int_comparison_exp"] | undefined, - creator?: ModelTypes["String_comparison_exp"] | undefined, - current_owner?: ModelTypes["String_comparison_exp"] | undefined, - date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, - height?: ModelTypes["Int_comparison_exp"] | undefined, - id?: ModelTypes["Int_comparison_exp"] | undefined, - inscription_histories?: ModelTypes["inscription_history_bool_exp"] | undefined, - is_explicit?: ModelTypes["Boolean_comparison_exp"] | undefined, - metadata?: ModelTypes["json_comparison_exp"] | undefined, - transaction?: ModelTypes["transaction_bool_exp"] | undefined, - transaction_id?: ModelTypes["Int_comparison_exp"] | undefined, - type?: ModelTypes["String_comparison_exp"] | undefined, - version?: ModelTypes["String_comparison_exp"] | undefined - }; +["inscription_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["inscription_bool_exp"] | undefined, + _or?: Array | undefined, + chain_id?: ModelTypes["String_comparison_exp"] | undefined, + content_hash?: ModelTypes["String_comparison_exp"] | undefined, + content_path?: ModelTypes["String_comparison_exp"] | undefined, + content_size_bytes?: ModelTypes["Int_comparison_exp"] | undefined, + creator?: ModelTypes["String_comparison_exp"] | undefined, + current_owner?: ModelTypes["String_comparison_exp"] | undefined, + date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, + height?: ModelTypes["Int_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + inscription_histories?: ModelTypes["inscription_history_bool_exp"] | undefined, + inscription_histories_aggregate?: ModelTypes["inscription_history_aggregate_bool_exp"] | undefined, + is_explicit?: ModelTypes["Boolean_comparison_exp"] | undefined, + metadata?: ModelTypes["json_comparison_exp"] | undefined, + transaction?: ModelTypes["transaction_bool_exp"] | undefined, + transaction_id?: ModelTypes["Int_comparison_exp"] | undefined, + type?: ModelTypes["String_comparison_exp"] | undefined, + version?: ModelTypes["String_comparison_exp"] | undefined +}; + ["inscription_constraint"]:inscription_constraint; /** columns and relationships of "inscription_history" */ - ["inscription_history"]: { +["inscription_history"]: { action: string, - chain_id: string, - date_created: ModelTypes["timestamp"], - height: number, - id: number, - /** An object relationship */ - inscription: ModelTypes["inscription"], - inscription_id: number, - receiver?: string | undefined, - sender: string, - /** An object relationship */ - transaction: ModelTypes["transaction"], - transaction_id: number - }; + chain_id: string, + date_created: ModelTypes["timestamp"], + height: number, + id: number, + /** An object relationship */ + inscription: ModelTypes["inscription"], + inscription_id: number, + receiver?: string | undefined, + sender: string, + /** An object relationship */ + transaction: ModelTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "inscription_history" */ +["inscription_history_aggregate"]: { + aggregate?: ModelTypes["inscription_history_aggregate_fields"] | undefined, + nodes: Array +}; + ["inscription_history_aggregate_bool_exp"]: { + count?: ModelTypes["inscription_history_aggregate_bool_exp_count"] | undefined +}; + ["inscription_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: ModelTypes["inscription_history_bool_exp"] | undefined, + predicate: ModelTypes["Int_comparison_exp"] +}; + /** aggregate fields of "inscription_history" */ +["inscription_history_aggregate_fields"]: { + avg?: ModelTypes["inscription_history_avg_fields"] | undefined, + count: number, + max?: ModelTypes["inscription_history_max_fields"] | undefined, + min?: ModelTypes["inscription_history_min_fields"] | undefined, + stddev?: ModelTypes["inscription_history_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["inscription_history_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["inscription_history_stddev_samp_fields"] | undefined, + sum?: ModelTypes["inscription_history_sum_fields"] | undefined, + var_pop?: ModelTypes["inscription_history_var_pop_fields"] | undefined, + var_samp?: ModelTypes["inscription_history_var_samp_fields"] | undefined, + variance?: ModelTypes["inscription_history_variance_fields"] | undefined +}; /** order by aggregate values of table "inscription_history" */ - ["inscription_history_aggregate_order_by"]: { - avg?: ModelTypes["inscription_history_avg_order_by"] | undefined, - count?: ModelTypes["order_by"] | undefined, - max?: ModelTypes["inscription_history_max_order_by"] | undefined, - min?: ModelTypes["inscription_history_min_order_by"] | undefined, - stddev?: ModelTypes["inscription_history_stddev_order_by"] | undefined, - stddev_pop?: ModelTypes["inscription_history_stddev_pop_order_by"] | undefined, - stddev_samp?: ModelTypes["inscription_history_stddev_samp_order_by"] | undefined, - sum?: ModelTypes["inscription_history_sum_order_by"] | undefined, - var_pop?: ModelTypes["inscription_history_var_pop_order_by"] | undefined, - var_samp?: ModelTypes["inscription_history_var_samp_order_by"] | undefined, - variance?: ModelTypes["inscription_history_variance_order_by"] | undefined - }; +["inscription_history_aggregate_order_by"]: { + avg?: ModelTypes["inscription_history_avg_order_by"] | undefined, + count?: ModelTypes["order_by"] | undefined, + max?: ModelTypes["inscription_history_max_order_by"] | undefined, + min?: ModelTypes["inscription_history_min_order_by"] | undefined, + stddev?: ModelTypes["inscription_history_stddev_order_by"] | undefined, + stddev_pop?: ModelTypes["inscription_history_stddev_pop_order_by"] | undefined, + stddev_samp?: ModelTypes["inscription_history_stddev_samp_order_by"] | undefined, + sum?: ModelTypes["inscription_history_sum_order_by"] | undefined, + var_pop?: ModelTypes["inscription_history_var_pop_order_by"] | undefined, + var_samp?: ModelTypes["inscription_history_var_samp_order_by"] | undefined, + variance?: ModelTypes["inscription_history_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "inscription_history" */ +["inscription_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ModelTypes["inscription_history_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["inscription_history_avg_fields"]: { + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by avg() on columns of table "inscription_history" */ - ["inscription_history_avg_order_by"]: { - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["inscription_history_avg_order_by"]: { + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "inscription_history". All fields are combined with a logical 'AND'. */ - ["inscription_history_bool_exp"]: { - _and?: Array | undefined, - _not?: ModelTypes["inscription_history_bool_exp"] | undefined, - _or?: Array | undefined, - action?: ModelTypes["String_comparison_exp"] | undefined, - chain_id?: ModelTypes["String_comparison_exp"] | undefined, - date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, - height?: ModelTypes["Int_comparison_exp"] | undefined, - id?: ModelTypes["Int_comparison_exp"] | undefined, - inscription?: ModelTypes["inscription_bool_exp"] | undefined, - inscription_id?: ModelTypes["Int_comparison_exp"] | undefined, - receiver?: ModelTypes["String_comparison_exp"] | undefined, - sender?: ModelTypes["String_comparison_exp"] | undefined, - transaction?: ModelTypes["transaction_bool_exp"] | undefined, - transaction_id?: ModelTypes["Int_comparison_exp"] | undefined - }; +["inscription_history_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["inscription_history_bool_exp"] | undefined, + _or?: Array | undefined, + action?: ModelTypes["String_comparison_exp"] | undefined, + chain_id?: ModelTypes["String_comparison_exp"] | undefined, + date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, + height?: ModelTypes["Int_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + inscription?: ModelTypes["inscription_bool_exp"] | undefined, + inscription_id?: ModelTypes["Int_comparison_exp"] | undefined, + receiver?: ModelTypes["String_comparison_exp"] | undefined, + sender?: ModelTypes["String_comparison_exp"] | undefined, + transaction?: ModelTypes["transaction_bool_exp"] | undefined, + transaction_id?: ModelTypes["Int_comparison_exp"] | undefined +}; + ["inscription_history_constraint"]:inscription_history_constraint; + /** input type for incrementing numeric columns in table "inscription_history" */ +["inscription_history_inc_input"]: { + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "inscription_history" */ +["inscription_history_insert_input"]: { + action?: string | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + inscription?: ModelTypes["inscription_obj_rel_insert_input"] | undefined, + inscription_id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + transaction?: ModelTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["inscription_history_max_fields"]: { + action?: string | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + transaction_id?: number | undefined +}; /** order by max() on columns of table "inscription_history" */ - ["inscription_history_max_order_by"]: { - action?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription_id?: ModelTypes["order_by"] | undefined, - receiver?: ModelTypes["order_by"] | undefined, - sender?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["inscription_history_max_order_by"]: { + action?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription_id?: ModelTypes["order_by"] | undefined, + receiver?: ModelTypes["order_by"] | undefined, + sender?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["inscription_history_min_fields"]: { + action?: string | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + transaction_id?: number | undefined +}; /** order by min() on columns of table "inscription_history" */ - ["inscription_history_min_order_by"]: { - action?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription_id?: ModelTypes["order_by"] | undefined, - receiver?: ModelTypes["order_by"] | undefined, - sender?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["inscription_history_min_order_by"]: { + action?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription_id?: ModelTypes["order_by"] | undefined, + receiver?: ModelTypes["order_by"] | undefined, + sender?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** response of any mutation on the table "inscription_history" */ +["inscription_history_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "inscription_history" */ +["inscription_history_on_conflict"]: { + constraint: ModelTypes["inscription_history_constraint"], + update_columns: Array, + where?: ModelTypes["inscription_history_bool_exp"] | undefined +}; /** Ordering options when selecting data from "inscription_history". */ - ["inscription_history_order_by"]: { - action?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription?: ModelTypes["inscription_order_by"] | undefined, - inscription_id?: ModelTypes["order_by"] | undefined, - receiver?: ModelTypes["order_by"] | undefined, - sender?: ModelTypes["order_by"] | undefined, - transaction?: ModelTypes["transaction_order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - ["inscription_history_select_column"]: inscription_history_select_column; +["inscription_history_order_by"]: { + action?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription?: ModelTypes["inscription_order_by"] | undefined, + inscription_id?: ModelTypes["order_by"] | undefined, + receiver?: ModelTypes["order_by"] | undefined, + sender?: ModelTypes["order_by"] | undefined, + transaction?: ModelTypes["transaction_order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** primary key columns input for table: inscription_history */ +["inscription_history_pk_columns_input"]: { + id: number +}; + ["inscription_history_select_column"]:inscription_history_select_column; + /** input type for updating data in table "inscription_history" */ +["inscription_history_set_input"]: { + action?: string | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["inscription_history_stddev_fields"]: { + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev() on columns of table "inscription_history" */ - ["inscription_history_stddev_order_by"]: { - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["inscription_history_stddev_order_by"]: { + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["inscription_history_stddev_pop_fields"]: { + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_pop() on columns of table "inscription_history" */ - ["inscription_history_stddev_pop_order_by"]: { - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["inscription_history_stddev_pop_order_by"]: { + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["inscription_history_stddev_samp_fields"]: { + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_samp() on columns of table "inscription_history" */ - ["inscription_history_stddev_samp_order_by"]: { - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["inscription_history_stddev_samp_order_by"]: { + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** Streaming cursor of the table "inscription_history" */ - ["inscription_history_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ModelTypes["inscription_history_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ModelTypes["cursor_ordering"] | undefined - }; +["inscription_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["inscription_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["inscription_history_stream_cursor_value_input"]: { - action?: string | undefined, - chain_id?: string | undefined, - date_created?: ModelTypes["timestamp"] | undefined, +["inscription_history_stream_cursor_value_input"]: { + action?: string | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["inscription_history_sum_fields"]: { height?: number | undefined, - id?: number | undefined, - inscription_id?: number | undefined, - receiver?: string | undefined, - sender?: string | undefined, - transaction_id?: number | undefined - }; + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by sum() on columns of table "inscription_history" */ - ["inscription_history_sum_order_by"]: { - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["inscription_history_sum_order_by"]: { + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + ["inscription_history_update_column"]:inscription_history_update_column; + ["inscription_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["inscription_history_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["inscription_history_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["inscription_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["inscription_history_var_pop_fields"]: { + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_pop() on columns of table "inscription_history" */ - ["inscription_history_var_pop_order_by"]: { - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["inscription_history_var_pop_order_by"]: { + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["inscription_history_var_samp_fields"]: { + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_samp() on columns of table "inscription_history" */ - ["inscription_history_var_samp_order_by"]: { - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["inscription_history_var_samp_order_by"]: { + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["inscription_history_variance_fields"]: { + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by variance() on columns of table "inscription_history" */ - ["inscription_history_variance_order_by"]: { - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["inscription_history_variance_order_by"]: { + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** input type for incrementing numeric columns in table "inscription" */ +["inscription_inc_input"]: { + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "inscription" */ +["inscription_insert_input"]: { + chain_id?: string | undefined, + content_hash?: string | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + inscription_histories?: ModelTypes["inscription_history_arr_rel_insert_input"] | undefined, + is_explicit?: boolean | undefined, + metadata?: ModelTypes["json"] | undefined, + transaction?: ModelTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined, + type?: string | undefined, + version?: string | undefined +}; + /** aggregate max on columns */ +["inscription_max_fields"]: { + chain_id?: string | undefined, + content_hash?: string | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined, + type?: string | undefined, + version?: string | undefined +}; + /** order by max() on columns of table "inscription" */ +["inscription_max_order_by"]: { + chain_id?: ModelTypes["order_by"] | undefined, + content_hash?: ModelTypes["order_by"] | undefined, + content_path?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + creator?: ModelTypes["order_by"] | undefined, + current_owner?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + type?: ModelTypes["order_by"] | undefined, + version?: ModelTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["inscription_min_fields"]: { + chain_id?: string | undefined, + content_hash?: string | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined, + type?: string | undefined, + version?: string | undefined +}; + /** order by min() on columns of table "inscription" */ +["inscription_min_order_by"]: { + chain_id?: ModelTypes["order_by"] | undefined, + content_hash?: ModelTypes["order_by"] | undefined, + content_path?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + creator?: ModelTypes["order_by"] | undefined, + current_owner?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + type?: ModelTypes["order_by"] | undefined, + version?: ModelTypes["order_by"] | undefined +}; + /** response of any mutation on the table "inscription" */ +["inscription_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** input type for inserting object relation for remote table "inscription" */ +["inscription_obj_rel_insert_input"]: { + data: ModelTypes["inscription_insert_input"], + /** upsert condition */ + on_conflict?: ModelTypes["inscription_on_conflict"] | undefined +}; + /** on_conflict condition type for table "inscription" */ +["inscription_on_conflict"]: { + constraint: ModelTypes["inscription_constraint"], + update_columns: Array, + where?: ModelTypes["inscription_bool_exp"] | undefined +}; /** Ordering options when selecting data from "inscription". */ - ["inscription_order_by"]: { - chain_id?: ModelTypes["order_by"] | undefined, - content_hash?: ModelTypes["order_by"] | undefined, - content_path?: ModelTypes["order_by"] | undefined, - content_size_bytes?: ModelTypes["order_by"] | undefined, - creator?: ModelTypes["order_by"] | undefined, - current_owner?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription_histories_aggregate?: ModelTypes["inscription_history_aggregate_order_by"] | undefined, - is_explicit?: ModelTypes["order_by"] | undefined, - metadata?: ModelTypes["order_by"] | undefined, - transaction?: ModelTypes["transaction_order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined, - type?: ModelTypes["order_by"] | undefined, - version?: ModelTypes["order_by"] | undefined - }; - ["inscription_select_column"]: inscription_select_column; +["inscription_order_by"]: { + chain_id?: ModelTypes["order_by"] | undefined, + content_hash?: ModelTypes["order_by"] | undefined, + content_path?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + creator?: ModelTypes["order_by"] | undefined, + current_owner?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription_histories_aggregate?: ModelTypes["inscription_history_aggregate_order_by"] | undefined, + is_explicit?: ModelTypes["order_by"] | undefined, + metadata?: ModelTypes["order_by"] | undefined, + transaction?: ModelTypes["transaction_order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + type?: ModelTypes["order_by"] | undefined, + version?: ModelTypes["order_by"] | undefined +}; + /** primary key columns input for table: inscription */ +["inscription_pk_columns_input"]: { + id: number +}; + ["inscription_select_column"]:inscription_select_column; + ["inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns"]:inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns; + ["inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns"]:inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "inscription" */ +["inscription_set_input"]: { + chain_id?: string | undefined, + content_hash?: string | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + is_explicit?: boolean | undefined, + metadata?: ModelTypes["json"] | undefined, + transaction_id?: number | undefined, + type?: string | undefined, + version?: string | undefined +}; + /** aggregate stddev on columns */ +["inscription_stddev_fields"]: { + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev() on columns of table "inscription" */ +["inscription_stddev_order_by"]: { + content_size_bytes?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["inscription_stddev_pop_fields"]: { + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_pop() on columns of table "inscription" */ +["inscription_stddev_pop_order_by"]: { + content_size_bytes?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["inscription_stddev_samp_fields"]: { + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_samp() on columns of table "inscription" */ +["inscription_stddev_samp_order_by"]: { + content_size_bytes?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** Streaming cursor of the table "inscription" */ - ["inscription_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ModelTypes["inscription_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ModelTypes["cursor_ordering"] | undefined - }; +["inscription_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["inscription_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["inscription_stream_cursor_value_input"]: { - chain_id?: string | undefined, - content_hash?: string | undefined, - content_path?: string | undefined, +["inscription_stream_cursor_value_input"]: { + chain_id?: string | undefined, + content_hash?: string | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + is_explicit?: boolean | undefined, + metadata?: ModelTypes["json"] | undefined, + transaction_id?: number | undefined, + type?: string | undefined, + version?: string | undefined +}; + /** aggregate sum on columns */ +["inscription_sum_fields"]: { content_size_bytes?: number | undefined, - creator?: string | undefined, - current_owner?: string | undefined, - date_created?: ModelTypes["timestamp"] | undefined, - height?: number | undefined, - id?: number | undefined, - is_explicit?: boolean | undefined, - metadata?: ModelTypes["json"] | undefined, - transaction_id?: number | undefined, - type?: string | undefined, - version?: string | undefined - }; - ["json"]: any; + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by sum() on columns of table "inscription" */ +["inscription_sum_order_by"]: { + content_size_bytes?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + ["inscription_update_column"]:inscription_update_column; + ["inscription_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["inscription_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["inscription_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["inscription_bool_exp"] +}; + /** aggregate var_pop on columns */ +["inscription_var_pop_fields"]: { + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_pop() on columns of table "inscription" */ +["inscription_var_pop_order_by"]: { + content_size_bytes?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["inscription_var_samp_fields"]: { + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_samp() on columns of table "inscription" */ +["inscription_var_samp_order_by"]: { + content_size_bytes?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["inscription_variance_fields"]: { + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by variance() on columns of table "inscription" */ +["inscription_variance_order_by"]: { + content_size_bytes?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + ["json"]:any; /** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ - ["json_comparison_exp"]: { - _eq?: ModelTypes["json"] | undefined, - _gt?: ModelTypes["json"] | undefined, - _gte?: ModelTypes["json"] | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: ModelTypes["json"] | undefined, - _lte?: ModelTypes["json"] | undefined, - _neq?: ModelTypes["json"] | undefined, - _nin?: Array | undefined - }; +["json_comparison_exp"]: { + _eq?: ModelTypes["json"] | undefined, + _gt?: ModelTypes["json"] | undefined, + _gte?: ModelTypes["json"] | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: ModelTypes["json"] | undefined, + _lte?: ModelTypes["json"] | undefined, + _neq?: ModelTypes["json"] | undefined, + _nin?: Array | undefined +}; /** columns and relationships of "marketplace_cft20_detail" */ - ["marketplace_cft20_detail"]: { +["marketplace_cft20_detail"]: { amount: ModelTypes["bigint"], - date_created: ModelTypes["timestamp"], - id: number, - listing_id: number, - /** An object relationship */ - marketplace_listing: ModelTypes["marketplace_listing"], - ppt: ModelTypes["bigint"], - /** An object relationship */ - token: ModelTypes["token"], - token_id: number - }; + date_created: ModelTypes["timestamp"], + id: number, + listing_id: number, + /** An object relationship */ + marketplace_listing: ModelTypes["marketplace_listing"], + ppt: ModelTypes["bigint"], + /** An object relationship */ + token: ModelTypes["token"], + token_id: number +}; + /** aggregated selection of "marketplace_cft20_detail" */ +["marketplace_cft20_detail_aggregate"]: { + aggregate?: ModelTypes["marketplace_cft20_detail_aggregate_fields"] | undefined, + nodes: Array +}; + ["marketplace_cft20_detail_aggregate_bool_exp"]: { + count?: ModelTypes["marketplace_cft20_detail_aggregate_bool_exp_count"] | undefined +}; + ["marketplace_cft20_detail_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: ModelTypes["marketplace_cft20_detail_bool_exp"] | undefined, + predicate: ModelTypes["Int_comparison_exp"] +}; + /** aggregate fields of "marketplace_cft20_detail" */ +["marketplace_cft20_detail_aggregate_fields"]: { + avg?: ModelTypes["marketplace_cft20_detail_avg_fields"] | undefined, + count: number, + max?: ModelTypes["marketplace_cft20_detail_max_fields"] | undefined, + min?: ModelTypes["marketplace_cft20_detail_min_fields"] | undefined, + stddev?: ModelTypes["marketplace_cft20_detail_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["marketplace_cft20_detail_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["marketplace_cft20_detail_stddev_samp_fields"] | undefined, + sum?: ModelTypes["marketplace_cft20_detail_sum_fields"] | undefined, + var_pop?: ModelTypes["marketplace_cft20_detail_var_pop_fields"] | undefined, + var_samp?: ModelTypes["marketplace_cft20_detail_var_samp_fields"] | undefined, + variance?: ModelTypes["marketplace_cft20_detail_variance_fields"] | undefined +}; /** order by aggregate values of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_aggregate_order_by"]: { - avg?: ModelTypes["marketplace_cft20_detail_avg_order_by"] | undefined, - count?: ModelTypes["order_by"] | undefined, - max?: ModelTypes["marketplace_cft20_detail_max_order_by"] | undefined, - min?: ModelTypes["marketplace_cft20_detail_min_order_by"] | undefined, - stddev?: ModelTypes["marketplace_cft20_detail_stddev_order_by"] | undefined, - stddev_pop?: ModelTypes["marketplace_cft20_detail_stddev_pop_order_by"] | undefined, - stddev_samp?: ModelTypes["marketplace_cft20_detail_stddev_samp_order_by"] | undefined, - sum?: ModelTypes["marketplace_cft20_detail_sum_order_by"] | undefined, - var_pop?: ModelTypes["marketplace_cft20_detail_var_pop_order_by"] | undefined, - var_samp?: ModelTypes["marketplace_cft20_detail_var_samp_order_by"] | undefined, - variance?: ModelTypes["marketplace_cft20_detail_variance_order_by"] | undefined - }; +["marketplace_cft20_detail_aggregate_order_by"]: { + avg?: ModelTypes["marketplace_cft20_detail_avg_order_by"] | undefined, + count?: ModelTypes["order_by"] | undefined, + max?: ModelTypes["marketplace_cft20_detail_max_order_by"] | undefined, + min?: ModelTypes["marketplace_cft20_detail_min_order_by"] | undefined, + stddev?: ModelTypes["marketplace_cft20_detail_stddev_order_by"] | undefined, + stddev_pop?: ModelTypes["marketplace_cft20_detail_stddev_pop_order_by"] | undefined, + stddev_samp?: ModelTypes["marketplace_cft20_detail_stddev_samp_order_by"] | undefined, + sum?: ModelTypes["marketplace_cft20_detail_sum_order_by"] | undefined, + var_pop?: ModelTypes["marketplace_cft20_detail_var_pop_order_by"] | undefined, + var_samp?: ModelTypes["marketplace_cft20_detail_var_samp_order_by"] | undefined, + variance?: ModelTypes["marketplace_cft20_detail_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ModelTypes["marketplace_cft20_detail_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["marketplace_cft20_detail_avg_fields"]: { + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; /** order by avg() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_avg_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - listing_id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["marketplace_cft20_detail_avg_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "marketplace_cft20_detail". All fields are combined with a logical 'AND'. */ - ["marketplace_cft20_detail_bool_exp"]: { - _and?: Array | undefined, - _not?: ModelTypes["marketplace_cft20_detail_bool_exp"] | undefined, - _or?: Array | undefined, - amount?: ModelTypes["bigint_comparison_exp"] | undefined, - date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, - id?: ModelTypes["Int_comparison_exp"] | undefined, - listing_id?: ModelTypes["Int_comparison_exp"] | undefined, - marketplace_listing?: ModelTypes["marketplace_listing_bool_exp"] | undefined, - ppt?: ModelTypes["bigint_comparison_exp"] | undefined, - token?: ModelTypes["token_bool_exp"] | undefined, - token_id?: ModelTypes["Int_comparison_exp"] | undefined - }; +["marketplace_cft20_detail_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["marketplace_cft20_detail_bool_exp"] | undefined, + _or?: Array | undefined, + amount?: ModelTypes["bigint_comparison_exp"] | undefined, + date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + listing_id?: ModelTypes["Int_comparison_exp"] | undefined, + marketplace_listing?: ModelTypes["marketplace_listing_bool_exp"] | undefined, + ppt?: ModelTypes["bigint_comparison_exp"] | undefined, + token?: ModelTypes["token_bool_exp"] | undefined, + token_id?: ModelTypes["Int_comparison_exp"] | undefined +}; + ["marketplace_cft20_detail_constraint"]:marketplace_cft20_detail_constraint; + /** input type for incrementing numeric columns in table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_inc_input"]: { + amount?: ModelTypes["bigint"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: ModelTypes["bigint"] | undefined, + token_id?: number | undefined +}; + /** input type for inserting data into table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_insert_input"]: { + amount?: ModelTypes["bigint"] | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + marketplace_listing?: ModelTypes["marketplace_listing_obj_rel_insert_input"] | undefined, + ppt?: ModelTypes["bigint"] | undefined, + token?: ModelTypes["token_obj_rel_insert_input"] | undefined, + token_id?: number | undefined +}; + /** aggregate max on columns */ +["marketplace_cft20_detail_max_fields"]: { + amount?: ModelTypes["bigint"] | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: ModelTypes["bigint"] | undefined, + token_id?: number | undefined +}; /** order by max() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_max_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - listing_id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["marketplace_cft20_detail_max_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["marketplace_cft20_detail_min_fields"]: { + amount?: ModelTypes["bigint"] | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: ModelTypes["bigint"] | undefined, + token_id?: number | undefined +}; /** order by min() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_min_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - listing_id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["marketplace_cft20_detail_min_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** response of any mutation on the table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_on_conflict"]: { + constraint: ModelTypes["marketplace_cft20_detail_constraint"], + update_columns: Array, + where?: ModelTypes["marketplace_cft20_detail_bool_exp"] | undefined +}; /** Ordering options when selecting data from "marketplace_cft20_detail". */ - ["marketplace_cft20_detail_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - listing_id?: ModelTypes["order_by"] | undefined, - marketplace_listing?: ModelTypes["marketplace_listing_order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - token?: ModelTypes["token_order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; - ["marketplace_cft20_detail_select_column"]: marketplace_cft20_detail_select_column; +["marketplace_cft20_detail_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + marketplace_listing?: ModelTypes["marketplace_listing_order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token?: ModelTypes["token_order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** primary key columns input for table: marketplace_cft20_detail */ +["marketplace_cft20_detail_pk_columns_input"]: { + id: number +}; + ["marketplace_cft20_detail_select_column"]:marketplace_cft20_detail_select_column; + /** input type for updating data in table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_set_input"]: { + amount?: ModelTypes["bigint"] | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: ModelTypes["bigint"] | undefined, + token_id?: number | undefined +}; + /** aggregate stddev on columns */ +["marketplace_cft20_detail_stddev_fields"]: { + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; /** order by stddev() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stddev_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - listing_id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["marketplace_cft20_detail_stddev_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["marketplace_cft20_detail_stddev_pop_fields"]: { + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; /** order by stddev_pop() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stddev_pop_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - listing_id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["marketplace_cft20_detail_stddev_pop_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["marketplace_cft20_detail_stddev_samp_fields"]: { + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; /** order by stddev_samp() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stddev_samp_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - listing_id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["marketplace_cft20_detail_stddev_samp_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; /** Streaming cursor of the table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ModelTypes["marketplace_cft20_detail_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ModelTypes["cursor_ordering"] | undefined - }; +["marketplace_cft20_detail_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["marketplace_cft20_detail_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["marketplace_cft20_detail_stream_cursor_value_input"]: { +["marketplace_cft20_detail_stream_cursor_value_input"]: { + amount?: ModelTypes["bigint"] | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: ModelTypes["bigint"] | undefined, + token_id?: number | undefined +}; + /** aggregate sum on columns */ +["marketplace_cft20_detail_sum_fields"]: { amount?: ModelTypes["bigint"] | undefined, - date_created?: ModelTypes["timestamp"] | undefined, - id?: number | undefined, - listing_id?: number | undefined, - ppt?: ModelTypes["bigint"] | undefined, - token_id?: number | undefined - }; + id?: number | undefined, + listing_id?: number | undefined, + ppt?: ModelTypes["bigint"] | undefined, + token_id?: number | undefined +}; /** order by sum() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_sum_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - listing_id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["marketplace_cft20_detail_sum_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + ["marketplace_cft20_detail_update_column"]:marketplace_cft20_detail_update_column; + ["marketplace_cft20_detail_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["marketplace_cft20_detail_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["marketplace_cft20_detail_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["marketplace_cft20_detail_bool_exp"] +}; + /** aggregate var_pop on columns */ +["marketplace_cft20_detail_var_pop_fields"]: { + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; /** order by var_pop() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_var_pop_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - listing_id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["marketplace_cft20_detail_var_pop_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["marketplace_cft20_detail_var_samp_fields"]: { + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; /** order by var_samp() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_var_samp_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - listing_id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["marketplace_cft20_detail_var_samp_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["marketplace_cft20_detail_variance_fields"]: { + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; /** order by variance() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_variance_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - listing_id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["marketplace_cft20_detail_variance_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** columns and relationships of "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history"]: { + amount_base: ModelTypes["bigint"], + amount_quote: ModelTypes["bigint"], + buyer_address?: string | undefined, + date_created: ModelTypes["timestamp"], + id: number, + listing_id: number, + /** An object relationship */ + marketplace_listing: ModelTypes["marketplace_listing"], + rate: number, + seller_address: string, + /** An object relationship */ + token: ModelTypes["token"], + token_id: number, + total_usd: number, + /** An object relationship */ + transaction: ModelTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_aggregate"]: { + aggregate?: ModelTypes["marketplace_cft20_trade_history_aggregate_fields"] | undefined, + nodes: Array +}; + ["marketplace_cft20_trade_history_aggregate_bool_exp"]: { + count?: ModelTypes["marketplace_cft20_trade_history_aggregate_bool_exp_count"] | undefined +}; + ["marketplace_cft20_trade_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: ModelTypes["marketplace_cft20_trade_history_bool_exp"] | undefined, + predicate: ModelTypes["Int_comparison_exp"] +}; + /** aggregate fields of "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_aggregate_fields"]: { + avg?: ModelTypes["marketplace_cft20_trade_history_avg_fields"] | undefined, + count: number, + max?: ModelTypes["marketplace_cft20_trade_history_max_fields"] | undefined, + min?: ModelTypes["marketplace_cft20_trade_history_min_fields"] | undefined, + stddev?: ModelTypes["marketplace_cft20_trade_history_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["marketplace_cft20_trade_history_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["marketplace_cft20_trade_history_stddev_samp_fields"] | undefined, + sum?: ModelTypes["marketplace_cft20_trade_history_sum_fields"] | undefined, + var_pop?: ModelTypes["marketplace_cft20_trade_history_var_pop_fields"] | undefined, + var_samp?: ModelTypes["marketplace_cft20_trade_history_var_samp_fields"] | undefined, + variance?: ModelTypes["marketplace_cft20_trade_history_variance_fields"] | undefined +}; + /** order by aggregate values of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_aggregate_order_by"]: { + avg?: ModelTypes["marketplace_cft20_trade_history_avg_order_by"] | undefined, + count?: ModelTypes["order_by"] | undefined, + max?: ModelTypes["marketplace_cft20_trade_history_max_order_by"] | undefined, + min?: ModelTypes["marketplace_cft20_trade_history_min_order_by"] | undefined, + stddev?: ModelTypes["marketplace_cft20_trade_history_stddev_order_by"] | undefined, + stddev_pop?: ModelTypes["marketplace_cft20_trade_history_stddev_pop_order_by"] | undefined, + stddev_samp?: ModelTypes["marketplace_cft20_trade_history_stddev_samp_order_by"] | undefined, + sum?: ModelTypes["marketplace_cft20_trade_history_sum_order_by"] | undefined, + var_pop?: ModelTypes["marketplace_cft20_trade_history_var_pop_order_by"] | undefined, + var_samp?: ModelTypes["marketplace_cft20_trade_history_var_samp_order_by"] | undefined, + variance?: ModelTypes["marketplace_cft20_trade_history_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ModelTypes["marketplace_cft20_trade_history_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["marketplace_cft20_trade_history_avg_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by avg() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_avg_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** Boolean expression to filter rows from the table "marketplace_cft20_trade_history". All fields are combined with a logical 'AND'. */ +["marketplace_cft20_trade_history_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["marketplace_cft20_trade_history_bool_exp"] | undefined, + _or?: Array | undefined, + amount_base?: ModelTypes["bigint_comparison_exp"] | undefined, + amount_quote?: ModelTypes["bigint_comparison_exp"] | undefined, + buyer_address?: ModelTypes["String_comparison_exp"] | undefined, + date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + listing_id?: ModelTypes["Int_comparison_exp"] | undefined, + marketplace_listing?: ModelTypes["marketplace_listing_bool_exp"] | undefined, + rate?: ModelTypes["Int_comparison_exp"] | undefined, + seller_address?: ModelTypes["String_comparison_exp"] | undefined, + token?: ModelTypes["token_bool_exp"] | undefined, + token_id?: ModelTypes["Int_comparison_exp"] | undefined, + total_usd?: ModelTypes["Float_comparison_exp"] | undefined, + transaction?: ModelTypes["transaction_bool_exp"] | undefined, + transaction_id?: ModelTypes["Int_comparison_exp"] | undefined +}; + ["marketplace_cft20_trade_history_constraint"]:marketplace_cft20_trade_history_constraint; + /** input type for incrementing numeric columns in table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_inc_input"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_insert_input"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + buyer_address?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + marketplace_listing?: ModelTypes["marketplace_listing_obj_rel_insert_input"] | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token?: ModelTypes["token_obj_rel_insert_input"] | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction?: ModelTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["marketplace_cft20_trade_history_max_fields"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + buyer_address?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by max() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_max_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + buyer_address?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + seller_address?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["marketplace_cft20_trade_history_min_fields"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + buyer_address?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by min() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_min_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + buyer_address?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + seller_address?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** response of any mutation on the table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_on_conflict"]: { + constraint: ModelTypes["marketplace_cft20_trade_history_constraint"], + update_columns: Array, + where?: ModelTypes["marketplace_cft20_trade_history_bool_exp"] | undefined +}; + /** Ordering options when selecting data from "marketplace_cft20_trade_history". */ +["marketplace_cft20_trade_history_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + buyer_address?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + marketplace_listing?: ModelTypes["marketplace_listing_order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + seller_address?: ModelTypes["order_by"] | undefined, + token?: ModelTypes["token_order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction?: ModelTypes["transaction_order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** primary key columns input for table: marketplace_cft20_trade_history */ +["marketplace_cft20_trade_history_pk_columns_input"]: { + id: number +}; + ["marketplace_cft20_trade_history_select_column"]:marketplace_cft20_trade_history_select_column; + /** input type for updating data in table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_set_input"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + buyer_address?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["marketplace_cft20_trade_history_stddev_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stddev_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["marketplace_cft20_trade_history_stddev_pop_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_pop() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stddev_pop_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["marketplace_cft20_trade_history_stddev_samp_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_samp() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stddev_samp_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** Streaming cursor of the table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["marketplace_cft20_trade_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; + /** Initial value of the column from where the streaming should start */ +["marketplace_cft20_trade_history_stream_cursor_value_input"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + buyer_address?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["marketplace_cft20_trade_history_sum_fields"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by sum() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_sum_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + ["marketplace_cft20_trade_history_update_column"]:marketplace_cft20_trade_history_update_column; + ["marketplace_cft20_trade_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["marketplace_cft20_trade_history_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["marketplace_cft20_trade_history_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["marketplace_cft20_trade_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["marketplace_cft20_trade_history_var_pop_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_pop() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_var_pop_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["marketplace_cft20_trade_history_var_samp_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_samp() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_var_samp_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["marketplace_cft20_trade_history_variance_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by variance() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_variance_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** columns and relationships of "marketplace_listing" */ - ["marketplace_listing"]: { +["marketplace_listing"]: { chain_id: string, - date_created: ModelTypes["timestamp"], - date_updated?: ModelTypes["timestamp"] | undefined, - deposit_timeout: number, - deposit_total: ModelTypes["bigint"], - depositor_address?: string | undefined, - depositor_timedout_block?: number | undefined, - id: number, - is_cancelled: boolean, - is_deposited: boolean, - is_filled: boolean, - /** An array relationship */ - marketplace_cft20_details: Array, - seller_address: string, - total: ModelTypes["bigint"], - /** An object relationship */ - transaction: ModelTypes["transaction"], - transaction_id: number - }; + date_created: ModelTypes["timestamp"], + date_updated?: ModelTypes["timestamp"] | undefined, + deposit_timeout: number, + deposit_total: ModelTypes["bigint"], + depositor_address?: string | undefined, + depositor_timedout_block?: number | undefined, + id: number, + is_cancelled: boolean, + is_deposited: boolean, + is_filled: boolean, + /** An array relationship */ + marketplace_cft20_details: Array, + /** An aggregate relationship */ + marketplace_cft20_details_aggregate: ModelTypes["marketplace_cft20_detail_aggregate"], + /** An array relationship */ + marketplace_cft20_trade_histories: Array, + /** An aggregate relationship */ + marketplace_cft20_trade_histories_aggregate: ModelTypes["marketplace_cft20_trade_history_aggregate"], + /** An array relationship */ + marketplace_listing_histories: Array, + /** An aggregate relationship */ + marketplace_listing_histories_aggregate: ModelTypes["marketplace_listing_history_aggregate"], + seller_address: string, + total: ModelTypes["bigint"], + /** An object relationship */ + transaction: ModelTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "marketplace_listing" */ +["marketplace_listing_aggregate"]: { + aggregate?: ModelTypes["marketplace_listing_aggregate_fields"] | undefined, + nodes: Array +}; + ["marketplace_listing_aggregate_bool_exp"]: { + bool_and?: ModelTypes["marketplace_listing_aggregate_bool_exp_bool_and"] | undefined, + bool_or?: ModelTypes["marketplace_listing_aggregate_bool_exp_bool_or"] | undefined, + count?: ModelTypes["marketplace_listing_aggregate_bool_exp_count"] | undefined +}; + ["marketplace_listing_aggregate_bool_exp_bool_and"]: { + arguments: ModelTypes["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns"], + distinct?: boolean | undefined, + filter?: ModelTypes["marketplace_listing_bool_exp"] | undefined, + predicate: ModelTypes["Boolean_comparison_exp"] +}; + ["marketplace_listing_aggregate_bool_exp_bool_or"]: { + arguments: ModelTypes["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns"], + distinct?: boolean | undefined, + filter?: ModelTypes["marketplace_listing_bool_exp"] | undefined, + predicate: ModelTypes["Boolean_comparison_exp"] +}; + ["marketplace_listing_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: ModelTypes["marketplace_listing_bool_exp"] | undefined, + predicate: ModelTypes["Int_comparison_exp"] +}; + /** aggregate fields of "marketplace_listing" */ +["marketplace_listing_aggregate_fields"]: { + avg?: ModelTypes["marketplace_listing_avg_fields"] | undefined, + count: number, + max?: ModelTypes["marketplace_listing_max_fields"] | undefined, + min?: ModelTypes["marketplace_listing_min_fields"] | undefined, + stddev?: ModelTypes["marketplace_listing_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["marketplace_listing_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["marketplace_listing_stddev_samp_fields"] | undefined, + sum?: ModelTypes["marketplace_listing_sum_fields"] | undefined, + var_pop?: ModelTypes["marketplace_listing_var_pop_fields"] | undefined, + var_samp?: ModelTypes["marketplace_listing_var_samp_fields"] | undefined, + variance?: ModelTypes["marketplace_listing_variance_fields"] | undefined +}; /** order by aggregate values of table "marketplace_listing" */ - ["marketplace_listing_aggregate_order_by"]: { - avg?: ModelTypes["marketplace_listing_avg_order_by"] | undefined, - count?: ModelTypes["order_by"] | undefined, - max?: ModelTypes["marketplace_listing_max_order_by"] | undefined, - min?: ModelTypes["marketplace_listing_min_order_by"] | undefined, - stddev?: ModelTypes["marketplace_listing_stddev_order_by"] | undefined, - stddev_pop?: ModelTypes["marketplace_listing_stddev_pop_order_by"] | undefined, - stddev_samp?: ModelTypes["marketplace_listing_stddev_samp_order_by"] | undefined, - sum?: ModelTypes["marketplace_listing_sum_order_by"] | undefined, - var_pop?: ModelTypes["marketplace_listing_var_pop_order_by"] | undefined, - var_samp?: ModelTypes["marketplace_listing_var_samp_order_by"] | undefined, - variance?: ModelTypes["marketplace_listing_variance_order_by"] | undefined - }; +["marketplace_listing_aggregate_order_by"]: { + avg?: ModelTypes["marketplace_listing_avg_order_by"] | undefined, + count?: ModelTypes["order_by"] | undefined, + max?: ModelTypes["marketplace_listing_max_order_by"] | undefined, + min?: ModelTypes["marketplace_listing_min_order_by"] | undefined, + stddev?: ModelTypes["marketplace_listing_stddev_order_by"] | undefined, + stddev_pop?: ModelTypes["marketplace_listing_stddev_pop_order_by"] | undefined, + stddev_samp?: ModelTypes["marketplace_listing_stddev_samp_order_by"] | undefined, + sum?: ModelTypes["marketplace_listing_sum_order_by"] | undefined, + var_pop?: ModelTypes["marketplace_listing_var_pop_order_by"] | undefined, + var_samp?: ModelTypes["marketplace_listing_var_samp_order_by"] | undefined, + variance?: ModelTypes["marketplace_listing_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "marketplace_listing" */ +["marketplace_listing_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ModelTypes["marketplace_listing_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["marketplace_listing_avg_fields"]: { + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by avg() on columns of table "marketplace_listing" */ - ["marketplace_listing_avg_order_by"]: { - deposit_timeout?: ModelTypes["order_by"] | undefined, - deposit_total?: ModelTypes["order_by"] | undefined, - depositor_timedout_block?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["marketplace_listing_avg_order_by"]: { + deposit_timeout?: ModelTypes["order_by"] | undefined, + deposit_total?: ModelTypes["order_by"] | undefined, + depositor_timedout_block?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "marketplace_listing". All fields are combined with a logical 'AND'. */ - ["marketplace_listing_bool_exp"]: { - _and?: Array | undefined, - _not?: ModelTypes["marketplace_listing_bool_exp"] | undefined, - _or?: Array | undefined, - chain_id?: ModelTypes["String_comparison_exp"] | undefined, - date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, - date_updated?: ModelTypes["timestamp_comparison_exp"] | undefined, - deposit_timeout?: ModelTypes["Int_comparison_exp"] | undefined, - deposit_total?: ModelTypes["bigint_comparison_exp"] | undefined, - depositor_address?: ModelTypes["String_comparison_exp"] | undefined, - depositor_timedout_block?: ModelTypes["Int_comparison_exp"] | undefined, - id?: ModelTypes["Int_comparison_exp"] | undefined, - is_cancelled?: ModelTypes["Boolean_comparison_exp"] | undefined, - is_deposited?: ModelTypes["Boolean_comparison_exp"] | undefined, - is_filled?: ModelTypes["Boolean_comparison_exp"] | undefined, - marketplace_cft20_details?: ModelTypes["marketplace_cft20_detail_bool_exp"] | undefined, - seller_address?: ModelTypes["String_comparison_exp"] | undefined, - total?: ModelTypes["bigint_comparison_exp"] | undefined, - transaction?: ModelTypes["transaction_bool_exp"] | undefined, - transaction_id?: ModelTypes["Int_comparison_exp"] | undefined - }; - /** order by max() on columns of table "marketplace_listing" */ - ["marketplace_listing_max_order_by"]: { - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - date_updated?: ModelTypes["order_by"] | undefined, - deposit_timeout?: ModelTypes["order_by"] | undefined, - deposit_total?: ModelTypes["order_by"] | undefined, - depositor_address?: ModelTypes["order_by"] | undefined, - depositor_timedout_block?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - seller_address?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - /** order by min() on columns of table "marketplace_listing" */ - ["marketplace_listing_min_order_by"]: { - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - date_updated?: ModelTypes["order_by"] | undefined, - deposit_timeout?: ModelTypes["order_by"] | undefined, - deposit_total?: ModelTypes["order_by"] | undefined, - depositor_address?: ModelTypes["order_by"] | undefined, - depositor_timedout_block?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - seller_address?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - /** Ordering options when selecting data from "marketplace_listing". */ - ["marketplace_listing_order_by"]: { - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - date_updated?: ModelTypes["order_by"] | undefined, - deposit_timeout?: ModelTypes["order_by"] | undefined, - deposit_total?: ModelTypes["order_by"] | undefined, - depositor_address?: ModelTypes["order_by"] | undefined, - depositor_timedout_block?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - is_cancelled?: ModelTypes["order_by"] | undefined, - is_deposited?: ModelTypes["order_by"] | undefined, - is_filled?: ModelTypes["order_by"] | undefined, - marketplace_cft20_details_aggregate?: ModelTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined, - seller_address?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction?: ModelTypes["transaction_order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - ["marketplace_listing_select_column"]: marketplace_listing_select_column; - /** order by stddev() on columns of table "marketplace_listing" */ - ["marketplace_listing_stddev_order_by"]: { - deposit_timeout?: ModelTypes["order_by"] | undefined, - deposit_total?: ModelTypes["order_by"] | undefined, - depositor_timedout_block?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - /** order by stddev_pop() on columns of table "marketplace_listing" */ - ["marketplace_listing_stddev_pop_order_by"]: { - deposit_timeout?: ModelTypes["order_by"] | undefined, - deposit_total?: ModelTypes["order_by"] | undefined, - depositor_timedout_block?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - /** order by stddev_samp() on columns of table "marketplace_listing" */ - ["marketplace_listing_stddev_samp_order_by"]: { - deposit_timeout?: ModelTypes["order_by"] | undefined, - deposit_total?: ModelTypes["order_by"] | undefined, - depositor_timedout_block?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - /** Streaming cursor of the table "marketplace_listing" */ - ["marketplace_listing_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ModelTypes["marketplace_listing_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ModelTypes["cursor_ordering"] | undefined - }; - /** Initial value of the column from where the streaming should start */ - ["marketplace_listing_stream_cursor_value_input"]: { - chain_id?: string | undefined, - date_created?: ModelTypes["timestamp"] | undefined, - date_updated?: ModelTypes["timestamp"] | undefined, - deposit_timeout?: number | undefined, - deposit_total?: ModelTypes["bigint"] | undefined, - depositor_address?: string | undefined, - depositor_timedout_block?: number | undefined, - id?: number | undefined, - is_cancelled?: boolean | undefined, - is_deposited?: boolean | undefined, - is_filled?: boolean | undefined, - seller_address?: string | undefined, - total?: ModelTypes["bigint"] | undefined, - transaction_id?: number | undefined - }; - /** order by sum() on columns of table "marketplace_listing" */ - ["marketplace_listing_sum_order_by"]: { - deposit_timeout?: ModelTypes["order_by"] | undefined, - deposit_total?: ModelTypes["order_by"] | undefined, - depositor_timedout_block?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - /** order by var_pop() on columns of table "marketplace_listing" */ - ["marketplace_listing_var_pop_order_by"]: { - deposit_timeout?: ModelTypes["order_by"] | undefined, - deposit_total?: ModelTypes["order_by"] | undefined, - depositor_timedout_block?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - /** order by var_samp() on columns of table "marketplace_listing" */ - ["marketplace_listing_var_samp_order_by"]: { - deposit_timeout?: ModelTypes["order_by"] | undefined, - deposit_total?: ModelTypes["order_by"] | undefined, - depositor_timedout_block?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - /** order by variance() on columns of table "marketplace_listing" */ - ["marketplace_listing_variance_order_by"]: { - deposit_timeout?: ModelTypes["order_by"] | undefined, - deposit_total?: ModelTypes["order_by"] | undefined, - depositor_timedout_block?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - ["numeric"]: any; - /** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ - ["numeric_comparison_exp"]: { - _eq?: ModelTypes["numeric"] | undefined, - _gt?: ModelTypes["numeric"] | undefined, - _gte?: ModelTypes["numeric"] | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: ModelTypes["numeric"] | undefined, - _lte?: ModelTypes["numeric"] | undefined, - _neq?: ModelTypes["numeric"] | undefined, - _nin?: Array | undefined - }; - ["order_by"]: order_by; - ["query_root"]: { - /** fetch data from the table: "inscription" */ - inscription: Array, - /** fetch data from the table: "inscription" using primary key columns */ - inscription_by_pk?: ModelTypes["inscription"] | undefined, - /** fetch data from the table: "inscription_history" */ - inscription_history: Array, - /** fetch data from the table: "inscription_history" using primary key columns */ - inscription_history_by_pk?: ModelTypes["inscription_history"] | undefined, - /** fetch data from the table: "marketplace_cft20_detail" */ - marketplace_cft20_detail: Array, - /** fetch data from the table: "marketplace_cft20_detail" using primary key columns */ - marketplace_cft20_detail_by_pk?: ModelTypes["marketplace_cft20_detail"] | undefined, - /** fetch data from the table: "marketplace_listing" */ - marketplace_listing: Array, - /** fetch data from the table: "marketplace_listing" using primary key columns */ - marketplace_listing_by_pk?: ModelTypes["marketplace_listing"] | undefined, - /** fetch data from the table: "status" */ - status: Array, - /** fetch data from the table: "status" using primary key columns */ - status_by_pk?: ModelTypes["status"] | undefined, - /** fetch data from the table: "token" */ - token: Array, - /** fetch data from the table: "token_address_history" */ - token_address_history: Array, - /** fetch data from the table: "token_address_history" using primary key columns */ - token_address_history_by_pk?: ModelTypes["token_address_history"] | undefined, - /** fetch data from the table: "token" using primary key columns */ - token_by_pk?: ModelTypes["token"] | undefined, - /** fetch data from the table: "token_holder" */ - token_holder: Array, - /** fetch data from the table: "token_holder" using primary key columns */ - token_holder_by_pk?: ModelTypes["token_holder"] | undefined, - /** fetch data from the table: "token_open_position" */ - token_open_position: Array, - /** fetch data from the table: "token_open_position" using primary key columns */ - token_open_position_by_pk?: ModelTypes["token_open_position"] | undefined, - /** fetch data from the table: "token_trade_history" */ - token_trade_history: Array, - /** fetch data from the table: "token_trade_history" using primary key columns */ - token_trade_history_by_pk?: ModelTypes["token_trade_history"] | undefined, - /** fetch data from the table: "transaction" */ - transaction: Array, - /** fetch data from the table: "transaction" using primary key columns */ - transaction_by_pk?: ModelTypes["transaction"] | undefined - }; - ["smallint"]: any; - /** Boolean expression to compare columns of type "smallint". All fields are combined with logical 'AND'. */ - ["smallint_comparison_exp"]: { - _eq?: ModelTypes["smallint"] | undefined, - _gt?: ModelTypes["smallint"] | undefined, - _gte?: ModelTypes["smallint"] | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: ModelTypes["smallint"] | undefined, - _lte?: ModelTypes["smallint"] | undefined, - _neq?: ModelTypes["smallint"] | undefined, - _nin?: Array | undefined - }; - /** columns and relationships of "status" */ - ["status"]: { - base_token: string, - base_token_usd: number, - chain_id: string, - date_updated: ModelTypes["timestamp"], - id: number, - last_known_height: number, - last_processed_height: number - }; - /** Boolean expression to filter rows from the table "status". All fields are combined with a logical 'AND'. */ - ["status_bool_exp"]: { - _and?: Array | undefined, - _not?: ModelTypes["status_bool_exp"] | undefined, - _or?: Array | undefined, - base_token?: ModelTypes["String_comparison_exp"] | undefined, - base_token_usd?: ModelTypes["Float_comparison_exp"] | undefined, - chain_id?: ModelTypes["String_comparison_exp"] | undefined, - date_updated?: ModelTypes["timestamp_comparison_exp"] | undefined, - id?: ModelTypes["Int_comparison_exp"] | undefined, - last_known_height?: ModelTypes["Int_comparison_exp"] | undefined, - last_processed_height?: ModelTypes["Int_comparison_exp"] | undefined - }; - /** Ordering options when selecting data from "status". */ - ["status_order_by"]: { - base_token?: ModelTypes["order_by"] | undefined, - base_token_usd?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_updated?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - last_known_height?: ModelTypes["order_by"] | undefined, - last_processed_height?: ModelTypes["order_by"] | undefined - }; - ["status_select_column"]: status_select_column; - /** Streaming cursor of the table "status" */ - ["status_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ModelTypes["status_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ModelTypes["cursor_ordering"] | undefined - }; - /** Initial value of the column from where the streaming should start */ - ["status_stream_cursor_value_input"]: { - base_token?: string | undefined, - base_token_usd?: number | undefined, - chain_id?: string | undefined, - date_updated?: ModelTypes["timestamp"] | undefined, - id?: number | undefined, - last_known_height?: number | undefined, - last_processed_height?: number | undefined - }; - ["subscription_root"]: { - /** fetch data from the table: "inscription" */ - inscription: Array, - /** fetch data from the table: "inscription" using primary key columns */ - inscription_by_pk?: ModelTypes["inscription"] | undefined, - /** fetch data from the table: "inscription_history" */ - inscription_history: Array, - /** fetch data from the table: "inscription_history" using primary key columns */ - inscription_history_by_pk?: ModelTypes["inscription_history"] | undefined, - /** fetch data from the table in a streaming manner: "inscription_history" */ - inscription_history_stream: Array, - /** fetch data from the table in a streaming manner: "inscription" */ - inscription_stream: Array, - /** fetch data from the table: "marketplace_cft20_detail" */ - marketplace_cft20_detail: Array, - /** fetch data from the table: "marketplace_cft20_detail" using primary key columns */ - marketplace_cft20_detail_by_pk?: ModelTypes["marketplace_cft20_detail"] | undefined, - /** fetch data from the table in a streaming manner: "marketplace_cft20_detail" */ - marketplace_cft20_detail_stream: Array, - /** fetch data from the table: "marketplace_listing" */ - marketplace_listing: Array, - /** fetch data from the table: "marketplace_listing" using primary key columns */ - marketplace_listing_by_pk?: ModelTypes["marketplace_listing"] | undefined, - /** fetch data from the table in a streaming manner: "marketplace_listing" */ - marketplace_listing_stream: Array, - /** fetch data from the table: "status" */ - status: Array, - /** fetch data from the table: "status" using primary key columns */ - status_by_pk?: ModelTypes["status"] | undefined, - /** fetch data from the table in a streaming manner: "status" */ - status_stream: Array, - /** fetch data from the table: "token" */ - token: Array, - /** fetch data from the table: "token_address_history" */ - token_address_history: Array, - /** fetch data from the table: "token_address_history" using primary key columns */ - token_address_history_by_pk?: ModelTypes["token_address_history"] | undefined, - /** fetch data from the table in a streaming manner: "token_address_history" */ - token_address_history_stream: Array, - /** fetch data from the table: "token" using primary key columns */ - token_by_pk?: ModelTypes["token"] | undefined, - /** fetch data from the table: "token_holder" */ - token_holder: Array, - /** fetch data from the table: "token_holder" using primary key columns */ - token_holder_by_pk?: ModelTypes["token_holder"] | undefined, - /** fetch data from the table in a streaming manner: "token_holder" */ - token_holder_stream: Array, - /** fetch data from the table: "token_open_position" */ - token_open_position: Array, - /** fetch data from the table: "token_open_position" using primary key columns */ - token_open_position_by_pk?: ModelTypes["token_open_position"] | undefined, - /** fetch data from the table in a streaming manner: "token_open_position" */ - token_open_position_stream: Array, - /** fetch data from the table in a streaming manner: "token" */ - token_stream: Array, - /** fetch data from the table: "token_trade_history" */ - token_trade_history: Array, - /** fetch data from the table: "token_trade_history" using primary key columns */ - token_trade_history_by_pk?: ModelTypes["token_trade_history"] | undefined, - /** fetch data from the table in a streaming manner: "token_trade_history" */ - token_trade_history_stream: Array, - /** fetch data from the table: "transaction" */ - transaction: Array, - /** fetch data from the table: "transaction" using primary key columns */ - transaction_by_pk?: ModelTypes["transaction"] | undefined, - /** fetch data from the table in a streaming manner: "transaction" */ - transaction_stream: Array - }; - ["timestamp"]: any; - /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ - ["timestamp_comparison_exp"]: { - _eq?: ModelTypes["timestamp"] | undefined, - _gt?: ModelTypes["timestamp"] | undefined, - _gte?: ModelTypes["timestamp"] | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: ModelTypes["timestamp"] | undefined, - _lte?: ModelTypes["timestamp"] | undefined, - _neq?: ModelTypes["timestamp"] | undefined, - _nin?: Array | undefined - }; - /** columns and relationships of "token" */ - ["token"]: { - chain_id: string, - circulating_supply: ModelTypes["bigint"], - content_path?: string | undefined, - content_size_bytes?: number | undefined, - creator: string, - current_owner: string, - date_created: ModelTypes["timestamp"], - decimals: ModelTypes["smallint"], - height: number, - id: number, - last_price_base: ModelTypes["bigint"], - launch_timestamp: ModelTypes["bigint"], - /** An array relationship */ - marketplace_cft20_details: Array, - max_supply: ModelTypes["numeric"], - metadata?: string | undefined, - mint_page: string, - name: string, - per_mint_limit: ModelTypes["bigint"], - ticker: string, - /** An array relationship */ - token_address_histories: Array, - /** An array relationship */ - token_holders: Array, - /** An array relationship */ - token_open_positions: Array, - /** An array relationship */ - token_trade_histories: Array, - /** An object relationship */ - transaction: ModelTypes["transaction"], - transaction_id: number, - version: string, - volume_24_base: ModelTypes["bigint"] - }; - /** columns and relationships of "token_address_history" */ - ["token_address_history"]: { +["marketplace_listing_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["marketplace_listing_bool_exp"] | undefined, + _or?: Array | undefined, + chain_id?: ModelTypes["String_comparison_exp"] | undefined, + date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, + date_updated?: ModelTypes["timestamp_comparison_exp"] | undefined, + deposit_timeout?: ModelTypes["Int_comparison_exp"] | undefined, + deposit_total?: ModelTypes["bigint_comparison_exp"] | undefined, + depositor_address?: ModelTypes["String_comparison_exp"] | undefined, + depositor_timedout_block?: ModelTypes["Int_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + is_cancelled?: ModelTypes["Boolean_comparison_exp"] | undefined, + is_deposited?: ModelTypes["Boolean_comparison_exp"] | undefined, + is_filled?: ModelTypes["Boolean_comparison_exp"] | undefined, + marketplace_cft20_details?: ModelTypes["marketplace_cft20_detail_bool_exp"] | undefined, + marketplace_cft20_details_aggregate?: ModelTypes["marketplace_cft20_detail_aggregate_bool_exp"] | undefined, + marketplace_cft20_trade_histories?: ModelTypes["marketplace_cft20_trade_history_bool_exp"] | undefined, + marketplace_cft20_trade_histories_aggregate?: ModelTypes["marketplace_cft20_trade_history_aggregate_bool_exp"] | undefined, + marketplace_listing_histories?: ModelTypes["marketplace_listing_history_bool_exp"] | undefined, + marketplace_listing_histories_aggregate?: ModelTypes["marketplace_listing_history_aggregate_bool_exp"] | undefined, + seller_address?: ModelTypes["String_comparison_exp"] | undefined, + total?: ModelTypes["bigint_comparison_exp"] | undefined, + transaction?: ModelTypes["transaction_bool_exp"] | undefined, + transaction_id?: ModelTypes["Int_comparison_exp"] | undefined +}; + ["marketplace_listing_constraint"]:marketplace_listing_constraint; + /** columns and relationships of "marketplace_listing_history" */ +["marketplace_listing_history"]: { action: string, - amount: ModelTypes["bigint"], - chain_id: string, - date_created: ModelTypes["timestamp"], - height: number, - id: number, - receiver?: string | undefined, - sender: string, - /** An object relationship */ - token: ModelTypes["token"], - token_id: number, - /** An object relationship */ - transaction: ModelTypes["transaction"], - transaction_id: number - }; - /** order by aggregate values of table "token_address_history" */ - ["token_address_history_aggregate_order_by"]: { - avg?: ModelTypes["token_address_history_avg_order_by"] | undefined, - count?: ModelTypes["order_by"] | undefined, - max?: ModelTypes["token_address_history_max_order_by"] | undefined, - min?: ModelTypes["token_address_history_min_order_by"] | undefined, - stddev?: ModelTypes["token_address_history_stddev_order_by"] | undefined, - stddev_pop?: ModelTypes["token_address_history_stddev_pop_order_by"] | undefined, - stddev_samp?: ModelTypes["token_address_history_stddev_samp_order_by"] | undefined, - sum?: ModelTypes["token_address_history_sum_order_by"] | undefined, - var_pop?: ModelTypes["token_address_history_var_pop_order_by"] | undefined, - var_samp?: ModelTypes["token_address_history_var_samp_order_by"] | undefined, - variance?: ModelTypes["token_address_history_variance_order_by"] | undefined - }; - /** order by avg() on columns of table "token_address_history" */ - ["token_address_history_avg_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; + date_created: ModelTypes["timestamp"], + id: number, + listing_id: number, + /** An object relationship */ + marketplace_listing: ModelTypes["marketplace_listing"], + sender_address: string, + /** An object relationship */ + transaction: ModelTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "marketplace_listing_history" */ +["marketplace_listing_history_aggregate"]: { + aggregate?: ModelTypes["marketplace_listing_history_aggregate_fields"] | undefined, + nodes: Array +}; + ["marketplace_listing_history_aggregate_bool_exp"]: { + count?: ModelTypes["marketplace_listing_history_aggregate_bool_exp_count"] | undefined +}; + ["marketplace_listing_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: ModelTypes["marketplace_listing_history_bool_exp"] | undefined, + predicate: ModelTypes["Int_comparison_exp"] +}; + /** aggregate fields of "marketplace_listing_history" */ +["marketplace_listing_history_aggregate_fields"]: { + avg?: ModelTypes["marketplace_listing_history_avg_fields"] | undefined, + count: number, + max?: ModelTypes["marketplace_listing_history_max_fields"] | undefined, + min?: ModelTypes["marketplace_listing_history_min_fields"] | undefined, + stddev?: ModelTypes["marketplace_listing_history_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["marketplace_listing_history_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["marketplace_listing_history_stddev_samp_fields"] | undefined, + sum?: ModelTypes["marketplace_listing_history_sum_fields"] | undefined, + var_pop?: ModelTypes["marketplace_listing_history_var_pop_fields"] | undefined, + var_samp?: ModelTypes["marketplace_listing_history_var_samp_fields"] | undefined, + variance?: ModelTypes["marketplace_listing_history_variance_fields"] | undefined +}; + /** order by aggregate values of table "marketplace_listing_history" */ +["marketplace_listing_history_aggregate_order_by"]: { + avg?: ModelTypes["marketplace_listing_history_avg_order_by"] | undefined, + count?: ModelTypes["order_by"] | undefined, + max?: ModelTypes["marketplace_listing_history_max_order_by"] | undefined, + min?: ModelTypes["marketplace_listing_history_min_order_by"] | undefined, + stddev?: ModelTypes["marketplace_listing_history_stddev_order_by"] | undefined, + stddev_pop?: ModelTypes["marketplace_listing_history_stddev_pop_order_by"] | undefined, + stddev_samp?: ModelTypes["marketplace_listing_history_stddev_samp_order_by"] | undefined, + sum?: ModelTypes["marketplace_listing_history_sum_order_by"] | undefined, + var_pop?: ModelTypes["marketplace_listing_history_var_pop_order_by"] | undefined, + var_samp?: ModelTypes["marketplace_listing_history_var_samp_order_by"] | undefined, + variance?: ModelTypes["marketplace_listing_history_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "marketplace_listing_history" */ +["marketplace_listing_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ModelTypes["marketplace_listing_history_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["marketplace_listing_history_avg_fields"]: { + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by avg() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_avg_order_by"]: { + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** Boolean expression to filter rows from the table "marketplace_listing_history". All fields are combined with a logical 'AND'. */ +["marketplace_listing_history_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["marketplace_listing_history_bool_exp"] | undefined, + _or?: Array | undefined, + action?: ModelTypes["String_comparison_exp"] | undefined, + date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + listing_id?: ModelTypes["Int_comparison_exp"] | undefined, + marketplace_listing?: ModelTypes["marketplace_listing_bool_exp"] | undefined, + sender_address?: ModelTypes["String_comparison_exp"] | undefined, + transaction?: ModelTypes["transaction_bool_exp"] | undefined, + transaction_id?: ModelTypes["Int_comparison_exp"] | undefined +}; + ["marketplace_listing_history_constraint"]:marketplace_listing_history_constraint; + /** input type for incrementing numeric columns in table "marketplace_listing_history" */ +["marketplace_listing_history_inc_input"]: { + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "marketplace_listing_history" */ +["marketplace_listing_history_insert_input"]: { + action?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + marketplace_listing?: ModelTypes["marketplace_listing_obj_rel_insert_input"] | undefined, + sender_address?: string | undefined, + transaction?: ModelTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["marketplace_listing_history_max_fields"]: { + action?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + sender_address?: string | undefined, + transaction_id?: number | undefined +}; + /** order by max() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_max_order_by"]: { + action?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + sender_address?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["marketplace_listing_history_min_fields"]: { + action?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + sender_address?: string | undefined, + transaction_id?: number | undefined +}; + /** order by min() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_min_order_by"]: { + action?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + sender_address?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** response of any mutation on the table "marketplace_listing_history" */ +["marketplace_listing_history_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "marketplace_listing_history" */ +["marketplace_listing_history_on_conflict"]: { + constraint: ModelTypes["marketplace_listing_history_constraint"], + update_columns: Array, + where?: ModelTypes["marketplace_listing_history_bool_exp"] | undefined +}; + /** Ordering options when selecting data from "marketplace_listing_history". */ +["marketplace_listing_history_order_by"]: { + action?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + marketplace_listing?: ModelTypes["marketplace_listing_order_by"] | undefined, + sender_address?: ModelTypes["order_by"] | undefined, + transaction?: ModelTypes["transaction_order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** primary key columns input for table: marketplace_listing_history */ +["marketplace_listing_history_pk_columns_input"]: { + id: number +}; + ["marketplace_listing_history_select_column"]:marketplace_listing_history_select_column; + /** input type for updating data in table "marketplace_listing_history" */ +["marketplace_listing_history_set_input"]: { + action?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + sender_address?: string | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["marketplace_listing_history_stddev_fields"]: { + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_stddev_order_by"]: { + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["marketplace_listing_history_stddev_pop_fields"]: { + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_pop() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_stddev_pop_order_by"]: { + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["marketplace_listing_history_stddev_samp_fields"]: { + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_samp() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_stddev_samp_order_by"]: { + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** Streaming cursor of the table "marketplace_listing_history" */ +["marketplace_listing_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["marketplace_listing_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; + /** Initial value of the column from where the streaming should start */ +["marketplace_listing_history_stream_cursor_value_input"]: { + action?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + sender_address?: string | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["marketplace_listing_history_sum_fields"]: { + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by sum() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_sum_order_by"]: { + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + ["marketplace_listing_history_update_column"]:marketplace_listing_history_update_column; + ["marketplace_listing_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["marketplace_listing_history_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["marketplace_listing_history_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["marketplace_listing_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["marketplace_listing_history_var_pop_fields"]: { + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_pop() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_var_pop_order_by"]: { + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["marketplace_listing_history_var_samp_fields"]: { + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_samp() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_var_samp_order_by"]: { + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["marketplace_listing_history_variance_fields"]: { + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by variance() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_variance_order_by"]: { + id?: ModelTypes["order_by"] | undefined, + listing_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** input type for incrementing numeric columns in table "marketplace_listing" */ +["marketplace_listing_inc_input"]: { + deposit_timeout?: number | undefined, + deposit_total?: ModelTypes["bigint"] | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "marketplace_listing" */ +["marketplace_listing_insert_input"]: { + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + deposit_timeout?: number | undefined, + deposit_total?: ModelTypes["bigint"] | undefined, + depositor_address?: string | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + is_cancelled?: boolean | undefined, + is_deposited?: boolean | undefined, + is_filled?: boolean | undefined, + marketplace_cft20_details?: ModelTypes["marketplace_cft20_detail_arr_rel_insert_input"] | undefined, + marketplace_cft20_trade_histories?: ModelTypes["marketplace_cft20_trade_history_arr_rel_insert_input"] | undefined, + marketplace_listing_histories?: ModelTypes["marketplace_listing_history_arr_rel_insert_input"] | undefined, + seller_address?: string | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction?: ModelTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["marketplace_listing_max_fields"]: { + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + deposit_timeout?: number | undefined, + deposit_total?: ModelTypes["bigint"] | undefined, + depositor_address?: string | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + seller_address?: string | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** order by max() on columns of table "marketplace_listing" */ +["marketplace_listing_max_order_by"]: { + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + date_updated?: ModelTypes["order_by"] | undefined, + deposit_timeout?: ModelTypes["order_by"] | undefined, + deposit_total?: ModelTypes["order_by"] | undefined, + depositor_address?: ModelTypes["order_by"] | undefined, + depositor_timedout_block?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + seller_address?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["marketplace_listing_min_fields"]: { + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + deposit_timeout?: number | undefined, + deposit_total?: ModelTypes["bigint"] | undefined, + depositor_address?: string | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + seller_address?: string | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** order by min() on columns of table "marketplace_listing" */ +["marketplace_listing_min_order_by"]: { + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + date_updated?: ModelTypes["order_by"] | undefined, + deposit_timeout?: ModelTypes["order_by"] | undefined, + deposit_total?: ModelTypes["order_by"] | undefined, + depositor_address?: ModelTypes["order_by"] | undefined, + depositor_timedout_block?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + seller_address?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** response of any mutation on the table "marketplace_listing" */ +["marketplace_listing_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** input type for inserting object relation for remote table "marketplace_listing" */ +["marketplace_listing_obj_rel_insert_input"]: { + data: ModelTypes["marketplace_listing_insert_input"], + /** upsert condition */ + on_conflict?: ModelTypes["marketplace_listing_on_conflict"] | undefined +}; + /** on_conflict condition type for table "marketplace_listing" */ +["marketplace_listing_on_conflict"]: { + constraint: ModelTypes["marketplace_listing_constraint"], + update_columns: Array, + where?: ModelTypes["marketplace_listing_bool_exp"] | undefined +}; + /** Ordering options when selecting data from "marketplace_listing". */ +["marketplace_listing_order_by"]: { + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + date_updated?: ModelTypes["order_by"] | undefined, + deposit_timeout?: ModelTypes["order_by"] | undefined, + deposit_total?: ModelTypes["order_by"] | undefined, + depositor_address?: ModelTypes["order_by"] | undefined, + depositor_timedout_block?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + is_cancelled?: ModelTypes["order_by"] | undefined, + is_deposited?: ModelTypes["order_by"] | undefined, + is_filled?: ModelTypes["order_by"] | undefined, + marketplace_cft20_details_aggregate?: ModelTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined, + marketplace_cft20_trade_histories_aggregate?: ModelTypes["marketplace_cft20_trade_history_aggregate_order_by"] | undefined, + marketplace_listing_histories_aggregate?: ModelTypes["marketplace_listing_history_aggregate_order_by"] | undefined, + seller_address?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction?: ModelTypes["transaction_order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** primary key columns input for table: marketplace_listing */ +["marketplace_listing_pk_columns_input"]: { + id: number +}; + ["marketplace_listing_select_column"]:marketplace_listing_select_column; + ["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns"]:marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns; + ["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns"]:marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "marketplace_listing" */ +["marketplace_listing_set_input"]: { + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + deposit_timeout?: number | undefined, + deposit_total?: ModelTypes["bigint"] | undefined, + depositor_address?: string | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + is_cancelled?: boolean | undefined, + is_deposited?: boolean | undefined, + is_filled?: boolean | undefined, + seller_address?: string | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["marketplace_listing_stddev_fields"]: { + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev() on columns of table "marketplace_listing" */ +["marketplace_listing_stddev_order_by"]: { + deposit_timeout?: ModelTypes["order_by"] | undefined, + deposit_total?: ModelTypes["order_by"] | undefined, + depositor_timedout_block?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["marketplace_listing_stddev_pop_fields"]: { + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_pop() on columns of table "marketplace_listing" */ +["marketplace_listing_stddev_pop_order_by"]: { + deposit_timeout?: ModelTypes["order_by"] | undefined, + deposit_total?: ModelTypes["order_by"] | undefined, + depositor_timedout_block?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["marketplace_listing_stddev_samp_fields"]: { + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_samp() on columns of table "marketplace_listing" */ +["marketplace_listing_stddev_samp_order_by"]: { + deposit_timeout?: ModelTypes["order_by"] | undefined, + deposit_total?: ModelTypes["order_by"] | undefined, + depositor_timedout_block?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** Streaming cursor of the table "marketplace_listing" */ +["marketplace_listing_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["marketplace_listing_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; + /** Initial value of the column from where the streaming should start */ +["marketplace_listing_stream_cursor_value_input"]: { + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + deposit_timeout?: number | undefined, + deposit_total?: ModelTypes["bigint"] | undefined, + depositor_address?: string | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + is_cancelled?: boolean | undefined, + is_deposited?: boolean | undefined, + is_filled?: boolean | undefined, + seller_address?: string | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["marketplace_listing_sum_fields"]: { + deposit_timeout?: number | undefined, + deposit_total?: ModelTypes["bigint"] | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** order by sum() on columns of table "marketplace_listing" */ +["marketplace_listing_sum_order_by"]: { + deposit_timeout?: ModelTypes["order_by"] | undefined, + deposit_total?: ModelTypes["order_by"] | undefined, + depositor_timedout_block?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + ["marketplace_listing_update_column"]:marketplace_listing_update_column; + ["marketplace_listing_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["marketplace_listing_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["marketplace_listing_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["marketplace_listing_bool_exp"] +}; + /** aggregate var_pop on columns */ +["marketplace_listing_var_pop_fields"]: { + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_pop() on columns of table "marketplace_listing" */ +["marketplace_listing_var_pop_order_by"]: { + deposit_timeout?: ModelTypes["order_by"] | undefined, + deposit_total?: ModelTypes["order_by"] | undefined, + depositor_timedout_block?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["marketplace_listing_var_samp_fields"]: { + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_samp() on columns of table "marketplace_listing" */ +["marketplace_listing_var_samp_order_by"]: { + deposit_timeout?: ModelTypes["order_by"] | undefined, + deposit_total?: ModelTypes["order_by"] | undefined, + depositor_timedout_block?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["marketplace_listing_variance_fields"]: { + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; + /** order by variance() on columns of table "marketplace_listing" */ +["marketplace_listing_variance_order_by"]: { + deposit_timeout?: ModelTypes["order_by"] | undefined, + deposit_total?: ModelTypes["order_by"] | undefined, + depositor_timedout_block?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** mutation root */ +["mutation_root"]: { + /** delete data from the table: "inscription" */ + delete_inscription?: ModelTypes["inscription_mutation_response"] | undefined, + /** delete single row from the table: "inscription" */ + delete_inscription_by_pk?: ModelTypes["inscription"] | undefined, + /** delete data from the table: "inscription_history" */ + delete_inscription_history?: ModelTypes["inscription_history_mutation_response"] | undefined, + /** delete single row from the table: "inscription_history" */ + delete_inscription_history_by_pk?: ModelTypes["inscription_history"] | undefined, + /** delete data from the table: "marketplace_cft20_detail" */ + delete_marketplace_cft20_detail?: ModelTypes["marketplace_cft20_detail_mutation_response"] | undefined, + /** delete single row from the table: "marketplace_cft20_detail" */ + delete_marketplace_cft20_detail_by_pk?: ModelTypes["marketplace_cft20_detail"] | undefined, + /** delete data from the table: "marketplace_cft20_trade_history" */ + delete_marketplace_cft20_trade_history?: ModelTypes["marketplace_cft20_trade_history_mutation_response"] | undefined, + /** delete single row from the table: "marketplace_cft20_trade_history" */ + delete_marketplace_cft20_trade_history_by_pk?: ModelTypes["marketplace_cft20_trade_history"] | undefined, + /** delete data from the table: "marketplace_listing" */ + delete_marketplace_listing?: ModelTypes["marketplace_listing_mutation_response"] | undefined, + /** delete single row from the table: "marketplace_listing" */ + delete_marketplace_listing_by_pk?: ModelTypes["marketplace_listing"] | undefined, + /** delete data from the table: "marketplace_listing_history" */ + delete_marketplace_listing_history?: ModelTypes["marketplace_listing_history_mutation_response"] | undefined, + /** delete single row from the table: "marketplace_listing_history" */ + delete_marketplace_listing_history_by_pk?: ModelTypes["marketplace_listing_history"] | undefined, + /** delete data from the table: "status" */ + delete_status?: ModelTypes["status_mutation_response"] | undefined, + /** delete single row from the table: "status" */ + delete_status_by_pk?: ModelTypes["status"] | undefined, + /** delete data from the table: "token" */ + delete_token?: ModelTypes["token_mutation_response"] | undefined, + /** delete data from the table: "token_address_history" */ + delete_token_address_history?: ModelTypes["token_address_history_mutation_response"] | undefined, + /** delete single row from the table: "token_address_history" */ + delete_token_address_history_by_pk?: ModelTypes["token_address_history"] | undefined, + /** delete single row from the table: "token" */ + delete_token_by_pk?: ModelTypes["token"] | undefined, + /** delete data from the table: "token_holder" */ + delete_token_holder?: ModelTypes["token_holder_mutation_response"] | undefined, + /** delete single row from the table: "token_holder" */ + delete_token_holder_by_pk?: ModelTypes["token_holder"] | undefined, + /** delete data from the table: "token_open_position" */ + delete_token_open_position?: ModelTypes["token_open_position_mutation_response"] | undefined, + /** delete single row from the table: "token_open_position" */ + delete_token_open_position_by_pk?: ModelTypes["token_open_position"] | undefined, + /** delete data from the table: "token_trade_history" */ + delete_token_trade_history?: ModelTypes["token_trade_history_mutation_response"] | undefined, + /** delete single row from the table: "token_trade_history" */ + delete_token_trade_history_by_pk?: ModelTypes["token_trade_history"] | undefined, + /** delete data from the table: "transaction" */ + delete_transaction?: ModelTypes["transaction_mutation_response"] | undefined, + /** delete single row from the table: "transaction" */ + delete_transaction_by_pk?: ModelTypes["transaction"] | undefined, + /** insert data into the table: "inscription" */ + insert_inscription?: ModelTypes["inscription_mutation_response"] | undefined, + /** insert data into the table: "inscription_history" */ + insert_inscription_history?: ModelTypes["inscription_history_mutation_response"] | undefined, + /** insert a single row into the table: "inscription_history" */ + insert_inscription_history_one?: ModelTypes["inscription_history"] | undefined, + /** insert a single row into the table: "inscription" */ + insert_inscription_one?: ModelTypes["inscription"] | undefined, + /** insert data into the table: "marketplace_cft20_detail" */ + insert_marketplace_cft20_detail?: ModelTypes["marketplace_cft20_detail_mutation_response"] | undefined, + /** insert a single row into the table: "marketplace_cft20_detail" */ + insert_marketplace_cft20_detail_one?: ModelTypes["marketplace_cft20_detail"] | undefined, + /** insert data into the table: "marketplace_cft20_trade_history" */ + insert_marketplace_cft20_trade_history?: ModelTypes["marketplace_cft20_trade_history_mutation_response"] | undefined, + /** insert a single row into the table: "marketplace_cft20_trade_history" */ + insert_marketplace_cft20_trade_history_one?: ModelTypes["marketplace_cft20_trade_history"] | undefined, + /** insert data into the table: "marketplace_listing" */ + insert_marketplace_listing?: ModelTypes["marketplace_listing_mutation_response"] | undefined, + /** insert data into the table: "marketplace_listing_history" */ + insert_marketplace_listing_history?: ModelTypes["marketplace_listing_history_mutation_response"] | undefined, + /** insert a single row into the table: "marketplace_listing_history" */ + insert_marketplace_listing_history_one?: ModelTypes["marketplace_listing_history"] | undefined, + /** insert a single row into the table: "marketplace_listing" */ + insert_marketplace_listing_one?: ModelTypes["marketplace_listing"] | undefined, + /** insert data into the table: "status" */ + insert_status?: ModelTypes["status_mutation_response"] | undefined, + /** insert a single row into the table: "status" */ + insert_status_one?: ModelTypes["status"] | undefined, + /** insert data into the table: "token" */ + insert_token?: ModelTypes["token_mutation_response"] | undefined, + /** insert data into the table: "token_address_history" */ + insert_token_address_history?: ModelTypes["token_address_history_mutation_response"] | undefined, + /** insert a single row into the table: "token_address_history" */ + insert_token_address_history_one?: ModelTypes["token_address_history"] | undefined, + /** insert data into the table: "token_holder" */ + insert_token_holder?: ModelTypes["token_holder_mutation_response"] | undefined, + /** insert a single row into the table: "token_holder" */ + insert_token_holder_one?: ModelTypes["token_holder"] | undefined, + /** insert a single row into the table: "token" */ + insert_token_one?: ModelTypes["token"] | undefined, + /** insert data into the table: "token_open_position" */ + insert_token_open_position?: ModelTypes["token_open_position_mutation_response"] | undefined, + /** insert a single row into the table: "token_open_position" */ + insert_token_open_position_one?: ModelTypes["token_open_position"] | undefined, + /** insert data into the table: "token_trade_history" */ + insert_token_trade_history?: ModelTypes["token_trade_history_mutation_response"] | undefined, + /** insert a single row into the table: "token_trade_history" */ + insert_token_trade_history_one?: ModelTypes["token_trade_history"] | undefined, + /** insert data into the table: "transaction" */ + insert_transaction?: ModelTypes["transaction_mutation_response"] | undefined, + /** insert a single row into the table: "transaction" */ + insert_transaction_one?: ModelTypes["transaction"] | undefined, + /** update data of the table: "inscription" */ + update_inscription?: ModelTypes["inscription_mutation_response"] | undefined, + /** update single row of the table: "inscription" */ + update_inscription_by_pk?: ModelTypes["inscription"] | undefined, + /** update data of the table: "inscription_history" */ + update_inscription_history?: ModelTypes["inscription_history_mutation_response"] | undefined, + /** update single row of the table: "inscription_history" */ + update_inscription_history_by_pk?: ModelTypes["inscription_history"] | undefined, + /** update multiples rows of table: "inscription_history" */ + update_inscription_history_many?: Array | undefined, + /** update multiples rows of table: "inscription" */ + update_inscription_many?: Array | undefined, + /** update data of the table: "marketplace_cft20_detail" */ + update_marketplace_cft20_detail?: ModelTypes["marketplace_cft20_detail_mutation_response"] | undefined, + /** update single row of the table: "marketplace_cft20_detail" */ + update_marketplace_cft20_detail_by_pk?: ModelTypes["marketplace_cft20_detail"] | undefined, + /** update multiples rows of table: "marketplace_cft20_detail" */ + update_marketplace_cft20_detail_many?: Array | undefined, + /** update data of the table: "marketplace_cft20_trade_history" */ + update_marketplace_cft20_trade_history?: ModelTypes["marketplace_cft20_trade_history_mutation_response"] | undefined, + /** update single row of the table: "marketplace_cft20_trade_history" */ + update_marketplace_cft20_trade_history_by_pk?: ModelTypes["marketplace_cft20_trade_history"] | undefined, + /** update multiples rows of table: "marketplace_cft20_trade_history" */ + update_marketplace_cft20_trade_history_many?: Array | undefined, + /** update data of the table: "marketplace_listing" */ + update_marketplace_listing?: ModelTypes["marketplace_listing_mutation_response"] | undefined, + /** update single row of the table: "marketplace_listing" */ + update_marketplace_listing_by_pk?: ModelTypes["marketplace_listing"] | undefined, + /** update data of the table: "marketplace_listing_history" */ + update_marketplace_listing_history?: ModelTypes["marketplace_listing_history_mutation_response"] | undefined, + /** update single row of the table: "marketplace_listing_history" */ + update_marketplace_listing_history_by_pk?: ModelTypes["marketplace_listing_history"] | undefined, + /** update multiples rows of table: "marketplace_listing_history" */ + update_marketplace_listing_history_many?: Array | undefined, + /** update multiples rows of table: "marketplace_listing" */ + update_marketplace_listing_many?: Array | undefined, + /** update data of the table: "status" */ + update_status?: ModelTypes["status_mutation_response"] | undefined, + /** update single row of the table: "status" */ + update_status_by_pk?: ModelTypes["status"] | undefined, + /** update multiples rows of table: "status" */ + update_status_many?: Array | undefined, + /** update data of the table: "token" */ + update_token?: ModelTypes["token_mutation_response"] | undefined, + /** update data of the table: "token_address_history" */ + update_token_address_history?: ModelTypes["token_address_history_mutation_response"] | undefined, + /** update single row of the table: "token_address_history" */ + update_token_address_history_by_pk?: ModelTypes["token_address_history"] | undefined, + /** update multiples rows of table: "token_address_history" */ + update_token_address_history_many?: Array | undefined, + /** update single row of the table: "token" */ + update_token_by_pk?: ModelTypes["token"] | undefined, + /** update data of the table: "token_holder" */ + update_token_holder?: ModelTypes["token_holder_mutation_response"] | undefined, + /** update single row of the table: "token_holder" */ + update_token_holder_by_pk?: ModelTypes["token_holder"] | undefined, + /** update multiples rows of table: "token_holder" */ + update_token_holder_many?: Array | undefined, + /** update multiples rows of table: "token" */ + update_token_many?: Array | undefined, + /** update data of the table: "token_open_position" */ + update_token_open_position?: ModelTypes["token_open_position_mutation_response"] | undefined, + /** update single row of the table: "token_open_position" */ + update_token_open_position_by_pk?: ModelTypes["token_open_position"] | undefined, + /** update multiples rows of table: "token_open_position" */ + update_token_open_position_many?: Array | undefined, + /** update data of the table: "token_trade_history" */ + update_token_trade_history?: ModelTypes["token_trade_history_mutation_response"] | undefined, + /** update single row of the table: "token_trade_history" */ + update_token_trade_history_by_pk?: ModelTypes["token_trade_history"] | undefined, + /** update multiples rows of table: "token_trade_history" */ + update_token_trade_history_many?: Array | undefined, + /** update data of the table: "transaction" */ + update_transaction?: ModelTypes["transaction_mutation_response"] | undefined, + /** update single row of the table: "transaction" */ + update_transaction_by_pk?: ModelTypes["transaction"] | undefined, + /** update multiples rows of table: "transaction" */ + update_transaction_many?: Array | undefined +}; + ["numeric"]:any; + /** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ +["numeric_comparison_exp"]: { + _eq?: ModelTypes["numeric"] | undefined, + _gt?: ModelTypes["numeric"] | undefined, + _gte?: ModelTypes["numeric"] | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: ModelTypes["numeric"] | undefined, + _lte?: ModelTypes["numeric"] | undefined, + _neq?: ModelTypes["numeric"] | undefined, + _nin?: Array | undefined +}; + ["order_by"]:order_by; + ["query_root"]: { + /** fetch data from the table: "inscription" */ + inscription: Array, + /** fetch aggregated fields from the table: "inscription" */ + inscription_aggregate: ModelTypes["inscription_aggregate"], + /** fetch data from the table: "inscription" using primary key columns */ + inscription_by_pk?: ModelTypes["inscription"] | undefined, + /** fetch data from the table: "inscription_history" */ + inscription_history: Array, + /** fetch aggregated fields from the table: "inscription_history" */ + inscription_history_aggregate: ModelTypes["inscription_history_aggregate"], + /** fetch data from the table: "inscription_history" using primary key columns */ + inscription_history_by_pk?: ModelTypes["inscription_history"] | undefined, + /** fetch data from the table: "marketplace_cft20_detail" */ + marketplace_cft20_detail: Array, + /** fetch aggregated fields from the table: "marketplace_cft20_detail" */ + marketplace_cft20_detail_aggregate: ModelTypes["marketplace_cft20_detail_aggregate"], + /** fetch data from the table: "marketplace_cft20_detail" using primary key columns */ + marketplace_cft20_detail_by_pk?: ModelTypes["marketplace_cft20_detail"] | undefined, + /** fetch data from the table: "marketplace_cft20_trade_history" */ + marketplace_cft20_trade_history: Array, + /** fetch aggregated fields from the table: "marketplace_cft20_trade_history" */ + marketplace_cft20_trade_history_aggregate: ModelTypes["marketplace_cft20_trade_history_aggregate"], + /** fetch data from the table: "marketplace_cft20_trade_history" using primary key columns */ + marketplace_cft20_trade_history_by_pk?: ModelTypes["marketplace_cft20_trade_history"] | undefined, + /** fetch data from the table: "marketplace_listing" */ + marketplace_listing: Array, + /** fetch aggregated fields from the table: "marketplace_listing" */ + marketplace_listing_aggregate: ModelTypes["marketplace_listing_aggregate"], + /** fetch data from the table: "marketplace_listing" using primary key columns */ + marketplace_listing_by_pk?: ModelTypes["marketplace_listing"] | undefined, + /** fetch data from the table: "marketplace_listing_history" */ + marketplace_listing_history: Array, + /** fetch aggregated fields from the table: "marketplace_listing_history" */ + marketplace_listing_history_aggregate: ModelTypes["marketplace_listing_history_aggregate"], + /** fetch data from the table: "marketplace_listing_history" using primary key columns */ + marketplace_listing_history_by_pk?: ModelTypes["marketplace_listing_history"] | undefined, + /** fetch data from the table: "status" */ + status: Array, + /** fetch aggregated fields from the table: "status" */ + status_aggregate: ModelTypes["status_aggregate"], + /** fetch data from the table: "status" using primary key columns */ + status_by_pk?: ModelTypes["status"] | undefined, + /** fetch data from the table: "token" */ + token: Array, + /** fetch data from the table: "token_address_history" */ + token_address_history: Array, + /** fetch aggregated fields from the table: "token_address_history" */ + token_address_history_aggregate: ModelTypes["token_address_history_aggregate"], + /** fetch data from the table: "token_address_history" using primary key columns */ + token_address_history_by_pk?: ModelTypes["token_address_history"] | undefined, + /** fetch aggregated fields from the table: "token" */ + token_aggregate: ModelTypes["token_aggregate"], + /** fetch data from the table: "token" using primary key columns */ + token_by_pk?: ModelTypes["token"] | undefined, + /** fetch data from the table: "token_holder" */ + token_holder: Array, + /** fetch aggregated fields from the table: "token_holder" */ + token_holder_aggregate: ModelTypes["token_holder_aggregate"], + /** fetch data from the table: "token_holder" using primary key columns */ + token_holder_by_pk?: ModelTypes["token_holder"] | undefined, + /** fetch data from the table: "token_open_position" */ + token_open_position: Array, + /** fetch aggregated fields from the table: "token_open_position" */ + token_open_position_aggregate: ModelTypes["token_open_position_aggregate"], + /** fetch data from the table: "token_open_position" using primary key columns */ + token_open_position_by_pk?: ModelTypes["token_open_position"] | undefined, + /** fetch data from the table: "token_trade_history" */ + token_trade_history: Array, + /** fetch aggregated fields from the table: "token_trade_history" */ + token_trade_history_aggregate: ModelTypes["token_trade_history_aggregate"], + /** fetch data from the table: "token_trade_history" using primary key columns */ + token_trade_history_by_pk?: ModelTypes["token_trade_history"] | undefined, + /** fetch data from the table: "transaction" */ + transaction: Array, + /** fetch aggregated fields from the table: "transaction" */ + transaction_aggregate: ModelTypes["transaction_aggregate"], + /** fetch data from the table: "transaction" using primary key columns */ + transaction_by_pk?: ModelTypes["transaction"] | undefined +}; + ["smallint"]:any; + /** Boolean expression to compare columns of type "smallint". All fields are combined with logical 'AND'. */ +["smallint_comparison_exp"]: { + _eq?: ModelTypes["smallint"] | undefined, + _gt?: ModelTypes["smallint"] | undefined, + _gte?: ModelTypes["smallint"] | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: ModelTypes["smallint"] | undefined, + _lte?: ModelTypes["smallint"] | undefined, + _neq?: ModelTypes["smallint"] | undefined, + _nin?: Array | undefined +}; + /** columns and relationships of "status" */ +["status"]: { + base_token: string, + base_token_usd: number, + chain_id: string, + date_updated: ModelTypes["timestamp"], + id: number, + last_known_height?: number | undefined, + last_processed_height: number +}; + /** aggregated selection of "status" */ +["status_aggregate"]: { + aggregate?: ModelTypes["status_aggregate_fields"] | undefined, + nodes: Array +}; + /** aggregate fields of "status" */ +["status_aggregate_fields"]: { + avg?: ModelTypes["status_avg_fields"] | undefined, + count: number, + max?: ModelTypes["status_max_fields"] | undefined, + min?: ModelTypes["status_min_fields"] | undefined, + stddev?: ModelTypes["status_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["status_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["status_stddev_samp_fields"] | undefined, + sum?: ModelTypes["status_sum_fields"] | undefined, + var_pop?: ModelTypes["status_var_pop_fields"] | undefined, + var_samp?: ModelTypes["status_var_samp_fields"] | undefined, + variance?: ModelTypes["status_variance_fields"] | undefined +}; + /** aggregate avg on columns */ +["status_avg_fields"]: { + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** Boolean expression to filter rows from the table "status". All fields are combined with a logical 'AND'. */ +["status_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["status_bool_exp"] | undefined, + _or?: Array | undefined, + base_token?: ModelTypes["String_comparison_exp"] | undefined, + base_token_usd?: ModelTypes["Float_comparison_exp"] | undefined, + chain_id?: ModelTypes["String_comparison_exp"] | undefined, + date_updated?: ModelTypes["timestamp_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + last_known_height?: ModelTypes["Int_comparison_exp"] | undefined, + last_processed_height?: ModelTypes["Int_comparison_exp"] | undefined +}; + ["status_constraint"]:status_constraint; + /** input type for incrementing numeric columns in table "status" */ +["status_inc_input"]: { + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** input type for inserting data into table "status" */ +["status_insert_input"]: { + base_token?: string | undefined, + base_token_usd?: number | undefined, + chain_id?: string | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate max on columns */ +["status_max_fields"]: { + base_token?: string | undefined, + base_token_usd?: number | undefined, + chain_id?: string | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate min on columns */ +["status_min_fields"]: { + base_token?: string | undefined, + base_token_usd?: number | undefined, + chain_id?: string | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** response of any mutation on the table "status" */ +["status_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "status" */ +["status_on_conflict"]: { + constraint: ModelTypes["status_constraint"], + update_columns: Array, + where?: ModelTypes["status_bool_exp"] | undefined +}; + /** Ordering options when selecting data from "status". */ +["status_order_by"]: { + base_token?: ModelTypes["order_by"] | undefined, + base_token_usd?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_updated?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + last_known_height?: ModelTypes["order_by"] | undefined, + last_processed_height?: ModelTypes["order_by"] | undefined +}; + /** primary key columns input for table: status */ +["status_pk_columns_input"]: { + id: number +}; + ["status_select_column"]:status_select_column; + /** input type for updating data in table "status" */ +["status_set_input"]: { + base_token?: string | undefined, + base_token_usd?: number | undefined, + chain_id?: string | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate stddev on columns */ +["status_stddev_fields"]: { + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate stddev_pop on columns */ +["status_stddev_pop_fields"]: { + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate stddev_samp on columns */ +["status_stddev_samp_fields"]: { + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** Streaming cursor of the table "status" */ +["status_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["status_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; + /** Initial value of the column from where the streaming should start */ +["status_stream_cursor_value_input"]: { + base_token?: string | undefined, + base_token_usd?: number | undefined, + chain_id?: string | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate sum on columns */ +["status_sum_fields"]: { + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + ["status_update_column"]:status_update_column; + ["status_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["status_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["status_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["status_bool_exp"] +}; + /** aggregate var_pop on columns */ +["status_var_pop_fields"]: { + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate var_samp on columns */ +["status_var_samp_fields"]: { + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate variance on columns */ +["status_variance_fields"]: { + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + ["subscription_root"]: { + /** fetch data from the table: "inscription" */ + inscription: Array, + /** fetch aggregated fields from the table: "inscription" */ + inscription_aggregate: ModelTypes["inscription_aggregate"], + /** fetch data from the table: "inscription" using primary key columns */ + inscription_by_pk?: ModelTypes["inscription"] | undefined, + /** fetch data from the table: "inscription_history" */ + inscription_history: Array, + /** fetch aggregated fields from the table: "inscription_history" */ + inscription_history_aggregate: ModelTypes["inscription_history_aggregate"], + /** fetch data from the table: "inscription_history" using primary key columns */ + inscription_history_by_pk?: ModelTypes["inscription_history"] | undefined, + /** fetch data from the table in a streaming manner: "inscription_history" */ + inscription_history_stream: Array, + /** fetch data from the table in a streaming manner: "inscription" */ + inscription_stream: Array, + /** fetch data from the table: "marketplace_cft20_detail" */ + marketplace_cft20_detail: Array, + /** fetch aggregated fields from the table: "marketplace_cft20_detail" */ + marketplace_cft20_detail_aggregate: ModelTypes["marketplace_cft20_detail_aggregate"], + /** fetch data from the table: "marketplace_cft20_detail" using primary key columns */ + marketplace_cft20_detail_by_pk?: ModelTypes["marketplace_cft20_detail"] | undefined, + /** fetch data from the table in a streaming manner: "marketplace_cft20_detail" */ + marketplace_cft20_detail_stream: Array, + /** fetch data from the table: "marketplace_cft20_trade_history" */ + marketplace_cft20_trade_history: Array, + /** fetch aggregated fields from the table: "marketplace_cft20_trade_history" */ + marketplace_cft20_trade_history_aggregate: ModelTypes["marketplace_cft20_trade_history_aggregate"], + /** fetch data from the table: "marketplace_cft20_trade_history" using primary key columns */ + marketplace_cft20_trade_history_by_pk?: ModelTypes["marketplace_cft20_trade_history"] | undefined, + /** fetch data from the table in a streaming manner: "marketplace_cft20_trade_history" */ + marketplace_cft20_trade_history_stream: Array, + /** fetch data from the table: "marketplace_listing" */ + marketplace_listing: Array, + /** fetch aggregated fields from the table: "marketplace_listing" */ + marketplace_listing_aggregate: ModelTypes["marketplace_listing_aggregate"], + /** fetch data from the table: "marketplace_listing" using primary key columns */ + marketplace_listing_by_pk?: ModelTypes["marketplace_listing"] | undefined, + /** fetch data from the table: "marketplace_listing_history" */ + marketplace_listing_history: Array, + /** fetch aggregated fields from the table: "marketplace_listing_history" */ + marketplace_listing_history_aggregate: ModelTypes["marketplace_listing_history_aggregate"], + /** fetch data from the table: "marketplace_listing_history" using primary key columns */ + marketplace_listing_history_by_pk?: ModelTypes["marketplace_listing_history"] | undefined, + /** fetch data from the table in a streaming manner: "marketplace_listing_history" */ + marketplace_listing_history_stream: Array, + /** fetch data from the table in a streaming manner: "marketplace_listing" */ + marketplace_listing_stream: Array, + /** fetch data from the table: "status" */ + status: Array, + /** fetch aggregated fields from the table: "status" */ + status_aggregate: ModelTypes["status_aggregate"], + /** fetch data from the table: "status" using primary key columns */ + status_by_pk?: ModelTypes["status"] | undefined, + /** fetch data from the table in a streaming manner: "status" */ + status_stream: Array, + /** fetch data from the table: "token" */ + token: Array, + /** fetch data from the table: "token_address_history" */ + token_address_history: Array, + /** fetch aggregated fields from the table: "token_address_history" */ + token_address_history_aggregate: ModelTypes["token_address_history_aggregate"], + /** fetch data from the table: "token_address_history" using primary key columns */ + token_address_history_by_pk?: ModelTypes["token_address_history"] | undefined, + /** fetch data from the table in a streaming manner: "token_address_history" */ + token_address_history_stream: Array, + /** fetch aggregated fields from the table: "token" */ + token_aggregate: ModelTypes["token_aggregate"], + /** fetch data from the table: "token" using primary key columns */ + token_by_pk?: ModelTypes["token"] | undefined, + /** fetch data from the table: "token_holder" */ + token_holder: Array, + /** fetch aggregated fields from the table: "token_holder" */ + token_holder_aggregate: ModelTypes["token_holder_aggregate"], + /** fetch data from the table: "token_holder" using primary key columns */ + token_holder_by_pk?: ModelTypes["token_holder"] | undefined, + /** fetch data from the table in a streaming manner: "token_holder" */ + token_holder_stream: Array, + /** fetch data from the table: "token_open_position" */ + token_open_position: Array, + /** fetch aggregated fields from the table: "token_open_position" */ + token_open_position_aggregate: ModelTypes["token_open_position_aggregate"], + /** fetch data from the table: "token_open_position" using primary key columns */ + token_open_position_by_pk?: ModelTypes["token_open_position"] | undefined, + /** fetch data from the table in a streaming manner: "token_open_position" */ + token_open_position_stream: Array, + /** fetch data from the table in a streaming manner: "token" */ + token_stream: Array, + /** fetch data from the table: "token_trade_history" */ + token_trade_history: Array, + /** fetch aggregated fields from the table: "token_trade_history" */ + token_trade_history_aggregate: ModelTypes["token_trade_history_aggregate"], + /** fetch data from the table: "token_trade_history" using primary key columns */ + token_trade_history_by_pk?: ModelTypes["token_trade_history"] | undefined, + /** fetch data from the table in a streaming manner: "token_trade_history" */ + token_trade_history_stream: Array, + /** fetch data from the table: "transaction" */ + transaction: Array, + /** fetch aggregated fields from the table: "transaction" */ + transaction_aggregate: ModelTypes["transaction_aggregate"], + /** fetch data from the table: "transaction" using primary key columns */ + transaction_by_pk?: ModelTypes["transaction"] | undefined, + /** fetch data from the table in a streaming manner: "transaction" */ + transaction_stream: Array +}; + ["timestamp"]:any; + /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ +["timestamp_comparison_exp"]: { + _eq?: ModelTypes["timestamp"] | undefined, + _gt?: ModelTypes["timestamp"] | undefined, + _gte?: ModelTypes["timestamp"] | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: ModelTypes["timestamp"] | undefined, + _lte?: ModelTypes["timestamp"] | undefined, + _neq?: ModelTypes["timestamp"] | undefined, + _nin?: Array | undefined +}; + /** columns and relationships of "token" */ +["token"]: { + chain_id: string, + circulating_supply: ModelTypes["bigint"], + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator: string, + current_owner: string, + date_created: ModelTypes["timestamp"], + decimals: ModelTypes["smallint"], + height: number, + id: number, + is_explicit: boolean, + last_price_base: ModelTypes["bigint"], + launch_timestamp: ModelTypes["bigint"], + /** An array relationship */ + marketplace_cft20_details: Array, + /** An aggregate relationship */ + marketplace_cft20_details_aggregate: ModelTypes["marketplace_cft20_detail_aggregate"], + /** An array relationship */ + marketplace_cft20_trade_histories: Array, + /** An aggregate relationship */ + marketplace_cft20_trade_histories_aggregate: ModelTypes["marketplace_cft20_trade_history_aggregate"], + max_supply: ModelTypes["numeric"], + metadata?: string | undefined, + mint_page: string, + name: string, + per_mint_limit: ModelTypes["bigint"], + ticker: string, + /** An array relationship */ + token_address_histories: Array, + /** An aggregate relationship */ + token_address_histories_aggregate: ModelTypes["token_address_history_aggregate"], + /** An array relationship */ + token_holders: Array, + /** An aggregate relationship */ + token_holders_aggregate: ModelTypes["token_holder_aggregate"], + /** An array relationship */ + token_open_positions: Array, + /** An aggregate relationship */ + token_open_positions_aggregate: ModelTypes["token_open_position_aggregate"], + /** An array relationship */ + token_trade_histories: Array, + /** An aggregate relationship */ + token_trade_histories_aggregate: ModelTypes["token_trade_history_aggregate"], + /** An object relationship */ + transaction: ModelTypes["transaction"], + transaction_id: number, + version: string, + volume_24_base: ModelTypes["bigint"] +}; + /** columns and relationships of "token_address_history" */ +["token_address_history"]: { + action: string, + amount: ModelTypes["bigint"], + chain_id: string, + date_created: ModelTypes["timestamp"], + height: number, + id: number, + receiver?: string | undefined, + sender: string, + /** An object relationship */ + token: ModelTypes["token"], + token_id: number, + /** An object relationship */ + transaction: ModelTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "token_address_history" */ +["token_address_history_aggregate"]: { + aggregate?: ModelTypes["token_address_history_aggregate_fields"] | undefined, + nodes: Array +}; + ["token_address_history_aggregate_bool_exp"]: { + count?: ModelTypes["token_address_history_aggregate_bool_exp_count"] | undefined +}; + ["token_address_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: ModelTypes["token_address_history_bool_exp"] | undefined, + predicate: ModelTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token_address_history" */ +["token_address_history_aggregate_fields"]: { + avg?: ModelTypes["token_address_history_avg_fields"] | undefined, + count: number, + max?: ModelTypes["token_address_history_max_fields"] | undefined, + min?: ModelTypes["token_address_history_min_fields"] | undefined, + stddev?: ModelTypes["token_address_history_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["token_address_history_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["token_address_history_stddev_samp_fields"] | undefined, + sum?: ModelTypes["token_address_history_sum_fields"] | undefined, + var_pop?: ModelTypes["token_address_history_var_pop_fields"] | undefined, + var_samp?: ModelTypes["token_address_history_var_samp_fields"] | undefined, + variance?: ModelTypes["token_address_history_variance_fields"] | undefined +}; + /** order by aggregate values of table "token_address_history" */ +["token_address_history_aggregate_order_by"]: { + avg?: ModelTypes["token_address_history_avg_order_by"] | undefined, + count?: ModelTypes["order_by"] | undefined, + max?: ModelTypes["token_address_history_max_order_by"] | undefined, + min?: ModelTypes["token_address_history_min_order_by"] | undefined, + stddev?: ModelTypes["token_address_history_stddev_order_by"] | undefined, + stddev_pop?: ModelTypes["token_address_history_stddev_pop_order_by"] | undefined, + stddev_samp?: ModelTypes["token_address_history_stddev_samp_order_by"] | undefined, + sum?: ModelTypes["token_address_history_sum_order_by"] | undefined, + var_pop?: ModelTypes["token_address_history_var_pop_order_by"] | undefined, + var_samp?: ModelTypes["token_address_history_var_samp_order_by"] | undefined, + variance?: ModelTypes["token_address_history_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "token_address_history" */ +["token_address_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ModelTypes["token_address_history_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["token_address_history_avg_fields"]: { + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by avg() on columns of table "token_address_history" */ +["token_address_history_avg_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "token_address_history". All fields are combined with a logical 'AND'. */ - ["token_address_history_bool_exp"]: { - _and?: Array | undefined, - _not?: ModelTypes["token_address_history_bool_exp"] | undefined, - _or?: Array | undefined, - action?: ModelTypes["String_comparison_exp"] | undefined, - amount?: ModelTypes["bigint_comparison_exp"] | undefined, - chain_id?: ModelTypes["String_comparison_exp"] | undefined, - date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, - height?: ModelTypes["Int_comparison_exp"] | undefined, - id?: ModelTypes["Int_comparison_exp"] | undefined, - receiver?: ModelTypes["String_comparison_exp"] | undefined, - sender?: ModelTypes["String_comparison_exp"] | undefined, - token?: ModelTypes["token_bool_exp"] | undefined, - token_id?: ModelTypes["Int_comparison_exp"] | undefined, - transaction?: ModelTypes["transaction_bool_exp"] | undefined, - transaction_id?: ModelTypes["Int_comparison_exp"] | undefined - }; +["token_address_history_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["token_address_history_bool_exp"] | undefined, + _or?: Array | undefined, + action?: ModelTypes["String_comparison_exp"] | undefined, + amount?: ModelTypes["bigint_comparison_exp"] | undefined, + chain_id?: ModelTypes["String_comparison_exp"] | undefined, + date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, + height?: ModelTypes["Int_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + receiver?: ModelTypes["String_comparison_exp"] | undefined, + sender?: ModelTypes["String_comparison_exp"] | undefined, + token?: ModelTypes["token_bool_exp"] | undefined, + token_id?: ModelTypes["Int_comparison_exp"] | undefined, + transaction?: ModelTypes["transaction_bool_exp"] | undefined, + transaction_id?: ModelTypes["Int_comparison_exp"] | undefined +}; + ["token_address_history_constraint"]:token_address_history_constraint; + /** input type for incrementing numeric columns in table "token_address_history" */ +["token_address_history_inc_input"]: { + amount?: ModelTypes["bigint"] | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "token_address_history" */ +["token_address_history_insert_input"]: { + action?: string | undefined, + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + token?: ModelTypes["token_obj_rel_insert_input"] | undefined, + token_id?: number | undefined, + transaction?: ModelTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["token_address_history_max_fields"]: { + action?: string | undefined, + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by max() on columns of table "token_address_history" */ - ["token_address_history_max_order_by"]: { - action?: ModelTypes["order_by"] | undefined, - amount?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - receiver?: ModelTypes["order_by"] | undefined, - sender?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_address_history_max_order_by"]: { + action?: ModelTypes["order_by"] | undefined, + amount?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + receiver?: ModelTypes["order_by"] | undefined, + sender?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["token_address_history_min_fields"]: { + action?: string | undefined, + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by min() on columns of table "token_address_history" */ - ["token_address_history_min_order_by"]: { - action?: ModelTypes["order_by"] | undefined, - amount?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - receiver?: ModelTypes["order_by"] | undefined, - sender?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_address_history_min_order_by"]: { + action?: ModelTypes["order_by"] | undefined, + amount?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + receiver?: ModelTypes["order_by"] | undefined, + sender?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** response of any mutation on the table "token_address_history" */ +["token_address_history_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "token_address_history" */ +["token_address_history_on_conflict"]: { + constraint: ModelTypes["token_address_history_constraint"], + update_columns: Array, + where?: ModelTypes["token_address_history_bool_exp"] | undefined +}; /** Ordering options when selecting data from "token_address_history". */ - ["token_address_history_order_by"]: { - action?: ModelTypes["order_by"] | undefined, - amount?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - receiver?: ModelTypes["order_by"] | undefined, - sender?: ModelTypes["order_by"] | undefined, - token?: ModelTypes["token_order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - transaction?: ModelTypes["transaction_order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - ["token_address_history_select_column"]: token_address_history_select_column; +["token_address_history_order_by"]: { + action?: ModelTypes["order_by"] | undefined, + amount?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + receiver?: ModelTypes["order_by"] | undefined, + sender?: ModelTypes["order_by"] | undefined, + token?: ModelTypes["token_order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + transaction?: ModelTypes["transaction_order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** primary key columns input for table: token_address_history */ +["token_address_history_pk_columns_input"]: { + id: number +}; + ["token_address_history_select_column"]:token_address_history_select_column; + /** input type for updating data in table "token_address_history" */ +["token_address_history_set_input"]: { + action?: string | undefined, + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["token_address_history_stddev_fields"]: { + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev() on columns of table "token_address_history" */ - ["token_address_history_stddev_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_address_history_stddev_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["token_address_history_stddev_pop_fields"]: { + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_pop() on columns of table "token_address_history" */ - ["token_address_history_stddev_pop_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_address_history_stddev_pop_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["token_address_history_stddev_samp_fields"]: { + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_samp() on columns of table "token_address_history" */ - ["token_address_history_stddev_samp_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_address_history_stddev_samp_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** Streaming cursor of the table "token_address_history" */ - ["token_address_history_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ModelTypes["token_address_history_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ModelTypes["cursor_ordering"] | undefined - }; +["token_address_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["token_address_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["token_address_history_stream_cursor_value_input"]: { - action?: string | undefined, +["token_address_history_stream_cursor_value_input"]: { + action?: string | undefined, + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["token_address_history_sum_fields"]: { amount?: ModelTypes["bigint"] | undefined, - chain_id?: string | undefined, - date_created?: ModelTypes["timestamp"] | undefined, - height?: number | undefined, - id?: number | undefined, - receiver?: string | undefined, - sender?: string | undefined, - token_id?: number | undefined, - transaction_id?: number | undefined - }; + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by sum() on columns of table "token_address_history" */ - ["token_address_history_sum_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_address_history_sum_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + ["token_address_history_update_column"]:token_address_history_update_column; + ["token_address_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["token_address_history_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["token_address_history_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["token_address_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_address_history_var_pop_fields"]: { + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_pop() on columns of table "token_address_history" */ - ["token_address_history_var_pop_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_address_history_var_pop_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["token_address_history_var_samp_fields"]: { + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_samp() on columns of table "token_address_history" */ - ["token_address_history_var_samp_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_address_history_var_samp_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["token_address_history_variance_fields"]: { + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by variance() on columns of table "token_address_history" */ - ["token_address_history_variance_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_address_history_variance_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregated selection of "token" */ +["token_aggregate"]: { + aggregate?: ModelTypes["token_aggregate_fields"] | undefined, + nodes: Array +}; + ["token_aggregate_bool_exp"]: { + bool_and?: ModelTypes["token_aggregate_bool_exp_bool_and"] | undefined, + bool_or?: ModelTypes["token_aggregate_bool_exp_bool_or"] | undefined, + count?: ModelTypes["token_aggregate_bool_exp_count"] | undefined +}; + ["token_aggregate_bool_exp_bool_and"]: { + arguments: ModelTypes["token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns"], + distinct?: boolean | undefined, + filter?: ModelTypes["token_bool_exp"] | undefined, + predicate: ModelTypes["Boolean_comparison_exp"] +}; + ["token_aggregate_bool_exp_bool_or"]: { + arguments: ModelTypes["token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns"], + distinct?: boolean | undefined, + filter?: ModelTypes["token_bool_exp"] | undefined, + predicate: ModelTypes["Boolean_comparison_exp"] +}; + ["token_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: ModelTypes["token_bool_exp"] | undefined, + predicate: ModelTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token" */ +["token_aggregate_fields"]: { + avg?: ModelTypes["token_avg_fields"] | undefined, + count: number, + max?: ModelTypes["token_max_fields"] | undefined, + min?: ModelTypes["token_min_fields"] | undefined, + stddev?: ModelTypes["token_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["token_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["token_stddev_samp_fields"] | undefined, + sum?: ModelTypes["token_sum_fields"] | undefined, + var_pop?: ModelTypes["token_var_pop_fields"] | undefined, + var_samp?: ModelTypes["token_var_samp_fields"] | undefined, + variance?: ModelTypes["token_variance_fields"] | undefined +}; + /** order by aggregate values of table "token" */ +["token_aggregate_order_by"]: { + avg?: ModelTypes["token_avg_order_by"] | undefined, + count?: ModelTypes["order_by"] | undefined, + max?: ModelTypes["token_max_order_by"] | undefined, + min?: ModelTypes["token_min_order_by"] | undefined, + stddev?: ModelTypes["token_stddev_order_by"] | undefined, + stddev_pop?: ModelTypes["token_stddev_pop_order_by"] | undefined, + stddev_samp?: ModelTypes["token_stddev_samp_order_by"] | undefined, + sum?: ModelTypes["token_sum_order_by"] | undefined, + var_pop?: ModelTypes["token_var_pop_order_by"] | undefined, + var_samp?: ModelTypes["token_var_samp_order_by"] | undefined, + variance?: ModelTypes["token_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "token" */ +["token_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ModelTypes["token_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["token_avg_fields"]: { + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by avg() on columns of table "token" */ +["token_avg_order_by"]: { + circulating_supply?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + decimals?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + last_price_base?: ModelTypes["order_by"] | undefined, + launch_timestamp?: ModelTypes["order_by"] | undefined, + max_supply?: ModelTypes["order_by"] | undefined, + per_mint_limit?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + volume_24_base?: ModelTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "token". All fields are combined with a logical 'AND'. */ - ["token_bool_exp"]: { - _and?: Array | undefined, - _not?: ModelTypes["token_bool_exp"] | undefined, - _or?: Array | undefined, - chain_id?: ModelTypes["String_comparison_exp"] | undefined, - circulating_supply?: ModelTypes["bigint_comparison_exp"] | undefined, - content_path?: ModelTypes["String_comparison_exp"] | undefined, - content_size_bytes?: ModelTypes["Int_comparison_exp"] | undefined, - creator?: ModelTypes["String_comparison_exp"] | undefined, - current_owner?: ModelTypes["String_comparison_exp"] | undefined, - date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, - decimals?: ModelTypes["smallint_comparison_exp"] | undefined, - height?: ModelTypes["Int_comparison_exp"] | undefined, - id?: ModelTypes["Int_comparison_exp"] | undefined, - last_price_base?: ModelTypes["bigint_comparison_exp"] | undefined, - launch_timestamp?: ModelTypes["bigint_comparison_exp"] | undefined, - marketplace_cft20_details?: ModelTypes["marketplace_cft20_detail_bool_exp"] | undefined, - max_supply?: ModelTypes["numeric_comparison_exp"] | undefined, - metadata?: ModelTypes["String_comparison_exp"] | undefined, - mint_page?: ModelTypes["String_comparison_exp"] | undefined, - name?: ModelTypes["String_comparison_exp"] | undefined, - per_mint_limit?: ModelTypes["bigint_comparison_exp"] | undefined, - ticker?: ModelTypes["String_comparison_exp"] | undefined, - token_address_histories?: ModelTypes["token_address_history_bool_exp"] | undefined, - token_holders?: ModelTypes["token_holder_bool_exp"] | undefined, - token_open_positions?: ModelTypes["token_open_position_bool_exp"] | undefined, - token_trade_histories?: ModelTypes["token_trade_history_bool_exp"] | undefined, - transaction?: ModelTypes["transaction_bool_exp"] | undefined, - transaction_id?: ModelTypes["Int_comparison_exp"] | undefined, - version?: ModelTypes["String_comparison_exp"] | undefined, - volume_24_base?: ModelTypes["bigint_comparison_exp"] | undefined - }; +["token_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["token_bool_exp"] | undefined, + _or?: Array | undefined, + chain_id?: ModelTypes["String_comparison_exp"] | undefined, + circulating_supply?: ModelTypes["bigint_comparison_exp"] | undefined, + content_path?: ModelTypes["String_comparison_exp"] | undefined, + content_size_bytes?: ModelTypes["Int_comparison_exp"] | undefined, + creator?: ModelTypes["String_comparison_exp"] | undefined, + current_owner?: ModelTypes["String_comparison_exp"] | undefined, + date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, + decimals?: ModelTypes["smallint_comparison_exp"] | undefined, + height?: ModelTypes["Int_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + is_explicit?: ModelTypes["Boolean_comparison_exp"] | undefined, + last_price_base?: ModelTypes["bigint_comparison_exp"] | undefined, + launch_timestamp?: ModelTypes["bigint_comparison_exp"] | undefined, + marketplace_cft20_details?: ModelTypes["marketplace_cft20_detail_bool_exp"] | undefined, + marketplace_cft20_details_aggregate?: ModelTypes["marketplace_cft20_detail_aggregate_bool_exp"] | undefined, + marketplace_cft20_trade_histories?: ModelTypes["marketplace_cft20_trade_history_bool_exp"] | undefined, + marketplace_cft20_trade_histories_aggregate?: ModelTypes["marketplace_cft20_trade_history_aggregate_bool_exp"] | undefined, + max_supply?: ModelTypes["numeric_comparison_exp"] | undefined, + metadata?: ModelTypes["String_comparison_exp"] | undefined, + mint_page?: ModelTypes["String_comparison_exp"] | undefined, + name?: ModelTypes["String_comparison_exp"] | undefined, + per_mint_limit?: ModelTypes["bigint_comparison_exp"] | undefined, + ticker?: ModelTypes["String_comparison_exp"] | undefined, + token_address_histories?: ModelTypes["token_address_history_bool_exp"] | undefined, + token_address_histories_aggregate?: ModelTypes["token_address_history_aggregate_bool_exp"] | undefined, + token_holders?: ModelTypes["token_holder_bool_exp"] | undefined, + token_holders_aggregate?: ModelTypes["token_holder_aggregate_bool_exp"] | undefined, + token_open_positions?: ModelTypes["token_open_position_bool_exp"] | undefined, + token_open_positions_aggregate?: ModelTypes["token_open_position_aggregate_bool_exp"] | undefined, + token_trade_histories?: ModelTypes["token_trade_history_bool_exp"] | undefined, + token_trade_histories_aggregate?: ModelTypes["token_trade_history_aggregate_bool_exp"] | undefined, + transaction?: ModelTypes["transaction_bool_exp"] | undefined, + transaction_id?: ModelTypes["Int_comparison_exp"] | undefined, + version?: ModelTypes["String_comparison_exp"] | undefined, + volume_24_base?: ModelTypes["bigint_comparison_exp"] | undefined +}; + ["token_constraint"]:token_constraint; /** columns and relationships of "token_holder" */ - ["token_holder"]: { +["token_holder"]: { address: string, - amount: ModelTypes["bigint"], - chain_id: string, - date_updated: ModelTypes["timestamp"], - id: number, - /** An object relationship */ - token: ModelTypes["token"], - token_id: number - }; + amount: ModelTypes["bigint"], + chain_id: string, + date_updated: ModelTypes["timestamp"], + id: number, + /** An object relationship */ + token: ModelTypes["token"], + token_id: number +}; + /** aggregated selection of "token_holder" */ +["token_holder_aggregate"]: { + aggregate?: ModelTypes["token_holder_aggregate_fields"] | undefined, + nodes: Array +}; + ["token_holder_aggregate_bool_exp"]: { + count?: ModelTypes["token_holder_aggregate_bool_exp_count"] | undefined +}; + ["token_holder_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: ModelTypes["token_holder_bool_exp"] | undefined, + predicate: ModelTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token_holder" */ +["token_holder_aggregate_fields"]: { + avg?: ModelTypes["token_holder_avg_fields"] | undefined, + count: number, + max?: ModelTypes["token_holder_max_fields"] | undefined, + min?: ModelTypes["token_holder_min_fields"] | undefined, + stddev?: ModelTypes["token_holder_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["token_holder_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["token_holder_stddev_samp_fields"] | undefined, + sum?: ModelTypes["token_holder_sum_fields"] | undefined, + var_pop?: ModelTypes["token_holder_var_pop_fields"] | undefined, + var_samp?: ModelTypes["token_holder_var_samp_fields"] | undefined, + variance?: ModelTypes["token_holder_variance_fields"] | undefined +}; /** order by aggregate values of table "token_holder" */ - ["token_holder_aggregate_order_by"]: { - avg?: ModelTypes["token_holder_avg_order_by"] | undefined, - count?: ModelTypes["order_by"] | undefined, - max?: ModelTypes["token_holder_max_order_by"] | undefined, - min?: ModelTypes["token_holder_min_order_by"] | undefined, - stddev?: ModelTypes["token_holder_stddev_order_by"] | undefined, - stddev_pop?: ModelTypes["token_holder_stddev_pop_order_by"] | undefined, - stddev_samp?: ModelTypes["token_holder_stddev_samp_order_by"] | undefined, - sum?: ModelTypes["token_holder_sum_order_by"] | undefined, - var_pop?: ModelTypes["token_holder_var_pop_order_by"] | undefined, - var_samp?: ModelTypes["token_holder_var_samp_order_by"] | undefined, - variance?: ModelTypes["token_holder_variance_order_by"] | undefined - }; +["token_holder_aggregate_order_by"]: { + avg?: ModelTypes["token_holder_avg_order_by"] | undefined, + count?: ModelTypes["order_by"] | undefined, + max?: ModelTypes["token_holder_max_order_by"] | undefined, + min?: ModelTypes["token_holder_min_order_by"] | undefined, + stddev?: ModelTypes["token_holder_stddev_order_by"] | undefined, + stddev_pop?: ModelTypes["token_holder_stddev_pop_order_by"] | undefined, + stddev_samp?: ModelTypes["token_holder_stddev_samp_order_by"] | undefined, + sum?: ModelTypes["token_holder_sum_order_by"] | undefined, + var_pop?: ModelTypes["token_holder_var_pop_order_by"] | undefined, + var_samp?: ModelTypes["token_holder_var_samp_order_by"] | undefined, + variance?: ModelTypes["token_holder_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "token_holder" */ +["token_holder_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ModelTypes["token_holder_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["token_holder_avg_fields"]: { + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by avg() on columns of table "token_holder" */ - ["token_holder_avg_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["token_holder_avg_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "token_holder". All fields are combined with a logical 'AND'. */ - ["token_holder_bool_exp"]: { - _and?: Array | undefined, - _not?: ModelTypes["token_holder_bool_exp"] | undefined, - _or?: Array | undefined, - address?: ModelTypes["String_comparison_exp"] | undefined, - amount?: ModelTypes["bigint_comparison_exp"] | undefined, - chain_id?: ModelTypes["String_comparison_exp"] | undefined, - date_updated?: ModelTypes["timestamp_comparison_exp"] | undefined, - id?: ModelTypes["Int_comparison_exp"] | undefined, - token?: ModelTypes["token_bool_exp"] | undefined, - token_id?: ModelTypes["Int_comparison_exp"] | undefined - }; +["token_holder_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["token_holder_bool_exp"] | undefined, + _or?: Array | undefined, + address?: ModelTypes["String_comparison_exp"] | undefined, + amount?: ModelTypes["bigint_comparison_exp"] | undefined, + chain_id?: ModelTypes["String_comparison_exp"] | undefined, + date_updated?: ModelTypes["timestamp_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + token?: ModelTypes["token_bool_exp"] | undefined, + token_id?: ModelTypes["Int_comparison_exp"] | undefined +}; + ["token_holder_constraint"]:token_holder_constraint; + /** input type for incrementing numeric columns in table "token_holder" */ +["token_holder_inc_input"]: { + amount?: ModelTypes["bigint"] | undefined, + id?: number | undefined, + token_id?: number | undefined +}; + /** input type for inserting data into table "token_holder" */ +["token_holder_insert_input"]: { + address?: string | undefined, + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + token?: ModelTypes["token_obj_rel_insert_input"] | undefined, + token_id?: number | undefined +}; + /** aggregate max on columns */ +["token_holder_max_fields"]: { + address?: string | undefined, + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by max() on columns of table "token_holder" */ - ["token_holder_max_order_by"]: { - address?: ModelTypes["order_by"] | undefined, - amount?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_updated?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["token_holder_max_order_by"]: { + address?: ModelTypes["order_by"] | undefined, + amount?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_updated?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["token_holder_min_fields"]: { + address?: string | undefined, + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by min() on columns of table "token_holder" */ - ["token_holder_min_order_by"]: { - address?: ModelTypes["order_by"] | undefined, - amount?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_updated?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["token_holder_min_order_by"]: { + address?: ModelTypes["order_by"] | undefined, + amount?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_updated?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** response of any mutation on the table "token_holder" */ +["token_holder_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "token_holder" */ +["token_holder_on_conflict"]: { + constraint: ModelTypes["token_holder_constraint"], + update_columns: Array, + where?: ModelTypes["token_holder_bool_exp"] | undefined +}; /** Ordering options when selecting data from "token_holder". */ - ["token_holder_order_by"]: { - address?: ModelTypes["order_by"] | undefined, - amount?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_updated?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token?: ModelTypes["token_order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; - ["token_holder_select_column"]: token_holder_select_column; +["token_holder_order_by"]: { + address?: ModelTypes["order_by"] | undefined, + amount?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_updated?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token?: ModelTypes["token_order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** primary key columns input for table: token_holder */ +["token_holder_pk_columns_input"]: { + id: number +}; + ["token_holder_select_column"]:token_holder_select_column; + /** input type for updating data in table "token_holder" */ +["token_holder_set_input"]: { + address?: string | undefined, + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + token_id?: number | undefined +}; + /** aggregate stddev on columns */ +["token_holder_stddev_fields"]: { + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by stddev() on columns of table "token_holder" */ - ["token_holder_stddev_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["token_holder_stddev_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["token_holder_stddev_pop_fields"]: { + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by stddev_pop() on columns of table "token_holder" */ - ["token_holder_stddev_pop_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["token_holder_stddev_pop_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["token_holder_stddev_samp_fields"]: { + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by stddev_samp() on columns of table "token_holder" */ - ["token_holder_stddev_samp_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["token_holder_stddev_samp_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; /** Streaming cursor of the table "token_holder" */ - ["token_holder_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ModelTypes["token_holder_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ModelTypes["cursor_ordering"] | undefined - }; +["token_holder_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["token_holder_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["token_holder_stream_cursor_value_input"]: { - address?: string | undefined, +["token_holder_stream_cursor_value_input"]: { + address?: string | undefined, + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_updated?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + token_id?: number | undefined +}; + /** aggregate sum on columns */ +["token_holder_sum_fields"]: { amount?: ModelTypes["bigint"] | undefined, - chain_id?: string | undefined, - date_updated?: ModelTypes["timestamp"] | undefined, - id?: number | undefined, - token_id?: number | undefined - }; + id?: number | undefined, + token_id?: number | undefined +}; /** order by sum() on columns of table "token_holder" */ - ["token_holder_sum_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["token_holder_sum_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + ["token_holder_update_column"]:token_holder_update_column; + ["token_holder_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["token_holder_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["token_holder_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["token_holder_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_holder_var_pop_fields"]: { + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by var_pop() on columns of table "token_holder" */ - ["token_holder_var_pop_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["token_holder_var_pop_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["token_holder_var_samp_fields"]: { + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by var_samp() on columns of table "token_holder" */ - ["token_holder_var_samp_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["token_holder_var_samp_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["token_holder_variance_fields"]: { + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by variance() on columns of table "token_holder" */ - ["token_holder_variance_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined - }; +["token_holder_variance_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined +}; + /** input type for incrementing numeric columns in table "token" */ +["token_inc_input"]: { + circulating_supply?: ModelTypes["bigint"] | undefined, + content_size_bytes?: number | undefined, + decimals?: ModelTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: ModelTypes["bigint"] | undefined, + launch_timestamp?: ModelTypes["bigint"] | undefined, + max_supply?: ModelTypes["numeric"] | undefined, + per_mint_limit?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined, + volume_24_base?: ModelTypes["bigint"] | undefined +}; + /** input type for inserting data into table "token" */ +["token_insert_input"]: { + chain_id?: string | undefined, + circulating_supply?: ModelTypes["bigint"] | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + decimals?: ModelTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + is_explicit?: boolean | undefined, + last_price_base?: ModelTypes["bigint"] | undefined, + launch_timestamp?: ModelTypes["bigint"] | undefined, + marketplace_cft20_details?: ModelTypes["marketplace_cft20_detail_arr_rel_insert_input"] | undefined, + marketplace_cft20_trade_histories?: ModelTypes["marketplace_cft20_trade_history_arr_rel_insert_input"] | undefined, + max_supply?: ModelTypes["numeric"] | undefined, + metadata?: string | undefined, + mint_page?: string | undefined, + name?: string | undefined, + per_mint_limit?: ModelTypes["bigint"] | undefined, + ticker?: string | undefined, + token_address_histories?: ModelTypes["token_address_history_arr_rel_insert_input"] | undefined, + token_holders?: ModelTypes["token_holder_arr_rel_insert_input"] | undefined, + token_open_positions?: ModelTypes["token_open_position_arr_rel_insert_input"] | undefined, + token_trade_histories?: ModelTypes["token_trade_history_arr_rel_insert_input"] | undefined, + transaction?: ModelTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined, + version?: string | undefined, + volume_24_base?: ModelTypes["bigint"] | undefined +}; + /** aggregate max on columns */ +["token_max_fields"]: { + chain_id?: string | undefined, + circulating_supply?: ModelTypes["bigint"] | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + decimals?: ModelTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: ModelTypes["bigint"] | undefined, + launch_timestamp?: ModelTypes["bigint"] | undefined, + max_supply?: ModelTypes["numeric"] | undefined, + metadata?: string | undefined, + mint_page?: string | undefined, + name?: string | undefined, + per_mint_limit?: ModelTypes["bigint"] | undefined, + ticker?: string | undefined, + transaction_id?: number | undefined, + version?: string | undefined, + volume_24_base?: ModelTypes["bigint"] | undefined +}; + /** order by max() on columns of table "token" */ +["token_max_order_by"]: { + chain_id?: ModelTypes["order_by"] | undefined, + circulating_supply?: ModelTypes["order_by"] | undefined, + content_path?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + creator?: ModelTypes["order_by"] | undefined, + current_owner?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + decimals?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + last_price_base?: ModelTypes["order_by"] | undefined, + launch_timestamp?: ModelTypes["order_by"] | undefined, + max_supply?: ModelTypes["order_by"] | undefined, + metadata?: ModelTypes["order_by"] | undefined, + mint_page?: ModelTypes["order_by"] | undefined, + name?: ModelTypes["order_by"] | undefined, + per_mint_limit?: ModelTypes["order_by"] | undefined, + ticker?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + version?: ModelTypes["order_by"] | undefined, + volume_24_base?: ModelTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["token_min_fields"]: { + chain_id?: string | undefined, + circulating_supply?: ModelTypes["bigint"] | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + decimals?: ModelTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: ModelTypes["bigint"] | undefined, + launch_timestamp?: ModelTypes["bigint"] | undefined, + max_supply?: ModelTypes["numeric"] | undefined, + metadata?: string | undefined, + mint_page?: string | undefined, + name?: string | undefined, + per_mint_limit?: ModelTypes["bigint"] | undefined, + ticker?: string | undefined, + transaction_id?: number | undefined, + version?: string | undefined, + volume_24_base?: ModelTypes["bigint"] | undefined +}; + /** order by min() on columns of table "token" */ +["token_min_order_by"]: { + chain_id?: ModelTypes["order_by"] | undefined, + circulating_supply?: ModelTypes["order_by"] | undefined, + content_path?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + creator?: ModelTypes["order_by"] | undefined, + current_owner?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + decimals?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + last_price_base?: ModelTypes["order_by"] | undefined, + launch_timestamp?: ModelTypes["order_by"] | undefined, + max_supply?: ModelTypes["order_by"] | undefined, + metadata?: ModelTypes["order_by"] | undefined, + mint_page?: ModelTypes["order_by"] | undefined, + name?: ModelTypes["order_by"] | undefined, + per_mint_limit?: ModelTypes["order_by"] | undefined, + ticker?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + version?: ModelTypes["order_by"] | undefined, + volume_24_base?: ModelTypes["order_by"] | undefined +}; + /** response of any mutation on the table "token" */ +["token_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** input type for inserting object relation for remote table "token" */ +["token_obj_rel_insert_input"]: { + data: ModelTypes["token_insert_input"], + /** upsert condition */ + on_conflict?: ModelTypes["token_on_conflict"] | undefined +}; + /** on_conflict condition type for table "token" */ +["token_on_conflict"]: { + constraint: ModelTypes["token_constraint"], + update_columns: Array, + where?: ModelTypes["token_bool_exp"] | undefined +}; /** columns and relationships of "token_open_position" */ - ["token_open_position"]: { +["token_open_position"]: { amount: ModelTypes["bigint"], - chain_id: string, - date_created: ModelTypes["timestamp"], - date_filled?: ModelTypes["timestamp"] | undefined, - id: number, - is_cancelled: boolean, - is_filled: boolean, - is_reserved: boolean, - ppt: ModelTypes["bigint"], - reserve_expires_block?: number | undefined, - reserved_by?: string | undefined, - seller_address: string, - /** An object relationship */ - token: ModelTypes["token"], - token_id: number, - total: ModelTypes["bigint"], - /** An object relationship */ - transaction: ModelTypes["transaction"], - transaction_id: number - }; + chain_id: string, + date_created: ModelTypes["timestamp"], + date_filled?: ModelTypes["timestamp"] | undefined, + id: number, + is_cancelled: boolean, + is_filled: boolean, + ppt: ModelTypes["bigint"], + seller_address: string, + /** An object relationship */ + token: ModelTypes["token"], + token_id: number, + total: ModelTypes["bigint"], + /** An object relationship */ + transaction: ModelTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "token_open_position" */ +["token_open_position_aggregate"]: { + aggregate?: ModelTypes["token_open_position_aggregate_fields"] | undefined, + nodes: Array +}; + ["token_open_position_aggregate_bool_exp"]: { + bool_and?: ModelTypes["token_open_position_aggregate_bool_exp_bool_and"] | undefined, + bool_or?: ModelTypes["token_open_position_aggregate_bool_exp_bool_or"] | undefined, + count?: ModelTypes["token_open_position_aggregate_bool_exp_count"] | undefined +}; + ["token_open_position_aggregate_bool_exp_bool_and"]: { + arguments: ModelTypes["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns"], + distinct?: boolean | undefined, + filter?: ModelTypes["token_open_position_bool_exp"] | undefined, + predicate: ModelTypes["Boolean_comparison_exp"] +}; + ["token_open_position_aggregate_bool_exp_bool_or"]: { + arguments: ModelTypes["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns"], + distinct?: boolean | undefined, + filter?: ModelTypes["token_open_position_bool_exp"] | undefined, + predicate: ModelTypes["Boolean_comparison_exp"] +}; + ["token_open_position_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: ModelTypes["token_open_position_bool_exp"] | undefined, + predicate: ModelTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token_open_position" */ +["token_open_position_aggregate_fields"]: { + avg?: ModelTypes["token_open_position_avg_fields"] | undefined, + count: number, + max?: ModelTypes["token_open_position_max_fields"] | undefined, + min?: ModelTypes["token_open_position_min_fields"] | undefined, + stddev?: ModelTypes["token_open_position_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["token_open_position_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["token_open_position_stddev_samp_fields"] | undefined, + sum?: ModelTypes["token_open_position_sum_fields"] | undefined, + var_pop?: ModelTypes["token_open_position_var_pop_fields"] | undefined, + var_samp?: ModelTypes["token_open_position_var_samp_fields"] | undefined, + variance?: ModelTypes["token_open_position_variance_fields"] | undefined +}; /** order by aggregate values of table "token_open_position" */ - ["token_open_position_aggregate_order_by"]: { - avg?: ModelTypes["token_open_position_avg_order_by"] | undefined, - count?: ModelTypes["order_by"] | undefined, - max?: ModelTypes["token_open_position_max_order_by"] | undefined, - min?: ModelTypes["token_open_position_min_order_by"] | undefined, - stddev?: ModelTypes["token_open_position_stddev_order_by"] | undefined, - stddev_pop?: ModelTypes["token_open_position_stddev_pop_order_by"] | undefined, - stddev_samp?: ModelTypes["token_open_position_stddev_samp_order_by"] | undefined, - sum?: ModelTypes["token_open_position_sum_order_by"] | undefined, - var_pop?: ModelTypes["token_open_position_var_pop_order_by"] | undefined, - var_samp?: ModelTypes["token_open_position_var_samp_order_by"] | undefined, - variance?: ModelTypes["token_open_position_variance_order_by"] | undefined - }; +["token_open_position_aggregate_order_by"]: { + avg?: ModelTypes["token_open_position_avg_order_by"] | undefined, + count?: ModelTypes["order_by"] | undefined, + max?: ModelTypes["token_open_position_max_order_by"] | undefined, + min?: ModelTypes["token_open_position_min_order_by"] | undefined, + stddev?: ModelTypes["token_open_position_stddev_order_by"] | undefined, + stddev_pop?: ModelTypes["token_open_position_stddev_pop_order_by"] | undefined, + stddev_samp?: ModelTypes["token_open_position_stddev_samp_order_by"] | undefined, + sum?: ModelTypes["token_open_position_sum_order_by"] | undefined, + var_pop?: ModelTypes["token_open_position_var_pop_order_by"] | undefined, + var_samp?: ModelTypes["token_open_position_var_samp_order_by"] | undefined, + variance?: ModelTypes["token_open_position_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "token_open_position" */ +["token_open_position_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ModelTypes["token_open_position_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["token_open_position_avg_fields"]: { + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by avg() on columns of table "token_open_position" */ - ["token_open_position_avg_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - reserve_expires_block?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_open_position_avg_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "token_open_position". All fields are combined with a logical 'AND'. */ - ["token_open_position_bool_exp"]: { - _and?: Array | undefined, - _not?: ModelTypes["token_open_position_bool_exp"] | undefined, - _or?: Array | undefined, - amount?: ModelTypes["bigint_comparison_exp"] | undefined, - chain_id?: ModelTypes["String_comparison_exp"] | undefined, - date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, - date_filled?: ModelTypes["timestamp_comparison_exp"] | undefined, - id?: ModelTypes["Int_comparison_exp"] | undefined, - is_cancelled?: ModelTypes["Boolean_comparison_exp"] | undefined, - is_filled?: ModelTypes["Boolean_comparison_exp"] | undefined, - is_reserved?: ModelTypes["Boolean_comparison_exp"] | undefined, - ppt?: ModelTypes["bigint_comparison_exp"] | undefined, - reserve_expires_block?: ModelTypes["Int_comparison_exp"] | undefined, - reserved_by?: ModelTypes["String_comparison_exp"] | undefined, - seller_address?: ModelTypes["String_comparison_exp"] | undefined, - token?: ModelTypes["token_bool_exp"] | undefined, - token_id?: ModelTypes["Int_comparison_exp"] | undefined, - total?: ModelTypes["bigint_comparison_exp"] | undefined, - transaction?: ModelTypes["transaction_bool_exp"] | undefined, - transaction_id?: ModelTypes["Int_comparison_exp"] | undefined - }; +["token_open_position_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["token_open_position_bool_exp"] | undefined, + _or?: Array | undefined, + amount?: ModelTypes["bigint_comparison_exp"] | undefined, + chain_id?: ModelTypes["String_comparison_exp"] | undefined, + date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, + date_filled?: ModelTypes["timestamp_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + is_cancelled?: ModelTypes["Boolean_comparison_exp"] | undefined, + is_filled?: ModelTypes["Boolean_comparison_exp"] | undefined, + ppt?: ModelTypes["bigint_comparison_exp"] | undefined, + seller_address?: ModelTypes["String_comparison_exp"] | undefined, + token?: ModelTypes["token_bool_exp"] | undefined, + token_id?: ModelTypes["Int_comparison_exp"] | undefined, + total?: ModelTypes["bigint_comparison_exp"] | undefined, + transaction?: ModelTypes["transaction_bool_exp"] | undefined, + transaction_id?: ModelTypes["Int_comparison_exp"] | undefined +}; + ["token_open_position_constraint"]:token_open_position_constraint; + /** input type for incrementing numeric columns in table "token_open_position" */ +["token_open_position_inc_input"]: { + amount?: ModelTypes["bigint"] | undefined, + id?: number | undefined, + ppt?: ModelTypes["bigint"] | undefined, + token_id?: number | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "token_open_position" */ +["token_open_position_insert_input"]: { + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + date_filled?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + is_cancelled?: boolean | undefined, + is_filled?: boolean | undefined, + ppt?: ModelTypes["bigint"] | undefined, + seller_address?: string | undefined, + token?: ModelTypes["token_obj_rel_insert_input"] | undefined, + token_id?: number | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction?: ModelTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["token_open_position_max_fields"]: { + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + date_filled?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + ppt?: ModelTypes["bigint"] | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; /** order by max() on columns of table "token_open_position" */ - ["token_open_position_max_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - date_filled?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - reserve_expires_block?: ModelTypes["order_by"] | undefined, - reserved_by?: ModelTypes["order_by"] | undefined, - seller_address?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_open_position_max_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + date_filled?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + seller_address?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["token_open_position_min_fields"]: { + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + date_filled?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + ppt?: ModelTypes["bigint"] | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; /** order by min() on columns of table "token_open_position" */ - ["token_open_position_min_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - date_filled?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - reserve_expires_block?: ModelTypes["order_by"] | undefined, - reserved_by?: ModelTypes["order_by"] | undefined, - seller_address?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_open_position_min_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + date_filled?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + seller_address?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** response of any mutation on the table "token_open_position" */ +["token_open_position_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "token_open_position" */ +["token_open_position_on_conflict"]: { + constraint: ModelTypes["token_open_position_constraint"], + update_columns: Array, + where?: ModelTypes["token_open_position_bool_exp"] | undefined +}; /** Ordering options when selecting data from "token_open_position". */ - ["token_open_position_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - date_filled?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - is_cancelled?: ModelTypes["order_by"] | undefined, - is_filled?: ModelTypes["order_by"] | undefined, - is_reserved?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - reserve_expires_block?: ModelTypes["order_by"] | undefined, - reserved_by?: ModelTypes["order_by"] | undefined, - seller_address?: ModelTypes["order_by"] | undefined, - token?: ModelTypes["token_order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction?: ModelTypes["transaction_order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - ["token_open_position_select_column"]: token_open_position_select_column; +["token_open_position_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + date_filled?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + is_cancelled?: ModelTypes["order_by"] | undefined, + is_filled?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + seller_address?: ModelTypes["order_by"] | undefined, + token?: ModelTypes["token_order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction?: ModelTypes["transaction_order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** primary key columns input for table: token_open_position */ +["token_open_position_pk_columns_input"]: { + id: number +}; + ["token_open_position_select_column"]:token_open_position_select_column; + ["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns"]:token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns; + ["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns"]:token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "token_open_position" */ +["token_open_position_set_input"]: { + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + date_filled?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + is_cancelled?: boolean | undefined, + is_filled?: boolean | undefined, + ppt?: ModelTypes["bigint"] | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["token_open_position_stddev_fields"]: { + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev() on columns of table "token_open_position" */ - ["token_open_position_stddev_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - reserve_expires_block?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_open_position_stddev_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["token_open_position_stddev_pop_fields"]: { + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_pop() on columns of table "token_open_position" */ - ["token_open_position_stddev_pop_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - reserve_expires_block?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_open_position_stddev_pop_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["token_open_position_stddev_samp_fields"]: { + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_samp() on columns of table "token_open_position" */ - ["token_open_position_stddev_samp_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - reserve_expires_block?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_open_position_stddev_samp_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** Streaming cursor of the table "token_open_position" */ - ["token_open_position_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ModelTypes["token_open_position_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ModelTypes["cursor_ordering"] | undefined - }; +["token_open_position_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["token_open_position_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["token_open_position_stream_cursor_value_input"]: { +["token_open_position_stream_cursor_value_input"]: { + amount?: ModelTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + date_filled?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + is_cancelled?: boolean | undefined, + is_filled?: boolean | undefined, + ppt?: ModelTypes["bigint"] | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["token_open_position_sum_fields"]: { amount?: ModelTypes["bigint"] | undefined, - chain_id?: string | undefined, - date_created?: ModelTypes["timestamp"] | undefined, - date_filled?: ModelTypes["timestamp"] | undefined, - id?: number | undefined, - is_cancelled?: boolean | undefined, - is_filled?: boolean | undefined, - is_reserved?: boolean | undefined, - ppt?: ModelTypes["bigint"] | undefined, - reserve_expires_block?: number | undefined, - reserved_by?: string | undefined, - seller_address?: string | undefined, - token_id?: number | undefined, - total?: ModelTypes["bigint"] | undefined, - transaction_id?: number | undefined - }; + id?: number | undefined, + ppt?: ModelTypes["bigint"] | undefined, + token_id?: number | undefined, + total?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; /** order by sum() on columns of table "token_open_position" */ - ["token_open_position_sum_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - reserve_expires_block?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_open_position_sum_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + ["token_open_position_update_column"]:token_open_position_update_column; + ["token_open_position_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["token_open_position_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["token_open_position_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["token_open_position_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_open_position_var_pop_fields"]: { + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_pop() on columns of table "token_open_position" */ - ["token_open_position_var_pop_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - reserve_expires_block?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_open_position_var_pop_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["token_open_position_var_samp_fields"]: { + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_samp() on columns of table "token_open_position" */ - ["token_open_position_var_samp_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - reserve_expires_block?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_open_position_var_samp_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["token_open_position_variance_fields"]: { + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by variance() on columns of table "token_open_position" */ - ["token_open_position_variance_order_by"]: { - amount?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - ppt?: ModelTypes["order_by"] | undefined, - reserve_expires_block?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_open_position_variance_order_by"]: { + amount?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + ppt?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** Ordering options when selecting data from "token". */ - ["token_order_by"]: { - chain_id?: ModelTypes["order_by"] | undefined, - circulating_supply?: ModelTypes["order_by"] | undefined, - content_path?: ModelTypes["order_by"] | undefined, - content_size_bytes?: ModelTypes["order_by"] | undefined, - creator?: ModelTypes["order_by"] | undefined, - current_owner?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - decimals?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - last_price_base?: ModelTypes["order_by"] | undefined, - launch_timestamp?: ModelTypes["order_by"] | undefined, - marketplace_cft20_details_aggregate?: ModelTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined, - max_supply?: ModelTypes["order_by"] | undefined, - metadata?: ModelTypes["order_by"] | undefined, - mint_page?: ModelTypes["order_by"] | undefined, - name?: ModelTypes["order_by"] | undefined, - per_mint_limit?: ModelTypes["order_by"] | undefined, - ticker?: ModelTypes["order_by"] | undefined, - token_address_histories_aggregate?: ModelTypes["token_address_history_aggregate_order_by"] | undefined, - token_holders_aggregate?: ModelTypes["token_holder_aggregate_order_by"] | undefined, - token_open_positions_aggregate?: ModelTypes["token_open_position_aggregate_order_by"] | undefined, - token_trade_histories_aggregate?: ModelTypes["token_trade_history_aggregate_order_by"] | undefined, - transaction?: ModelTypes["transaction_order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined, - version?: ModelTypes["order_by"] | undefined, - volume_24_base?: ModelTypes["order_by"] | undefined - }; - ["token_select_column"]: token_select_column; +["token_order_by"]: { + chain_id?: ModelTypes["order_by"] | undefined, + circulating_supply?: ModelTypes["order_by"] | undefined, + content_path?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + creator?: ModelTypes["order_by"] | undefined, + current_owner?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + decimals?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + is_explicit?: ModelTypes["order_by"] | undefined, + last_price_base?: ModelTypes["order_by"] | undefined, + launch_timestamp?: ModelTypes["order_by"] | undefined, + marketplace_cft20_details_aggregate?: ModelTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined, + marketplace_cft20_trade_histories_aggregate?: ModelTypes["marketplace_cft20_trade_history_aggregate_order_by"] | undefined, + max_supply?: ModelTypes["order_by"] | undefined, + metadata?: ModelTypes["order_by"] | undefined, + mint_page?: ModelTypes["order_by"] | undefined, + name?: ModelTypes["order_by"] | undefined, + per_mint_limit?: ModelTypes["order_by"] | undefined, + ticker?: ModelTypes["order_by"] | undefined, + token_address_histories_aggregate?: ModelTypes["token_address_history_aggregate_order_by"] | undefined, + token_holders_aggregate?: ModelTypes["token_holder_aggregate_order_by"] | undefined, + token_open_positions_aggregate?: ModelTypes["token_open_position_aggregate_order_by"] | undefined, + token_trade_histories_aggregate?: ModelTypes["token_trade_history_aggregate_order_by"] | undefined, + transaction?: ModelTypes["transaction_order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + version?: ModelTypes["order_by"] | undefined, + volume_24_base?: ModelTypes["order_by"] | undefined +}; + /** primary key columns input for table: token */ +["token_pk_columns_input"]: { + id: number +}; + ["token_select_column"]:token_select_column; + ["token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns"]:token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns; + ["token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns"]:token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "token" */ +["token_set_input"]: { + chain_id?: string | undefined, + circulating_supply?: ModelTypes["bigint"] | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + decimals?: ModelTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + is_explicit?: boolean | undefined, + last_price_base?: ModelTypes["bigint"] | undefined, + launch_timestamp?: ModelTypes["bigint"] | undefined, + max_supply?: ModelTypes["numeric"] | undefined, + metadata?: string | undefined, + mint_page?: string | undefined, + name?: string | undefined, + per_mint_limit?: ModelTypes["bigint"] | undefined, + ticker?: string | undefined, + transaction_id?: number | undefined, + version?: string | undefined, + volume_24_base?: ModelTypes["bigint"] | undefined +}; + /** aggregate stddev on columns */ +["token_stddev_fields"]: { + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by stddev() on columns of table "token" */ +["token_stddev_order_by"]: { + circulating_supply?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + decimals?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + last_price_base?: ModelTypes["order_by"] | undefined, + launch_timestamp?: ModelTypes["order_by"] | undefined, + max_supply?: ModelTypes["order_by"] | undefined, + per_mint_limit?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + volume_24_base?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["token_stddev_pop_fields"]: { + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by stddev_pop() on columns of table "token" */ +["token_stddev_pop_order_by"]: { + circulating_supply?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + decimals?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + last_price_base?: ModelTypes["order_by"] | undefined, + launch_timestamp?: ModelTypes["order_by"] | undefined, + max_supply?: ModelTypes["order_by"] | undefined, + per_mint_limit?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + volume_24_base?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["token_stddev_samp_fields"]: { + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by stddev_samp() on columns of table "token" */ +["token_stddev_samp_order_by"]: { + circulating_supply?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + decimals?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + last_price_base?: ModelTypes["order_by"] | undefined, + launch_timestamp?: ModelTypes["order_by"] | undefined, + max_supply?: ModelTypes["order_by"] | undefined, + per_mint_limit?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + volume_24_base?: ModelTypes["order_by"] | undefined +}; /** Streaming cursor of the table "token" */ - ["token_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ModelTypes["token_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ModelTypes["cursor_ordering"] | undefined - }; +["token_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["token_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["token_stream_cursor_value_input"]: { - chain_id?: string | undefined, +["token_stream_cursor_value_input"]: { + chain_id?: string | undefined, + circulating_supply?: ModelTypes["bigint"] | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + decimals?: ModelTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + is_explicit?: boolean | undefined, + last_price_base?: ModelTypes["bigint"] | undefined, + launch_timestamp?: ModelTypes["bigint"] | undefined, + max_supply?: ModelTypes["numeric"] | undefined, + metadata?: string | undefined, + mint_page?: string | undefined, + name?: string | undefined, + per_mint_limit?: ModelTypes["bigint"] | undefined, + ticker?: string | undefined, + transaction_id?: number | undefined, + version?: string | undefined, + volume_24_base?: ModelTypes["bigint"] | undefined +}; + /** aggregate sum on columns */ +["token_sum_fields"]: { circulating_supply?: ModelTypes["bigint"] | undefined, - content_path?: string | undefined, - content_size_bytes?: number | undefined, - creator?: string | undefined, - current_owner?: string | undefined, - date_created?: ModelTypes["timestamp"] | undefined, - decimals?: ModelTypes["smallint"] | undefined, - height?: number | undefined, - id?: number | undefined, - last_price_base?: ModelTypes["bigint"] | undefined, - launch_timestamp?: ModelTypes["bigint"] | undefined, - max_supply?: ModelTypes["numeric"] | undefined, - metadata?: string | undefined, - mint_page?: string | undefined, - name?: string | undefined, - per_mint_limit?: ModelTypes["bigint"] | undefined, - ticker?: string | undefined, - transaction_id?: number | undefined, - version?: string | undefined, - volume_24_base?: ModelTypes["bigint"] | undefined - }; + content_size_bytes?: number | undefined, + decimals?: ModelTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: ModelTypes["bigint"] | undefined, + launch_timestamp?: ModelTypes["bigint"] | undefined, + max_supply?: ModelTypes["numeric"] | undefined, + per_mint_limit?: ModelTypes["bigint"] | undefined, + transaction_id?: number | undefined, + volume_24_base?: ModelTypes["bigint"] | undefined +}; + /** order by sum() on columns of table "token" */ +["token_sum_order_by"]: { + circulating_supply?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + decimals?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + last_price_base?: ModelTypes["order_by"] | undefined, + launch_timestamp?: ModelTypes["order_by"] | undefined, + max_supply?: ModelTypes["order_by"] | undefined, + per_mint_limit?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + volume_24_base?: ModelTypes["order_by"] | undefined +}; /** columns and relationships of "token_trade_history" */ - ["token_trade_history"]: { +["token_trade_history"]: { amount_base: ModelTypes["bigint"], - amount_quote: ModelTypes["bigint"], - buyer_address?: string | undefined, - chain_id: string, - date_created: ModelTypes["timestamp"], - id: number, - rate: ModelTypes["bigint"], - seller_address: string, - /** An object relationship */ - token: ModelTypes["token"], - token_id: number, - total_usd: number, - /** An object relationship */ - transaction: ModelTypes["transaction"], - transaction_id: number - }; + amount_quote: ModelTypes["bigint"], + buyer_address?: string | undefined, + chain_id: string, + date_created: ModelTypes["timestamp"], + id: number, + rate: number, + seller_address: string, + /** An object relationship */ + token: ModelTypes["token"], + token_id: number, + total_usd: number, + /** An object relationship */ + transaction: ModelTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "token_trade_history" */ +["token_trade_history_aggregate"]: { + aggregate?: ModelTypes["token_trade_history_aggregate_fields"] | undefined, + nodes: Array +}; + ["token_trade_history_aggregate_bool_exp"]: { + count?: ModelTypes["token_trade_history_aggregate_bool_exp_count"] | undefined +}; + ["token_trade_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: ModelTypes["token_trade_history_bool_exp"] | undefined, + predicate: ModelTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token_trade_history" */ +["token_trade_history_aggregate_fields"]: { + avg?: ModelTypes["token_trade_history_avg_fields"] | undefined, + count: number, + max?: ModelTypes["token_trade_history_max_fields"] | undefined, + min?: ModelTypes["token_trade_history_min_fields"] | undefined, + stddev?: ModelTypes["token_trade_history_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["token_trade_history_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["token_trade_history_stddev_samp_fields"] | undefined, + sum?: ModelTypes["token_trade_history_sum_fields"] | undefined, + var_pop?: ModelTypes["token_trade_history_var_pop_fields"] | undefined, + var_samp?: ModelTypes["token_trade_history_var_samp_fields"] | undefined, + variance?: ModelTypes["token_trade_history_variance_fields"] | undefined +}; /** order by aggregate values of table "token_trade_history" */ - ["token_trade_history_aggregate_order_by"]: { - avg?: ModelTypes["token_trade_history_avg_order_by"] | undefined, - count?: ModelTypes["order_by"] | undefined, - max?: ModelTypes["token_trade_history_max_order_by"] | undefined, - min?: ModelTypes["token_trade_history_min_order_by"] | undefined, - stddev?: ModelTypes["token_trade_history_stddev_order_by"] | undefined, - stddev_pop?: ModelTypes["token_trade_history_stddev_pop_order_by"] | undefined, - stddev_samp?: ModelTypes["token_trade_history_stddev_samp_order_by"] | undefined, - sum?: ModelTypes["token_trade_history_sum_order_by"] | undefined, - var_pop?: ModelTypes["token_trade_history_var_pop_order_by"] | undefined, - var_samp?: ModelTypes["token_trade_history_var_samp_order_by"] | undefined, - variance?: ModelTypes["token_trade_history_variance_order_by"] | undefined - }; +["token_trade_history_aggregate_order_by"]: { + avg?: ModelTypes["token_trade_history_avg_order_by"] | undefined, + count?: ModelTypes["order_by"] | undefined, + max?: ModelTypes["token_trade_history_max_order_by"] | undefined, + min?: ModelTypes["token_trade_history_min_order_by"] | undefined, + stddev?: ModelTypes["token_trade_history_stddev_order_by"] | undefined, + stddev_pop?: ModelTypes["token_trade_history_stddev_pop_order_by"] | undefined, + stddev_samp?: ModelTypes["token_trade_history_stddev_samp_order_by"] | undefined, + sum?: ModelTypes["token_trade_history_sum_order_by"] | undefined, + var_pop?: ModelTypes["token_trade_history_var_pop_order_by"] | undefined, + var_samp?: ModelTypes["token_trade_history_var_samp_order_by"] | undefined, + variance?: ModelTypes["token_trade_history_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "token_trade_history" */ +["token_trade_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: ModelTypes["token_trade_history_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["token_trade_history_avg_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by avg() on columns of table "token_trade_history" */ - ["token_trade_history_avg_order_by"]: { - amount_base?: ModelTypes["order_by"] | undefined, - amount_quote?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - rate?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total_usd?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_trade_history_avg_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "token_trade_history". All fields are combined with a logical 'AND'. */ - ["token_trade_history_bool_exp"]: { - _and?: Array | undefined, - _not?: ModelTypes["token_trade_history_bool_exp"] | undefined, - _or?: Array | undefined, - amount_base?: ModelTypes["bigint_comparison_exp"] | undefined, - amount_quote?: ModelTypes["bigint_comparison_exp"] | undefined, - buyer_address?: ModelTypes["String_comparison_exp"] | undefined, - chain_id?: ModelTypes["String_comparison_exp"] | undefined, - date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, - id?: ModelTypes["Int_comparison_exp"] | undefined, - rate?: ModelTypes["bigint_comparison_exp"] | undefined, - seller_address?: ModelTypes["String_comparison_exp"] | undefined, - token?: ModelTypes["token_bool_exp"] | undefined, - token_id?: ModelTypes["Int_comparison_exp"] | undefined, - total_usd?: ModelTypes["Float_comparison_exp"] | undefined, - transaction?: ModelTypes["transaction_bool_exp"] | undefined, - transaction_id?: ModelTypes["Int_comparison_exp"] | undefined - }; +["token_trade_history_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["token_trade_history_bool_exp"] | undefined, + _or?: Array | undefined, + amount_base?: ModelTypes["bigint_comparison_exp"] | undefined, + amount_quote?: ModelTypes["bigint_comparison_exp"] | undefined, + buyer_address?: ModelTypes["String_comparison_exp"] | undefined, + chain_id?: ModelTypes["String_comparison_exp"] | undefined, + date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + rate?: ModelTypes["Int_comparison_exp"] | undefined, + seller_address?: ModelTypes["String_comparison_exp"] | undefined, + token?: ModelTypes["token_bool_exp"] | undefined, + token_id?: ModelTypes["Int_comparison_exp"] | undefined, + total_usd?: ModelTypes["Float_comparison_exp"] | undefined, + transaction?: ModelTypes["transaction_bool_exp"] | undefined, + transaction_id?: ModelTypes["Int_comparison_exp"] | undefined +}; + ["token_trade_history_constraint"]:token_trade_history_constraint; + /** input type for incrementing numeric columns in table "token_trade_history" */ +["token_trade_history_inc_input"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "token_trade_history" */ +["token_trade_history_insert_input"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + buyer_address?: string | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token?: ModelTypes["token_obj_rel_insert_input"] | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction?: ModelTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["token_trade_history_max_fields"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + buyer_address?: string | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by max() on columns of table "token_trade_history" */ - ["token_trade_history_max_order_by"]: { - amount_base?: ModelTypes["order_by"] | undefined, - amount_quote?: ModelTypes["order_by"] | undefined, - buyer_address?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - rate?: ModelTypes["order_by"] | undefined, - seller_address?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total_usd?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_trade_history_max_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + buyer_address?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + seller_address?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["token_trade_history_min_fields"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + buyer_address?: string | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by min() on columns of table "token_trade_history" */ - ["token_trade_history_min_order_by"]: { - amount_base?: ModelTypes["order_by"] | undefined, - amount_quote?: ModelTypes["order_by"] | undefined, - buyer_address?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - rate?: ModelTypes["order_by"] | undefined, - seller_address?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total_usd?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_trade_history_min_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + buyer_address?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + seller_address?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** response of any mutation on the table "token_trade_history" */ +["token_trade_history_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "token_trade_history" */ +["token_trade_history_on_conflict"]: { + constraint: ModelTypes["token_trade_history_constraint"], + update_columns: Array, + where?: ModelTypes["token_trade_history_bool_exp"] | undefined +}; /** Ordering options when selecting data from "token_trade_history". */ - ["token_trade_history_order_by"]: { - amount_base?: ModelTypes["order_by"] | undefined, - amount_quote?: ModelTypes["order_by"] | undefined, - buyer_address?: ModelTypes["order_by"] | undefined, - chain_id?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - rate?: ModelTypes["order_by"] | undefined, - seller_address?: ModelTypes["order_by"] | undefined, - token?: ModelTypes["token_order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total_usd?: ModelTypes["order_by"] | undefined, - transaction?: ModelTypes["transaction_order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; - ["token_trade_history_select_column"]: token_trade_history_select_column; +["token_trade_history_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + buyer_address?: ModelTypes["order_by"] | undefined, + chain_id?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + seller_address?: ModelTypes["order_by"] | undefined, + token?: ModelTypes["token_order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction?: ModelTypes["transaction_order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** primary key columns input for table: token_trade_history */ +["token_trade_history_pk_columns_input"]: { + id: number +}; + ["token_trade_history_select_column"]:token_trade_history_select_column; + /** input type for updating data in table "token_trade_history" */ +["token_trade_history_set_input"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + buyer_address?: string | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["token_trade_history_stddev_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev() on columns of table "token_trade_history" */ - ["token_trade_history_stddev_order_by"]: { - amount_base?: ModelTypes["order_by"] | undefined, - amount_quote?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - rate?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total_usd?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_trade_history_stddev_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["token_trade_history_stddev_pop_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_pop() on columns of table "token_trade_history" */ - ["token_trade_history_stddev_pop_order_by"]: { - amount_base?: ModelTypes["order_by"] | undefined, - amount_quote?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - rate?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total_usd?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_trade_history_stddev_pop_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["token_trade_history_stddev_samp_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_samp() on columns of table "token_trade_history" */ - ["token_trade_history_stddev_samp_order_by"]: { - amount_base?: ModelTypes["order_by"] | undefined, - amount_quote?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - rate?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total_usd?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_trade_history_stddev_samp_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; /** Streaming cursor of the table "token_trade_history" */ - ["token_trade_history_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ModelTypes["token_trade_history_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ModelTypes["cursor_ordering"] | undefined - }; +["token_trade_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["token_trade_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["token_trade_history_stream_cursor_value_input"]: { +["token_trade_history_stream_cursor_value_input"]: { + amount_base?: ModelTypes["bigint"] | undefined, + amount_quote?: ModelTypes["bigint"] | undefined, + buyer_address?: string | undefined, + chain_id?: string | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["token_trade_history_sum_fields"]: { amount_base?: ModelTypes["bigint"] | undefined, - amount_quote?: ModelTypes["bigint"] | undefined, - buyer_address?: string | undefined, - chain_id?: string | undefined, - date_created?: ModelTypes["timestamp"] | undefined, - id?: number | undefined, - rate?: ModelTypes["bigint"] | undefined, - seller_address?: string | undefined, - token_id?: number | undefined, - total_usd?: number | undefined, - transaction_id?: number | undefined - }; + amount_quote?: ModelTypes["bigint"] | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by sum() on columns of table "token_trade_history" */ - ["token_trade_history_sum_order_by"]: { - amount_base?: ModelTypes["order_by"] | undefined, - amount_quote?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - rate?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total_usd?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_trade_history_sum_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + ["token_trade_history_update_column"]:token_trade_history_update_column; + ["token_trade_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["token_trade_history_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["token_trade_history_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["token_trade_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_trade_history_var_pop_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_pop() on columns of table "token_trade_history" */ - ["token_trade_history_var_pop_order_by"]: { - amount_base?: ModelTypes["order_by"] | undefined, - amount_quote?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - rate?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total_usd?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_trade_history_var_pop_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["token_trade_history_var_samp_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_samp() on columns of table "token_trade_history" */ - ["token_trade_history_var_samp_order_by"]: { - amount_base?: ModelTypes["order_by"] | undefined, - amount_quote?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - rate?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total_usd?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_trade_history_var_samp_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["token_trade_history_variance_fields"]: { + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by variance() on columns of table "token_trade_history" */ - ["token_trade_history_variance_order_by"]: { - amount_base?: ModelTypes["order_by"] | undefined, - amount_quote?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - rate?: ModelTypes["order_by"] | undefined, - token_id?: ModelTypes["order_by"] | undefined, - total_usd?: ModelTypes["order_by"] | undefined, - transaction_id?: ModelTypes["order_by"] | undefined - }; +["token_trade_history_variance_order_by"]: { + amount_base?: ModelTypes["order_by"] | undefined, + amount_quote?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + rate?: ModelTypes["order_by"] | undefined, + token_id?: ModelTypes["order_by"] | undefined, + total_usd?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined +}; + ["token_update_column"]:token_update_column; + ["token_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["token_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["token_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["token_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_var_pop_fields"]: { + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by var_pop() on columns of table "token" */ +["token_var_pop_order_by"]: { + circulating_supply?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + decimals?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + last_price_base?: ModelTypes["order_by"] | undefined, + launch_timestamp?: ModelTypes["order_by"] | undefined, + max_supply?: ModelTypes["order_by"] | undefined, + per_mint_limit?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + volume_24_base?: ModelTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["token_var_samp_fields"]: { + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by var_samp() on columns of table "token" */ +["token_var_samp_order_by"]: { + circulating_supply?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + decimals?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + last_price_base?: ModelTypes["order_by"] | undefined, + launch_timestamp?: ModelTypes["order_by"] | undefined, + max_supply?: ModelTypes["order_by"] | undefined, + per_mint_limit?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + volume_24_base?: ModelTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["token_variance_fields"]: { + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by variance() on columns of table "token" */ +["token_variance_order_by"]: { + circulating_supply?: ModelTypes["order_by"] | undefined, + content_size_bytes?: ModelTypes["order_by"] | undefined, + decimals?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + last_price_base?: ModelTypes["order_by"] | undefined, + launch_timestamp?: ModelTypes["order_by"] | undefined, + max_supply?: ModelTypes["order_by"] | undefined, + per_mint_limit?: ModelTypes["order_by"] | undefined, + transaction_id?: ModelTypes["order_by"] | undefined, + volume_24_base?: ModelTypes["order_by"] | undefined +}; /** columns and relationships of "transaction" */ - ["transaction"]: { +["transaction"]: { content: string, - content_length: number, - date_created: ModelTypes["timestamp"], - fees: string, - gas_used: number, - hash: string, - height: number, - id: number, - /** An object relationship */ - inscription?: ModelTypes["inscription"] | undefined, - /** An object relationship */ - inscription_history?: ModelTypes["inscription_history"] | undefined, - /** An array relationship */ - marketplace_listings: Array, - status_message?: string | undefined, - /** An object relationship */ - token?: ModelTypes["token"] | undefined, - /** An object relationship */ - token_address_history?: ModelTypes["token_address_history"] | undefined, - /** An array relationship */ - token_open_positions: Array, - /** An object relationship */ - token_trade_history?: ModelTypes["token_trade_history"] | undefined - }; + content_length: number, + date_created: ModelTypes["timestamp"], + fees: string, + gas_used: number, + hash: string, + height: number, + id: number, + /** An array relationship */ + inscription_histories: Array, + /** An aggregate relationship */ + inscription_histories_aggregate: ModelTypes["inscription_history_aggregate"], + /** An array relationship */ + inscriptions: Array, + /** An aggregate relationship */ + inscriptions_aggregate: ModelTypes["inscription_aggregate"], + /** An array relationship */ + marketplace_cft20_trade_histories: Array, + /** An aggregate relationship */ + marketplace_cft20_trade_histories_aggregate: ModelTypes["marketplace_cft20_trade_history_aggregate"], + /** An array relationship */ + marketplace_listing_histories: Array, + /** An aggregate relationship */ + marketplace_listing_histories_aggregate: ModelTypes["marketplace_listing_history_aggregate"], + /** An array relationship */ + marketplace_listings: Array, + /** An aggregate relationship */ + marketplace_listings_aggregate: ModelTypes["marketplace_listing_aggregate"], + status_message?: string | undefined, + /** An array relationship */ + token_address_histories: Array, + /** An aggregate relationship */ + token_address_histories_aggregate: ModelTypes["token_address_history_aggregate"], + /** An array relationship */ + token_open_positions: Array, + /** An aggregate relationship */ + token_open_positions_aggregate: ModelTypes["token_open_position_aggregate"], + /** An array relationship */ + token_trade_histories: Array, + /** An aggregate relationship */ + token_trade_histories_aggregate: ModelTypes["token_trade_history_aggregate"], + /** An array relationship */ + tokens: Array, + /** An aggregate relationship */ + tokens_aggregate: ModelTypes["token_aggregate"] +}; + /** aggregated selection of "transaction" */ +["transaction_aggregate"]: { + aggregate?: ModelTypes["transaction_aggregate_fields"] | undefined, + nodes: Array +}; + /** aggregate fields of "transaction" */ +["transaction_aggregate_fields"]: { + avg?: ModelTypes["transaction_avg_fields"] | undefined, + count: number, + max?: ModelTypes["transaction_max_fields"] | undefined, + min?: ModelTypes["transaction_min_fields"] | undefined, + stddev?: ModelTypes["transaction_stddev_fields"] | undefined, + stddev_pop?: ModelTypes["transaction_stddev_pop_fields"] | undefined, + stddev_samp?: ModelTypes["transaction_stddev_samp_fields"] | undefined, + sum?: ModelTypes["transaction_sum_fields"] | undefined, + var_pop?: ModelTypes["transaction_var_pop_fields"] | undefined, + var_samp?: ModelTypes["transaction_var_samp_fields"] | undefined, + variance?: ModelTypes["transaction_variance_fields"] | undefined +}; + /** aggregate avg on columns */ +["transaction_avg_fields"]: { + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; /** Boolean expression to filter rows from the table "transaction". All fields are combined with a logical 'AND'. */ - ["transaction_bool_exp"]: { - _and?: Array | undefined, - _not?: ModelTypes["transaction_bool_exp"] | undefined, - _or?: Array | undefined, - content?: ModelTypes["String_comparison_exp"] | undefined, - content_length?: ModelTypes["Int_comparison_exp"] | undefined, - date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, - fees?: ModelTypes["String_comparison_exp"] | undefined, - gas_used?: ModelTypes["Int_comparison_exp"] | undefined, - hash?: ModelTypes["String_comparison_exp"] | undefined, - height?: ModelTypes["Int_comparison_exp"] | undefined, - id?: ModelTypes["Int_comparison_exp"] | undefined, - inscription?: ModelTypes["inscription_bool_exp"] | undefined, - inscription_history?: ModelTypes["inscription_history_bool_exp"] | undefined, - marketplace_listings?: ModelTypes["marketplace_listing_bool_exp"] | undefined, - status_message?: ModelTypes["String_comparison_exp"] | undefined, - token?: ModelTypes["token_bool_exp"] | undefined, - token_address_history?: ModelTypes["token_address_history_bool_exp"] | undefined, - token_open_positions?: ModelTypes["token_open_position_bool_exp"] | undefined, - token_trade_history?: ModelTypes["token_trade_history_bool_exp"] | undefined - }; +["transaction_bool_exp"]: { + _and?: Array | undefined, + _not?: ModelTypes["transaction_bool_exp"] | undefined, + _or?: Array | undefined, + content?: ModelTypes["String_comparison_exp"] | undefined, + content_length?: ModelTypes["Int_comparison_exp"] | undefined, + date_created?: ModelTypes["timestamp_comparison_exp"] | undefined, + fees?: ModelTypes["String_comparison_exp"] | undefined, + gas_used?: ModelTypes["Int_comparison_exp"] | undefined, + hash?: ModelTypes["String_comparison_exp"] | undefined, + height?: ModelTypes["Int_comparison_exp"] | undefined, + id?: ModelTypes["Int_comparison_exp"] | undefined, + inscription_histories?: ModelTypes["inscription_history_bool_exp"] | undefined, + inscription_histories_aggregate?: ModelTypes["inscription_history_aggregate_bool_exp"] | undefined, + inscriptions?: ModelTypes["inscription_bool_exp"] | undefined, + inscriptions_aggregate?: ModelTypes["inscription_aggregate_bool_exp"] | undefined, + marketplace_cft20_trade_histories?: ModelTypes["marketplace_cft20_trade_history_bool_exp"] | undefined, + marketplace_cft20_trade_histories_aggregate?: ModelTypes["marketplace_cft20_trade_history_aggregate_bool_exp"] | undefined, + marketplace_listing_histories?: ModelTypes["marketplace_listing_history_bool_exp"] | undefined, + marketplace_listing_histories_aggregate?: ModelTypes["marketplace_listing_history_aggregate_bool_exp"] | undefined, + marketplace_listings?: ModelTypes["marketplace_listing_bool_exp"] | undefined, + marketplace_listings_aggregate?: ModelTypes["marketplace_listing_aggregate_bool_exp"] | undefined, + status_message?: ModelTypes["String_comparison_exp"] | undefined, + token_address_histories?: ModelTypes["token_address_history_bool_exp"] | undefined, + token_address_histories_aggregate?: ModelTypes["token_address_history_aggregate_bool_exp"] | undefined, + token_open_positions?: ModelTypes["token_open_position_bool_exp"] | undefined, + token_open_positions_aggregate?: ModelTypes["token_open_position_aggregate_bool_exp"] | undefined, + token_trade_histories?: ModelTypes["token_trade_history_bool_exp"] | undefined, + token_trade_histories_aggregate?: ModelTypes["token_trade_history_aggregate_bool_exp"] | undefined, + tokens?: ModelTypes["token_bool_exp"] | undefined, + tokens_aggregate?: ModelTypes["token_aggregate_bool_exp"] | undefined +}; + ["transaction_constraint"]:transaction_constraint; + /** input type for incrementing numeric columns in table "transaction" */ +["transaction_inc_input"]: { + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; + /** input type for inserting data into table "transaction" */ +["transaction_insert_input"]: { + content?: string | undefined, + content_length?: number | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + fees?: string | undefined, + gas_used?: number | undefined, + hash?: string | undefined, + height?: number | undefined, + id?: number | undefined, + inscription_histories?: ModelTypes["inscription_history_arr_rel_insert_input"] | undefined, + inscriptions?: ModelTypes["inscription_arr_rel_insert_input"] | undefined, + marketplace_cft20_trade_histories?: ModelTypes["marketplace_cft20_trade_history_arr_rel_insert_input"] | undefined, + marketplace_listing_histories?: ModelTypes["marketplace_listing_history_arr_rel_insert_input"] | undefined, + marketplace_listings?: ModelTypes["marketplace_listing_arr_rel_insert_input"] | undefined, + status_message?: string | undefined, + token_address_histories?: ModelTypes["token_address_history_arr_rel_insert_input"] | undefined, + token_open_positions?: ModelTypes["token_open_position_arr_rel_insert_input"] | undefined, + token_trade_histories?: ModelTypes["token_trade_history_arr_rel_insert_input"] | undefined, + tokens?: ModelTypes["token_arr_rel_insert_input"] | undefined +}; + /** aggregate max on columns */ +["transaction_max_fields"]: { + content?: string | undefined, + content_length?: number | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + fees?: string | undefined, + gas_used?: number | undefined, + hash?: string | undefined, + height?: number | undefined, + id?: number | undefined, + status_message?: string | undefined +}; + /** aggregate min on columns */ +["transaction_min_fields"]: { + content?: string | undefined, + content_length?: number | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + fees?: string | undefined, + gas_used?: number | undefined, + hash?: string | undefined, + height?: number | undefined, + id?: number | undefined, + status_message?: string | undefined +}; + /** response of any mutation on the table "transaction" */ +["transaction_mutation_response"]: { + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** input type for inserting object relation for remote table "transaction" */ +["transaction_obj_rel_insert_input"]: { + data: ModelTypes["transaction_insert_input"], + /** upsert condition */ + on_conflict?: ModelTypes["transaction_on_conflict"] | undefined +}; + /** on_conflict condition type for table "transaction" */ +["transaction_on_conflict"]: { + constraint: ModelTypes["transaction_constraint"], + update_columns: Array, + where?: ModelTypes["transaction_bool_exp"] | undefined +}; /** Ordering options when selecting data from "transaction". */ - ["transaction_order_by"]: { - content?: ModelTypes["order_by"] | undefined, - content_length?: ModelTypes["order_by"] | undefined, - date_created?: ModelTypes["order_by"] | undefined, - fees?: ModelTypes["order_by"] | undefined, - gas_used?: ModelTypes["order_by"] | undefined, - hash?: ModelTypes["order_by"] | undefined, - height?: ModelTypes["order_by"] | undefined, - id?: ModelTypes["order_by"] | undefined, - inscription?: ModelTypes["inscription_order_by"] | undefined, - inscription_history?: ModelTypes["inscription_history_order_by"] | undefined, - marketplace_listings_aggregate?: ModelTypes["marketplace_listing_aggregate_order_by"] | undefined, - status_message?: ModelTypes["order_by"] | undefined, - token?: ModelTypes["token_order_by"] | undefined, - token_address_history?: ModelTypes["token_address_history_order_by"] | undefined, - token_open_positions_aggregate?: ModelTypes["token_open_position_aggregate_order_by"] | undefined, - token_trade_history?: ModelTypes["token_trade_history_order_by"] | undefined - }; - ["transaction_select_column"]: transaction_select_column; +["transaction_order_by"]: { + content?: ModelTypes["order_by"] | undefined, + content_length?: ModelTypes["order_by"] | undefined, + date_created?: ModelTypes["order_by"] | undefined, + fees?: ModelTypes["order_by"] | undefined, + gas_used?: ModelTypes["order_by"] | undefined, + hash?: ModelTypes["order_by"] | undefined, + height?: ModelTypes["order_by"] | undefined, + id?: ModelTypes["order_by"] | undefined, + inscription_histories_aggregate?: ModelTypes["inscription_history_aggregate_order_by"] | undefined, + inscriptions_aggregate?: ModelTypes["inscription_aggregate_order_by"] | undefined, + marketplace_cft20_trade_histories_aggregate?: ModelTypes["marketplace_cft20_trade_history_aggregate_order_by"] | undefined, + marketplace_listing_histories_aggregate?: ModelTypes["marketplace_listing_history_aggregate_order_by"] | undefined, + marketplace_listings_aggregate?: ModelTypes["marketplace_listing_aggregate_order_by"] | undefined, + status_message?: ModelTypes["order_by"] | undefined, + token_address_histories_aggregate?: ModelTypes["token_address_history_aggregate_order_by"] | undefined, + token_open_positions_aggregate?: ModelTypes["token_open_position_aggregate_order_by"] | undefined, + token_trade_histories_aggregate?: ModelTypes["token_trade_history_aggregate_order_by"] | undefined, + tokens_aggregate?: ModelTypes["token_aggregate_order_by"] | undefined +}; + /** primary key columns input for table: transaction */ +["transaction_pk_columns_input"]: { + id: number +}; + ["transaction_select_column"]:transaction_select_column; + /** input type for updating data in table "transaction" */ +["transaction_set_input"]: { + content?: string | undefined, + content_length?: number | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + fees?: string | undefined, + gas_used?: number | undefined, + hash?: string | undefined, + height?: number | undefined, + id?: number | undefined, + status_message?: string | undefined +}; + /** aggregate stddev on columns */ +["transaction_stddev_fields"]: { + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; + /** aggregate stddev_pop on columns */ +["transaction_stddev_pop_fields"]: { + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; + /** aggregate stddev_samp on columns */ +["transaction_stddev_samp_fields"]: { + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; /** Streaming cursor of the table "transaction" */ - ["transaction_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: ModelTypes["transaction_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: ModelTypes["cursor_ordering"] | undefined - }; +["transaction_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: ModelTypes["transaction_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: ModelTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["transaction_stream_cursor_value_input"]: { - content?: string | undefined, +["transaction_stream_cursor_value_input"]: { + content?: string | undefined, + content_length?: number | undefined, + date_created?: ModelTypes["timestamp"] | undefined, + fees?: string | undefined, + gas_used?: number | undefined, + hash?: string | undefined, + height?: number | undefined, + id?: number | undefined, + status_message?: string | undefined +}; + /** aggregate sum on columns */ +["transaction_sum_fields"]: { content_length?: number | undefined, - date_created?: ModelTypes["timestamp"] | undefined, - fees?: string | undefined, - gas_used?: number | undefined, - hash?: string | undefined, - height?: number | undefined, - id?: number | undefined, - status_message?: string | undefined - } + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; + ["transaction_update_column"]:transaction_update_column; + ["transaction_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: ModelTypes["transaction_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: ModelTypes["transaction_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: ModelTypes["transaction_bool_exp"] +}; + /** aggregate var_pop on columns */ +["transaction_var_pop_fields"]: { + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; + /** aggregate var_samp on columns */ +["transaction_var_samp_fields"]: { + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; + /** aggregate variance on columns */ +["transaction_variance_fields"]: { + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined } + } export type GraphQLTypes = { - /** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ - ["Boolean_comparison_exp"]: { + /** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ +["Boolean_comparison_exp"]: { _eq?: boolean | undefined, - _gt?: boolean | undefined, - _gte?: boolean | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: boolean | undefined, - _lte?: boolean | undefined, - _neq?: boolean | undefined, - _nin?: Array | undefined - }; + _gt?: boolean | undefined, + _gte?: boolean | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: boolean | undefined, + _lte?: boolean | undefined, + _neq?: boolean | undefined, + _nin?: Array | undefined +}; /** Boolean expression to compare columns of type "Float". All fields are combined with logical 'AND'. */ - ["Float_comparison_exp"]: { +["Float_comparison_exp"]: { _eq?: number | undefined, - _gt?: number | undefined, - _gte?: number | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: number | undefined, - _lte?: number | undefined, - _neq?: number | undefined, - _nin?: Array | undefined - }; + _gt?: number | undefined, + _gte?: number | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: number | undefined, + _lte?: number | undefined, + _neq?: number | undefined, + _nin?: Array | undefined +}; /** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */ - ["Int_comparison_exp"]: { +["Int_comparison_exp"]: { _eq?: number | undefined, - _gt?: number | undefined, - _gte?: number | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: number | undefined, - _lte?: number | undefined, - _neq?: number | undefined, - _nin?: Array | undefined - }; + _gt?: number | undefined, + _gte?: number | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: number | undefined, + _lte?: number | undefined, + _neq?: number | undefined, + _nin?: Array | undefined +}; /** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ - ["String_comparison_exp"]: { +["String_comparison_exp"]: { _eq?: string | undefined, - _gt?: string | undefined, - _gte?: string | undefined, - /** does the column match the given case-insensitive pattern */ - _ilike?: string | undefined, - _in?: Array | undefined, - /** does the column match the given POSIX regular expression, case insensitive */ - _iregex?: string | undefined, - _is_null?: boolean | undefined, - /** does the column match the given pattern */ - _like?: string | undefined, - _lt?: string | undefined, - _lte?: string | undefined, - _neq?: string | undefined, - /** does the column NOT match the given case-insensitive pattern */ - _nilike?: string | undefined, - _nin?: Array | undefined, - /** does the column NOT match the given POSIX regular expression, case insensitive */ - _niregex?: string | undefined, - /** does the column NOT match the given pattern */ - _nlike?: string | undefined, - /** does the column NOT match the given POSIX regular expression, case sensitive */ - _nregex?: string | undefined, - /** does the column NOT match the given SQL regular expression */ - _nsimilar?: string | undefined, - /** does the column match the given POSIX regular expression, case sensitive */ - _regex?: string | undefined, - /** does the column match the given SQL regular expression */ - _similar?: string | undefined - }; + _gt?: string | undefined, + _gte?: string | undefined, + /** does the column match the given case-insensitive pattern */ + _ilike?: string | undefined, + _in?: Array | undefined, + /** does the column match the given POSIX regular expression, case insensitive */ + _iregex?: string | undefined, + _is_null?: boolean | undefined, + /** does the column match the given pattern */ + _like?: string | undefined, + _lt?: string | undefined, + _lte?: string | undefined, + _neq?: string | undefined, + /** does the column NOT match the given case-insensitive pattern */ + _nilike?: string | undefined, + _nin?: Array | undefined, + /** does the column NOT match the given POSIX regular expression, case insensitive */ + _niregex?: string | undefined, + /** does the column NOT match the given pattern */ + _nlike?: string | undefined, + /** does the column NOT match the given POSIX regular expression, case sensitive */ + _nregex?: string | undefined, + /** does the column NOT match the given SQL regular expression */ + _nsimilar?: string | undefined, + /** does the column match the given POSIX regular expression, case sensitive */ + _regex?: string | undefined, + /** does the column match the given SQL regular expression */ + _similar?: string | undefined +}; ["bigint"]: "scalar" & { name: "bigint" }; /** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */ - ["bigint_comparison_exp"]: { +["bigint_comparison_exp"]: { _eq?: GraphQLTypes["bigint"] | undefined, - _gt?: GraphQLTypes["bigint"] | undefined, - _gte?: GraphQLTypes["bigint"] | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: GraphQLTypes["bigint"] | undefined, - _lte?: GraphQLTypes["bigint"] | undefined, - _neq?: GraphQLTypes["bigint"] | undefined, - _nin?: Array | undefined - }; + _gt?: GraphQLTypes["bigint"] | undefined, + _gte?: GraphQLTypes["bigint"] | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: GraphQLTypes["bigint"] | undefined, + _lte?: GraphQLTypes["bigint"] | undefined, + _neq?: GraphQLTypes["bigint"] | undefined, + _nin?: Array | undefined +}; /** ordering argument of a cursor */ - ["cursor_ordering"]: cursor_ordering; +["cursor_ordering"]: cursor_ordering; /** columns and relationships of "inscription" */ - ["inscription"]: { - __typename: "inscription", - chain_id: string, - content_hash: string, - content_path: string, - content_size_bytes: number, - creator: string, - current_owner: string, - date_created: GraphQLTypes["timestamp"], - height: number, - id: number, - /** An array relationship */ - inscription_histories: Array, - is_explicit?: boolean | undefined, - metadata: GraphQLTypes["json"], - /** An object relationship */ - transaction: GraphQLTypes["transaction"], - transaction_id: number, - type: string, - version: string - }; +["inscription"]: { + __typename: "inscription", + chain_id: string, + content_hash: string, + content_path: string, + content_size_bytes: number, + creator: string, + current_owner: string, + date_created: GraphQLTypes["timestamp"], + height: number, + id: number, + /** An array relationship */ + inscription_histories: Array, + /** An aggregate relationship */ + inscription_histories_aggregate: GraphQLTypes["inscription_history_aggregate"], + is_explicit?: boolean | undefined, + metadata: GraphQLTypes["json"], + /** An object relationship */ + transaction: GraphQLTypes["transaction"], + transaction_id: number, + type: string, + version: string +}; + /** aggregated selection of "inscription" */ +["inscription_aggregate"]: { + __typename: "inscription_aggregate", + aggregate?: GraphQLTypes["inscription_aggregate_fields"] | undefined, + nodes: Array +}; + ["inscription_aggregate_bool_exp"]: { + bool_and?: GraphQLTypes["inscription_aggregate_bool_exp_bool_and"] | undefined, + bool_or?: GraphQLTypes["inscription_aggregate_bool_exp_bool_or"] | undefined, + count?: GraphQLTypes["inscription_aggregate_bool_exp_count"] | undefined +}; + ["inscription_aggregate_bool_exp_bool_and"]: { + arguments: GraphQLTypes["inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns"], + distinct?: boolean | undefined, + filter?: GraphQLTypes["inscription_bool_exp"] | undefined, + predicate: GraphQLTypes["Boolean_comparison_exp"] +}; + ["inscription_aggregate_bool_exp_bool_or"]: { + arguments: GraphQLTypes["inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns"], + distinct?: boolean | undefined, + filter?: GraphQLTypes["inscription_bool_exp"] | undefined, + predicate: GraphQLTypes["Boolean_comparison_exp"] +}; + ["inscription_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: GraphQLTypes["inscription_bool_exp"] | undefined, + predicate: GraphQLTypes["Int_comparison_exp"] +}; + /** aggregate fields of "inscription" */ +["inscription_aggregate_fields"]: { + __typename: "inscription_aggregate_fields", + avg?: GraphQLTypes["inscription_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["inscription_max_fields"] | undefined, + min?: GraphQLTypes["inscription_min_fields"] | undefined, + stddev?: GraphQLTypes["inscription_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["inscription_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["inscription_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["inscription_sum_fields"] | undefined, + var_pop?: GraphQLTypes["inscription_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["inscription_var_samp_fields"] | undefined, + variance?: GraphQLTypes["inscription_variance_fields"] | undefined +}; + /** order by aggregate values of table "inscription" */ +["inscription_aggregate_order_by"]: { + avg?: GraphQLTypes["inscription_avg_order_by"] | undefined, + count?: GraphQLTypes["order_by"] | undefined, + max?: GraphQLTypes["inscription_max_order_by"] | undefined, + min?: GraphQLTypes["inscription_min_order_by"] | undefined, + stddev?: GraphQLTypes["inscription_stddev_order_by"] | undefined, + stddev_pop?: GraphQLTypes["inscription_stddev_pop_order_by"] | undefined, + stddev_samp?: GraphQLTypes["inscription_stddev_samp_order_by"] | undefined, + sum?: GraphQLTypes["inscription_sum_order_by"] | undefined, + var_pop?: GraphQLTypes["inscription_var_pop_order_by"] | undefined, + var_samp?: GraphQLTypes["inscription_var_samp_order_by"] | undefined, + variance?: GraphQLTypes["inscription_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "inscription" */ +["inscription_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: GraphQLTypes["inscription_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["inscription_avg_fields"]: { + __typename: "inscription_avg_fields", + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by avg() on columns of table "inscription" */ +["inscription_avg_order_by"]: { + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "inscription". All fields are combined with a logical 'AND'. */ - ["inscription_bool_exp"]: { +["inscription_bool_exp"]: { _and?: Array | undefined, - _not?: GraphQLTypes["inscription_bool_exp"] | undefined, - _or?: Array | undefined, - chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, - content_hash?: GraphQLTypes["String_comparison_exp"] | undefined, - content_path?: GraphQLTypes["String_comparison_exp"] | undefined, - content_size_bytes?: GraphQLTypes["Int_comparison_exp"] | undefined, - creator?: GraphQLTypes["String_comparison_exp"] | undefined, - current_owner?: GraphQLTypes["String_comparison_exp"] | undefined, - date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - height?: GraphQLTypes["Int_comparison_exp"] | undefined, - id?: GraphQLTypes["Int_comparison_exp"] | undefined, - inscription_histories?: GraphQLTypes["inscription_history_bool_exp"] | undefined, - is_explicit?: GraphQLTypes["Boolean_comparison_exp"] | undefined, - metadata?: GraphQLTypes["json_comparison_exp"] | undefined, - transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, - transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined, - type?: GraphQLTypes["String_comparison_exp"] | undefined, - version?: GraphQLTypes["String_comparison_exp"] | undefined - }; + _not?: GraphQLTypes["inscription_bool_exp"] | undefined, + _or?: Array | undefined, + chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, + content_hash?: GraphQLTypes["String_comparison_exp"] | undefined, + content_path?: GraphQLTypes["String_comparison_exp"] | undefined, + content_size_bytes?: GraphQLTypes["Int_comparison_exp"] | undefined, + creator?: GraphQLTypes["String_comparison_exp"] | undefined, + current_owner?: GraphQLTypes["String_comparison_exp"] | undefined, + date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + height?: GraphQLTypes["Int_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + inscription_histories?: GraphQLTypes["inscription_history_bool_exp"] | undefined, + inscription_histories_aggregate?: GraphQLTypes["inscription_history_aggregate_bool_exp"] | undefined, + is_explicit?: GraphQLTypes["Boolean_comparison_exp"] | undefined, + metadata?: GraphQLTypes["json_comparison_exp"] | undefined, + transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, + transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined, + type?: GraphQLTypes["String_comparison_exp"] | undefined, + version?: GraphQLTypes["String_comparison_exp"] | undefined +}; + /** unique or primary key constraints on table "inscription" */ +["inscription_constraint"]: inscription_constraint; /** columns and relationships of "inscription_history" */ - ["inscription_history"]: { - __typename: "inscription_history", - action: string, - chain_id: string, - date_created: GraphQLTypes["timestamp"], - height: number, - id: number, - /** An object relationship */ - inscription: GraphQLTypes["inscription"], - inscription_id: number, - receiver?: string | undefined, - sender: string, - /** An object relationship */ - transaction: GraphQLTypes["transaction"], - transaction_id: number - }; +["inscription_history"]: { + __typename: "inscription_history", + action: string, + chain_id: string, + date_created: GraphQLTypes["timestamp"], + height: number, + id: number, + /** An object relationship */ + inscription: GraphQLTypes["inscription"], + inscription_id: number, + receiver?: string | undefined, + sender: string, + /** An object relationship */ + transaction: GraphQLTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "inscription_history" */ +["inscription_history_aggregate"]: { + __typename: "inscription_history_aggregate", + aggregate?: GraphQLTypes["inscription_history_aggregate_fields"] | undefined, + nodes: Array +}; + ["inscription_history_aggregate_bool_exp"]: { + count?: GraphQLTypes["inscription_history_aggregate_bool_exp_count"] | undefined +}; + ["inscription_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: GraphQLTypes["inscription_history_bool_exp"] | undefined, + predicate: GraphQLTypes["Int_comparison_exp"] +}; + /** aggregate fields of "inscription_history" */ +["inscription_history_aggregate_fields"]: { + __typename: "inscription_history_aggregate_fields", + avg?: GraphQLTypes["inscription_history_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["inscription_history_max_fields"] | undefined, + min?: GraphQLTypes["inscription_history_min_fields"] | undefined, + stddev?: GraphQLTypes["inscription_history_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["inscription_history_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["inscription_history_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["inscription_history_sum_fields"] | undefined, + var_pop?: GraphQLTypes["inscription_history_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["inscription_history_var_samp_fields"] | undefined, + variance?: GraphQLTypes["inscription_history_variance_fields"] | undefined +}; /** order by aggregate values of table "inscription_history" */ - ["inscription_history_aggregate_order_by"]: { +["inscription_history_aggregate_order_by"]: { avg?: GraphQLTypes["inscription_history_avg_order_by"] | undefined, - count?: GraphQLTypes["order_by"] | undefined, - max?: GraphQLTypes["inscription_history_max_order_by"] | undefined, - min?: GraphQLTypes["inscription_history_min_order_by"] | undefined, - stddev?: GraphQLTypes["inscription_history_stddev_order_by"] | undefined, - stddev_pop?: GraphQLTypes["inscription_history_stddev_pop_order_by"] | undefined, - stddev_samp?: GraphQLTypes["inscription_history_stddev_samp_order_by"] | undefined, - sum?: GraphQLTypes["inscription_history_sum_order_by"] | undefined, - var_pop?: GraphQLTypes["inscription_history_var_pop_order_by"] | undefined, - var_samp?: GraphQLTypes["inscription_history_var_samp_order_by"] | undefined, - variance?: GraphQLTypes["inscription_history_variance_order_by"] | undefined - }; + count?: GraphQLTypes["order_by"] | undefined, + max?: GraphQLTypes["inscription_history_max_order_by"] | undefined, + min?: GraphQLTypes["inscription_history_min_order_by"] | undefined, + stddev?: GraphQLTypes["inscription_history_stddev_order_by"] | undefined, + stddev_pop?: GraphQLTypes["inscription_history_stddev_pop_order_by"] | undefined, + stddev_samp?: GraphQLTypes["inscription_history_stddev_samp_order_by"] | undefined, + sum?: GraphQLTypes["inscription_history_sum_order_by"] | undefined, + var_pop?: GraphQLTypes["inscription_history_var_pop_order_by"] | undefined, + var_samp?: GraphQLTypes["inscription_history_var_samp_order_by"] | undefined, + variance?: GraphQLTypes["inscription_history_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "inscription_history" */ +["inscription_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: GraphQLTypes["inscription_history_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["inscription_history_avg_fields"]: { + __typename: "inscription_history_avg_fields", + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by avg() on columns of table "inscription_history" */ - ["inscription_history_avg_order_by"]: { +["inscription_history_avg_order_by"]: { height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - inscription_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + inscription_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "inscription_history". All fields are combined with a logical 'AND'. */ - ["inscription_history_bool_exp"]: { +["inscription_history_bool_exp"]: { _and?: Array | undefined, - _not?: GraphQLTypes["inscription_history_bool_exp"] | undefined, - _or?: Array | undefined, - action?: GraphQLTypes["String_comparison_exp"] | undefined, - chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, - date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - height?: GraphQLTypes["Int_comparison_exp"] | undefined, - id?: GraphQLTypes["Int_comparison_exp"] | undefined, - inscription?: GraphQLTypes["inscription_bool_exp"] | undefined, - inscription_id?: GraphQLTypes["Int_comparison_exp"] | undefined, - receiver?: GraphQLTypes["String_comparison_exp"] | undefined, - sender?: GraphQLTypes["String_comparison_exp"] | undefined, - transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, - transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined - }; + _not?: GraphQLTypes["inscription_history_bool_exp"] | undefined, + _or?: Array | undefined, + action?: GraphQLTypes["String_comparison_exp"] | undefined, + chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, + date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + height?: GraphQLTypes["Int_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + inscription?: GraphQLTypes["inscription_bool_exp"] | undefined, + inscription_id?: GraphQLTypes["Int_comparison_exp"] | undefined, + receiver?: GraphQLTypes["String_comparison_exp"] | undefined, + sender?: GraphQLTypes["String_comparison_exp"] | undefined, + transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, + transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined +}; + /** unique or primary key constraints on table "inscription_history" */ +["inscription_history_constraint"]: inscription_history_constraint; + /** input type for incrementing numeric columns in table "inscription_history" */ +["inscription_history_inc_input"]: { + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "inscription_history" */ +["inscription_history_insert_input"]: { + action?: string | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + inscription?: GraphQLTypes["inscription_obj_rel_insert_input"] | undefined, + inscription_id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + transaction?: GraphQLTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["inscription_history_max_fields"]: { + __typename: "inscription_history_max_fields", + action?: string | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + transaction_id?: number | undefined +}; /** order by max() on columns of table "inscription_history" */ - ["inscription_history_max_order_by"]: { +["inscription_history_max_order_by"]: { + action?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + inscription_id?: GraphQLTypes["order_by"] | undefined, + receiver?: GraphQLTypes["order_by"] | undefined, + sender?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["inscription_history_min_fields"]: { + __typename: "inscription_history_min_fields", + action?: string | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + transaction_id?: number | undefined +}; + /** order by min() on columns of table "inscription_history" */ +["inscription_history_min_order_by"]: { + action?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + inscription_id?: GraphQLTypes["order_by"] | undefined, + receiver?: GraphQLTypes["order_by"] | undefined, + sender?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** response of any mutation on the table "inscription_history" */ +["inscription_history_mutation_response"]: { + __typename: "inscription_history_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "inscription_history" */ +["inscription_history_on_conflict"]: { + constraint: GraphQLTypes["inscription_history_constraint"], + update_columns: Array, + where?: GraphQLTypes["inscription_history_bool_exp"] | undefined +}; + /** Ordering options when selecting data from "inscription_history". */ +["inscription_history_order_by"]: { + action?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + inscription?: GraphQLTypes["inscription_order_by"] | undefined, + inscription_id?: GraphQLTypes["order_by"] | undefined, + receiver?: GraphQLTypes["order_by"] | undefined, + sender?: GraphQLTypes["order_by"] | undefined, + transaction?: GraphQLTypes["transaction_order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** primary key columns input for table: inscription_history */ +["inscription_history_pk_columns_input"]: { + id: number +}; + /** select columns of table "inscription_history" */ +["inscription_history_select_column"]: inscription_history_select_column; + /** input type for updating data in table "inscription_history" */ +["inscription_history_set_input"]: { + action?: string | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["inscription_history_stddev_fields"]: { + __typename: "inscription_history_stddev_fields", + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev() on columns of table "inscription_history" */ +["inscription_history_stddev_order_by"]: { + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + inscription_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["inscription_history_stddev_pop_fields"]: { + __typename: "inscription_history_stddev_pop_fields", + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_pop() on columns of table "inscription_history" */ +["inscription_history_stddev_pop_order_by"]: { + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + inscription_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["inscription_history_stddev_samp_fields"]: { + __typename: "inscription_history_stddev_samp_fields", + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_samp() on columns of table "inscription_history" */ +["inscription_history_stddev_samp_order_by"]: { + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + inscription_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** Streaming cursor of the table "inscription_history" */ +["inscription_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: GraphQLTypes["inscription_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; + /** Initial value of the column from where the streaming should start */ +["inscription_history_stream_cursor_value_input"]: { + action?: string | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["inscription_history_sum_fields"]: { + __typename: "inscription_history_sum_fields", + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by sum() on columns of table "inscription_history" */ +["inscription_history_sum_order_by"]: { + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + inscription_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** update columns of table "inscription_history" */ +["inscription_history_update_column"]: inscription_history_update_column; + ["inscription_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["inscription_history_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["inscription_history_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["inscription_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["inscription_history_var_pop_fields"]: { + __typename: "inscription_history_var_pop_fields", + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_pop() on columns of table "inscription_history" */ +["inscription_history_var_pop_order_by"]: { + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + inscription_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["inscription_history_var_samp_fields"]: { + __typename: "inscription_history_var_samp_fields", + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_samp() on columns of table "inscription_history" */ +["inscription_history_var_samp_order_by"]: { + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + inscription_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["inscription_history_variance_fields"]: { + __typename: "inscription_history_variance_fields", + height?: number | undefined, + id?: number | undefined, + inscription_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by variance() on columns of table "inscription_history" */ +["inscription_history_variance_order_by"]: { + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + inscription_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** input type for incrementing numeric columns in table "inscription" */ +["inscription_inc_input"]: { + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "inscription" */ +["inscription_insert_input"]: { + chain_id?: string | undefined, + content_hash?: string | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + inscription_histories?: GraphQLTypes["inscription_history_arr_rel_insert_input"] | undefined, + is_explicit?: boolean | undefined, + metadata?: GraphQLTypes["json"] | undefined, + transaction?: GraphQLTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined, + type?: string | undefined, + version?: string | undefined +}; + /** aggregate max on columns */ +["inscription_max_fields"]: { + __typename: "inscription_max_fields", + chain_id?: string | undefined, + content_hash?: string | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined, + type?: string | undefined, + version?: string | undefined +}; + /** order by max() on columns of table "inscription" */ +["inscription_max_order_by"]: { + chain_id?: GraphQLTypes["order_by"] | undefined, + content_hash?: GraphQLTypes["order_by"] | undefined, + content_path?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + creator?: GraphQLTypes["order_by"] | undefined, + current_owner?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + type?: GraphQLTypes["order_by"] | undefined, + version?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["inscription_min_fields"]: { + __typename: "inscription_min_fields", + chain_id?: string | undefined, + content_hash?: string | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined, + type?: string | undefined, + version?: string | undefined +}; + /** order by min() on columns of table "inscription" */ +["inscription_min_order_by"]: { + chain_id?: GraphQLTypes["order_by"] | undefined, + content_hash?: GraphQLTypes["order_by"] | undefined, + content_path?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + creator?: GraphQLTypes["order_by"] | undefined, + current_owner?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + type?: GraphQLTypes["order_by"] | undefined, + version?: GraphQLTypes["order_by"] | undefined +}; + /** response of any mutation on the table "inscription" */ +["inscription_mutation_response"]: { + __typename: "inscription_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** input type for inserting object relation for remote table "inscription" */ +["inscription_obj_rel_insert_input"]: { + data: GraphQLTypes["inscription_insert_input"], + /** upsert condition */ + on_conflict?: GraphQLTypes["inscription_on_conflict"] | undefined +}; + /** on_conflict condition type for table "inscription" */ +["inscription_on_conflict"]: { + constraint: GraphQLTypes["inscription_constraint"], + update_columns: Array, + where?: GraphQLTypes["inscription_bool_exp"] | undefined +}; + /** Ordering options when selecting data from "inscription". */ +["inscription_order_by"]: { + chain_id?: GraphQLTypes["order_by"] | undefined, + content_hash?: GraphQLTypes["order_by"] | undefined, + content_path?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + creator?: GraphQLTypes["order_by"] | undefined, + current_owner?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + inscription_histories_aggregate?: GraphQLTypes["inscription_history_aggregate_order_by"] | undefined, + is_explicit?: GraphQLTypes["order_by"] | undefined, + metadata?: GraphQLTypes["order_by"] | undefined, + transaction?: GraphQLTypes["transaction_order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + type?: GraphQLTypes["order_by"] | undefined, + version?: GraphQLTypes["order_by"] | undefined +}; + /** primary key columns input for table: inscription */ +["inscription_pk_columns_input"]: { + id: number +}; + /** select columns of table "inscription" */ +["inscription_select_column"]: inscription_select_column; + /** select "inscription_aggregate_bool_exp_bool_and_arguments_columns" columns of table "inscription" */ +["inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns"]: inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns; + /** select "inscription_aggregate_bool_exp_bool_or_arguments_columns" columns of table "inscription" */ +["inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns"]: inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "inscription" */ +["inscription_set_input"]: { + chain_id?: string | undefined, + content_hash?: string | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + is_explicit?: boolean | undefined, + metadata?: GraphQLTypes["json"] | undefined, + transaction_id?: number | undefined, + type?: string | undefined, + version?: string | undefined +}; + /** aggregate stddev on columns */ +["inscription_stddev_fields"]: { + __typename: "inscription_stddev_fields", + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev() on columns of table "inscription" */ +["inscription_stddev_order_by"]: { + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["inscription_stddev_pop_fields"]: { + __typename: "inscription_stddev_pop_fields", + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_pop() on columns of table "inscription" */ +["inscription_stddev_pop_order_by"]: { + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["inscription_stddev_samp_fields"]: { + __typename: "inscription_stddev_samp_fields", + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_samp() on columns of table "inscription" */ +["inscription_stddev_samp_order_by"]: { + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** Streaming cursor of the table "inscription" */ +["inscription_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: GraphQLTypes["inscription_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; + /** Initial value of the column from where the streaming should start */ +["inscription_stream_cursor_value_input"]: { + chain_id?: string | undefined, + content_hash?: string | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + is_explicit?: boolean | undefined, + metadata?: GraphQLTypes["json"] | undefined, + transaction_id?: number | undefined, + type?: string | undefined, + version?: string | undefined +}; + /** aggregate sum on columns */ +["inscription_sum_fields"]: { + __typename: "inscription_sum_fields", + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by sum() on columns of table "inscription" */ +["inscription_sum_order_by"]: { + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** update columns of table "inscription" */ +["inscription_update_column"]: inscription_update_column; + ["inscription_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["inscription_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["inscription_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["inscription_bool_exp"] +}; + /** aggregate var_pop on columns */ +["inscription_var_pop_fields"]: { + __typename: "inscription_var_pop_fields", + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_pop() on columns of table "inscription" */ +["inscription_var_pop_order_by"]: { + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["inscription_var_samp_fields"]: { + __typename: "inscription_var_samp_fields", + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_samp() on columns of table "inscription" */ +["inscription_var_samp_order_by"]: { + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["inscription_variance_fields"]: { + __typename: "inscription_variance_fields", + content_size_bytes?: number | undefined, + height?: number | undefined, + id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by variance() on columns of table "inscription" */ +["inscription_variance_order_by"]: { + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + ["json"]: "scalar" & { name: "json" }; + /** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ +["json_comparison_exp"]: { + _eq?: GraphQLTypes["json"] | undefined, + _gt?: GraphQLTypes["json"] | undefined, + _gte?: GraphQLTypes["json"] | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: GraphQLTypes["json"] | undefined, + _lte?: GraphQLTypes["json"] | undefined, + _neq?: GraphQLTypes["json"] | undefined, + _nin?: Array | undefined +}; + /** columns and relationships of "marketplace_cft20_detail" */ +["marketplace_cft20_detail"]: { + __typename: "marketplace_cft20_detail", + amount: GraphQLTypes["bigint"], + date_created: GraphQLTypes["timestamp"], + id: number, + listing_id: number, + /** An object relationship */ + marketplace_listing: GraphQLTypes["marketplace_listing"], + ppt: GraphQLTypes["bigint"], + /** An object relationship */ + token: GraphQLTypes["token"], + token_id: number +}; + /** aggregated selection of "marketplace_cft20_detail" */ +["marketplace_cft20_detail_aggregate"]: { + __typename: "marketplace_cft20_detail_aggregate", + aggregate?: GraphQLTypes["marketplace_cft20_detail_aggregate_fields"] | undefined, + nodes: Array +}; + ["marketplace_cft20_detail_aggregate_bool_exp"]: { + count?: GraphQLTypes["marketplace_cft20_detail_aggregate_bool_exp_count"] | undefined +}; + ["marketplace_cft20_detail_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: GraphQLTypes["marketplace_cft20_detail_bool_exp"] | undefined, + predicate: GraphQLTypes["Int_comparison_exp"] +}; + /** aggregate fields of "marketplace_cft20_detail" */ +["marketplace_cft20_detail_aggregate_fields"]: { + __typename: "marketplace_cft20_detail_aggregate_fields", + avg?: GraphQLTypes["marketplace_cft20_detail_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["marketplace_cft20_detail_max_fields"] | undefined, + min?: GraphQLTypes["marketplace_cft20_detail_min_fields"] | undefined, + stddev?: GraphQLTypes["marketplace_cft20_detail_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["marketplace_cft20_detail_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["marketplace_cft20_detail_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["marketplace_cft20_detail_sum_fields"] | undefined, + var_pop?: GraphQLTypes["marketplace_cft20_detail_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["marketplace_cft20_detail_var_samp_fields"] | undefined, + variance?: GraphQLTypes["marketplace_cft20_detail_variance_fields"] | undefined +}; + /** order by aggregate values of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_aggregate_order_by"]: { + avg?: GraphQLTypes["marketplace_cft20_detail_avg_order_by"] | undefined, + count?: GraphQLTypes["order_by"] | undefined, + max?: GraphQLTypes["marketplace_cft20_detail_max_order_by"] | undefined, + min?: GraphQLTypes["marketplace_cft20_detail_min_order_by"] | undefined, + stddev?: GraphQLTypes["marketplace_cft20_detail_stddev_order_by"] | undefined, + stddev_pop?: GraphQLTypes["marketplace_cft20_detail_stddev_pop_order_by"] | undefined, + stddev_samp?: GraphQLTypes["marketplace_cft20_detail_stddev_samp_order_by"] | undefined, + sum?: GraphQLTypes["marketplace_cft20_detail_sum_order_by"] | undefined, + var_pop?: GraphQLTypes["marketplace_cft20_detail_var_pop_order_by"] | undefined, + var_samp?: GraphQLTypes["marketplace_cft20_detail_var_samp_order_by"] | undefined, + variance?: GraphQLTypes["marketplace_cft20_detail_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: GraphQLTypes["marketplace_cft20_detail_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["marketplace_cft20_detail_avg_fields"]: { + __typename: "marketplace_cft20_detail_avg_fields", + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; + /** order by avg() on columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_avg_order_by"]: { + amount?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** Boolean expression to filter rows from the table "marketplace_cft20_detail". All fields are combined with a logical 'AND'. */ +["marketplace_cft20_detail_bool_exp"]: { + _and?: Array | undefined, + _not?: GraphQLTypes["marketplace_cft20_detail_bool_exp"] | undefined, + _or?: Array | undefined, + amount?: GraphQLTypes["bigint_comparison_exp"] | undefined, + date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + listing_id?: GraphQLTypes["Int_comparison_exp"] | undefined, + marketplace_listing?: GraphQLTypes["marketplace_listing_bool_exp"] | undefined, + ppt?: GraphQLTypes["bigint_comparison_exp"] | undefined, + token?: GraphQLTypes["token_bool_exp"] | undefined, + token_id?: GraphQLTypes["Int_comparison_exp"] | undefined +}; + /** unique or primary key constraints on table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_constraint"]: marketplace_cft20_detail_constraint; + /** input type for incrementing numeric columns in table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_inc_input"]: { + amount?: GraphQLTypes["bigint"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + token_id?: number | undefined +}; + /** input type for inserting data into table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_insert_input"]: { + amount?: GraphQLTypes["bigint"] | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + marketplace_listing?: GraphQLTypes["marketplace_listing_obj_rel_insert_input"] | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + token?: GraphQLTypes["token_obj_rel_insert_input"] | undefined, + token_id?: number | undefined +}; + /** aggregate max on columns */ +["marketplace_cft20_detail_max_fields"]: { + __typename: "marketplace_cft20_detail_max_fields", + amount?: GraphQLTypes["bigint"] | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + token_id?: number | undefined +}; + /** order by max() on columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_max_order_by"]: { + amount?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["marketplace_cft20_detail_min_fields"]: { + __typename: "marketplace_cft20_detail_min_fields", + amount?: GraphQLTypes["bigint"] | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + token_id?: number | undefined +}; + /** order by min() on columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_min_order_by"]: { + amount?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** response of any mutation on the table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_mutation_response"]: { + __typename: "marketplace_cft20_detail_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_on_conflict"]: { + constraint: GraphQLTypes["marketplace_cft20_detail_constraint"], + update_columns: Array, + where?: GraphQLTypes["marketplace_cft20_detail_bool_exp"] | undefined +}; + /** Ordering options when selecting data from "marketplace_cft20_detail". */ +["marketplace_cft20_detail_order_by"]: { + amount?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + marketplace_listing?: GraphQLTypes["marketplace_listing_order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token?: GraphQLTypes["token_order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** primary key columns input for table: marketplace_cft20_detail */ +["marketplace_cft20_detail_pk_columns_input"]: { + id: number +}; + /** select columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_select_column"]: marketplace_cft20_detail_select_column; + /** input type for updating data in table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_set_input"]: { + amount?: GraphQLTypes["bigint"] | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + token_id?: number | undefined +}; + /** aggregate stddev on columns */ +["marketplace_cft20_detail_stddev_fields"]: { + __typename: "marketplace_cft20_detail_stddev_fields", + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; + /** order by stddev() on columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_stddev_order_by"]: { + amount?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["marketplace_cft20_detail_stddev_pop_fields"]: { + __typename: "marketplace_cft20_detail_stddev_pop_fields", + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; + /** order by stddev_pop() on columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_stddev_pop_order_by"]: { + amount?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["marketplace_cft20_detail_stddev_samp_fields"]: { + __typename: "marketplace_cft20_detail_stddev_samp_fields", + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; + /** order by stddev_samp() on columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_stddev_samp_order_by"]: { + amount?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** Streaming cursor of the table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: GraphQLTypes["marketplace_cft20_detail_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; + /** Initial value of the column from where the streaming should start */ +["marketplace_cft20_detail_stream_cursor_value_input"]: { + amount?: GraphQLTypes["bigint"] | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + token_id?: number | undefined +}; + /** aggregate sum on columns */ +["marketplace_cft20_detail_sum_fields"]: { + __typename: "marketplace_cft20_detail_sum_fields", + amount?: GraphQLTypes["bigint"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + token_id?: number | undefined +}; + /** order by sum() on columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_sum_order_by"]: { + amount?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** update columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_update_column"]: marketplace_cft20_detail_update_column; + ["marketplace_cft20_detail_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["marketplace_cft20_detail_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["marketplace_cft20_detail_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["marketplace_cft20_detail_bool_exp"] +}; + /** aggregate var_pop on columns */ +["marketplace_cft20_detail_var_pop_fields"]: { + __typename: "marketplace_cft20_detail_var_pop_fields", + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; + /** order by var_pop() on columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_var_pop_order_by"]: { + amount?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["marketplace_cft20_detail_var_samp_fields"]: { + __typename: "marketplace_cft20_detail_var_samp_fields", + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; + /** order by var_samp() on columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_var_samp_order_by"]: { + amount?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["marketplace_cft20_detail_variance_fields"]: { + __typename: "marketplace_cft20_detail_variance_fields", + amount?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined +}; + /** order by variance() on columns of table "marketplace_cft20_detail" */ +["marketplace_cft20_detail_variance_order_by"]: { + amount?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** columns and relationships of "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history"]: { + __typename: "marketplace_cft20_trade_history", + amount_base: GraphQLTypes["bigint"], + amount_quote: GraphQLTypes["bigint"], + buyer_address?: string | undefined, + date_created: GraphQLTypes["timestamp"], + id: number, + listing_id: number, + /** An object relationship */ + marketplace_listing: GraphQLTypes["marketplace_listing"], + rate: number, + seller_address: string, + /** An object relationship */ + token: GraphQLTypes["token"], + token_id: number, + total_usd: number, + /** An object relationship */ + transaction: GraphQLTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_aggregate"]: { + __typename: "marketplace_cft20_trade_history_aggregate", + aggregate?: GraphQLTypes["marketplace_cft20_trade_history_aggregate_fields"] | undefined, + nodes: Array +}; + ["marketplace_cft20_trade_history_aggregate_bool_exp"]: { + count?: GraphQLTypes["marketplace_cft20_trade_history_aggregate_bool_exp_count"] | undefined +}; + ["marketplace_cft20_trade_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: GraphQLTypes["marketplace_cft20_trade_history_bool_exp"] | undefined, + predicate: GraphQLTypes["Int_comparison_exp"] +}; + /** aggregate fields of "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_aggregate_fields"]: { + __typename: "marketplace_cft20_trade_history_aggregate_fields", + avg?: GraphQLTypes["marketplace_cft20_trade_history_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["marketplace_cft20_trade_history_max_fields"] | undefined, + min?: GraphQLTypes["marketplace_cft20_trade_history_min_fields"] | undefined, + stddev?: GraphQLTypes["marketplace_cft20_trade_history_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["marketplace_cft20_trade_history_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["marketplace_cft20_trade_history_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["marketplace_cft20_trade_history_sum_fields"] | undefined, + var_pop?: GraphQLTypes["marketplace_cft20_trade_history_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["marketplace_cft20_trade_history_var_samp_fields"] | undefined, + variance?: GraphQLTypes["marketplace_cft20_trade_history_variance_fields"] | undefined +}; + /** order by aggregate values of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_aggregate_order_by"]: { + avg?: GraphQLTypes["marketplace_cft20_trade_history_avg_order_by"] | undefined, + count?: GraphQLTypes["order_by"] | undefined, + max?: GraphQLTypes["marketplace_cft20_trade_history_max_order_by"] | undefined, + min?: GraphQLTypes["marketplace_cft20_trade_history_min_order_by"] | undefined, + stddev?: GraphQLTypes["marketplace_cft20_trade_history_stddev_order_by"] | undefined, + stddev_pop?: GraphQLTypes["marketplace_cft20_trade_history_stddev_pop_order_by"] | undefined, + stddev_samp?: GraphQLTypes["marketplace_cft20_trade_history_stddev_samp_order_by"] | undefined, + sum?: GraphQLTypes["marketplace_cft20_trade_history_sum_order_by"] | undefined, + var_pop?: GraphQLTypes["marketplace_cft20_trade_history_var_pop_order_by"] | undefined, + var_samp?: GraphQLTypes["marketplace_cft20_trade_history_var_samp_order_by"] | undefined, + variance?: GraphQLTypes["marketplace_cft20_trade_history_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: GraphQLTypes["marketplace_cft20_trade_history_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["marketplace_cft20_trade_history_avg_fields"]: { + __typename: "marketplace_cft20_trade_history_avg_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by avg() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_avg_order_by"]: { + amount_base?: GraphQLTypes["order_by"] | undefined, + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** Boolean expression to filter rows from the table "marketplace_cft20_trade_history". All fields are combined with a logical 'AND'. */ +["marketplace_cft20_trade_history_bool_exp"]: { + _and?: Array | undefined, + _not?: GraphQLTypes["marketplace_cft20_trade_history_bool_exp"] | undefined, + _or?: Array | undefined, + amount_base?: GraphQLTypes["bigint_comparison_exp"] | undefined, + amount_quote?: GraphQLTypes["bigint_comparison_exp"] | undefined, + buyer_address?: GraphQLTypes["String_comparison_exp"] | undefined, + date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + listing_id?: GraphQLTypes["Int_comparison_exp"] | undefined, + marketplace_listing?: GraphQLTypes["marketplace_listing_bool_exp"] | undefined, + rate?: GraphQLTypes["Int_comparison_exp"] | undefined, + seller_address?: GraphQLTypes["String_comparison_exp"] | undefined, + token?: GraphQLTypes["token_bool_exp"] | undefined, + token_id?: GraphQLTypes["Int_comparison_exp"] | undefined, + total_usd?: GraphQLTypes["Float_comparison_exp"] | undefined, + transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, + transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined +}; + /** unique or primary key constraints on table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_constraint"]: marketplace_cft20_trade_history_constraint; + /** input type for incrementing numeric columns in table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_inc_input"]: { + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_insert_input"]: { + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + buyer_address?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + marketplace_listing?: GraphQLTypes["marketplace_listing_obj_rel_insert_input"] | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token?: GraphQLTypes["token_obj_rel_insert_input"] | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction?: GraphQLTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["marketplace_cft20_trade_history_max_fields"]: { + __typename: "marketplace_cft20_trade_history_max_fields", + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + buyer_address?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by max() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_max_order_by"]: { + amount_base?: GraphQLTypes["order_by"] | undefined, + amount_quote?: GraphQLTypes["order_by"] | undefined, + buyer_address?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + seller_address?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["marketplace_cft20_trade_history_min_fields"]: { + __typename: "marketplace_cft20_trade_history_min_fields", + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + buyer_address?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by min() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_min_order_by"]: { + amount_base?: GraphQLTypes["order_by"] | undefined, + amount_quote?: GraphQLTypes["order_by"] | undefined, + buyer_address?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + seller_address?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** response of any mutation on the table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_mutation_response"]: { + __typename: "marketplace_cft20_trade_history_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_on_conflict"]: { + constraint: GraphQLTypes["marketplace_cft20_trade_history_constraint"], + update_columns: Array, + where?: GraphQLTypes["marketplace_cft20_trade_history_bool_exp"] | undefined +}; + /** Ordering options when selecting data from "marketplace_cft20_trade_history". */ +["marketplace_cft20_trade_history_order_by"]: { + amount_base?: GraphQLTypes["order_by"] | undefined, + amount_quote?: GraphQLTypes["order_by"] | undefined, + buyer_address?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + marketplace_listing?: GraphQLTypes["marketplace_listing_order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + seller_address?: GraphQLTypes["order_by"] | undefined, + token?: GraphQLTypes["token_order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction?: GraphQLTypes["transaction_order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** primary key columns input for table: marketplace_cft20_trade_history */ +["marketplace_cft20_trade_history_pk_columns_input"]: { + id: number +}; + /** select columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_select_column"]: marketplace_cft20_trade_history_select_column; + /** input type for updating data in table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_set_input"]: { + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + buyer_address?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["marketplace_cft20_trade_history_stddev_fields"]: { + __typename: "marketplace_cft20_trade_history_stddev_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stddev_order_by"]: { + amount_base?: GraphQLTypes["order_by"] | undefined, + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["marketplace_cft20_trade_history_stddev_pop_fields"]: { + __typename: "marketplace_cft20_trade_history_stddev_pop_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_pop() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stddev_pop_order_by"]: { + amount_base?: GraphQLTypes["order_by"] | undefined, + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["marketplace_cft20_trade_history_stddev_samp_fields"]: { + __typename: "marketplace_cft20_trade_history_stddev_samp_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_samp() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stddev_samp_order_by"]: { + amount_base?: GraphQLTypes["order_by"] | undefined, + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** Streaming cursor of the table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_stream_cursor_input"]: { + /** Stream column input with initial value */ + initial_value: GraphQLTypes["marketplace_cft20_trade_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; + /** Initial value of the column from where the streaming should start */ +["marketplace_cft20_trade_history_stream_cursor_value_input"]: { + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + buyer_address?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["marketplace_cft20_trade_history_sum_fields"]: { + __typename: "marketplace_cft20_trade_history_sum_fields", + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by sum() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_sum_order_by"]: { + amount_base?: GraphQLTypes["order_by"] | undefined, + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** update columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_update_column"]: marketplace_cft20_trade_history_update_column; + ["marketplace_cft20_trade_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["marketplace_cft20_trade_history_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["marketplace_cft20_trade_history_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["marketplace_cft20_trade_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["marketplace_cft20_trade_history_var_pop_fields"]: { + __typename: "marketplace_cft20_trade_history_var_pop_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_pop() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_var_pop_order_by"]: { + amount_base?: GraphQLTypes["order_by"] | undefined, + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["marketplace_cft20_trade_history_var_samp_fields"]: { + __typename: "marketplace_cft20_trade_history_var_samp_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_samp() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_var_samp_order_by"]: { + amount_base?: GraphQLTypes["order_by"] | undefined, + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["marketplace_cft20_trade_history_variance_fields"]: { + __typename: "marketplace_cft20_trade_history_variance_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + listing_id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** order by variance() on columns of table "marketplace_cft20_trade_history" */ +["marketplace_cft20_trade_history_variance_order_by"]: { + amount_base?: GraphQLTypes["order_by"] | undefined, + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** columns and relationships of "marketplace_listing" */ +["marketplace_listing"]: { + __typename: "marketplace_listing", + chain_id: string, + date_created: GraphQLTypes["timestamp"], + date_updated?: GraphQLTypes["timestamp"] | undefined, + deposit_timeout: number, + deposit_total: GraphQLTypes["bigint"], + depositor_address?: string | undefined, + depositor_timedout_block?: number | undefined, + id: number, + is_cancelled: boolean, + is_deposited: boolean, + is_filled: boolean, + /** An array relationship */ + marketplace_cft20_details: Array, + /** An aggregate relationship */ + marketplace_cft20_details_aggregate: GraphQLTypes["marketplace_cft20_detail_aggregate"], + /** An array relationship */ + marketplace_cft20_trade_histories: Array, + /** An aggregate relationship */ + marketplace_cft20_trade_histories_aggregate: GraphQLTypes["marketplace_cft20_trade_history_aggregate"], + /** An array relationship */ + marketplace_listing_histories: Array, + /** An aggregate relationship */ + marketplace_listing_histories_aggregate: GraphQLTypes["marketplace_listing_history_aggregate"], + seller_address: string, + total: GraphQLTypes["bigint"], + /** An object relationship */ + transaction: GraphQLTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "marketplace_listing" */ +["marketplace_listing_aggregate"]: { + __typename: "marketplace_listing_aggregate", + aggregate?: GraphQLTypes["marketplace_listing_aggregate_fields"] | undefined, + nodes: Array +}; + ["marketplace_listing_aggregate_bool_exp"]: { + bool_and?: GraphQLTypes["marketplace_listing_aggregate_bool_exp_bool_and"] | undefined, + bool_or?: GraphQLTypes["marketplace_listing_aggregate_bool_exp_bool_or"] | undefined, + count?: GraphQLTypes["marketplace_listing_aggregate_bool_exp_count"] | undefined +}; + ["marketplace_listing_aggregate_bool_exp_bool_and"]: { + arguments: GraphQLTypes["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns"], + distinct?: boolean | undefined, + filter?: GraphQLTypes["marketplace_listing_bool_exp"] | undefined, + predicate: GraphQLTypes["Boolean_comparison_exp"] +}; + ["marketplace_listing_aggregate_bool_exp_bool_or"]: { + arguments: GraphQLTypes["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns"], + distinct?: boolean | undefined, + filter?: GraphQLTypes["marketplace_listing_bool_exp"] | undefined, + predicate: GraphQLTypes["Boolean_comparison_exp"] +}; + ["marketplace_listing_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: GraphQLTypes["marketplace_listing_bool_exp"] | undefined, + predicate: GraphQLTypes["Int_comparison_exp"] +}; + /** aggregate fields of "marketplace_listing" */ +["marketplace_listing_aggregate_fields"]: { + __typename: "marketplace_listing_aggregate_fields", + avg?: GraphQLTypes["marketplace_listing_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["marketplace_listing_max_fields"] | undefined, + min?: GraphQLTypes["marketplace_listing_min_fields"] | undefined, + stddev?: GraphQLTypes["marketplace_listing_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["marketplace_listing_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["marketplace_listing_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["marketplace_listing_sum_fields"] | undefined, + var_pop?: GraphQLTypes["marketplace_listing_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["marketplace_listing_var_samp_fields"] | undefined, + variance?: GraphQLTypes["marketplace_listing_variance_fields"] | undefined +}; + /** order by aggregate values of table "marketplace_listing" */ +["marketplace_listing_aggregate_order_by"]: { + avg?: GraphQLTypes["marketplace_listing_avg_order_by"] | undefined, + count?: GraphQLTypes["order_by"] | undefined, + max?: GraphQLTypes["marketplace_listing_max_order_by"] | undefined, + min?: GraphQLTypes["marketplace_listing_min_order_by"] | undefined, + stddev?: GraphQLTypes["marketplace_listing_stddev_order_by"] | undefined, + stddev_pop?: GraphQLTypes["marketplace_listing_stddev_pop_order_by"] | undefined, + stddev_samp?: GraphQLTypes["marketplace_listing_stddev_samp_order_by"] | undefined, + sum?: GraphQLTypes["marketplace_listing_sum_order_by"] | undefined, + var_pop?: GraphQLTypes["marketplace_listing_var_pop_order_by"] | undefined, + var_samp?: GraphQLTypes["marketplace_listing_var_samp_order_by"] | undefined, + variance?: GraphQLTypes["marketplace_listing_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "marketplace_listing" */ +["marketplace_listing_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: GraphQLTypes["marketplace_listing_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["marketplace_listing_avg_fields"]: { + __typename: "marketplace_listing_avg_fields", + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; + /** order by avg() on columns of table "marketplace_listing" */ +["marketplace_listing_avg_order_by"]: { + deposit_timeout?: GraphQLTypes["order_by"] | undefined, + deposit_total?: GraphQLTypes["order_by"] | undefined, + depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** Boolean expression to filter rows from the table "marketplace_listing". All fields are combined with a logical 'AND'. */ +["marketplace_listing_bool_exp"]: { + _and?: Array | undefined, + _not?: GraphQLTypes["marketplace_listing_bool_exp"] | undefined, + _or?: Array | undefined, + chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, + date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + date_updated?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + deposit_timeout?: GraphQLTypes["Int_comparison_exp"] | undefined, + deposit_total?: GraphQLTypes["bigint_comparison_exp"] | undefined, + depositor_address?: GraphQLTypes["String_comparison_exp"] | undefined, + depositor_timedout_block?: GraphQLTypes["Int_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + is_cancelled?: GraphQLTypes["Boolean_comparison_exp"] | undefined, + is_deposited?: GraphQLTypes["Boolean_comparison_exp"] | undefined, + is_filled?: GraphQLTypes["Boolean_comparison_exp"] | undefined, + marketplace_cft20_details?: GraphQLTypes["marketplace_cft20_detail_bool_exp"] | undefined, + marketplace_cft20_details_aggregate?: GraphQLTypes["marketplace_cft20_detail_aggregate_bool_exp"] | undefined, + marketplace_cft20_trade_histories?: GraphQLTypes["marketplace_cft20_trade_history_bool_exp"] | undefined, + marketplace_cft20_trade_histories_aggregate?: GraphQLTypes["marketplace_cft20_trade_history_aggregate_bool_exp"] | undefined, + marketplace_listing_histories?: GraphQLTypes["marketplace_listing_history_bool_exp"] | undefined, + marketplace_listing_histories_aggregate?: GraphQLTypes["marketplace_listing_history_aggregate_bool_exp"] | undefined, + seller_address?: GraphQLTypes["String_comparison_exp"] | undefined, + total?: GraphQLTypes["bigint_comparison_exp"] | undefined, + transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, + transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined +}; + /** unique or primary key constraints on table "marketplace_listing" */ +["marketplace_listing_constraint"]: marketplace_listing_constraint; + /** columns and relationships of "marketplace_listing_history" */ +["marketplace_listing_history"]: { + __typename: "marketplace_listing_history", + action: string, + date_created: GraphQLTypes["timestamp"], + id: number, + listing_id: number, + /** An object relationship */ + marketplace_listing: GraphQLTypes["marketplace_listing"], + sender_address: string, + /** An object relationship */ + transaction: GraphQLTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "marketplace_listing_history" */ +["marketplace_listing_history_aggregate"]: { + __typename: "marketplace_listing_history_aggregate", + aggregate?: GraphQLTypes["marketplace_listing_history_aggregate_fields"] | undefined, + nodes: Array +}; + ["marketplace_listing_history_aggregate_bool_exp"]: { + count?: GraphQLTypes["marketplace_listing_history_aggregate_bool_exp_count"] | undefined +}; + ["marketplace_listing_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: GraphQLTypes["marketplace_listing_history_bool_exp"] | undefined, + predicate: GraphQLTypes["Int_comparison_exp"] +}; + /** aggregate fields of "marketplace_listing_history" */ +["marketplace_listing_history_aggregate_fields"]: { + __typename: "marketplace_listing_history_aggregate_fields", + avg?: GraphQLTypes["marketplace_listing_history_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["marketplace_listing_history_max_fields"] | undefined, + min?: GraphQLTypes["marketplace_listing_history_min_fields"] | undefined, + stddev?: GraphQLTypes["marketplace_listing_history_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["marketplace_listing_history_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["marketplace_listing_history_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["marketplace_listing_history_sum_fields"] | undefined, + var_pop?: GraphQLTypes["marketplace_listing_history_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["marketplace_listing_history_var_samp_fields"] | undefined, + variance?: GraphQLTypes["marketplace_listing_history_variance_fields"] | undefined +}; + /** order by aggregate values of table "marketplace_listing_history" */ +["marketplace_listing_history_aggregate_order_by"]: { + avg?: GraphQLTypes["marketplace_listing_history_avg_order_by"] | undefined, + count?: GraphQLTypes["order_by"] | undefined, + max?: GraphQLTypes["marketplace_listing_history_max_order_by"] | undefined, + min?: GraphQLTypes["marketplace_listing_history_min_order_by"] | undefined, + stddev?: GraphQLTypes["marketplace_listing_history_stddev_order_by"] | undefined, + stddev_pop?: GraphQLTypes["marketplace_listing_history_stddev_pop_order_by"] | undefined, + stddev_samp?: GraphQLTypes["marketplace_listing_history_stddev_samp_order_by"] | undefined, + sum?: GraphQLTypes["marketplace_listing_history_sum_order_by"] | undefined, + var_pop?: GraphQLTypes["marketplace_listing_history_var_pop_order_by"] | undefined, + var_samp?: GraphQLTypes["marketplace_listing_history_var_samp_order_by"] | undefined, + variance?: GraphQLTypes["marketplace_listing_history_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "marketplace_listing_history" */ +["marketplace_listing_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: GraphQLTypes["marketplace_listing_history_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["marketplace_listing_history_avg_fields"]: { + __typename: "marketplace_listing_history_avg_fields", + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by avg() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_avg_order_by"]: { + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** Boolean expression to filter rows from the table "marketplace_listing_history". All fields are combined with a logical 'AND'. */ +["marketplace_listing_history_bool_exp"]: { + _and?: Array | undefined, + _not?: GraphQLTypes["marketplace_listing_history_bool_exp"] | undefined, + _or?: Array | undefined, + action?: GraphQLTypes["String_comparison_exp"] | undefined, + date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + listing_id?: GraphQLTypes["Int_comparison_exp"] | undefined, + marketplace_listing?: GraphQLTypes["marketplace_listing_bool_exp"] | undefined, + sender_address?: GraphQLTypes["String_comparison_exp"] | undefined, + transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, + transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined +}; + /** unique or primary key constraints on table "marketplace_listing_history" */ +["marketplace_listing_history_constraint"]: marketplace_listing_history_constraint; + /** input type for incrementing numeric columns in table "marketplace_listing_history" */ +["marketplace_listing_history_inc_input"]: { + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "marketplace_listing_history" */ +["marketplace_listing_history_insert_input"]: { + action?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + marketplace_listing?: GraphQLTypes["marketplace_listing_obj_rel_insert_input"] | undefined, + sender_address?: string | undefined, + transaction?: GraphQLTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["marketplace_listing_history_max_fields"]: { + __typename: "marketplace_listing_history_max_fields", + action?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + sender_address?: string | undefined, + transaction_id?: number | undefined +}; + /** order by max() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_max_order_by"]: { action?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - inscription_id?: GraphQLTypes["order_by"] | undefined, - receiver?: GraphQLTypes["order_by"] | undefined, - sender?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; - /** order by min() on columns of table "inscription_history" */ - ["inscription_history_min_order_by"]: { + date_created?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + sender_address?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["marketplace_listing_history_min_fields"]: { + __typename: "marketplace_listing_history_min_fields", + action?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + sender_address?: string | undefined, + transaction_id?: number | undefined +}; + /** order by min() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_min_order_by"]: { action?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - inscription_id?: GraphQLTypes["order_by"] | undefined, - receiver?: GraphQLTypes["order_by"] | undefined, - sender?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; - /** Ordering options when selecting data from "inscription_history". */ - ["inscription_history_order_by"]: { + date_created?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + sender_address?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** response of any mutation on the table "marketplace_listing_history" */ +["marketplace_listing_history_mutation_response"]: { + __typename: "marketplace_listing_history_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "marketplace_listing_history" */ +["marketplace_listing_history_on_conflict"]: { + constraint: GraphQLTypes["marketplace_listing_history_constraint"], + update_columns: Array, + where?: GraphQLTypes["marketplace_listing_history_bool_exp"] | undefined +}; + /** Ordering options when selecting data from "marketplace_listing_history". */ +["marketplace_listing_history_order_by"]: { action?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - inscription?: GraphQLTypes["inscription_order_by"] | undefined, - inscription_id?: GraphQLTypes["order_by"] | undefined, - receiver?: GraphQLTypes["order_by"] | undefined, - sender?: GraphQLTypes["order_by"] | undefined, - transaction?: GraphQLTypes["transaction_order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; - /** select columns of table "inscription_history" */ - ["inscription_history_select_column"]: inscription_history_select_column; - /** order by stddev() on columns of table "inscription_history" */ - ["inscription_history_stddev_order_by"]: { - height?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + marketplace_listing?: GraphQLTypes["marketplace_listing_order_by"] | undefined, + sender_address?: GraphQLTypes["order_by"] | undefined, + transaction?: GraphQLTypes["transaction_order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** primary key columns input for table: marketplace_listing_history */ +["marketplace_listing_history_pk_columns_input"]: { + id: number +}; + /** select columns of table "marketplace_listing_history" */ +["marketplace_listing_history_select_column"]: marketplace_listing_history_select_column; + /** input type for updating data in table "marketplace_listing_history" */ +["marketplace_listing_history_set_input"]: { + action?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + sender_address?: string | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["marketplace_listing_history_stddev_fields"]: { + __typename: "marketplace_listing_history_stddev_fields", + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_stddev_order_by"]: { id?: GraphQLTypes["order_by"] | undefined, - inscription_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; - /** order by stddev_pop() on columns of table "inscription_history" */ - ["inscription_history_stddev_pop_order_by"]: { - height?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["marketplace_listing_history_stddev_pop_fields"]: { + __typename: "marketplace_listing_history_stddev_pop_fields", + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_pop() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_stddev_pop_order_by"]: { id?: GraphQLTypes["order_by"] | undefined, - inscription_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; - /** order by stddev_samp() on columns of table "inscription_history" */ - ["inscription_history_stddev_samp_order_by"]: { - height?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["marketplace_listing_history_stddev_samp_fields"]: { + __typename: "marketplace_listing_history_stddev_samp_fields", + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by stddev_samp() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_stddev_samp_order_by"]: { id?: GraphQLTypes["order_by"] | undefined, - inscription_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; - /** Streaming cursor of the table "inscription_history" */ - ["inscription_history_stream_cursor_input"]: { + listing_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** Streaming cursor of the table "marketplace_listing_history" */ +["marketplace_listing_history_stream_cursor_input"]: { /** Stream column input with initial value */ - initial_value: GraphQLTypes["inscription_history_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: GraphQLTypes["cursor_ordering"] | undefined - }; + initial_value: GraphQLTypes["marketplace_listing_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["inscription_history_stream_cursor_value_input"]: { +["marketplace_listing_history_stream_cursor_value_input"]: { action?: string | undefined, - chain_id?: string | undefined, - date_created?: GraphQLTypes["timestamp"] | undefined, - height?: number | undefined, - id?: number | undefined, - inscription_id?: number | undefined, - receiver?: string | undefined, - sender?: string | undefined, - transaction_id?: number | undefined - }; - /** order by sum() on columns of table "inscription_history" */ - ["inscription_history_sum_order_by"]: { - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - inscription_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; - /** order by var_pop() on columns of table "inscription_history" */ - ["inscription_history_var_pop_order_by"]: { - height?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + listing_id?: number | undefined, + sender_address?: string | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["marketplace_listing_history_sum_fields"]: { + __typename: "marketplace_listing_history_sum_fields", + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by sum() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_sum_order_by"]: { id?: GraphQLTypes["order_by"] | undefined, - inscription_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; - /** order by var_samp() on columns of table "inscription_history" */ - ["inscription_history_var_samp_order_by"]: { - height?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** update columns of table "marketplace_listing_history" */ +["marketplace_listing_history_update_column"]: marketplace_listing_history_update_column; + ["marketplace_listing_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["marketplace_listing_history_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["marketplace_listing_history_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["marketplace_listing_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["marketplace_listing_history_var_pop_fields"]: { + __typename: "marketplace_listing_history_var_pop_fields", + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_pop() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_var_pop_order_by"]: { id?: GraphQLTypes["order_by"] | undefined, - inscription_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; - /** order by variance() on columns of table "inscription_history" */ - ["inscription_history_variance_order_by"]: { - height?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["marketplace_listing_history_var_samp_fields"]: { + __typename: "marketplace_listing_history_var_samp_fields", + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by var_samp() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_var_samp_order_by"]: { id?: GraphQLTypes["order_by"] | undefined, - inscription_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; - /** Ordering options when selecting data from "inscription". */ - ["inscription_order_by"]: { - chain_id?: GraphQLTypes["order_by"] | undefined, - content_hash?: GraphQLTypes["order_by"] | undefined, - content_path?: GraphQLTypes["order_by"] | undefined, - content_size_bytes?: GraphQLTypes["order_by"] | undefined, - creator?: GraphQLTypes["order_by"] | undefined, - current_owner?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, + listing_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["marketplace_listing_history_variance_fields"]: { + __typename: "marketplace_listing_history_variance_fields", + id?: number | undefined, + listing_id?: number | undefined, + transaction_id?: number | undefined +}; + /** order by variance() on columns of table "marketplace_listing_history" */ +["marketplace_listing_history_variance_order_by"]: { id?: GraphQLTypes["order_by"] | undefined, - inscription_histories_aggregate?: GraphQLTypes["inscription_history_aggregate_order_by"] | undefined, - is_explicit?: GraphQLTypes["order_by"] | undefined, - metadata?: GraphQLTypes["order_by"] | undefined, - transaction?: GraphQLTypes["transaction_order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined, - type?: GraphQLTypes["order_by"] | undefined, - version?: GraphQLTypes["order_by"] | undefined - }; - /** select columns of table "inscription" */ - ["inscription_select_column"]: inscription_select_column; - /** Streaming cursor of the table "inscription" */ - ["inscription_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: GraphQLTypes["inscription_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: GraphQLTypes["cursor_ordering"] | undefined - }; - /** Initial value of the column from where the streaming should start */ - ["inscription_stream_cursor_value_input"]: { + listing_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** input type for incrementing numeric columns in table "marketplace_listing" */ +["marketplace_listing_inc_input"]: { + deposit_timeout?: number | undefined, + deposit_total?: GraphQLTypes["bigint"] | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "marketplace_listing" */ +["marketplace_listing_insert_input"]: { chain_id?: string | undefined, - content_hash?: string | undefined, - content_path?: string | undefined, - content_size_bytes?: number | undefined, - creator?: string | undefined, - current_owner?: string | undefined, - date_created?: GraphQLTypes["timestamp"] | undefined, - height?: number | undefined, - id?: number | undefined, - is_explicit?: boolean | undefined, - metadata?: GraphQLTypes["json"] | undefined, - transaction_id?: number | undefined, - type?: string | undefined, - version?: string | undefined - }; - ["json"]: "scalar" & { name: "json" }; - /** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */ - ["json_comparison_exp"]: { - _eq?: GraphQLTypes["json"] | undefined, - _gt?: GraphQLTypes["json"] | undefined, - _gte?: GraphQLTypes["json"] | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: GraphQLTypes["json"] | undefined, - _lte?: GraphQLTypes["json"] | undefined, - _neq?: GraphQLTypes["json"] | undefined, - _nin?: Array | undefined - }; - /** columns and relationships of "marketplace_cft20_detail" */ - ["marketplace_cft20_detail"]: { - __typename: "marketplace_cft20_detail", - amount: GraphQLTypes["bigint"], - date_created: GraphQLTypes["timestamp"], - id: number, - listing_id: number, - /** An object relationship */ - marketplace_listing: GraphQLTypes["marketplace_listing"], - ppt: GraphQLTypes["bigint"], - /** An object relationship */ - token: GraphQLTypes["token"], - token_id: number - }; - /** order by aggregate values of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_aggregate_order_by"]: { - avg?: GraphQLTypes["marketplace_cft20_detail_avg_order_by"] | undefined, - count?: GraphQLTypes["order_by"] | undefined, - max?: GraphQLTypes["marketplace_cft20_detail_max_order_by"] | undefined, - min?: GraphQLTypes["marketplace_cft20_detail_min_order_by"] | undefined, - stddev?: GraphQLTypes["marketplace_cft20_detail_stddev_order_by"] | undefined, - stddev_pop?: GraphQLTypes["marketplace_cft20_detail_stddev_pop_order_by"] | undefined, - stddev_samp?: GraphQLTypes["marketplace_cft20_detail_stddev_samp_order_by"] | undefined, - sum?: GraphQLTypes["marketplace_cft20_detail_sum_order_by"] | undefined, - var_pop?: GraphQLTypes["marketplace_cft20_detail_var_pop_order_by"] | undefined, - var_samp?: GraphQLTypes["marketplace_cft20_detail_var_samp_order_by"] | undefined, - variance?: GraphQLTypes["marketplace_cft20_detail_variance_order_by"] | undefined - }; - /** order by avg() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_avg_order_by"]: { - amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - listing_id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; - /** Boolean expression to filter rows from the table "marketplace_cft20_detail". All fields are combined with a logical 'AND'. */ - ["marketplace_cft20_detail_bool_exp"]: { - _and?: Array | undefined, - _not?: GraphQLTypes["marketplace_cft20_detail_bool_exp"] | undefined, - _or?: Array | undefined, - amount?: GraphQLTypes["bigint_comparison_exp"] | undefined, - date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - id?: GraphQLTypes["Int_comparison_exp"] | undefined, - listing_id?: GraphQLTypes["Int_comparison_exp"] | undefined, - marketplace_listing?: GraphQLTypes["marketplace_listing_bool_exp"] | undefined, - ppt?: GraphQLTypes["bigint_comparison_exp"] | undefined, - token?: GraphQLTypes["token_bool_exp"] | undefined, - token_id?: GraphQLTypes["Int_comparison_exp"] | undefined - }; - /** order by max() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_max_order_by"]: { - amount?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - listing_id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; - /** order by min() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_min_order_by"]: { - amount?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - listing_id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; - /** Ordering options when selecting data from "marketplace_cft20_detail". */ - ["marketplace_cft20_detail_order_by"]: { - amount?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - listing_id?: GraphQLTypes["order_by"] | undefined, - marketplace_listing?: GraphQLTypes["marketplace_listing_order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - token?: GraphQLTypes["token_order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; - /** select columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_select_column"]: marketplace_cft20_detail_select_column; - /** order by stddev() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stddev_order_by"]: { - amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - listing_id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; - /** order by stddev_pop() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stddev_pop_order_by"]: { - amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - listing_id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; - /** order by stddev_samp() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stddev_samp_order_by"]: { - amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - listing_id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; - /** Streaming cursor of the table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_stream_cursor_input"]: { - /** Stream column input with initial value */ - initial_value: GraphQLTypes["marketplace_cft20_detail_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: GraphQLTypes["cursor_ordering"] | undefined - }; - /** Initial value of the column from where the streaming should start */ - ["marketplace_cft20_detail_stream_cursor_value_input"]: { - amount?: GraphQLTypes["bigint"] | undefined, - date_created?: GraphQLTypes["timestamp"] | undefined, - id?: number | undefined, - listing_id?: number | undefined, - ppt?: GraphQLTypes["bigint"] | undefined, - token_id?: number | undefined - }; - /** order by sum() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_sum_order_by"]: { - amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - listing_id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; - /** order by var_pop() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_var_pop_order_by"]: { - amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - listing_id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; - /** order by var_samp() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_var_samp_order_by"]: { - amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - listing_id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; - /** order by variance() on columns of table "marketplace_cft20_detail" */ - ["marketplace_cft20_detail_variance_order_by"]: { - amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - listing_id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; - /** columns and relationships of "marketplace_listing" */ - ["marketplace_listing"]: { - __typename: "marketplace_listing", - chain_id: string, - date_created: GraphQLTypes["timestamp"], - date_updated?: GraphQLTypes["timestamp"] | undefined, - deposit_timeout: number, - deposit_total: GraphQLTypes["bigint"], - depositor_address?: string | undefined, - depositor_timedout_block?: number | undefined, - id: number, - is_cancelled: boolean, - is_deposited: boolean, - is_filled: boolean, - /** An array relationship */ - marketplace_cft20_details: Array, - seller_address: string, - total: GraphQLTypes["bigint"], - /** An object relationship */ - transaction: GraphQLTypes["transaction"], - transaction_id: number - }; - /** order by aggregate values of table "marketplace_listing" */ - ["marketplace_listing_aggregate_order_by"]: { - avg?: GraphQLTypes["marketplace_listing_avg_order_by"] | undefined, - count?: GraphQLTypes["order_by"] | undefined, - max?: GraphQLTypes["marketplace_listing_max_order_by"] | undefined, - min?: GraphQLTypes["marketplace_listing_min_order_by"] | undefined, - stddev?: GraphQLTypes["marketplace_listing_stddev_order_by"] | undefined, - stddev_pop?: GraphQLTypes["marketplace_listing_stddev_pop_order_by"] | undefined, - stddev_samp?: GraphQLTypes["marketplace_listing_stddev_samp_order_by"] | undefined, - sum?: GraphQLTypes["marketplace_listing_sum_order_by"] | undefined, - var_pop?: GraphQLTypes["marketplace_listing_var_pop_order_by"] | undefined, - var_samp?: GraphQLTypes["marketplace_listing_var_samp_order_by"] | undefined, - variance?: GraphQLTypes["marketplace_listing_variance_order_by"] | undefined - }; - /** order by avg() on columns of table "marketplace_listing" */ - ["marketplace_listing_avg_order_by"]: { - deposit_timeout?: GraphQLTypes["order_by"] | undefined, - deposit_total?: GraphQLTypes["order_by"] | undefined, - depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; - /** Boolean expression to filter rows from the table "marketplace_listing". All fields are combined with a logical 'AND'. */ - ["marketplace_listing_bool_exp"]: { - _and?: Array | undefined, - _not?: GraphQLTypes["marketplace_listing_bool_exp"] | undefined, - _or?: Array | undefined, - chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, - date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - date_updated?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - deposit_timeout?: GraphQLTypes["Int_comparison_exp"] | undefined, - deposit_total?: GraphQLTypes["bigint_comparison_exp"] | undefined, - depositor_address?: GraphQLTypes["String_comparison_exp"] | undefined, - depositor_timedout_block?: GraphQLTypes["Int_comparison_exp"] | undefined, - id?: GraphQLTypes["Int_comparison_exp"] | undefined, - is_cancelled?: GraphQLTypes["Boolean_comparison_exp"] | undefined, - is_deposited?: GraphQLTypes["Boolean_comparison_exp"] | undefined, - is_filled?: GraphQLTypes["Boolean_comparison_exp"] | undefined, - marketplace_cft20_details?: GraphQLTypes["marketplace_cft20_detail_bool_exp"] | undefined, - seller_address?: GraphQLTypes["String_comparison_exp"] | undefined, - total?: GraphQLTypes["bigint_comparison_exp"] | undefined, - transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, - transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined - }; + date_created?: GraphQLTypes["timestamp"] | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + deposit_timeout?: number | undefined, + deposit_total?: GraphQLTypes["bigint"] | undefined, + depositor_address?: string | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + is_cancelled?: boolean | undefined, + is_deposited?: boolean | undefined, + is_filled?: boolean | undefined, + marketplace_cft20_details?: GraphQLTypes["marketplace_cft20_detail_arr_rel_insert_input"] | undefined, + marketplace_cft20_trade_histories?: GraphQLTypes["marketplace_cft20_trade_history_arr_rel_insert_input"] | undefined, + marketplace_listing_histories?: GraphQLTypes["marketplace_listing_history_arr_rel_insert_input"] | undefined, + seller_address?: string | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction?: GraphQLTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["marketplace_listing_max_fields"]: { + __typename: "marketplace_listing_max_fields", + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + deposit_timeout?: number | undefined, + deposit_total?: GraphQLTypes["bigint"] | undefined, + depositor_address?: string | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + seller_address?: string | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; /** order by max() on columns of table "marketplace_listing" */ - ["marketplace_listing_max_order_by"]: { +["marketplace_listing_max_order_by"]: { chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - date_updated?: GraphQLTypes["order_by"] | undefined, - deposit_timeout?: GraphQLTypes["order_by"] | undefined, - deposit_total?: GraphQLTypes["order_by"] | undefined, - depositor_address?: GraphQLTypes["order_by"] | undefined, - depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - seller_address?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + date_created?: GraphQLTypes["order_by"] | undefined, + date_updated?: GraphQLTypes["order_by"] | undefined, + deposit_timeout?: GraphQLTypes["order_by"] | undefined, + deposit_total?: GraphQLTypes["order_by"] | undefined, + depositor_address?: GraphQLTypes["order_by"] | undefined, + depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + seller_address?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["marketplace_listing_min_fields"]: { + __typename: "marketplace_listing_min_fields", + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + deposit_timeout?: number | undefined, + deposit_total?: GraphQLTypes["bigint"] | undefined, + depositor_address?: string | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + seller_address?: string | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; /** order by min() on columns of table "marketplace_listing" */ - ["marketplace_listing_min_order_by"]: { +["marketplace_listing_min_order_by"]: { chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - date_updated?: GraphQLTypes["order_by"] | undefined, - deposit_timeout?: GraphQLTypes["order_by"] | undefined, - deposit_total?: GraphQLTypes["order_by"] | undefined, - depositor_address?: GraphQLTypes["order_by"] | undefined, - depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - seller_address?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + date_created?: GraphQLTypes["order_by"] | undefined, + date_updated?: GraphQLTypes["order_by"] | undefined, + deposit_timeout?: GraphQLTypes["order_by"] | undefined, + deposit_total?: GraphQLTypes["order_by"] | undefined, + depositor_address?: GraphQLTypes["order_by"] | undefined, + depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + seller_address?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** response of any mutation on the table "marketplace_listing" */ +["marketplace_listing_mutation_response"]: { + __typename: "marketplace_listing_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** input type for inserting object relation for remote table "marketplace_listing" */ +["marketplace_listing_obj_rel_insert_input"]: { + data: GraphQLTypes["marketplace_listing_insert_input"], + /** upsert condition */ + on_conflict?: GraphQLTypes["marketplace_listing_on_conflict"] | undefined +}; + /** on_conflict condition type for table "marketplace_listing" */ +["marketplace_listing_on_conflict"]: { + constraint: GraphQLTypes["marketplace_listing_constraint"], + update_columns: Array, + where?: GraphQLTypes["marketplace_listing_bool_exp"] | undefined +}; /** Ordering options when selecting data from "marketplace_listing". */ - ["marketplace_listing_order_by"]: { +["marketplace_listing_order_by"]: { chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - date_updated?: GraphQLTypes["order_by"] | undefined, - deposit_timeout?: GraphQLTypes["order_by"] | undefined, - deposit_total?: GraphQLTypes["order_by"] | undefined, - depositor_address?: GraphQLTypes["order_by"] | undefined, - depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - is_cancelled?: GraphQLTypes["order_by"] | undefined, - is_deposited?: GraphQLTypes["order_by"] | undefined, - is_filled?: GraphQLTypes["order_by"] | undefined, - marketplace_cft20_details_aggregate?: GraphQLTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined, - seller_address?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction?: GraphQLTypes["transaction_order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + date_created?: GraphQLTypes["order_by"] | undefined, + date_updated?: GraphQLTypes["order_by"] | undefined, + deposit_timeout?: GraphQLTypes["order_by"] | undefined, + deposit_total?: GraphQLTypes["order_by"] | undefined, + depositor_address?: GraphQLTypes["order_by"] | undefined, + depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + is_cancelled?: GraphQLTypes["order_by"] | undefined, + is_deposited?: GraphQLTypes["order_by"] | undefined, + is_filled?: GraphQLTypes["order_by"] | undefined, + marketplace_cft20_details_aggregate?: GraphQLTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined, + marketplace_cft20_trade_histories_aggregate?: GraphQLTypes["marketplace_cft20_trade_history_aggregate_order_by"] | undefined, + marketplace_listing_histories_aggregate?: GraphQLTypes["marketplace_listing_history_aggregate_order_by"] | undefined, + seller_address?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction?: GraphQLTypes["transaction_order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** primary key columns input for table: marketplace_listing */ +["marketplace_listing_pk_columns_input"]: { + id: number +}; /** select columns of table "marketplace_listing" */ - ["marketplace_listing_select_column"]: marketplace_listing_select_column; +["marketplace_listing_select_column"]: marketplace_listing_select_column; + /** select "marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns" columns of table "marketplace_listing" */ +["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns"]: marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns; + /** select "marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns" columns of table "marketplace_listing" */ +["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns"]: marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "marketplace_listing" */ +["marketplace_listing_set_input"]: { + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + deposit_timeout?: number | undefined, + deposit_total?: GraphQLTypes["bigint"] | undefined, + depositor_address?: string | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + is_cancelled?: boolean | undefined, + is_deposited?: boolean | undefined, + is_filled?: boolean | undefined, + seller_address?: string | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["marketplace_listing_stddev_fields"]: { + __typename: "marketplace_listing_stddev_fields", + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev() on columns of table "marketplace_listing" */ - ["marketplace_listing_stddev_order_by"]: { +["marketplace_listing_stddev_order_by"]: { deposit_timeout?: GraphQLTypes["order_by"] | undefined, - deposit_total?: GraphQLTypes["order_by"] | undefined, - depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + deposit_total?: GraphQLTypes["order_by"] | undefined, + depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["marketplace_listing_stddev_pop_fields"]: { + __typename: "marketplace_listing_stddev_pop_fields", + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_pop() on columns of table "marketplace_listing" */ - ["marketplace_listing_stddev_pop_order_by"]: { +["marketplace_listing_stddev_pop_order_by"]: { deposit_timeout?: GraphQLTypes["order_by"] | undefined, - deposit_total?: GraphQLTypes["order_by"] | undefined, - depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + deposit_total?: GraphQLTypes["order_by"] | undefined, + depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["marketplace_listing_stddev_samp_fields"]: { + __typename: "marketplace_listing_stddev_samp_fields", + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_samp() on columns of table "marketplace_listing" */ - ["marketplace_listing_stddev_samp_order_by"]: { +["marketplace_listing_stddev_samp_order_by"]: { deposit_timeout?: GraphQLTypes["order_by"] | undefined, - deposit_total?: GraphQLTypes["order_by"] | undefined, - depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + deposit_total?: GraphQLTypes["order_by"] | undefined, + depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; /** Streaming cursor of the table "marketplace_listing" */ - ["marketplace_listing_stream_cursor_input"]: { +["marketplace_listing_stream_cursor_input"]: { /** Stream column input with initial value */ - initial_value: GraphQLTypes["marketplace_listing_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: GraphQLTypes["cursor_ordering"] | undefined - }; + initial_value: GraphQLTypes["marketplace_listing_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["marketplace_listing_stream_cursor_value_input"]: { +["marketplace_listing_stream_cursor_value_input"]: { chain_id?: string | undefined, - date_created?: GraphQLTypes["timestamp"] | undefined, - date_updated?: GraphQLTypes["timestamp"] | undefined, - deposit_timeout?: number | undefined, - deposit_total?: GraphQLTypes["bigint"] | undefined, - depositor_address?: string | undefined, - depositor_timedout_block?: number | undefined, - id?: number | undefined, - is_cancelled?: boolean | undefined, - is_deposited?: boolean | undefined, - is_filled?: boolean | undefined, - seller_address?: string | undefined, - total?: GraphQLTypes["bigint"] | undefined, - transaction_id?: number | undefined - }; + date_created?: GraphQLTypes["timestamp"] | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + deposit_timeout?: number | undefined, + deposit_total?: GraphQLTypes["bigint"] | undefined, + depositor_address?: string | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + is_cancelled?: boolean | undefined, + is_deposited?: boolean | undefined, + is_filled?: boolean | undefined, + seller_address?: string | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["marketplace_listing_sum_fields"]: { + __typename: "marketplace_listing_sum_fields", + deposit_timeout?: number | undefined, + deposit_total?: GraphQLTypes["bigint"] | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; /** order by sum() on columns of table "marketplace_listing" */ - ["marketplace_listing_sum_order_by"]: { +["marketplace_listing_sum_order_by"]: { deposit_timeout?: GraphQLTypes["order_by"] | undefined, - deposit_total?: GraphQLTypes["order_by"] | undefined, - depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + deposit_total?: GraphQLTypes["order_by"] | undefined, + depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** update columns of table "marketplace_listing" */ +["marketplace_listing_update_column"]: marketplace_listing_update_column; + ["marketplace_listing_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["marketplace_listing_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["marketplace_listing_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["marketplace_listing_bool_exp"] +}; + /** aggregate var_pop on columns */ +["marketplace_listing_var_pop_fields"]: { + __typename: "marketplace_listing_var_pop_fields", + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_pop() on columns of table "marketplace_listing" */ - ["marketplace_listing_var_pop_order_by"]: { +["marketplace_listing_var_pop_order_by"]: { deposit_timeout?: GraphQLTypes["order_by"] | undefined, - deposit_total?: GraphQLTypes["order_by"] | undefined, - depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + deposit_total?: GraphQLTypes["order_by"] | undefined, + depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["marketplace_listing_var_samp_fields"]: { + __typename: "marketplace_listing_var_samp_fields", + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_samp() on columns of table "marketplace_listing" */ - ["marketplace_listing_var_samp_order_by"]: { +["marketplace_listing_var_samp_order_by"]: { deposit_timeout?: GraphQLTypes["order_by"] | undefined, - deposit_total?: GraphQLTypes["order_by"] | undefined, - depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + deposit_total?: GraphQLTypes["order_by"] | undefined, + depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["marketplace_listing_variance_fields"]: { + __typename: "marketplace_listing_variance_fields", + deposit_timeout?: number | undefined, + deposit_total?: number | undefined, + depositor_timedout_block?: number | undefined, + id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by variance() on columns of table "marketplace_listing" */ - ["marketplace_listing_variance_order_by"]: { +["marketplace_listing_variance_order_by"]: { deposit_timeout?: GraphQLTypes["order_by"] | undefined, - deposit_total?: GraphQLTypes["order_by"] | undefined, - depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + deposit_total?: GraphQLTypes["order_by"] | undefined, + depositor_timedout_block?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** mutation root */ +["mutation_root"]: { + __typename: "mutation_root", + /** delete data from the table: "inscription" */ + delete_inscription?: GraphQLTypes["inscription_mutation_response"] | undefined, + /** delete single row from the table: "inscription" */ + delete_inscription_by_pk?: GraphQLTypes["inscription"] | undefined, + /** delete data from the table: "inscription_history" */ + delete_inscription_history?: GraphQLTypes["inscription_history_mutation_response"] | undefined, + /** delete single row from the table: "inscription_history" */ + delete_inscription_history_by_pk?: GraphQLTypes["inscription_history"] | undefined, + /** delete data from the table: "marketplace_cft20_detail" */ + delete_marketplace_cft20_detail?: GraphQLTypes["marketplace_cft20_detail_mutation_response"] | undefined, + /** delete single row from the table: "marketplace_cft20_detail" */ + delete_marketplace_cft20_detail_by_pk?: GraphQLTypes["marketplace_cft20_detail"] | undefined, + /** delete data from the table: "marketplace_cft20_trade_history" */ + delete_marketplace_cft20_trade_history?: GraphQLTypes["marketplace_cft20_trade_history_mutation_response"] | undefined, + /** delete single row from the table: "marketplace_cft20_trade_history" */ + delete_marketplace_cft20_trade_history_by_pk?: GraphQLTypes["marketplace_cft20_trade_history"] | undefined, + /** delete data from the table: "marketplace_listing" */ + delete_marketplace_listing?: GraphQLTypes["marketplace_listing_mutation_response"] | undefined, + /** delete single row from the table: "marketplace_listing" */ + delete_marketplace_listing_by_pk?: GraphQLTypes["marketplace_listing"] | undefined, + /** delete data from the table: "marketplace_listing_history" */ + delete_marketplace_listing_history?: GraphQLTypes["marketplace_listing_history_mutation_response"] | undefined, + /** delete single row from the table: "marketplace_listing_history" */ + delete_marketplace_listing_history_by_pk?: GraphQLTypes["marketplace_listing_history"] | undefined, + /** delete data from the table: "status" */ + delete_status?: GraphQLTypes["status_mutation_response"] | undefined, + /** delete single row from the table: "status" */ + delete_status_by_pk?: GraphQLTypes["status"] | undefined, + /** delete data from the table: "token" */ + delete_token?: GraphQLTypes["token_mutation_response"] | undefined, + /** delete data from the table: "token_address_history" */ + delete_token_address_history?: GraphQLTypes["token_address_history_mutation_response"] | undefined, + /** delete single row from the table: "token_address_history" */ + delete_token_address_history_by_pk?: GraphQLTypes["token_address_history"] | undefined, + /** delete single row from the table: "token" */ + delete_token_by_pk?: GraphQLTypes["token"] | undefined, + /** delete data from the table: "token_holder" */ + delete_token_holder?: GraphQLTypes["token_holder_mutation_response"] | undefined, + /** delete single row from the table: "token_holder" */ + delete_token_holder_by_pk?: GraphQLTypes["token_holder"] | undefined, + /** delete data from the table: "token_open_position" */ + delete_token_open_position?: GraphQLTypes["token_open_position_mutation_response"] | undefined, + /** delete single row from the table: "token_open_position" */ + delete_token_open_position_by_pk?: GraphQLTypes["token_open_position"] | undefined, + /** delete data from the table: "token_trade_history" */ + delete_token_trade_history?: GraphQLTypes["token_trade_history_mutation_response"] | undefined, + /** delete single row from the table: "token_trade_history" */ + delete_token_trade_history_by_pk?: GraphQLTypes["token_trade_history"] | undefined, + /** delete data from the table: "transaction" */ + delete_transaction?: GraphQLTypes["transaction_mutation_response"] | undefined, + /** delete single row from the table: "transaction" */ + delete_transaction_by_pk?: GraphQLTypes["transaction"] | undefined, + /** insert data into the table: "inscription" */ + insert_inscription?: GraphQLTypes["inscription_mutation_response"] | undefined, + /** insert data into the table: "inscription_history" */ + insert_inscription_history?: GraphQLTypes["inscription_history_mutation_response"] | undefined, + /** insert a single row into the table: "inscription_history" */ + insert_inscription_history_one?: GraphQLTypes["inscription_history"] | undefined, + /** insert a single row into the table: "inscription" */ + insert_inscription_one?: GraphQLTypes["inscription"] | undefined, + /** insert data into the table: "marketplace_cft20_detail" */ + insert_marketplace_cft20_detail?: GraphQLTypes["marketplace_cft20_detail_mutation_response"] | undefined, + /** insert a single row into the table: "marketplace_cft20_detail" */ + insert_marketplace_cft20_detail_one?: GraphQLTypes["marketplace_cft20_detail"] | undefined, + /** insert data into the table: "marketplace_cft20_trade_history" */ + insert_marketplace_cft20_trade_history?: GraphQLTypes["marketplace_cft20_trade_history_mutation_response"] | undefined, + /** insert a single row into the table: "marketplace_cft20_trade_history" */ + insert_marketplace_cft20_trade_history_one?: GraphQLTypes["marketplace_cft20_trade_history"] | undefined, + /** insert data into the table: "marketplace_listing" */ + insert_marketplace_listing?: GraphQLTypes["marketplace_listing_mutation_response"] | undefined, + /** insert data into the table: "marketplace_listing_history" */ + insert_marketplace_listing_history?: GraphQLTypes["marketplace_listing_history_mutation_response"] | undefined, + /** insert a single row into the table: "marketplace_listing_history" */ + insert_marketplace_listing_history_one?: GraphQLTypes["marketplace_listing_history"] | undefined, + /** insert a single row into the table: "marketplace_listing" */ + insert_marketplace_listing_one?: GraphQLTypes["marketplace_listing"] | undefined, + /** insert data into the table: "status" */ + insert_status?: GraphQLTypes["status_mutation_response"] | undefined, + /** insert a single row into the table: "status" */ + insert_status_one?: GraphQLTypes["status"] | undefined, + /** insert data into the table: "token" */ + insert_token?: GraphQLTypes["token_mutation_response"] | undefined, + /** insert data into the table: "token_address_history" */ + insert_token_address_history?: GraphQLTypes["token_address_history_mutation_response"] | undefined, + /** insert a single row into the table: "token_address_history" */ + insert_token_address_history_one?: GraphQLTypes["token_address_history"] | undefined, + /** insert data into the table: "token_holder" */ + insert_token_holder?: GraphQLTypes["token_holder_mutation_response"] | undefined, + /** insert a single row into the table: "token_holder" */ + insert_token_holder_one?: GraphQLTypes["token_holder"] | undefined, + /** insert a single row into the table: "token" */ + insert_token_one?: GraphQLTypes["token"] | undefined, + /** insert data into the table: "token_open_position" */ + insert_token_open_position?: GraphQLTypes["token_open_position_mutation_response"] | undefined, + /** insert a single row into the table: "token_open_position" */ + insert_token_open_position_one?: GraphQLTypes["token_open_position"] | undefined, + /** insert data into the table: "token_trade_history" */ + insert_token_trade_history?: GraphQLTypes["token_trade_history_mutation_response"] | undefined, + /** insert a single row into the table: "token_trade_history" */ + insert_token_trade_history_one?: GraphQLTypes["token_trade_history"] | undefined, + /** insert data into the table: "transaction" */ + insert_transaction?: GraphQLTypes["transaction_mutation_response"] | undefined, + /** insert a single row into the table: "transaction" */ + insert_transaction_one?: GraphQLTypes["transaction"] | undefined, + /** update data of the table: "inscription" */ + update_inscription?: GraphQLTypes["inscription_mutation_response"] | undefined, + /** update single row of the table: "inscription" */ + update_inscription_by_pk?: GraphQLTypes["inscription"] | undefined, + /** update data of the table: "inscription_history" */ + update_inscription_history?: GraphQLTypes["inscription_history_mutation_response"] | undefined, + /** update single row of the table: "inscription_history" */ + update_inscription_history_by_pk?: GraphQLTypes["inscription_history"] | undefined, + /** update multiples rows of table: "inscription_history" */ + update_inscription_history_many?: Array | undefined, + /** update multiples rows of table: "inscription" */ + update_inscription_many?: Array | undefined, + /** update data of the table: "marketplace_cft20_detail" */ + update_marketplace_cft20_detail?: GraphQLTypes["marketplace_cft20_detail_mutation_response"] | undefined, + /** update single row of the table: "marketplace_cft20_detail" */ + update_marketplace_cft20_detail_by_pk?: GraphQLTypes["marketplace_cft20_detail"] | undefined, + /** update multiples rows of table: "marketplace_cft20_detail" */ + update_marketplace_cft20_detail_many?: Array | undefined, + /** update data of the table: "marketplace_cft20_trade_history" */ + update_marketplace_cft20_trade_history?: GraphQLTypes["marketplace_cft20_trade_history_mutation_response"] | undefined, + /** update single row of the table: "marketplace_cft20_trade_history" */ + update_marketplace_cft20_trade_history_by_pk?: GraphQLTypes["marketplace_cft20_trade_history"] | undefined, + /** update multiples rows of table: "marketplace_cft20_trade_history" */ + update_marketplace_cft20_trade_history_many?: Array | undefined, + /** update data of the table: "marketplace_listing" */ + update_marketplace_listing?: GraphQLTypes["marketplace_listing_mutation_response"] | undefined, + /** update single row of the table: "marketplace_listing" */ + update_marketplace_listing_by_pk?: GraphQLTypes["marketplace_listing"] | undefined, + /** update data of the table: "marketplace_listing_history" */ + update_marketplace_listing_history?: GraphQLTypes["marketplace_listing_history_mutation_response"] | undefined, + /** update single row of the table: "marketplace_listing_history" */ + update_marketplace_listing_history_by_pk?: GraphQLTypes["marketplace_listing_history"] | undefined, + /** update multiples rows of table: "marketplace_listing_history" */ + update_marketplace_listing_history_many?: Array | undefined, + /** update multiples rows of table: "marketplace_listing" */ + update_marketplace_listing_many?: Array | undefined, + /** update data of the table: "status" */ + update_status?: GraphQLTypes["status_mutation_response"] | undefined, + /** update single row of the table: "status" */ + update_status_by_pk?: GraphQLTypes["status"] | undefined, + /** update multiples rows of table: "status" */ + update_status_many?: Array | undefined, + /** update data of the table: "token" */ + update_token?: GraphQLTypes["token_mutation_response"] | undefined, + /** update data of the table: "token_address_history" */ + update_token_address_history?: GraphQLTypes["token_address_history_mutation_response"] | undefined, + /** update single row of the table: "token_address_history" */ + update_token_address_history_by_pk?: GraphQLTypes["token_address_history"] | undefined, + /** update multiples rows of table: "token_address_history" */ + update_token_address_history_many?: Array | undefined, + /** update single row of the table: "token" */ + update_token_by_pk?: GraphQLTypes["token"] | undefined, + /** update data of the table: "token_holder" */ + update_token_holder?: GraphQLTypes["token_holder_mutation_response"] | undefined, + /** update single row of the table: "token_holder" */ + update_token_holder_by_pk?: GraphQLTypes["token_holder"] | undefined, + /** update multiples rows of table: "token_holder" */ + update_token_holder_many?: Array | undefined, + /** update multiples rows of table: "token" */ + update_token_many?: Array | undefined, + /** update data of the table: "token_open_position" */ + update_token_open_position?: GraphQLTypes["token_open_position_mutation_response"] | undefined, + /** update single row of the table: "token_open_position" */ + update_token_open_position_by_pk?: GraphQLTypes["token_open_position"] | undefined, + /** update multiples rows of table: "token_open_position" */ + update_token_open_position_many?: Array | undefined, + /** update data of the table: "token_trade_history" */ + update_token_trade_history?: GraphQLTypes["token_trade_history_mutation_response"] | undefined, + /** update single row of the table: "token_trade_history" */ + update_token_trade_history_by_pk?: GraphQLTypes["token_trade_history"] | undefined, + /** update multiples rows of table: "token_trade_history" */ + update_token_trade_history_many?: Array | undefined, + /** update data of the table: "transaction" */ + update_transaction?: GraphQLTypes["transaction_mutation_response"] | undefined, + /** update single row of the table: "transaction" */ + update_transaction_by_pk?: GraphQLTypes["transaction"] | undefined, + /** update multiples rows of table: "transaction" */ + update_transaction_many?: Array | undefined +}; ["numeric"]: "scalar" & { name: "numeric" }; /** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */ - ["numeric_comparison_exp"]: { +["numeric_comparison_exp"]: { _eq?: GraphQLTypes["numeric"] | undefined, - _gt?: GraphQLTypes["numeric"] | undefined, - _gte?: GraphQLTypes["numeric"] | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: GraphQLTypes["numeric"] | undefined, - _lte?: GraphQLTypes["numeric"] | undefined, - _neq?: GraphQLTypes["numeric"] | undefined, - _nin?: Array | undefined - }; + _gt?: GraphQLTypes["numeric"] | undefined, + _gte?: GraphQLTypes["numeric"] | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: GraphQLTypes["numeric"] | undefined, + _lte?: GraphQLTypes["numeric"] | undefined, + _neq?: GraphQLTypes["numeric"] | undefined, + _nin?: Array | undefined +}; /** column ordering options */ - ["order_by"]: order_by; +["order_by"]: order_by; ["query_root"]: { - __typename: "query_root", - /** fetch data from the table: "inscription" */ - inscription: Array, - /** fetch data from the table: "inscription" using primary key columns */ - inscription_by_pk?: GraphQLTypes["inscription"] | undefined, - /** fetch data from the table: "inscription_history" */ - inscription_history: Array, - /** fetch data from the table: "inscription_history" using primary key columns */ - inscription_history_by_pk?: GraphQLTypes["inscription_history"] | undefined, - /** fetch data from the table: "marketplace_cft20_detail" */ - marketplace_cft20_detail: Array, - /** fetch data from the table: "marketplace_cft20_detail" using primary key columns */ - marketplace_cft20_detail_by_pk?: GraphQLTypes["marketplace_cft20_detail"] | undefined, - /** fetch data from the table: "marketplace_listing" */ - marketplace_listing: Array, - /** fetch data from the table: "marketplace_listing" using primary key columns */ - marketplace_listing_by_pk?: GraphQLTypes["marketplace_listing"] | undefined, - /** fetch data from the table: "status" */ - status: Array, - /** fetch data from the table: "status" using primary key columns */ - status_by_pk?: GraphQLTypes["status"] | undefined, - /** fetch data from the table: "token" */ - token: Array, - /** fetch data from the table: "token_address_history" */ - token_address_history: Array, - /** fetch data from the table: "token_address_history" using primary key columns */ - token_address_history_by_pk?: GraphQLTypes["token_address_history"] | undefined, - /** fetch data from the table: "token" using primary key columns */ - token_by_pk?: GraphQLTypes["token"] | undefined, - /** fetch data from the table: "token_holder" */ - token_holder: Array, - /** fetch data from the table: "token_holder" using primary key columns */ - token_holder_by_pk?: GraphQLTypes["token_holder"] | undefined, - /** fetch data from the table: "token_open_position" */ - token_open_position: Array, - /** fetch data from the table: "token_open_position" using primary key columns */ - token_open_position_by_pk?: GraphQLTypes["token_open_position"] | undefined, - /** fetch data from the table: "token_trade_history" */ - token_trade_history: Array, - /** fetch data from the table: "token_trade_history" using primary key columns */ - token_trade_history_by_pk?: GraphQLTypes["token_trade_history"] | undefined, - /** fetch data from the table: "transaction" */ - transaction: Array, - /** fetch data from the table: "transaction" using primary key columns */ - transaction_by_pk?: GraphQLTypes["transaction"] | undefined - }; + __typename: "query_root", + /** fetch data from the table: "inscription" */ + inscription: Array, + /** fetch aggregated fields from the table: "inscription" */ + inscription_aggregate: GraphQLTypes["inscription_aggregate"], + /** fetch data from the table: "inscription" using primary key columns */ + inscription_by_pk?: GraphQLTypes["inscription"] | undefined, + /** fetch data from the table: "inscription_history" */ + inscription_history: Array, + /** fetch aggregated fields from the table: "inscription_history" */ + inscription_history_aggregate: GraphQLTypes["inscription_history_aggregate"], + /** fetch data from the table: "inscription_history" using primary key columns */ + inscription_history_by_pk?: GraphQLTypes["inscription_history"] | undefined, + /** fetch data from the table: "marketplace_cft20_detail" */ + marketplace_cft20_detail: Array, + /** fetch aggregated fields from the table: "marketplace_cft20_detail" */ + marketplace_cft20_detail_aggregate: GraphQLTypes["marketplace_cft20_detail_aggregate"], + /** fetch data from the table: "marketplace_cft20_detail" using primary key columns */ + marketplace_cft20_detail_by_pk?: GraphQLTypes["marketplace_cft20_detail"] | undefined, + /** fetch data from the table: "marketplace_cft20_trade_history" */ + marketplace_cft20_trade_history: Array, + /** fetch aggregated fields from the table: "marketplace_cft20_trade_history" */ + marketplace_cft20_trade_history_aggregate: GraphQLTypes["marketplace_cft20_trade_history_aggregate"], + /** fetch data from the table: "marketplace_cft20_trade_history" using primary key columns */ + marketplace_cft20_trade_history_by_pk?: GraphQLTypes["marketplace_cft20_trade_history"] | undefined, + /** fetch data from the table: "marketplace_listing" */ + marketplace_listing: Array, + /** fetch aggregated fields from the table: "marketplace_listing" */ + marketplace_listing_aggregate: GraphQLTypes["marketplace_listing_aggregate"], + /** fetch data from the table: "marketplace_listing" using primary key columns */ + marketplace_listing_by_pk?: GraphQLTypes["marketplace_listing"] | undefined, + /** fetch data from the table: "marketplace_listing_history" */ + marketplace_listing_history: Array, + /** fetch aggregated fields from the table: "marketplace_listing_history" */ + marketplace_listing_history_aggregate: GraphQLTypes["marketplace_listing_history_aggregate"], + /** fetch data from the table: "marketplace_listing_history" using primary key columns */ + marketplace_listing_history_by_pk?: GraphQLTypes["marketplace_listing_history"] | undefined, + /** fetch data from the table: "status" */ + status: Array, + /** fetch aggregated fields from the table: "status" */ + status_aggregate: GraphQLTypes["status_aggregate"], + /** fetch data from the table: "status" using primary key columns */ + status_by_pk?: GraphQLTypes["status"] | undefined, + /** fetch data from the table: "token" */ + token: Array, + /** fetch data from the table: "token_address_history" */ + token_address_history: Array, + /** fetch aggregated fields from the table: "token_address_history" */ + token_address_history_aggregate: GraphQLTypes["token_address_history_aggregate"], + /** fetch data from the table: "token_address_history" using primary key columns */ + token_address_history_by_pk?: GraphQLTypes["token_address_history"] | undefined, + /** fetch aggregated fields from the table: "token" */ + token_aggregate: GraphQLTypes["token_aggregate"], + /** fetch data from the table: "token" using primary key columns */ + token_by_pk?: GraphQLTypes["token"] | undefined, + /** fetch data from the table: "token_holder" */ + token_holder: Array, + /** fetch aggregated fields from the table: "token_holder" */ + token_holder_aggregate: GraphQLTypes["token_holder_aggregate"], + /** fetch data from the table: "token_holder" using primary key columns */ + token_holder_by_pk?: GraphQLTypes["token_holder"] | undefined, + /** fetch data from the table: "token_open_position" */ + token_open_position: Array, + /** fetch aggregated fields from the table: "token_open_position" */ + token_open_position_aggregate: GraphQLTypes["token_open_position_aggregate"], + /** fetch data from the table: "token_open_position" using primary key columns */ + token_open_position_by_pk?: GraphQLTypes["token_open_position"] | undefined, + /** fetch data from the table: "token_trade_history" */ + token_trade_history: Array, + /** fetch aggregated fields from the table: "token_trade_history" */ + token_trade_history_aggregate: GraphQLTypes["token_trade_history_aggregate"], + /** fetch data from the table: "token_trade_history" using primary key columns */ + token_trade_history_by_pk?: GraphQLTypes["token_trade_history"] | undefined, + /** fetch data from the table: "transaction" */ + transaction: Array, + /** fetch aggregated fields from the table: "transaction" */ + transaction_aggregate: GraphQLTypes["transaction_aggregate"], + /** fetch data from the table: "transaction" using primary key columns */ + transaction_by_pk?: GraphQLTypes["transaction"] | undefined +}; ["smallint"]: "scalar" & { name: "smallint" }; /** Boolean expression to compare columns of type "smallint". All fields are combined with logical 'AND'. */ - ["smallint_comparison_exp"]: { +["smallint_comparison_exp"]: { _eq?: GraphQLTypes["smallint"] | undefined, - _gt?: GraphQLTypes["smallint"] | undefined, - _gte?: GraphQLTypes["smallint"] | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: GraphQLTypes["smallint"] | undefined, - _lte?: GraphQLTypes["smallint"] | undefined, - _neq?: GraphQLTypes["smallint"] | undefined, - _nin?: Array | undefined - }; + _gt?: GraphQLTypes["smallint"] | undefined, + _gte?: GraphQLTypes["smallint"] | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: GraphQLTypes["smallint"] | undefined, + _lte?: GraphQLTypes["smallint"] | undefined, + _neq?: GraphQLTypes["smallint"] | undefined, + _nin?: Array | undefined +}; /** columns and relationships of "status" */ - ["status"]: { - __typename: "status", - base_token: string, - base_token_usd: number, - chain_id: string, - date_updated: GraphQLTypes["timestamp"], - id: number, - last_known_height: number, - last_processed_height: number - }; +["status"]: { + __typename: "status", + base_token: string, + base_token_usd: number, + chain_id: string, + date_updated: GraphQLTypes["timestamp"], + id: number, + last_known_height?: number | undefined, + last_processed_height: number +}; + /** aggregated selection of "status" */ +["status_aggregate"]: { + __typename: "status_aggregate", + aggregate?: GraphQLTypes["status_aggregate_fields"] | undefined, + nodes: Array +}; + /** aggregate fields of "status" */ +["status_aggregate_fields"]: { + __typename: "status_aggregate_fields", + avg?: GraphQLTypes["status_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["status_max_fields"] | undefined, + min?: GraphQLTypes["status_min_fields"] | undefined, + stddev?: GraphQLTypes["status_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["status_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["status_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["status_sum_fields"] | undefined, + var_pop?: GraphQLTypes["status_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["status_var_samp_fields"] | undefined, + variance?: GraphQLTypes["status_variance_fields"] | undefined +}; + /** aggregate avg on columns */ +["status_avg_fields"]: { + __typename: "status_avg_fields", + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; /** Boolean expression to filter rows from the table "status". All fields are combined with a logical 'AND'. */ - ["status_bool_exp"]: { +["status_bool_exp"]: { _and?: Array | undefined, - _not?: GraphQLTypes["status_bool_exp"] | undefined, - _or?: Array | undefined, - base_token?: GraphQLTypes["String_comparison_exp"] | undefined, - base_token_usd?: GraphQLTypes["Float_comparison_exp"] | undefined, - chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, - date_updated?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - id?: GraphQLTypes["Int_comparison_exp"] | undefined, - last_known_height?: GraphQLTypes["Int_comparison_exp"] | undefined, - last_processed_height?: GraphQLTypes["Int_comparison_exp"] | undefined - }; + _not?: GraphQLTypes["status_bool_exp"] | undefined, + _or?: Array | undefined, + base_token?: GraphQLTypes["String_comparison_exp"] | undefined, + base_token_usd?: GraphQLTypes["Float_comparison_exp"] | undefined, + chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, + date_updated?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + last_known_height?: GraphQLTypes["Int_comparison_exp"] | undefined, + last_processed_height?: GraphQLTypes["Int_comparison_exp"] | undefined +}; + /** unique or primary key constraints on table "status" */ +["status_constraint"]: status_constraint; + /** input type for incrementing numeric columns in table "status" */ +["status_inc_input"]: { + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** input type for inserting data into table "status" */ +["status_insert_input"]: { + base_token?: string | undefined, + base_token_usd?: number | undefined, + chain_id?: string | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate max on columns */ +["status_max_fields"]: { + __typename: "status_max_fields", + base_token?: string | undefined, + base_token_usd?: number | undefined, + chain_id?: string | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate min on columns */ +["status_min_fields"]: { + __typename: "status_min_fields", + base_token?: string | undefined, + base_token_usd?: number | undefined, + chain_id?: string | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** response of any mutation on the table "status" */ +["status_mutation_response"]: { + __typename: "status_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "status" */ +["status_on_conflict"]: { + constraint: GraphQLTypes["status_constraint"], + update_columns: Array, + where?: GraphQLTypes["status_bool_exp"] | undefined +}; /** Ordering options when selecting data from "status". */ - ["status_order_by"]: { +["status_order_by"]: { base_token?: GraphQLTypes["order_by"] | undefined, - base_token_usd?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_updated?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - last_known_height?: GraphQLTypes["order_by"] | undefined, - last_processed_height?: GraphQLTypes["order_by"] | undefined - }; + base_token_usd?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_updated?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + last_known_height?: GraphQLTypes["order_by"] | undefined, + last_processed_height?: GraphQLTypes["order_by"] | undefined +}; + /** primary key columns input for table: status */ +["status_pk_columns_input"]: { + id: number +}; /** select columns of table "status" */ - ["status_select_column"]: status_select_column; +["status_select_column"]: status_select_column; + /** input type for updating data in table "status" */ +["status_set_input"]: { + base_token?: string | undefined, + base_token_usd?: number | undefined, + chain_id?: string | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate stddev on columns */ +["status_stddev_fields"]: { + __typename: "status_stddev_fields", + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate stddev_pop on columns */ +["status_stddev_pop_fields"]: { + __typename: "status_stddev_pop_fields", + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate stddev_samp on columns */ +["status_stddev_samp_fields"]: { + __typename: "status_stddev_samp_fields", + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; /** Streaming cursor of the table "status" */ - ["status_stream_cursor_input"]: { +["status_stream_cursor_input"]: { /** Stream column input with initial value */ - initial_value: GraphQLTypes["status_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: GraphQLTypes["cursor_ordering"] | undefined - }; + initial_value: GraphQLTypes["status_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["status_stream_cursor_value_input"]: { +["status_stream_cursor_value_input"]: { base_token?: string | undefined, - base_token_usd?: number | undefined, - chain_id?: string | undefined, - date_updated?: GraphQLTypes["timestamp"] | undefined, - id?: number | undefined, - last_known_height?: number | undefined, - last_processed_height?: number | undefined - }; + base_token_usd?: number | undefined, + chain_id?: string | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate sum on columns */ +["status_sum_fields"]: { + __typename: "status_sum_fields", + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** update columns of table "status" */ +["status_update_column"]: status_update_column; + ["status_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["status_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["status_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["status_bool_exp"] +}; + /** aggregate var_pop on columns */ +["status_var_pop_fields"]: { + __typename: "status_var_pop_fields", + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate var_samp on columns */ +["status_var_samp_fields"]: { + __typename: "status_var_samp_fields", + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; + /** aggregate variance on columns */ +["status_variance_fields"]: { + __typename: "status_variance_fields", + base_token_usd?: number | undefined, + id?: number | undefined, + last_known_height?: number | undefined, + last_processed_height?: number | undefined +}; ["subscription_root"]: { - __typename: "subscription_root", - /** fetch data from the table: "inscription" */ - inscription: Array, - /** fetch data from the table: "inscription" using primary key columns */ - inscription_by_pk?: GraphQLTypes["inscription"] | undefined, - /** fetch data from the table: "inscription_history" */ - inscription_history: Array, - /** fetch data from the table: "inscription_history" using primary key columns */ - inscription_history_by_pk?: GraphQLTypes["inscription_history"] | undefined, - /** fetch data from the table in a streaming manner: "inscription_history" */ - inscription_history_stream: Array, - /** fetch data from the table in a streaming manner: "inscription" */ - inscription_stream: Array, - /** fetch data from the table: "marketplace_cft20_detail" */ - marketplace_cft20_detail: Array, - /** fetch data from the table: "marketplace_cft20_detail" using primary key columns */ - marketplace_cft20_detail_by_pk?: GraphQLTypes["marketplace_cft20_detail"] | undefined, - /** fetch data from the table in a streaming manner: "marketplace_cft20_detail" */ - marketplace_cft20_detail_stream: Array, - /** fetch data from the table: "marketplace_listing" */ - marketplace_listing: Array, - /** fetch data from the table: "marketplace_listing" using primary key columns */ - marketplace_listing_by_pk?: GraphQLTypes["marketplace_listing"] | undefined, - /** fetch data from the table in a streaming manner: "marketplace_listing" */ - marketplace_listing_stream: Array, - /** fetch data from the table: "status" */ - status: Array, - /** fetch data from the table: "status" using primary key columns */ - status_by_pk?: GraphQLTypes["status"] | undefined, - /** fetch data from the table in a streaming manner: "status" */ - status_stream: Array, - /** fetch data from the table: "token" */ - token: Array, - /** fetch data from the table: "token_address_history" */ - token_address_history: Array, - /** fetch data from the table: "token_address_history" using primary key columns */ - token_address_history_by_pk?: GraphQLTypes["token_address_history"] | undefined, - /** fetch data from the table in a streaming manner: "token_address_history" */ - token_address_history_stream: Array, - /** fetch data from the table: "token" using primary key columns */ - token_by_pk?: GraphQLTypes["token"] | undefined, - /** fetch data from the table: "token_holder" */ - token_holder: Array, - /** fetch data from the table: "token_holder" using primary key columns */ - token_holder_by_pk?: GraphQLTypes["token_holder"] | undefined, - /** fetch data from the table in a streaming manner: "token_holder" */ - token_holder_stream: Array, - /** fetch data from the table: "token_open_position" */ - token_open_position: Array, - /** fetch data from the table: "token_open_position" using primary key columns */ - token_open_position_by_pk?: GraphQLTypes["token_open_position"] | undefined, - /** fetch data from the table in a streaming manner: "token_open_position" */ - token_open_position_stream: Array, - /** fetch data from the table in a streaming manner: "token" */ - token_stream: Array, - /** fetch data from the table: "token_trade_history" */ - token_trade_history: Array, - /** fetch data from the table: "token_trade_history" using primary key columns */ - token_trade_history_by_pk?: GraphQLTypes["token_trade_history"] | undefined, - /** fetch data from the table in a streaming manner: "token_trade_history" */ - token_trade_history_stream: Array, - /** fetch data from the table: "transaction" */ - transaction: Array, - /** fetch data from the table: "transaction" using primary key columns */ - transaction_by_pk?: GraphQLTypes["transaction"] | undefined, - /** fetch data from the table in a streaming manner: "transaction" */ - transaction_stream: Array - }; + __typename: "subscription_root", + /** fetch data from the table: "inscription" */ + inscription: Array, + /** fetch aggregated fields from the table: "inscription" */ + inscription_aggregate: GraphQLTypes["inscription_aggregate"], + /** fetch data from the table: "inscription" using primary key columns */ + inscription_by_pk?: GraphQLTypes["inscription"] | undefined, + /** fetch data from the table: "inscription_history" */ + inscription_history: Array, + /** fetch aggregated fields from the table: "inscription_history" */ + inscription_history_aggregate: GraphQLTypes["inscription_history_aggregate"], + /** fetch data from the table: "inscription_history" using primary key columns */ + inscription_history_by_pk?: GraphQLTypes["inscription_history"] | undefined, + /** fetch data from the table in a streaming manner: "inscription_history" */ + inscription_history_stream: Array, + /** fetch data from the table in a streaming manner: "inscription" */ + inscription_stream: Array, + /** fetch data from the table: "marketplace_cft20_detail" */ + marketplace_cft20_detail: Array, + /** fetch aggregated fields from the table: "marketplace_cft20_detail" */ + marketplace_cft20_detail_aggregate: GraphQLTypes["marketplace_cft20_detail_aggregate"], + /** fetch data from the table: "marketplace_cft20_detail" using primary key columns */ + marketplace_cft20_detail_by_pk?: GraphQLTypes["marketplace_cft20_detail"] | undefined, + /** fetch data from the table in a streaming manner: "marketplace_cft20_detail" */ + marketplace_cft20_detail_stream: Array, + /** fetch data from the table: "marketplace_cft20_trade_history" */ + marketplace_cft20_trade_history: Array, + /** fetch aggregated fields from the table: "marketplace_cft20_trade_history" */ + marketplace_cft20_trade_history_aggregate: GraphQLTypes["marketplace_cft20_trade_history_aggregate"], + /** fetch data from the table: "marketplace_cft20_trade_history" using primary key columns */ + marketplace_cft20_trade_history_by_pk?: GraphQLTypes["marketplace_cft20_trade_history"] | undefined, + /** fetch data from the table in a streaming manner: "marketplace_cft20_trade_history" */ + marketplace_cft20_trade_history_stream: Array, + /** fetch data from the table: "marketplace_listing" */ + marketplace_listing: Array, + /** fetch aggregated fields from the table: "marketplace_listing" */ + marketplace_listing_aggregate: GraphQLTypes["marketplace_listing_aggregate"], + /** fetch data from the table: "marketplace_listing" using primary key columns */ + marketplace_listing_by_pk?: GraphQLTypes["marketplace_listing"] | undefined, + /** fetch data from the table: "marketplace_listing_history" */ + marketplace_listing_history: Array, + /** fetch aggregated fields from the table: "marketplace_listing_history" */ + marketplace_listing_history_aggregate: GraphQLTypes["marketplace_listing_history_aggregate"], + /** fetch data from the table: "marketplace_listing_history" using primary key columns */ + marketplace_listing_history_by_pk?: GraphQLTypes["marketplace_listing_history"] | undefined, + /** fetch data from the table in a streaming manner: "marketplace_listing_history" */ + marketplace_listing_history_stream: Array, + /** fetch data from the table in a streaming manner: "marketplace_listing" */ + marketplace_listing_stream: Array, + /** fetch data from the table: "status" */ + status: Array, + /** fetch aggregated fields from the table: "status" */ + status_aggregate: GraphQLTypes["status_aggregate"], + /** fetch data from the table: "status" using primary key columns */ + status_by_pk?: GraphQLTypes["status"] | undefined, + /** fetch data from the table in a streaming manner: "status" */ + status_stream: Array, + /** fetch data from the table: "token" */ + token: Array, + /** fetch data from the table: "token_address_history" */ + token_address_history: Array, + /** fetch aggregated fields from the table: "token_address_history" */ + token_address_history_aggregate: GraphQLTypes["token_address_history_aggregate"], + /** fetch data from the table: "token_address_history" using primary key columns */ + token_address_history_by_pk?: GraphQLTypes["token_address_history"] | undefined, + /** fetch data from the table in a streaming manner: "token_address_history" */ + token_address_history_stream: Array, + /** fetch aggregated fields from the table: "token" */ + token_aggregate: GraphQLTypes["token_aggregate"], + /** fetch data from the table: "token" using primary key columns */ + token_by_pk?: GraphQLTypes["token"] | undefined, + /** fetch data from the table: "token_holder" */ + token_holder: Array, + /** fetch aggregated fields from the table: "token_holder" */ + token_holder_aggregate: GraphQLTypes["token_holder_aggregate"], + /** fetch data from the table: "token_holder" using primary key columns */ + token_holder_by_pk?: GraphQLTypes["token_holder"] | undefined, + /** fetch data from the table in a streaming manner: "token_holder" */ + token_holder_stream: Array, + /** fetch data from the table: "token_open_position" */ + token_open_position: Array, + /** fetch aggregated fields from the table: "token_open_position" */ + token_open_position_aggregate: GraphQLTypes["token_open_position_aggregate"], + /** fetch data from the table: "token_open_position" using primary key columns */ + token_open_position_by_pk?: GraphQLTypes["token_open_position"] | undefined, + /** fetch data from the table in a streaming manner: "token_open_position" */ + token_open_position_stream: Array, + /** fetch data from the table in a streaming manner: "token" */ + token_stream: Array, + /** fetch data from the table: "token_trade_history" */ + token_trade_history: Array, + /** fetch aggregated fields from the table: "token_trade_history" */ + token_trade_history_aggregate: GraphQLTypes["token_trade_history_aggregate"], + /** fetch data from the table: "token_trade_history" using primary key columns */ + token_trade_history_by_pk?: GraphQLTypes["token_trade_history"] | undefined, + /** fetch data from the table in a streaming manner: "token_trade_history" */ + token_trade_history_stream: Array, + /** fetch data from the table: "transaction" */ + transaction: Array, + /** fetch aggregated fields from the table: "transaction" */ + transaction_aggregate: GraphQLTypes["transaction_aggregate"], + /** fetch data from the table: "transaction" using primary key columns */ + transaction_by_pk?: GraphQLTypes["transaction"] | undefined, + /** fetch data from the table in a streaming manner: "transaction" */ + transaction_stream: Array +}; ["timestamp"]: "scalar" & { name: "timestamp" }; /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */ - ["timestamp_comparison_exp"]: { +["timestamp_comparison_exp"]: { _eq?: GraphQLTypes["timestamp"] | undefined, - _gt?: GraphQLTypes["timestamp"] | undefined, - _gte?: GraphQLTypes["timestamp"] | undefined, - _in?: Array | undefined, - _is_null?: boolean | undefined, - _lt?: GraphQLTypes["timestamp"] | undefined, - _lte?: GraphQLTypes["timestamp"] | undefined, - _neq?: GraphQLTypes["timestamp"] | undefined, - _nin?: Array | undefined - }; + _gt?: GraphQLTypes["timestamp"] | undefined, + _gte?: GraphQLTypes["timestamp"] | undefined, + _in?: Array | undefined, + _is_null?: boolean | undefined, + _lt?: GraphQLTypes["timestamp"] | undefined, + _lte?: GraphQLTypes["timestamp"] | undefined, + _neq?: GraphQLTypes["timestamp"] | undefined, + _nin?: Array | undefined +}; /** columns and relationships of "token" */ - ["token"]: { - __typename: "token", - chain_id: string, - circulating_supply: GraphQLTypes["bigint"], - content_path?: string | undefined, - content_size_bytes?: number | undefined, - creator: string, - current_owner: string, - date_created: GraphQLTypes["timestamp"], - decimals: GraphQLTypes["smallint"], - height: number, - id: number, - last_price_base: GraphQLTypes["bigint"], - launch_timestamp: GraphQLTypes["bigint"], - /** An array relationship */ - marketplace_cft20_details: Array, - max_supply: GraphQLTypes["numeric"], - metadata?: string | undefined, - mint_page: string, - name: string, - per_mint_limit: GraphQLTypes["bigint"], - ticker: string, - /** An array relationship */ - token_address_histories: Array, - /** An array relationship */ - token_holders: Array, - /** An array relationship */ - token_open_positions: Array, - /** An array relationship */ - token_trade_histories: Array, - /** An object relationship */ - transaction: GraphQLTypes["transaction"], - transaction_id: number, - version: string, - volume_24_base: GraphQLTypes["bigint"] - }; +["token"]: { + __typename: "token", + chain_id: string, + circulating_supply: GraphQLTypes["bigint"], + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator: string, + current_owner: string, + date_created: GraphQLTypes["timestamp"], + decimals: GraphQLTypes["smallint"], + height: number, + id: number, + is_explicit: boolean, + last_price_base: GraphQLTypes["bigint"], + launch_timestamp: GraphQLTypes["bigint"], + /** An array relationship */ + marketplace_cft20_details: Array, + /** An aggregate relationship */ + marketplace_cft20_details_aggregate: GraphQLTypes["marketplace_cft20_detail_aggregate"], + /** An array relationship */ + marketplace_cft20_trade_histories: Array, + /** An aggregate relationship */ + marketplace_cft20_trade_histories_aggregate: GraphQLTypes["marketplace_cft20_trade_history_aggregate"], + max_supply: GraphQLTypes["numeric"], + metadata?: string | undefined, + mint_page: string, + name: string, + per_mint_limit: GraphQLTypes["bigint"], + ticker: string, + /** An array relationship */ + token_address_histories: Array, + /** An aggregate relationship */ + token_address_histories_aggregate: GraphQLTypes["token_address_history_aggregate"], + /** An array relationship */ + token_holders: Array, + /** An aggregate relationship */ + token_holders_aggregate: GraphQLTypes["token_holder_aggregate"], + /** An array relationship */ + token_open_positions: Array, + /** An aggregate relationship */ + token_open_positions_aggregate: GraphQLTypes["token_open_position_aggregate"], + /** An array relationship */ + token_trade_histories: Array, + /** An aggregate relationship */ + token_trade_histories_aggregate: GraphQLTypes["token_trade_history_aggregate"], + /** An object relationship */ + transaction: GraphQLTypes["transaction"], + transaction_id: number, + version: string, + volume_24_base: GraphQLTypes["bigint"] +}; /** columns and relationships of "token_address_history" */ - ["token_address_history"]: { - __typename: "token_address_history", - action: string, - amount: GraphQLTypes["bigint"], - chain_id: string, - date_created: GraphQLTypes["timestamp"], - height: number, - id: number, - receiver?: string | undefined, - sender: string, - /** An object relationship */ - token: GraphQLTypes["token"], - token_id: number, - /** An object relationship */ - transaction: GraphQLTypes["transaction"], - transaction_id: number - }; +["token_address_history"]: { + __typename: "token_address_history", + action: string, + amount: GraphQLTypes["bigint"], + chain_id: string, + date_created: GraphQLTypes["timestamp"], + height: number, + id: number, + receiver?: string | undefined, + sender: string, + /** An object relationship */ + token: GraphQLTypes["token"], + token_id: number, + /** An object relationship */ + transaction: GraphQLTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "token_address_history" */ +["token_address_history_aggregate"]: { + __typename: "token_address_history_aggregate", + aggregate?: GraphQLTypes["token_address_history_aggregate_fields"] | undefined, + nodes: Array +}; + ["token_address_history_aggregate_bool_exp"]: { + count?: GraphQLTypes["token_address_history_aggregate_bool_exp_count"] | undefined +}; + ["token_address_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: GraphQLTypes["token_address_history_bool_exp"] | undefined, + predicate: GraphQLTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token_address_history" */ +["token_address_history_aggregate_fields"]: { + __typename: "token_address_history_aggregate_fields", + avg?: GraphQLTypes["token_address_history_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["token_address_history_max_fields"] | undefined, + min?: GraphQLTypes["token_address_history_min_fields"] | undefined, + stddev?: GraphQLTypes["token_address_history_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["token_address_history_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["token_address_history_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["token_address_history_sum_fields"] | undefined, + var_pop?: GraphQLTypes["token_address_history_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["token_address_history_var_samp_fields"] | undefined, + variance?: GraphQLTypes["token_address_history_variance_fields"] | undefined +}; /** order by aggregate values of table "token_address_history" */ - ["token_address_history_aggregate_order_by"]: { +["token_address_history_aggregate_order_by"]: { avg?: GraphQLTypes["token_address_history_avg_order_by"] | undefined, - count?: GraphQLTypes["order_by"] | undefined, - max?: GraphQLTypes["token_address_history_max_order_by"] | undefined, - min?: GraphQLTypes["token_address_history_min_order_by"] | undefined, - stddev?: GraphQLTypes["token_address_history_stddev_order_by"] | undefined, - stddev_pop?: GraphQLTypes["token_address_history_stddev_pop_order_by"] | undefined, - stddev_samp?: GraphQLTypes["token_address_history_stddev_samp_order_by"] | undefined, - sum?: GraphQLTypes["token_address_history_sum_order_by"] | undefined, - var_pop?: GraphQLTypes["token_address_history_var_pop_order_by"] | undefined, - var_samp?: GraphQLTypes["token_address_history_var_samp_order_by"] | undefined, - variance?: GraphQLTypes["token_address_history_variance_order_by"] | undefined - }; + count?: GraphQLTypes["order_by"] | undefined, + max?: GraphQLTypes["token_address_history_max_order_by"] | undefined, + min?: GraphQLTypes["token_address_history_min_order_by"] | undefined, + stddev?: GraphQLTypes["token_address_history_stddev_order_by"] | undefined, + stddev_pop?: GraphQLTypes["token_address_history_stddev_pop_order_by"] | undefined, + stddev_samp?: GraphQLTypes["token_address_history_stddev_samp_order_by"] | undefined, + sum?: GraphQLTypes["token_address_history_sum_order_by"] | undefined, + var_pop?: GraphQLTypes["token_address_history_var_pop_order_by"] | undefined, + var_samp?: GraphQLTypes["token_address_history_var_samp_order_by"] | undefined, + variance?: GraphQLTypes["token_address_history_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "token_address_history" */ +["token_address_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: GraphQLTypes["token_address_history_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["token_address_history_avg_fields"]: { + __typename: "token_address_history_avg_fields", + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by avg() on columns of table "token_address_history" */ - ["token_address_history_avg_order_by"]: { +["token_address_history_avg_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "token_address_history". All fields are combined with a logical 'AND'. */ - ["token_address_history_bool_exp"]: { +["token_address_history_bool_exp"]: { _and?: Array | undefined, - _not?: GraphQLTypes["token_address_history_bool_exp"] | undefined, - _or?: Array | undefined, - action?: GraphQLTypes["String_comparison_exp"] | undefined, - amount?: GraphQLTypes["bigint_comparison_exp"] | undefined, - chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, - date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - height?: GraphQLTypes["Int_comparison_exp"] | undefined, - id?: GraphQLTypes["Int_comparison_exp"] | undefined, - receiver?: GraphQLTypes["String_comparison_exp"] | undefined, - sender?: GraphQLTypes["String_comparison_exp"] | undefined, - token?: GraphQLTypes["token_bool_exp"] | undefined, - token_id?: GraphQLTypes["Int_comparison_exp"] | undefined, - transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, - transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined - }; + _not?: GraphQLTypes["token_address_history_bool_exp"] | undefined, + _or?: Array | undefined, + action?: GraphQLTypes["String_comparison_exp"] | undefined, + amount?: GraphQLTypes["bigint_comparison_exp"] | undefined, + chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, + date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + height?: GraphQLTypes["Int_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + receiver?: GraphQLTypes["String_comparison_exp"] | undefined, + sender?: GraphQLTypes["String_comparison_exp"] | undefined, + token?: GraphQLTypes["token_bool_exp"] | undefined, + token_id?: GraphQLTypes["Int_comparison_exp"] | undefined, + transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, + transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined +}; + /** unique or primary key constraints on table "token_address_history" */ +["token_address_history_constraint"]: token_address_history_constraint; + /** input type for incrementing numeric columns in table "token_address_history" */ +["token_address_history_inc_input"]: { + amount?: GraphQLTypes["bigint"] | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "token_address_history" */ +["token_address_history_insert_input"]: { + action?: string | undefined, + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + token?: GraphQLTypes["token_obj_rel_insert_input"] | undefined, + token_id?: number | undefined, + transaction?: GraphQLTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["token_address_history_max_fields"]: { + __typename: "token_address_history_max_fields", + action?: string | undefined, + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by max() on columns of table "token_address_history" */ - ["token_address_history_max_order_by"]: { +["token_address_history_max_order_by"]: { action?: GraphQLTypes["order_by"] | undefined, - amount?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - receiver?: GraphQLTypes["order_by"] | undefined, - sender?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + receiver?: GraphQLTypes["order_by"] | undefined, + sender?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["token_address_history_min_fields"]: { + __typename: "token_address_history_min_fields", + action?: string | undefined, + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by min() on columns of table "token_address_history" */ - ["token_address_history_min_order_by"]: { - action?: GraphQLTypes["order_by"] | undefined, - amount?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - receiver?: GraphQLTypes["order_by"] | undefined, - sender?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; - /** Ordering options when selecting data from "token_address_history". */ - ["token_address_history_order_by"]: { +["token_address_history_min_order_by"]: { action?: GraphQLTypes["order_by"] | undefined, - amount?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - receiver?: GraphQLTypes["order_by"] | undefined, - sender?: GraphQLTypes["order_by"] | undefined, - token?: GraphQLTypes["token_order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - transaction?: GraphQLTypes["transaction_order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + receiver?: GraphQLTypes["order_by"] | undefined, + sender?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** response of any mutation on the table "token_address_history" */ +["token_address_history_mutation_response"]: { + __typename: "token_address_history_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "token_address_history" */ +["token_address_history_on_conflict"]: { + constraint: GraphQLTypes["token_address_history_constraint"], + update_columns: Array, + where?: GraphQLTypes["token_address_history_bool_exp"] | undefined +}; + /** Ordering options when selecting data from "token_address_history". */ +["token_address_history_order_by"]: { + action?: GraphQLTypes["order_by"] | undefined, + amount?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + receiver?: GraphQLTypes["order_by"] | undefined, + sender?: GraphQLTypes["order_by"] | undefined, + token?: GraphQLTypes["token_order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + transaction?: GraphQLTypes["transaction_order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** primary key columns input for table: token_address_history */ +["token_address_history_pk_columns_input"]: { + id: number +}; /** select columns of table "token_address_history" */ - ["token_address_history_select_column"]: token_address_history_select_column; +["token_address_history_select_column"]: token_address_history_select_column; + /** input type for updating data in table "token_address_history" */ +["token_address_history_set_input"]: { + action?: string | undefined, + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["token_address_history_stddev_fields"]: { + __typename: "token_address_history_stddev_fields", + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev() on columns of table "token_address_history" */ - ["token_address_history_stddev_order_by"]: { +["token_address_history_stddev_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["token_address_history_stddev_pop_fields"]: { + __typename: "token_address_history_stddev_pop_fields", + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_pop() on columns of table "token_address_history" */ - ["token_address_history_stddev_pop_order_by"]: { +["token_address_history_stddev_pop_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["token_address_history_stddev_samp_fields"]: { + __typename: "token_address_history_stddev_samp_fields", + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_samp() on columns of table "token_address_history" */ - ["token_address_history_stddev_samp_order_by"]: { +["token_address_history_stddev_samp_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; /** Streaming cursor of the table "token_address_history" */ - ["token_address_history_stream_cursor_input"]: { +["token_address_history_stream_cursor_input"]: { /** Stream column input with initial value */ - initial_value: GraphQLTypes["token_address_history_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: GraphQLTypes["cursor_ordering"] | undefined - }; + initial_value: GraphQLTypes["token_address_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["token_address_history_stream_cursor_value_input"]: { +["token_address_history_stream_cursor_value_input"]: { action?: string | undefined, - amount?: GraphQLTypes["bigint"] | undefined, - chain_id?: string | undefined, - date_created?: GraphQLTypes["timestamp"] | undefined, - height?: number | undefined, - id?: number | undefined, - receiver?: string | undefined, - sender?: string | undefined, - token_id?: number | undefined, - transaction_id?: number | undefined - }; + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + height?: number | undefined, + id?: number | undefined, + receiver?: string | undefined, + sender?: string | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["token_address_history_sum_fields"]: { + __typename: "token_address_history_sum_fields", + amount?: GraphQLTypes["bigint"] | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by sum() on columns of table "token_address_history" */ - ["token_address_history_sum_order_by"]: { +["token_address_history_sum_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** update columns of table "token_address_history" */ +["token_address_history_update_column"]: token_address_history_update_column; + ["token_address_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["token_address_history_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["token_address_history_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["token_address_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_address_history_var_pop_fields"]: { + __typename: "token_address_history_var_pop_fields", + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_pop() on columns of table "token_address_history" */ - ["token_address_history_var_pop_order_by"]: { +["token_address_history_var_pop_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["token_address_history_var_samp_fields"]: { + __typename: "token_address_history_var_samp_fields", + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_samp() on columns of table "token_address_history" */ - ["token_address_history_var_samp_order_by"]: { +["token_address_history_var_samp_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["token_address_history_variance_fields"]: { + __typename: "token_address_history_variance_fields", + amount?: number | undefined, + height?: number | undefined, + id?: number | undefined, + token_id?: number | undefined, + transaction_id?: number | undefined +}; /** order by variance() on columns of table "token_address_history" */ - ["token_address_history_variance_order_by"]: { +["token_address_history_variance_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregated selection of "token" */ +["token_aggregate"]: { + __typename: "token_aggregate", + aggregate?: GraphQLTypes["token_aggregate_fields"] | undefined, + nodes: Array +}; + ["token_aggregate_bool_exp"]: { + bool_and?: GraphQLTypes["token_aggregate_bool_exp_bool_and"] | undefined, + bool_or?: GraphQLTypes["token_aggregate_bool_exp_bool_or"] | undefined, + count?: GraphQLTypes["token_aggregate_bool_exp_count"] | undefined +}; + ["token_aggregate_bool_exp_bool_and"]: { + arguments: GraphQLTypes["token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns"], + distinct?: boolean | undefined, + filter?: GraphQLTypes["token_bool_exp"] | undefined, + predicate: GraphQLTypes["Boolean_comparison_exp"] +}; + ["token_aggregate_bool_exp_bool_or"]: { + arguments: GraphQLTypes["token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns"], + distinct?: boolean | undefined, + filter?: GraphQLTypes["token_bool_exp"] | undefined, + predicate: GraphQLTypes["Boolean_comparison_exp"] +}; + ["token_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: GraphQLTypes["token_bool_exp"] | undefined, + predicate: GraphQLTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token" */ +["token_aggregate_fields"]: { + __typename: "token_aggregate_fields", + avg?: GraphQLTypes["token_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["token_max_fields"] | undefined, + min?: GraphQLTypes["token_min_fields"] | undefined, + stddev?: GraphQLTypes["token_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["token_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["token_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["token_sum_fields"] | undefined, + var_pop?: GraphQLTypes["token_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["token_var_samp_fields"] | undefined, + variance?: GraphQLTypes["token_variance_fields"] | undefined +}; + /** order by aggregate values of table "token" */ +["token_aggregate_order_by"]: { + avg?: GraphQLTypes["token_avg_order_by"] | undefined, + count?: GraphQLTypes["order_by"] | undefined, + max?: GraphQLTypes["token_max_order_by"] | undefined, + min?: GraphQLTypes["token_min_order_by"] | undefined, + stddev?: GraphQLTypes["token_stddev_order_by"] | undefined, + stddev_pop?: GraphQLTypes["token_stddev_pop_order_by"] | undefined, + stddev_samp?: GraphQLTypes["token_stddev_samp_order_by"] | undefined, + sum?: GraphQLTypes["token_sum_order_by"] | undefined, + var_pop?: GraphQLTypes["token_var_pop_order_by"] | undefined, + var_samp?: GraphQLTypes["token_var_samp_order_by"] | undefined, + variance?: GraphQLTypes["token_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "token" */ +["token_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: GraphQLTypes["token_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["token_avg_fields"]: { + __typename: "token_avg_fields", + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by avg() on columns of table "token" */ +["token_avg_order_by"]: { + circulating_supply?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + decimals?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + last_price_base?: GraphQLTypes["order_by"] | undefined, + launch_timestamp?: GraphQLTypes["order_by"] | undefined, + max_supply?: GraphQLTypes["order_by"] | undefined, + per_mint_limit?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + volume_24_base?: GraphQLTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "token". All fields are combined with a logical 'AND'. */ - ["token_bool_exp"]: { +["token_bool_exp"]: { _and?: Array | undefined, - _not?: GraphQLTypes["token_bool_exp"] | undefined, - _or?: Array | undefined, - chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, - circulating_supply?: GraphQLTypes["bigint_comparison_exp"] | undefined, - content_path?: GraphQLTypes["String_comparison_exp"] | undefined, - content_size_bytes?: GraphQLTypes["Int_comparison_exp"] | undefined, - creator?: GraphQLTypes["String_comparison_exp"] | undefined, - current_owner?: GraphQLTypes["String_comparison_exp"] | undefined, - date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - decimals?: GraphQLTypes["smallint_comparison_exp"] | undefined, - height?: GraphQLTypes["Int_comparison_exp"] | undefined, - id?: GraphQLTypes["Int_comparison_exp"] | undefined, - last_price_base?: GraphQLTypes["bigint_comparison_exp"] | undefined, - launch_timestamp?: GraphQLTypes["bigint_comparison_exp"] | undefined, - marketplace_cft20_details?: GraphQLTypes["marketplace_cft20_detail_bool_exp"] | undefined, - max_supply?: GraphQLTypes["numeric_comparison_exp"] | undefined, - metadata?: GraphQLTypes["String_comparison_exp"] | undefined, - mint_page?: GraphQLTypes["String_comparison_exp"] | undefined, - name?: GraphQLTypes["String_comparison_exp"] | undefined, - per_mint_limit?: GraphQLTypes["bigint_comparison_exp"] | undefined, - ticker?: GraphQLTypes["String_comparison_exp"] | undefined, - token_address_histories?: GraphQLTypes["token_address_history_bool_exp"] | undefined, - token_holders?: GraphQLTypes["token_holder_bool_exp"] | undefined, - token_open_positions?: GraphQLTypes["token_open_position_bool_exp"] | undefined, - token_trade_histories?: GraphQLTypes["token_trade_history_bool_exp"] | undefined, - transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, - transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined, - version?: GraphQLTypes["String_comparison_exp"] | undefined, - volume_24_base?: GraphQLTypes["bigint_comparison_exp"] | undefined - }; + _not?: GraphQLTypes["token_bool_exp"] | undefined, + _or?: Array | undefined, + chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, + circulating_supply?: GraphQLTypes["bigint_comparison_exp"] | undefined, + content_path?: GraphQLTypes["String_comparison_exp"] | undefined, + content_size_bytes?: GraphQLTypes["Int_comparison_exp"] | undefined, + creator?: GraphQLTypes["String_comparison_exp"] | undefined, + current_owner?: GraphQLTypes["String_comparison_exp"] | undefined, + date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + decimals?: GraphQLTypes["smallint_comparison_exp"] | undefined, + height?: GraphQLTypes["Int_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + is_explicit?: GraphQLTypes["Boolean_comparison_exp"] | undefined, + last_price_base?: GraphQLTypes["bigint_comparison_exp"] | undefined, + launch_timestamp?: GraphQLTypes["bigint_comparison_exp"] | undefined, + marketplace_cft20_details?: GraphQLTypes["marketplace_cft20_detail_bool_exp"] | undefined, + marketplace_cft20_details_aggregate?: GraphQLTypes["marketplace_cft20_detail_aggregate_bool_exp"] | undefined, + marketplace_cft20_trade_histories?: GraphQLTypes["marketplace_cft20_trade_history_bool_exp"] | undefined, + marketplace_cft20_trade_histories_aggregate?: GraphQLTypes["marketplace_cft20_trade_history_aggregate_bool_exp"] | undefined, + max_supply?: GraphQLTypes["numeric_comparison_exp"] | undefined, + metadata?: GraphQLTypes["String_comparison_exp"] | undefined, + mint_page?: GraphQLTypes["String_comparison_exp"] | undefined, + name?: GraphQLTypes["String_comparison_exp"] | undefined, + per_mint_limit?: GraphQLTypes["bigint_comparison_exp"] | undefined, + ticker?: GraphQLTypes["String_comparison_exp"] | undefined, + token_address_histories?: GraphQLTypes["token_address_history_bool_exp"] | undefined, + token_address_histories_aggregate?: GraphQLTypes["token_address_history_aggregate_bool_exp"] | undefined, + token_holders?: GraphQLTypes["token_holder_bool_exp"] | undefined, + token_holders_aggregate?: GraphQLTypes["token_holder_aggregate_bool_exp"] | undefined, + token_open_positions?: GraphQLTypes["token_open_position_bool_exp"] | undefined, + token_open_positions_aggregate?: GraphQLTypes["token_open_position_aggregate_bool_exp"] | undefined, + token_trade_histories?: GraphQLTypes["token_trade_history_bool_exp"] | undefined, + token_trade_histories_aggregate?: GraphQLTypes["token_trade_history_aggregate_bool_exp"] | undefined, + transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, + transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined, + version?: GraphQLTypes["String_comparison_exp"] | undefined, + volume_24_base?: GraphQLTypes["bigint_comparison_exp"] | undefined +}; + /** unique or primary key constraints on table "token" */ +["token_constraint"]: token_constraint; /** columns and relationships of "token_holder" */ - ["token_holder"]: { - __typename: "token_holder", - address: string, - amount: GraphQLTypes["bigint"], - chain_id: string, - date_updated: GraphQLTypes["timestamp"], - id: number, - /** An object relationship */ - token: GraphQLTypes["token"], - token_id: number - }; +["token_holder"]: { + __typename: "token_holder", + address: string, + amount: GraphQLTypes["bigint"], + chain_id: string, + date_updated: GraphQLTypes["timestamp"], + id: number, + /** An object relationship */ + token: GraphQLTypes["token"], + token_id: number +}; + /** aggregated selection of "token_holder" */ +["token_holder_aggregate"]: { + __typename: "token_holder_aggregate", + aggregate?: GraphQLTypes["token_holder_aggregate_fields"] | undefined, + nodes: Array +}; + ["token_holder_aggregate_bool_exp"]: { + count?: GraphQLTypes["token_holder_aggregate_bool_exp_count"] | undefined +}; + ["token_holder_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: GraphQLTypes["token_holder_bool_exp"] | undefined, + predicate: GraphQLTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token_holder" */ +["token_holder_aggregate_fields"]: { + __typename: "token_holder_aggregate_fields", + avg?: GraphQLTypes["token_holder_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["token_holder_max_fields"] | undefined, + min?: GraphQLTypes["token_holder_min_fields"] | undefined, + stddev?: GraphQLTypes["token_holder_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["token_holder_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["token_holder_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["token_holder_sum_fields"] | undefined, + var_pop?: GraphQLTypes["token_holder_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["token_holder_var_samp_fields"] | undefined, + variance?: GraphQLTypes["token_holder_variance_fields"] | undefined +}; /** order by aggregate values of table "token_holder" */ - ["token_holder_aggregate_order_by"]: { +["token_holder_aggregate_order_by"]: { avg?: GraphQLTypes["token_holder_avg_order_by"] | undefined, - count?: GraphQLTypes["order_by"] | undefined, - max?: GraphQLTypes["token_holder_max_order_by"] | undefined, - min?: GraphQLTypes["token_holder_min_order_by"] | undefined, - stddev?: GraphQLTypes["token_holder_stddev_order_by"] | undefined, - stddev_pop?: GraphQLTypes["token_holder_stddev_pop_order_by"] | undefined, - stddev_samp?: GraphQLTypes["token_holder_stddev_samp_order_by"] | undefined, - sum?: GraphQLTypes["token_holder_sum_order_by"] | undefined, - var_pop?: GraphQLTypes["token_holder_var_pop_order_by"] | undefined, - var_samp?: GraphQLTypes["token_holder_var_samp_order_by"] | undefined, - variance?: GraphQLTypes["token_holder_variance_order_by"] | undefined - }; + count?: GraphQLTypes["order_by"] | undefined, + max?: GraphQLTypes["token_holder_max_order_by"] | undefined, + min?: GraphQLTypes["token_holder_min_order_by"] | undefined, + stddev?: GraphQLTypes["token_holder_stddev_order_by"] | undefined, + stddev_pop?: GraphQLTypes["token_holder_stddev_pop_order_by"] | undefined, + stddev_samp?: GraphQLTypes["token_holder_stddev_samp_order_by"] | undefined, + sum?: GraphQLTypes["token_holder_sum_order_by"] | undefined, + var_pop?: GraphQLTypes["token_holder_var_pop_order_by"] | undefined, + var_samp?: GraphQLTypes["token_holder_var_samp_order_by"] | undefined, + variance?: GraphQLTypes["token_holder_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "token_holder" */ +["token_holder_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: GraphQLTypes["token_holder_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["token_holder_avg_fields"]: { + __typename: "token_holder_avg_fields", + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by avg() on columns of table "token_holder" */ - ["token_holder_avg_order_by"]: { +["token_holder_avg_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "token_holder". All fields are combined with a logical 'AND'. */ - ["token_holder_bool_exp"]: { +["token_holder_bool_exp"]: { _and?: Array | undefined, - _not?: GraphQLTypes["token_holder_bool_exp"] | undefined, - _or?: Array | undefined, - address?: GraphQLTypes["String_comparison_exp"] | undefined, - amount?: GraphQLTypes["bigint_comparison_exp"] | undefined, - chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, - date_updated?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - id?: GraphQLTypes["Int_comparison_exp"] | undefined, - token?: GraphQLTypes["token_bool_exp"] | undefined, - token_id?: GraphQLTypes["Int_comparison_exp"] | undefined - }; + _not?: GraphQLTypes["token_holder_bool_exp"] | undefined, + _or?: Array | undefined, + address?: GraphQLTypes["String_comparison_exp"] | undefined, + amount?: GraphQLTypes["bigint_comparison_exp"] | undefined, + chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, + date_updated?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + token?: GraphQLTypes["token_bool_exp"] | undefined, + token_id?: GraphQLTypes["Int_comparison_exp"] | undefined +}; + /** unique or primary key constraints on table "token_holder" */ +["token_holder_constraint"]: token_holder_constraint; + /** input type for incrementing numeric columns in table "token_holder" */ +["token_holder_inc_input"]: { + amount?: GraphQLTypes["bigint"] | undefined, + id?: number | undefined, + token_id?: number | undefined +}; + /** input type for inserting data into table "token_holder" */ +["token_holder_insert_input"]: { + address?: string | undefined, + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + token?: GraphQLTypes["token_obj_rel_insert_input"] | undefined, + token_id?: number | undefined +}; + /** aggregate max on columns */ +["token_holder_max_fields"]: { + __typename: "token_holder_max_fields", + address?: string | undefined, + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by max() on columns of table "token_holder" */ - ["token_holder_max_order_by"]: { +["token_holder_max_order_by"]: { address?: GraphQLTypes["order_by"] | undefined, - amount?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_updated?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; + amount?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_updated?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["token_holder_min_fields"]: { + __typename: "token_holder_min_fields", + address?: string | undefined, + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by min() on columns of table "token_holder" */ - ["token_holder_min_order_by"]: { +["token_holder_min_order_by"]: { address?: GraphQLTypes["order_by"] | undefined, - amount?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_updated?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; + amount?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_updated?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** response of any mutation on the table "token_holder" */ +["token_holder_mutation_response"]: { + __typename: "token_holder_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "token_holder" */ +["token_holder_on_conflict"]: { + constraint: GraphQLTypes["token_holder_constraint"], + update_columns: Array, + where?: GraphQLTypes["token_holder_bool_exp"] | undefined +}; /** Ordering options when selecting data from "token_holder". */ - ["token_holder_order_by"]: { +["token_holder_order_by"]: { address?: GraphQLTypes["order_by"] | undefined, - amount?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_updated?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token?: GraphQLTypes["token_order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; + amount?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_updated?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + token?: GraphQLTypes["token_order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** primary key columns input for table: token_holder */ +["token_holder_pk_columns_input"]: { + id: number +}; /** select columns of table "token_holder" */ - ["token_holder_select_column"]: token_holder_select_column; +["token_holder_select_column"]: token_holder_select_column; + /** input type for updating data in table "token_holder" */ +["token_holder_set_input"]: { + address?: string | undefined, + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + token_id?: number | undefined +}; + /** aggregate stddev on columns */ +["token_holder_stddev_fields"]: { + __typename: "token_holder_stddev_fields", + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by stddev() on columns of table "token_holder" */ - ["token_holder_stddev_order_by"]: { +["token_holder_stddev_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["token_holder_stddev_pop_fields"]: { + __typename: "token_holder_stddev_pop_fields", + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by stddev_pop() on columns of table "token_holder" */ - ["token_holder_stddev_pop_order_by"]: { +["token_holder_stddev_pop_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["token_holder_stddev_samp_fields"]: { + __typename: "token_holder_stddev_samp_fields", + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by stddev_samp() on columns of table "token_holder" */ - ["token_holder_stddev_samp_order_by"]: { +["token_holder_stddev_samp_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; /** Streaming cursor of the table "token_holder" */ - ["token_holder_stream_cursor_input"]: { +["token_holder_stream_cursor_input"]: { /** Stream column input with initial value */ - initial_value: GraphQLTypes["token_holder_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: GraphQLTypes["cursor_ordering"] | undefined - }; + initial_value: GraphQLTypes["token_holder_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["token_holder_stream_cursor_value_input"]: { +["token_holder_stream_cursor_value_input"]: { address?: string | undefined, - amount?: GraphQLTypes["bigint"] | undefined, - chain_id?: string | undefined, - date_updated?: GraphQLTypes["timestamp"] | undefined, - id?: number | undefined, - token_id?: number | undefined - }; + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_updated?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + token_id?: number | undefined +}; + /** aggregate sum on columns */ +["token_holder_sum_fields"]: { + __typename: "token_holder_sum_fields", + amount?: GraphQLTypes["bigint"] | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by sum() on columns of table "token_holder" */ - ["token_holder_sum_order_by"]: { +["token_holder_sum_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** update columns of table "token_holder" */ +["token_holder_update_column"]: token_holder_update_column; + ["token_holder_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["token_holder_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["token_holder_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["token_holder_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_holder_var_pop_fields"]: { + __typename: "token_holder_var_pop_fields", + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by var_pop() on columns of table "token_holder" */ - ["token_holder_var_pop_order_by"]: { +["token_holder_var_pop_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["token_holder_var_samp_fields"]: { + __typename: "token_holder_var_samp_fields", + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by var_samp() on columns of table "token_holder" */ - ["token_holder_var_samp_order_by"]: { +["token_holder_var_samp_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["token_holder_variance_fields"]: { + __typename: "token_holder_variance_fields", + amount?: number | undefined, + id?: number | undefined, + token_id?: number | undefined +}; /** order by variance() on columns of table "token_holder" */ - ["token_holder_variance_order_by"]: { +["token_holder_variance_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined +}; + /** input type for incrementing numeric columns in table "token" */ +["token_inc_input"]: { + circulating_supply?: GraphQLTypes["bigint"] | undefined, + content_size_bytes?: number | undefined, + decimals?: GraphQLTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: GraphQLTypes["bigint"] | undefined, + launch_timestamp?: GraphQLTypes["bigint"] | undefined, + max_supply?: GraphQLTypes["numeric"] | undefined, + per_mint_limit?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined, + volume_24_base?: GraphQLTypes["bigint"] | undefined +}; + /** input type for inserting data into table "token" */ +["token_insert_input"]: { + chain_id?: string | undefined, + circulating_supply?: GraphQLTypes["bigint"] | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + decimals?: GraphQLTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + is_explicit?: boolean | undefined, + last_price_base?: GraphQLTypes["bigint"] | undefined, + launch_timestamp?: GraphQLTypes["bigint"] | undefined, + marketplace_cft20_details?: GraphQLTypes["marketplace_cft20_detail_arr_rel_insert_input"] | undefined, + marketplace_cft20_trade_histories?: GraphQLTypes["marketplace_cft20_trade_history_arr_rel_insert_input"] | undefined, + max_supply?: GraphQLTypes["numeric"] | undefined, + metadata?: string | undefined, + mint_page?: string | undefined, + name?: string | undefined, + per_mint_limit?: GraphQLTypes["bigint"] | undefined, + ticker?: string | undefined, + token_address_histories?: GraphQLTypes["token_address_history_arr_rel_insert_input"] | undefined, + token_holders?: GraphQLTypes["token_holder_arr_rel_insert_input"] | undefined, + token_open_positions?: GraphQLTypes["token_open_position_arr_rel_insert_input"] | undefined, + token_trade_histories?: GraphQLTypes["token_trade_history_arr_rel_insert_input"] | undefined, + transaction?: GraphQLTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined, + version?: string | undefined, + volume_24_base?: GraphQLTypes["bigint"] | undefined +}; + /** aggregate max on columns */ +["token_max_fields"]: { + __typename: "token_max_fields", + chain_id?: string | undefined, + circulating_supply?: GraphQLTypes["bigint"] | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + decimals?: GraphQLTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: GraphQLTypes["bigint"] | undefined, + launch_timestamp?: GraphQLTypes["bigint"] | undefined, + max_supply?: GraphQLTypes["numeric"] | undefined, + metadata?: string | undefined, + mint_page?: string | undefined, + name?: string | undefined, + per_mint_limit?: GraphQLTypes["bigint"] | undefined, + ticker?: string | undefined, + transaction_id?: number | undefined, + version?: string | undefined, + volume_24_base?: GraphQLTypes["bigint"] | undefined +}; + /** order by max() on columns of table "token" */ +["token_max_order_by"]: { + chain_id?: GraphQLTypes["order_by"] | undefined, + circulating_supply?: GraphQLTypes["order_by"] | undefined, + content_path?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + creator?: GraphQLTypes["order_by"] | undefined, + current_owner?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + decimals?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + last_price_base?: GraphQLTypes["order_by"] | undefined, + launch_timestamp?: GraphQLTypes["order_by"] | undefined, + max_supply?: GraphQLTypes["order_by"] | undefined, + metadata?: GraphQLTypes["order_by"] | undefined, + mint_page?: GraphQLTypes["order_by"] | undefined, + name?: GraphQLTypes["order_by"] | undefined, + per_mint_limit?: GraphQLTypes["order_by"] | undefined, + ticker?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + version?: GraphQLTypes["order_by"] | undefined, + volume_24_base?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["token_min_fields"]: { + __typename: "token_min_fields", + chain_id?: string | undefined, + circulating_supply?: GraphQLTypes["bigint"] | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + decimals?: GraphQLTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: GraphQLTypes["bigint"] | undefined, + launch_timestamp?: GraphQLTypes["bigint"] | undefined, + max_supply?: GraphQLTypes["numeric"] | undefined, + metadata?: string | undefined, + mint_page?: string | undefined, + name?: string | undefined, + per_mint_limit?: GraphQLTypes["bigint"] | undefined, + ticker?: string | undefined, + transaction_id?: number | undefined, + version?: string | undefined, + volume_24_base?: GraphQLTypes["bigint"] | undefined +}; + /** order by min() on columns of table "token" */ +["token_min_order_by"]: { + chain_id?: GraphQLTypes["order_by"] | undefined, + circulating_supply?: GraphQLTypes["order_by"] | undefined, + content_path?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + creator?: GraphQLTypes["order_by"] | undefined, + current_owner?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + decimals?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + last_price_base?: GraphQLTypes["order_by"] | undefined, + launch_timestamp?: GraphQLTypes["order_by"] | undefined, + max_supply?: GraphQLTypes["order_by"] | undefined, + metadata?: GraphQLTypes["order_by"] | undefined, + mint_page?: GraphQLTypes["order_by"] | undefined, + name?: GraphQLTypes["order_by"] | undefined, + per_mint_limit?: GraphQLTypes["order_by"] | undefined, + ticker?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + version?: GraphQLTypes["order_by"] | undefined, + volume_24_base?: GraphQLTypes["order_by"] | undefined +}; + /** response of any mutation on the table "token" */ +["token_mutation_response"]: { + __typename: "token_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** input type for inserting object relation for remote table "token" */ +["token_obj_rel_insert_input"]: { + data: GraphQLTypes["token_insert_input"], + /** upsert condition */ + on_conflict?: GraphQLTypes["token_on_conflict"] | undefined +}; + /** on_conflict condition type for table "token" */ +["token_on_conflict"]: { + constraint: GraphQLTypes["token_constraint"], + update_columns: Array, + where?: GraphQLTypes["token_bool_exp"] | undefined +}; /** columns and relationships of "token_open_position" */ - ["token_open_position"]: { - __typename: "token_open_position", - amount: GraphQLTypes["bigint"], - chain_id: string, - date_created: GraphQLTypes["timestamp"], - date_filled?: GraphQLTypes["timestamp"] | undefined, - id: number, - is_cancelled: boolean, - is_filled: boolean, - is_reserved: boolean, - ppt: GraphQLTypes["bigint"], - reserve_expires_block?: number | undefined, - reserved_by?: string | undefined, - seller_address: string, - /** An object relationship */ - token: GraphQLTypes["token"], - token_id: number, - total: GraphQLTypes["bigint"], - /** An object relationship */ - transaction: GraphQLTypes["transaction"], - transaction_id: number - }; +["token_open_position"]: { + __typename: "token_open_position", + amount: GraphQLTypes["bigint"], + chain_id: string, + date_created: GraphQLTypes["timestamp"], + date_filled?: GraphQLTypes["timestamp"] | undefined, + id: number, + is_cancelled: boolean, + is_filled: boolean, + ppt: GraphQLTypes["bigint"], + seller_address: string, + /** An object relationship */ + token: GraphQLTypes["token"], + token_id: number, + total: GraphQLTypes["bigint"], + /** An object relationship */ + transaction: GraphQLTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "token_open_position" */ +["token_open_position_aggregate"]: { + __typename: "token_open_position_aggregate", + aggregate?: GraphQLTypes["token_open_position_aggregate_fields"] | undefined, + nodes: Array +}; + ["token_open_position_aggregate_bool_exp"]: { + bool_and?: GraphQLTypes["token_open_position_aggregate_bool_exp_bool_and"] | undefined, + bool_or?: GraphQLTypes["token_open_position_aggregate_bool_exp_bool_or"] | undefined, + count?: GraphQLTypes["token_open_position_aggregate_bool_exp_count"] | undefined +}; + ["token_open_position_aggregate_bool_exp_bool_and"]: { + arguments: GraphQLTypes["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns"], + distinct?: boolean | undefined, + filter?: GraphQLTypes["token_open_position_bool_exp"] | undefined, + predicate: GraphQLTypes["Boolean_comparison_exp"] +}; + ["token_open_position_aggregate_bool_exp_bool_or"]: { + arguments: GraphQLTypes["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns"], + distinct?: boolean | undefined, + filter?: GraphQLTypes["token_open_position_bool_exp"] | undefined, + predicate: GraphQLTypes["Boolean_comparison_exp"] +}; + ["token_open_position_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: GraphQLTypes["token_open_position_bool_exp"] | undefined, + predicate: GraphQLTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token_open_position" */ +["token_open_position_aggregate_fields"]: { + __typename: "token_open_position_aggregate_fields", + avg?: GraphQLTypes["token_open_position_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["token_open_position_max_fields"] | undefined, + min?: GraphQLTypes["token_open_position_min_fields"] | undefined, + stddev?: GraphQLTypes["token_open_position_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["token_open_position_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["token_open_position_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["token_open_position_sum_fields"] | undefined, + var_pop?: GraphQLTypes["token_open_position_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["token_open_position_var_samp_fields"] | undefined, + variance?: GraphQLTypes["token_open_position_variance_fields"] | undefined +}; /** order by aggregate values of table "token_open_position" */ - ["token_open_position_aggregate_order_by"]: { +["token_open_position_aggregate_order_by"]: { avg?: GraphQLTypes["token_open_position_avg_order_by"] | undefined, - count?: GraphQLTypes["order_by"] | undefined, - max?: GraphQLTypes["token_open_position_max_order_by"] | undefined, - min?: GraphQLTypes["token_open_position_min_order_by"] | undefined, - stddev?: GraphQLTypes["token_open_position_stddev_order_by"] | undefined, - stddev_pop?: GraphQLTypes["token_open_position_stddev_pop_order_by"] | undefined, - stddev_samp?: GraphQLTypes["token_open_position_stddev_samp_order_by"] | undefined, - sum?: GraphQLTypes["token_open_position_sum_order_by"] | undefined, - var_pop?: GraphQLTypes["token_open_position_var_pop_order_by"] | undefined, - var_samp?: GraphQLTypes["token_open_position_var_samp_order_by"] | undefined, - variance?: GraphQLTypes["token_open_position_variance_order_by"] | undefined - }; + count?: GraphQLTypes["order_by"] | undefined, + max?: GraphQLTypes["token_open_position_max_order_by"] | undefined, + min?: GraphQLTypes["token_open_position_min_order_by"] | undefined, + stddev?: GraphQLTypes["token_open_position_stddev_order_by"] | undefined, + stddev_pop?: GraphQLTypes["token_open_position_stddev_pop_order_by"] | undefined, + stddev_samp?: GraphQLTypes["token_open_position_stddev_samp_order_by"] | undefined, + sum?: GraphQLTypes["token_open_position_sum_order_by"] | undefined, + var_pop?: GraphQLTypes["token_open_position_var_pop_order_by"] | undefined, + var_samp?: GraphQLTypes["token_open_position_var_samp_order_by"] | undefined, + variance?: GraphQLTypes["token_open_position_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "token_open_position" */ +["token_open_position_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: GraphQLTypes["token_open_position_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["token_open_position_avg_fields"]: { + __typename: "token_open_position_avg_fields", + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by avg() on columns of table "token_open_position" */ - ["token_open_position_avg_order_by"]: { +["token_open_position_avg_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - reserve_expires_block?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "token_open_position". All fields are combined with a logical 'AND'. */ - ["token_open_position_bool_exp"]: { +["token_open_position_bool_exp"]: { _and?: Array | undefined, - _not?: GraphQLTypes["token_open_position_bool_exp"] | undefined, - _or?: Array | undefined, - amount?: GraphQLTypes["bigint_comparison_exp"] | undefined, - chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, - date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - date_filled?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - id?: GraphQLTypes["Int_comparison_exp"] | undefined, - is_cancelled?: GraphQLTypes["Boolean_comparison_exp"] | undefined, - is_filled?: GraphQLTypes["Boolean_comparison_exp"] | undefined, - is_reserved?: GraphQLTypes["Boolean_comparison_exp"] | undefined, - ppt?: GraphQLTypes["bigint_comparison_exp"] | undefined, - reserve_expires_block?: GraphQLTypes["Int_comparison_exp"] | undefined, - reserved_by?: GraphQLTypes["String_comparison_exp"] | undefined, - seller_address?: GraphQLTypes["String_comparison_exp"] | undefined, - token?: GraphQLTypes["token_bool_exp"] | undefined, - token_id?: GraphQLTypes["Int_comparison_exp"] | undefined, - total?: GraphQLTypes["bigint_comparison_exp"] | undefined, - transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, - transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined - }; + _not?: GraphQLTypes["token_open_position_bool_exp"] | undefined, + _or?: Array | undefined, + amount?: GraphQLTypes["bigint_comparison_exp"] | undefined, + chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, + date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + date_filled?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + is_cancelled?: GraphQLTypes["Boolean_comparison_exp"] | undefined, + is_filled?: GraphQLTypes["Boolean_comparison_exp"] | undefined, + ppt?: GraphQLTypes["bigint_comparison_exp"] | undefined, + seller_address?: GraphQLTypes["String_comparison_exp"] | undefined, + token?: GraphQLTypes["token_bool_exp"] | undefined, + token_id?: GraphQLTypes["Int_comparison_exp"] | undefined, + total?: GraphQLTypes["bigint_comparison_exp"] | undefined, + transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, + transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined +}; + /** unique or primary key constraints on table "token_open_position" */ +["token_open_position_constraint"]: token_open_position_constraint; + /** input type for incrementing numeric columns in table "token_open_position" */ +["token_open_position_inc_input"]: { + amount?: GraphQLTypes["bigint"] | undefined, + id?: number | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + token_id?: number | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "token_open_position" */ +["token_open_position_insert_input"]: { + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + date_filled?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + is_cancelled?: boolean | undefined, + is_filled?: boolean | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + seller_address?: string | undefined, + token?: GraphQLTypes["token_obj_rel_insert_input"] | undefined, + token_id?: number | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction?: GraphQLTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["token_open_position_max_fields"]: { + __typename: "token_open_position_max_fields", + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + date_filled?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; /** order by max() on columns of table "token_open_position" */ - ["token_open_position_max_order_by"]: { +["token_open_position_max_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - date_filled?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - reserve_expires_block?: GraphQLTypes["order_by"] | undefined, - reserved_by?: GraphQLTypes["order_by"] | undefined, - seller_address?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + chain_id?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + date_filled?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + seller_address?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["token_open_position_min_fields"]: { + __typename: "token_open_position_min_fields", + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + date_filled?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; /** order by min() on columns of table "token_open_position" */ - ["token_open_position_min_order_by"]: { +["token_open_position_min_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - date_filled?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - reserve_expires_block?: GraphQLTypes["order_by"] | undefined, - reserved_by?: GraphQLTypes["order_by"] | undefined, - seller_address?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + chain_id?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + date_filled?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + seller_address?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** response of any mutation on the table "token_open_position" */ +["token_open_position_mutation_response"]: { + __typename: "token_open_position_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "token_open_position" */ +["token_open_position_on_conflict"]: { + constraint: GraphQLTypes["token_open_position_constraint"], + update_columns: Array, + where?: GraphQLTypes["token_open_position_bool_exp"] | undefined +}; /** Ordering options when selecting data from "token_open_position". */ - ["token_open_position_order_by"]: { +["token_open_position_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - date_filled?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - is_cancelled?: GraphQLTypes["order_by"] | undefined, - is_filled?: GraphQLTypes["order_by"] | undefined, - is_reserved?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - reserve_expires_block?: GraphQLTypes["order_by"] | undefined, - reserved_by?: GraphQLTypes["order_by"] | undefined, - seller_address?: GraphQLTypes["order_by"] | undefined, - token?: GraphQLTypes["token_order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction?: GraphQLTypes["transaction_order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + chain_id?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + date_filled?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + is_cancelled?: GraphQLTypes["order_by"] | undefined, + is_filled?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + seller_address?: GraphQLTypes["order_by"] | undefined, + token?: GraphQLTypes["token_order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction?: GraphQLTypes["transaction_order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** primary key columns input for table: token_open_position */ +["token_open_position_pk_columns_input"]: { + id: number +}; /** select columns of table "token_open_position" */ - ["token_open_position_select_column"]: token_open_position_select_column; +["token_open_position_select_column"]: token_open_position_select_column; + /** select "token_open_position_aggregate_bool_exp_bool_and_arguments_columns" columns of table "token_open_position" */ +["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns"]: token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns; + /** select "token_open_position_aggregate_bool_exp_bool_or_arguments_columns" columns of table "token_open_position" */ +["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns"]: token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "token_open_position" */ +["token_open_position_set_input"]: { + amount?: GraphQLTypes["bigint"] | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + date_filled?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + is_cancelled?: boolean | undefined, + is_filled?: boolean | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["token_open_position_stddev_fields"]: { + __typename: "token_open_position_stddev_fields", + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev() on columns of table "token_open_position" */ - ["token_open_position_stddev_order_by"]: { +["token_open_position_stddev_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - reserve_expires_block?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["token_open_position_stddev_pop_fields"]: { + __typename: "token_open_position_stddev_pop_fields", + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_pop() on columns of table "token_open_position" */ - ["token_open_position_stddev_pop_order_by"]: { +["token_open_position_stddev_pop_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - reserve_expires_block?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["token_open_position_stddev_samp_fields"]: { + __typename: "token_open_position_stddev_samp_fields", + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_samp() on columns of table "token_open_position" */ - ["token_open_position_stddev_samp_order_by"]: { +["token_open_position_stddev_samp_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - reserve_expires_block?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; /** Streaming cursor of the table "token_open_position" */ - ["token_open_position_stream_cursor_input"]: { +["token_open_position_stream_cursor_input"]: { /** Stream column input with initial value */ - initial_value: GraphQLTypes["token_open_position_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: GraphQLTypes["cursor_ordering"] | undefined - }; + initial_value: GraphQLTypes["token_open_position_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["token_open_position_stream_cursor_value_input"]: { +["token_open_position_stream_cursor_value_input"]: { amount?: GraphQLTypes["bigint"] | undefined, - chain_id?: string | undefined, - date_created?: GraphQLTypes["timestamp"] | undefined, - date_filled?: GraphQLTypes["timestamp"] | undefined, - id?: number | undefined, - is_cancelled?: boolean | undefined, - is_filled?: boolean | undefined, - is_reserved?: boolean | undefined, - ppt?: GraphQLTypes["bigint"] | undefined, - reserve_expires_block?: number | undefined, - reserved_by?: string | undefined, - seller_address?: string | undefined, - token_id?: number | undefined, - total?: GraphQLTypes["bigint"] | undefined, - transaction_id?: number | undefined - }; + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + date_filled?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + is_cancelled?: boolean | undefined, + is_filled?: boolean | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["token_open_position_sum_fields"]: { + __typename: "token_open_position_sum_fields", + amount?: GraphQLTypes["bigint"] | undefined, + id?: number | undefined, + ppt?: GraphQLTypes["bigint"] | undefined, + token_id?: number | undefined, + total?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined +}; /** order by sum() on columns of table "token_open_position" */ - ["token_open_position_sum_order_by"]: { +["token_open_position_sum_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - reserve_expires_block?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** update columns of table "token_open_position" */ +["token_open_position_update_column"]: token_open_position_update_column; + ["token_open_position_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["token_open_position_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["token_open_position_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["token_open_position_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_open_position_var_pop_fields"]: { + __typename: "token_open_position_var_pop_fields", + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_pop() on columns of table "token_open_position" */ - ["token_open_position_var_pop_order_by"]: { +["token_open_position_var_pop_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - reserve_expires_block?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["token_open_position_var_samp_fields"]: { + __typename: "token_open_position_var_samp_fields", + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_samp() on columns of table "token_open_position" */ - ["token_open_position_var_samp_order_by"]: { +["token_open_position_var_samp_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - reserve_expires_block?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["token_open_position_variance_fields"]: { + __typename: "token_open_position_variance_fields", + amount?: number | undefined, + id?: number | undefined, + ppt?: number | undefined, + token_id?: number | undefined, + total?: number | undefined, + transaction_id?: number | undefined +}; /** order by variance() on columns of table "token_open_position" */ - ["token_open_position_variance_order_by"]: { +["token_open_position_variance_order_by"]: { amount?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - ppt?: GraphQLTypes["order_by"] | undefined, - reserve_expires_block?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + id?: GraphQLTypes["order_by"] | undefined, + ppt?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; /** Ordering options when selecting data from "token". */ - ["token_order_by"]: { +["token_order_by"]: { chain_id?: GraphQLTypes["order_by"] | undefined, - circulating_supply?: GraphQLTypes["order_by"] | undefined, - content_path?: GraphQLTypes["order_by"] | undefined, - content_size_bytes?: GraphQLTypes["order_by"] | undefined, - creator?: GraphQLTypes["order_by"] | undefined, - current_owner?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - decimals?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - last_price_base?: GraphQLTypes["order_by"] | undefined, - launch_timestamp?: GraphQLTypes["order_by"] | undefined, - marketplace_cft20_details_aggregate?: GraphQLTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined, - max_supply?: GraphQLTypes["order_by"] | undefined, - metadata?: GraphQLTypes["order_by"] | undefined, - mint_page?: GraphQLTypes["order_by"] | undefined, - name?: GraphQLTypes["order_by"] | undefined, - per_mint_limit?: GraphQLTypes["order_by"] | undefined, - ticker?: GraphQLTypes["order_by"] | undefined, - token_address_histories_aggregate?: GraphQLTypes["token_address_history_aggregate_order_by"] | undefined, - token_holders_aggregate?: GraphQLTypes["token_holder_aggregate_order_by"] | undefined, - token_open_positions_aggregate?: GraphQLTypes["token_open_position_aggregate_order_by"] | undefined, - token_trade_histories_aggregate?: GraphQLTypes["token_trade_history_aggregate_order_by"] | undefined, - transaction?: GraphQLTypes["transaction_order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined, - version?: GraphQLTypes["order_by"] | undefined, - volume_24_base?: GraphQLTypes["order_by"] | undefined - }; + circulating_supply?: GraphQLTypes["order_by"] | undefined, + content_path?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + creator?: GraphQLTypes["order_by"] | undefined, + current_owner?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + decimals?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + is_explicit?: GraphQLTypes["order_by"] | undefined, + last_price_base?: GraphQLTypes["order_by"] | undefined, + launch_timestamp?: GraphQLTypes["order_by"] | undefined, + marketplace_cft20_details_aggregate?: GraphQLTypes["marketplace_cft20_detail_aggregate_order_by"] | undefined, + marketplace_cft20_trade_histories_aggregate?: GraphQLTypes["marketplace_cft20_trade_history_aggregate_order_by"] | undefined, + max_supply?: GraphQLTypes["order_by"] | undefined, + metadata?: GraphQLTypes["order_by"] | undefined, + mint_page?: GraphQLTypes["order_by"] | undefined, + name?: GraphQLTypes["order_by"] | undefined, + per_mint_limit?: GraphQLTypes["order_by"] | undefined, + ticker?: GraphQLTypes["order_by"] | undefined, + token_address_histories_aggregate?: GraphQLTypes["token_address_history_aggregate_order_by"] | undefined, + token_holders_aggregate?: GraphQLTypes["token_holder_aggregate_order_by"] | undefined, + token_open_positions_aggregate?: GraphQLTypes["token_open_position_aggregate_order_by"] | undefined, + token_trade_histories_aggregate?: GraphQLTypes["token_trade_history_aggregate_order_by"] | undefined, + transaction?: GraphQLTypes["transaction_order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + version?: GraphQLTypes["order_by"] | undefined, + volume_24_base?: GraphQLTypes["order_by"] | undefined +}; + /** primary key columns input for table: token */ +["token_pk_columns_input"]: { + id: number +}; /** select columns of table "token" */ - ["token_select_column"]: token_select_column; +["token_select_column"]: token_select_column; + /** select "token_aggregate_bool_exp_bool_and_arguments_columns" columns of table "token" */ +["token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns"]: token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns; + /** select "token_aggregate_bool_exp_bool_or_arguments_columns" columns of table "token" */ +["token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns"]: token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns; + /** input type for updating data in table "token" */ +["token_set_input"]: { + chain_id?: string | undefined, + circulating_supply?: GraphQLTypes["bigint"] | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + decimals?: GraphQLTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + is_explicit?: boolean | undefined, + last_price_base?: GraphQLTypes["bigint"] | undefined, + launch_timestamp?: GraphQLTypes["bigint"] | undefined, + max_supply?: GraphQLTypes["numeric"] | undefined, + metadata?: string | undefined, + mint_page?: string | undefined, + name?: string | undefined, + per_mint_limit?: GraphQLTypes["bigint"] | undefined, + ticker?: string | undefined, + transaction_id?: number | undefined, + version?: string | undefined, + volume_24_base?: GraphQLTypes["bigint"] | undefined +}; + /** aggregate stddev on columns */ +["token_stddev_fields"]: { + __typename: "token_stddev_fields", + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by stddev() on columns of table "token" */ +["token_stddev_order_by"]: { + circulating_supply?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + decimals?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + last_price_base?: GraphQLTypes["order_by"] | undefined, + launch_timestamp?: GraphQLTypes["order_by"] | undefined, + max_supply?: GraphQLTypes["order_by"] | undefined, + per_mint_limit?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + volume_24_base?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["token_stddev_pop_fields"]: { + __typename: "token_stddev_pop_fields", + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by stddev_pop() on columns of table "token" */ +["token_stddev_pop_order_by"]: { + circulating_supply?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + decimals?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + last_price_base?: GraphQLTypes["order_by"] | undefined, + launch_timestamp?: GraphQLTypes["order_by"] | undefined, + max_supply?: GraphQLTypes["order_by"] | undefined, + per_mint_limit?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + volume_24_base?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["token_stddev_samp_fields"]: { + __typename: "token_stddev_samp_fields", + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by stddev_samp() on columns of table "token" */ +["token_stddev_samp_order_by"]: { + circulating_supply?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + decimals?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + last_price_base?: GraphQLTypes["order_by"] | undefined, + launch_timestamp?: GraphQLTypes["order_by"] | undefined, + max_supply?: GraphQLTypes["order_by"] | undefined, + per_mint_limit?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + volume_24_base?: GraphQLTypes["order_by"] | undefined +}; /** Streaming cursor of the table "token" */ - ["token_stream_cursor_input"]: { +["token_stream_cursor_input"]: { /** Stream column input with initial value */ - initial_value: GraphQLTypes["token_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: GraphQLTypes["cursor_ordering"] | undefined - }; + initial_value: GraphQLTypes["token_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["token_stream_cursor_value_input"]: { +["token_stream_cursor_value_input"]: { chain_id?: string | undefined, - circulating_supply?: GraphQLTypes["bigint"] | undefined, - content_path?: string | undefined, - content_size_bytes?: number | undefined, - creator?: string | undefined, - current_owner?: string | undefined, - date_created?: GraphQLTypes["timestamp"] | undefined, - decimals?: GraphQLTypes["smallint"] | undefined, - height?: number | undefined, - id?: number | undefined, - last_price_base?: GraphQLTypes["bigint"] | undefined, - launch_timestamp?: GraphQLTypes["bigint"] | undefined, - max_supply?: GraphQLTypes["numeric"] | undefined, - metadata?: string | undefined, - mint_page?: string | undefined, - name?: string | undefined, - per_mint_limit?: GraphQLTypes["bigint"] | undefined, - ticker?: string | undefined, - transaction_id?: number | undefined, - version?: string | undefined, - volume_24_base?: GraphQLTypes["bigint"] | undefined - }; + circulating_supply?: GraphQLTypes["bigint"] | undefined, + content_path?: string | undefined, + content_size_bytes?: number | undefined, + creator?: string | undefined, + current_owner?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + decimals?: GraphQLTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + is_explicit?: boolean | undefined, + last_price_base?: GraphQLTypes["bigint"] | undefined, + launch_timestamp?: GraphQLTypes["bigint"] | undefined, + max_supply?: GraphQLTypes["numeric"] | undefined, + metadata?: string | undefined, + mint_page?: string | undefined, + name?: string | undefined, + per_mint_limit?: GraphQLTypes["bigint"] | undefined, + ticker?: string | undefined, + transaction_id?: number | undefined, + version?: string | undefined, + volume_24_base?: GraphQLTypes["bigint"] | undefined +}; + /** aggregate sum on columns */ +["token_sum_fields"]: { + __typename: "token_sum_fields", + circulating_supply?: GraphQLTypes["bigint"] | undefined, + content_size_bytes?: number | undefined, + decimals?: GraphQLTypes["smallint"] | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: GraphQLTypes["bigint"] | undefined, + launch_timestamp?: GraphQLTypes["bigint"] | undefined, + max_supply?: GraphQLTypes["numeric"] | undefined, + per_mint_limit?: GraphQLTypes["bigint"] | undefined, + transaction_id?: number | undefined, + volume_24_base?: GraphQLTypes["bigint"] | undefined +}; + /** order by sum() on columns of table "token" */ +["token_sum_order_by"]: { + circulating_supply?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + decimals?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + last_price_base?: GraphQLTypes["order_by"] | undefined, + launch_timestamp?: GraphQLTypes["order_by"] | undefined, + max_supply?: GraphQLTypes["order_by"] | undefined, + per_mint_limit?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + volume_24_base?: GraphQLTypes["order_by"] | undefined +}; /** columns and relationships of "token_trade_history" */ - ["token_trade_history"]: { - __typename: "token_trade_history", - amount_base: GraphQLTypes["bigint"], - amount_quote: GraphQLTypes["bigint"], - buyer_address?: string | undefined, - chain_id: string, - date_created: GraphQLTypes["timestamp"], - id: number, - rate: GraphQLTypes["bigint"], - seller_address: string, - /** An object relationship */ - token: GraphQLTypes["token"], - token_id: number, - total_usd: number, - /** An object relationship */ - transaction: GraphQLTypes["transaction"], - transaction_id: number - }; +["token_trade_history"]: { + __typename: "token_trade_history", + amount_base: GraphQLTypes["bigint"], + amount_quote: GraphQLTypes["bigint"], + buyer_address?: string | undefined, + chain_id: string, + date_created: GraphQLTypes["timestamp"], + id: number, + rate: number, + seller_address: string, + /** An object relationship */ + token: GraphQLTypes["token"], + token_id: number, + total_usd: number, + /** An object relationship */ + transaction: GraphQLTypes["transaction"], + transaction_id: number +}; + /** aggregated selection of "token_trade_history" */ +["token_trade_history_aggregate"]: { + __typename: "token_trade_history_aggregate", + aggregate?: GraphQLTypes["token_trade_history_aggregate_fields"] | undefined, + nodes: Array +}; + ["token_trade_history_aggregate_bool_exp"]: { + count?: GraphQLTypes["token_trade_history_aggregate_bool_exp_count"] | undefined +}; + ["token_trade_history_aggregate_bool_exp_count"]: { + arguments?: Array | undefined, + distinct?: boolean | undefined, + filter?: GraphQLTypes["token_trade_history_bool_exp"] | undefined, + predicate: GraphQLTypes["Int_comparison_exp"] +}; + /** aggregate fields of "token_trade_history" */ +["token_trade_history_aggregate_fields"]: { + __typename: "token_trade_history_aggregate_fields", + avg?: GraphQLTypes["token_trade_history_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["token_trade_history_max_fields"] | undefined, + min?: GraphQLTypes["token_trade_history_min_fields"] | undefined, + stddev?: GraphQLTypes["token_trade_history_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["token_trade_history_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["token_trade_history_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["token_trade_history_sum_fields"] | undefined, + var_pop?: GraphQLTypes["token_trade_history_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["token_trade_history_var_samp_fields"] | undefined, + variance?: GraphQLTypes["token_trade_history_variance_fields"] | undefined +}; /** order by aggregate values of table "token_trade_history" */ - ["token_trade_history_aggregate_order_by"]: { +["token_trade_history_aggregate_order_by"]: { avg?: GraphQLTypes["token_trade_history_avg_order_by"] | undefined, - count?: GraphQLTypes["order_by"] | undefined, - max?: GraphQLTypes["token_trade_history_max_order_by"] | undefined, - min?: GraphQLTypes["token_trade_history_min_order_by"] | undefined, - stddev?: GraphQLTypes["token_trade_history_stddev_order_by"] | undefined, - stddev_pop?: GraphQLTypes["token_trade_history_stddev_pop_order_by"] | undefined, - stddev_samp?: GraphQLTypes["token_trade_history_stddev_samp_order_by"] | undefined, - sum?: GraphQLTypes["token_trade_history_sum_order_by"] | undefined, - var_pop?: GraphQLTypes["token_trade_history_var_pop_order_by"] | undefined, - var_samp?: GraphQLTypes["token_trade_history_var_samp_order_by"] | undefined, - variance?: GraphQLTypes["token_trade_history_variance_order_by"] | undefined - }; + count?: GraphQLTypes["order_by"] | undefined, + max?: GraphQLTypes["token_trade_history_max_order_by"] | undefined, + min?: GraphQLTypes["token_trade_history_min_order_by"] | undefined, + stddev?: GraphQLTypes["token_trade_history_stddev_order_by"] | undefined, + stddev_pop?: GraphQLTypes["token_trade_history_stddev_pop_order_by"] | undefined, + stddev_samp?: GraphQLTypes["token_trade_history_stddev_samp_order_by"] | undefined, + sum?: GraphQLTypes["token_trade_history_sum_order_by"] | undefined, + var_pop?: GraphQLTypes["token_trade_history_var_pop_order_by"] | undefined, + var_samp?: GraphQLTypes["token_trade_history_var_samp_order_by"] | undefined, + variance?: GraphQLTypes["token_trade_history_variance_order_by"] | undefined +}; + /** input type for inserting array relation for remote table "token_trade_history" */ +["token_trade_history_arr_rel_insert_input"]: { + data: Array, + /** upsert condition */ + on_conflict?: GraphQLTypes["token_trade_history_on_conflict"] | undefined +}; + /** aggregate avg on columns */ +["token_trade_history_avg_fields"]: { + __typename: "token_trade_history_avg_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by avg() on columns of table "token_trade_history" */ - ["token_trade_history_avg_order_by"]: { +["token_trade_history_avg_order_by"]: { amount_base?: GraphQLTypes["order_by"] | undefined, - amount_quote?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - rate?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total_usd?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; /** Boolean expression to filter rows from the table "token_trade_history". All fields are combined with a logical 'AND'. */ - ["token_trade_history_bool_exp"]: { +["token_trade_history_bool_exp"]: { _and?: Array | undefined, - _not?: GraphQLTypes["token_trade_history_bool_exp"] | undefined, - _or?: Array | undefined, - amount_base?: GraphQLTypes["bigint_comparison_exp"] | undefined, - amount_quote?: GraphQLTypes["bigint_comparison_exp"] | undefined, - buyer_address?: GraphQLTypes["String_comparison_exp"] | undefined, - chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, - date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - id?: GraphQLTypes["Int_comparison_exp"] | undefined, - rate?: GraphQLTypes["bigint_comparison_exp"] | undefined, - seller_address?: GraphQLTypes["String_comparison_exp"] | undefined, - token?: GraphQLTypes["token_bool_exp"] | undefined, - token_id?: GraphQLTypes["Int_comparison_exp"] | undefined, - total_usd?: GraphQLTypes["Float_comparison_exp"] | undefined, - transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, - transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined - }; + _not?: GraphQLTypes["token_trade_history_bool_exp"] | undefined, + _or?: Array | undefined, + amount_base?: GraphQLTypes["bigint_comparison_exp"] | undefined, + amount_quote?: GraphQLTypes["bigint_comparison_exp"] | undefined, + buyer_address?: GraphQLTypes["String_comparison_exp"] | undefined, + chain_id?: GraphQLTypes["String_comparison_exp"] | undefined, + date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + rate?: GraphQLTypes["Int_comparison_exp"] | undefined, + seller_address?: GraphQLTypes["String_comparison_exp"] | undefined, + token?: GraphQLTypes["token_bool_exp"] | undefined, + token_id?: GraphQLTypes["Int_comparison_exp"] | undefined, + total_usd?: GraphQLTypes["Float_comparison_exp"] | undefined, + transaction?: GraphQLTypes["transaction_bool_exp"] | undefined, + transaction_id?: GraphQLTypes["Int_comparison_exp"] | undefined +}; + /** unique or primary key constraints on table "token_trade_history" */ +["token_trade_history_constraint"]: token_trade_history_constraint; + /** input type for incrementing numeric columns in table "token_trade_history" */ +["token_trade_history_inc_input"]: { + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** input type for inserting data into table "token_trade_history" */ +["token_trade_history_insert_input"]: { + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + buyer_address?: string | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token?: GraphQLTypes["token_obj_rel_insert_input"] | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction?: GraphQLTypes["transaction_obj_rel_insert_input"] | undefined, + transaction_id?: number | undefined +}; + /** aggregate max on columns */ +["token_trade_history_max_fields"]: { + __typename: "token_trade_history_max_fields", + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + buyer_address?: string | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by max() on columns of table "token_trade_history" */ - ["token_trade_history_max_order_by"]: { +["token_trade_history_max_order_by"]: { amount_base?: GraphQLTypes["order_by"] | undefined, - amount_quote?: GraphQLTypes["order_by"] | undefined, - buyer_address?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - rate?: GraphQLTypes["order_by"] | undefined, - seller_address?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total_usd?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount_quote?: GraphQLTypes["order_by"] | undefined, + buyer_address?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + seller_address?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate min on columns */ +["token_trade_history_min_fields"]: { + __typename: "token_trade_history_min_fields", + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + buyer_address?: string | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by min() on columns of table "token_trade_history" */ - ["token_trade_history_min_order_by"]: { +["token_trade_history_min_order_by"]: { amount_base?: GraphQLTypes["order_by"] | undefined, - amount_quote?: GraphQLTypes["order_by"] | undefined, - buyer_address?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - rate?: GraphQLTypes["order_by"] | undefined, - seller_address?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total_usd?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount_quote?: GraphQLTypes["order_by"] | undefined, + buyer_address?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + seller_address?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** response of any mutation on the table "token_trade_history" */ +["token_trade_history_mutation_response"]: { + __typename: "token_trade_history_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** on_conflict condition type for table "token_trade_history" */ +["token_trade_history_on_conflict"]: { + constraint: GraphQLTypes["token_trade_history_constraint"], + update_columns: Array, + where?: GraphQLTypes["token_trade_history_bool_exp"] | undefined +}; /** Ordering options when selecting data from "token_trade_history". */ - ["token_trade_history_order_by"]: { +["token_trade_history_order_by"]: { amount_base?: GraphQLTypes["order_by"] | undefined, - amount_quote?: GraphQLTypes["order_by"] | undefined, - buyer_address?: GraphQLTypes["order_by"] | undefined, - chain_id?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - rate?: GraphQLTypes["order_by"] | undefined, - seller_address?: GraphQLTypes["order_by"] | undefined, - token?: GraphQLTypes["token_order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total_usd?: GraphQLTypes["order_by"] | undefined, - transaction?: GraphQLTypes["transaction_order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount_quote?: GraphQLTypes["order_by"] | undefined, + buyer_address?: GraphQLTypes["order_by"] | undefined, + chain_id?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + seller_address?: GraphQLTypes["order_by"] | undefined, + token?: GraphQLTypes["token_order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction?: GraphQLTypes["transaction_order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** primary key columns input for table: token_trade_history */ +["token_trade_history_pk_columns_input"]: { + id: number +}; /** select columns of table "token_trade_history" */ - ["token_trade_history_select_column"]: token_trade_history_select_column; +["token_trade_history_select_column"]: token_trade_history_select_column; + /** input type for updating data in table "token_trade_history" */ +["token_trade_history_set_input"]: { + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + buyer_address?: string | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** aggregate stddev on columns */ +["token_trade_history_stddev_fields"]: { + __typename: "token_trade_history_stddev_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev() on columns of table "token_trade_history" */ - ["token_trade_history_stddev_order_by"]: { +["token_trade_history_stddev_order_by"]: { amount_base?: GraphQLTypes["order_by"] | undefined, - amount_quote?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - rate?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total_usd?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_pop on columns */ +["token_trade_history_stddev_pop_fields"]: { + __typename: "token_trade_history_stddev_pop_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_pop() on columns of table "token_trade_history" */ - ["token_trade_history_stddev_pop_order_by"]: { +["token_trade_history_stddev_pop_order_by"]: { amount_base?: GraphQLTypes["order_by"] | undefined, - amount_quote?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - rate?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total_usd?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate stddev_samp on columns */ +["token_trade_history_stddev_samp_fields"]: { + __typename: "token_trade_history_stddev_samp_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by stddev_samp() on columns of table "token_trade_history" */ - ["token_trade_history_stddev_samp_order_by"]: { +["token_trade_history_stddev_samp_order_by"]: { amount_base?: GraphQLTypes["order_by"] | undefined, - amount_quote?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - rate?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total_usd?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; /** Streaming cursor of the table "token_trade_history" */ - ["token_trade_history_stream_cursor_input"]: { +["token_trade_history_stream_cursor_input"]: { /** Stream column input with initial value */ - initial_value: GraphQLTypes["token_trade_history_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: GraphQLTypes["cursor_ordering"] | undefined - }; + initial_value: GraphQLTypes["token_trade_history_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["token_trade_history_stream_cursor_value_input"]: { +["token_trade_history_stream_cursor_value_input"]: { amount_base?: GraphQLTypes["bigint"] | undefined, - amount_quote?: GraphQLTypes["bigint"] | undefined, - buyer_address?: string | undefined, - chain_id?: string | undefined, - date_created?: GraphQLTypes["timestamp"] | undefined, - id?: number | undefined, - rate?: GraphQLTypes["bigint"] | undefined, - seller_address?: string | undefined, - token_id?: number | undefined, - total_usd?: number | undefined, - transaction_id?: number | undefined - }; + amount_quote?: GraphQLTypes["bigint"] | undefined, + buyer_address?: string | undefined, + chain_id?: string | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + id?: number | undefined, + rate?: number | undefined, + seller_address?: string | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; + /** aggregate sum on columns */ +["token_trade_history_sum_fields"]: { + __typename: "token_trade_history_sum_fields", + amount_base?: GraphQLTypes["bigint"] | undefined, + amount_quote?: GraphQLTypes["bigint"] | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by sum() on columns of table "token_trade_history" */ - ["token_trade_history_sum_order_by"]: { +["token_trade_history_sum_order_by"]: { amount_base?: GraphQLTypes["order_by"] | undefined, - amount_quote?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - rate?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total_usd?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** update columns of table "token_trade_history" */ +["token_trade_history_update_column"]: token_trade_history_update_column; + ["token_trade_history_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["token_trade_history_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["token_trade_history_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["token_trade_history_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_trade_history_var_pop_fields"]: { + __typename: "token_trade_history_var_pop_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_pop() on columns of table "token_trade_history" */ - ["token_trade_history_var_pop_order_by"]: { +["token_trade_history_var_pop_order_by"]: { amount_base?: GraphQLTypes["order_by"] | undefined, - amount_quote?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - rate?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total_usd?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["token_trade_history_var_samp_fields"]: { + __typename: "token_trade_history_var_samp_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by var_samp() on columns of table "token_trade_history" */ - ["token_trade_history_var_samp_order_by"]: { +["token_trade_history_var_samp_order_by"]: { amount_base?: GraphQLTypes["order_by"] | undefined, - amount_quote?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - rate?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total_usd?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["token_trade_history_variance_fields"]: { + __typename: "token_trade_history_variance_fields", + amount_base?: number | undefined, + amount_quote?: number | undefined, + id?: number | undefined, + rate?: number | undefined, + token_id?: number | undefined, + total_usd?: number | undefined, + transaction_id?: number | undefined +}; /** order by variance() on columns of table "token_trade_history" */ - ["token_trade_history_variance_order_by"]: { +["token_trade_history_variance_order_by"]: { amount_base?: GraphQLTypes["order_by"] | undefined, - amount_quote?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - rate?: GraphQLTypes["order_by"] | undefined, - token_id?: GraphQLTypes["order_by"] | undefined, - total_usd?: GraphQLTypes["order_by"] | undefined, - transaction_id?: GraphQLTypes["order_by"] | undefined - }; + amount_quote?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + rate?: GraphQLTypes["order_by"] | undefined, + token_id?: GraphQLTypes["order_by"] | undefined, + total_usd?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined +}; + /** update columns of table "token" */ +["token_update_column"]: token_update_column; + ["token_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["token_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["token_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["token_bool_exp"] +}; + /** aggregate var_pop on columns */ +["token_var_pop_fields"]: { + __typename: "token_var_pop_fields", + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by var_pop() on columns of table "token" */ +["token_var_pop_order_by"]: { + circulating_supply?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + decimals?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + last_price_base?: GraphQLTypes["order_by"] | undefined, + launch_timestamp?: GraphQLTypes["order_by"] | undefined, + max_supply?: GraphQLTypes["order_by"] | undefined, + per_mint_limit?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + volume_24_base?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate var_samp on columns */ +["token_var_samp_fields"]: { + __typename: "token_var_samp_fields", + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by var_samp() on columns of table "token" */ +["token_var_samp_order_by"]: { + circulating_supply?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + decimals?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + last_price_base?: GraphQLTypes["order_by"] | undefined, + launch_timestamp?: GraphQLTypes["order_by"] | undefined, + max_supply?: GraphQLTypes["order_by"] | undefined, + per_mint_limit?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + volume_24_base?: GraphQLTypes["order_by"] | undefined +}; + /** aggregate variance on columns */ +["token_variance_fields"]: { + __typename: "token_variance_fields", + circulating_supply?: number | undefined, + content_size_bytes?: number | undefined, + decimals?: number | undefined, + height?: number | undefined, + id?: number | undefined, + last_price_base?: number | undefined, + launch_timestamp?: number | undefined, + max_supply?: number | undefined, + per_mint_limit?: number | undefined, + transaction_id?: number | undefined, + volume_24_base?: number | undefined +}; + /** order by variance() on columns of table "token" */ +["token_variance_order_by"]: { + circulating_supply?: GraphQLTypes["order_by"] | undefined, + content_size_bytes?: GraphQLTypes["order_by"] | undefined, + decimals?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + last_price_base?: GraphQLTypes["order_by"] | undefined, + launch_timestamp?: GraphQLTypes["order_by"] | undefined, + max_supply?: GraphQLTypes["order_by"] | undefined, + per_mint_limit?: GraphQLTypes["order_by"] | undefined, + transaction_id?: GraphQLTypes["order_by"] | undefined, + volume_24_base?: GraphQLTypes["order_by"] | undefined +}; /** columns and relationships of "transaction" */ - ["transaction"]: { - __typename: "transaction", - content: string, - content_length: number, - date_created: GraphQLTypes["timestamp"], - fees: string, - gas_used: number, - hash: string, - height: number, - id: number, - /** An object relationship */ - inscription?: GraphQLTypes["inscription"] | undefined, - /** An object relationship */ - inscription_history?: GraphQLTypes["inscription_history"] | undefined, - /** An array relationship */ - marketplace_listings: Array, - status_message?: string | undefined, - /** An object relationship */ - token?: GraphQLTypes["token"] | undefined, - /** An object relationship */ - token_address_history?: GraphQLTypes["token_address_history"] | undefined, - /** An array relationship */ - token_open_positions: Array, - /** An object relationship */ - token_trade_history?: GraphQLTypes["token_trade_history"] | undefined - }; +["transaction"]: { + __typename: "transaction", + content: string, + content_length: number, + date_created: GraphQLTypes["timestamp"], + fees: string, + gas_used: number, + hash: string, + height: number, + id: number, + /** An array relationship */ + inscription_histories: Array, + /** An aggregate relationship */ + inscription_histories_aggregate: GraphQLTypes["inscription_history_aggregate"], + /** An array relationship */ + inscriptions: Array, + /** An aggregate relationship */ + inscriptions_aggregate: GraphQLTypes["inscription_aggregate"], + /** An array relationship */ + marketplace_cft20_trade_histories: Array, + /** An aggregate relationship */ + marketplace_cft20_trade_histories_aggregate: GraphQLTypes["marketplace_cft20_trade_history_aggregate"], + /** An array relationship */ + marketplace_listing_histories: Array, + /** An aggregate relationship */ + marketplace_listing_histories_aggregate: GraphQLTypes["marketplace_listing_history_aggregate"], + /** An array relationship */ + marketplace_listings: Array, + /** An aggregate relationship */ + marketplace_listings_aggregate: GraphQLTypes["marketplace_listing_aggregate"], + status_message?: string | undefined, + /** An array relationship */ + token_address_histories: Array, + /** An aggregate relationship */ + token_address_histories_aggregate: GraphQLTypes["token_address_history_aggregate"], + /** An array relationship */ + token_open_positions: Array, + /** An aggregate relationship */ + token_open_positions_aggregate: GraphQLTypes["token_open_position_aggregate"], + /** An array relationship */ + token_trade_histories: Array, + /** An aggregate relationship */ + token_trade_histories_aggregate: GraphQLTypes["token_trade_history_aggregate"], + /** An array relationship */ + tokens: Array, + /** An aggregate relationship */ + tokens_aggregate: GraphQLTypes["token_aggregate"] +}; + /** aggregated selection of "transaction" */ +["transaction_aggregate"]: { + __typename: "transaction_aggregate", + aggregate?: GraphQLTypes["transaction_aggregate_fields"] | undefined, + nodes: Array +}; + /** aggregate fields of "transaction" */ +["transaction_aggregate_fields"]: { + __typename: "transaction_aggregate_fields", + avg?: GraphQLTypes["transaction_avg_fields"] | undefined, + count: number, + max?: GraphQLTypes["transaction_max_fields"] | undefined, + min?: GraphQLTypes["transaction_min_fields"] | undefined, + stddev?: GraphQLTypes["transaction_stddev_fields"] | undefined, + stddev_pop?: GraphQLTypes["transaction_stddev_pop_fields"] | undefined, + stddev_samp?: GraphQLTypes["transaction_stddev_samp_fields"] | undefined, + sum?: GraphQLTypes["transaction_sum_fields"] | undefined, + var_pop?: GraphQLTypes["transaction_var_pop_fields"] | undefined, + var_samp?: GraphQLTypes["transaction_var_samp_fields"] | undefined, + variance?: GraphQLTypes["transaction_variance_fields"] | undefined +}; + /** aggregate avg on columns */ +["transaction_avg_fields"]: { + __typename: "transaction_avg_fields", + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; /** Boolean expression to filter rows from the table "transaction". All fields are combined with a logical 'AND'. */ - ["transaction_bool_exp"]: { +["transaction_bool_exp"]: { _and?: Array | undefined, - _not?: GraphQLTypes["transaction_bool_exp"] | undefined, - _or?: Array | undefined, - content?: GraphQLTypes["String_comparison_exp"] | undefined, - content_length?: GraphQLTypes["Int_comparison_exp"] | undefined, - date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, - fees?: GraphQLTypes["String_comparison_exp"] | undefined, - gas_used?: GraphQLTypes["Int_comparison_exp"] | undefined, - hash?: GraphQLTypes["String_comparison_exp"] | undefined, - height?: GraphQLTypes["Int_comparison_exp"] | undefined, - id?: GraphQLTypes["Int_comparison_exp"] | undefined, - inscription?: GraphQLTypes["inscription_bool_exp"] | undefined, - inscription_history?: GraphQLTypes["inscription_history_bool_exp"] | undefined, - marketplace_listings?: GraphQLTypes["marketplace_listing_bool_exp"] | undefined, - status_message?: GraphQLTypes["String_comparison_exp"] | undefined, - token?: GraphQLTypes["token_bool_exp"] | undefined, - token_address_history?: GraphQLTypes["token_address_history_bool_exp"] | undefined, - token_open_positions?: GraphQLTypes["token_open_position_bool_exp"] | undefined, - token_trade_history?: GraphQLTypes["token_trade_history_bool_exp"] | undefined - }; + _not?: GraphQLTypes["transaction_bool_exp"] | undefined, + _or?: Array | undefined, + content?: GraphQLTypes["String_comparison_exp"] | undefined, + content_length?: GraphQLTypes["Int_comparison_exp"] | undefined, + date_created?: GraphQLTypes["timestamp_comparison_exp"] | undefined, + fees?: GraphQLTypes["String_comparison_exp"] | undefined, + gas_used?: GraphQLTypes["Int_comparison_exp"] | undefined, + hash?: GraphQLTypes["String_comparison_exp"] | undefined, + height?: GraphQLTypes["Int_comparison_exp"] | undefined, + id?: GraphQLTypes["Int_comparison_exp"] | undefined, + inscription_histories?: GraphQLTypes["inscription_history_bool_exp"] | undefined, + inscription_histories_aggregate?: GraphQLTypes["inscription_history_aggregate_bool_exp"] | undefined, + inscriptions?: GraphQLTypes["inscription_bool_exp"] | undefined, + inscriptions_aggregate?: GraphQLTypes["inscription_aggregate_bool_exp"] | undefined, + marketplace_cft20_trade_histories?: GraphQLTypes["marketplace_cft20_trade_history_bool_exp"] | undefined, + marketplace_cft20_trade_histories_aggregate?: GraphQLTypes["marketplace_cft20_trade_history_aggregate_bool_exp"] | undefined, + marketplace_listing_histories?: GraphQLTypes["marketplace_listing_history_bool_exp"] | undefined, + marketplace_listing_histories_aggregate?: GraphQLTypes["marketplace_listing_history_aggregate_bool_exp"] | undefined, + marketplace_listings?: GraphQLTypes["marketplace_listing_bool_exp"] | undefined, + marketplace_listings_aggregate?: GraphQLTypes["marketplace_listing_aggregate_bool_exp"] | undefined, + status_message?: GraphQLTypes["String_comparison_exp"] | undefined, + token_address_histories?: GraphQLTypes["token_address_history_bool_exp"] | undefined, + token_address_histories_aggregate?: GraphQLTypes["token_address_history_aggregate_bool_exp"] | undefined, + token_open_positions?: GraphQLTypes["token_open_position_bool_exp"] | undefined, + token_open_positions_aggregate?: GraphQLTypes["token_open_position_aggregate_bool_exp"] | undefined, + token_trade_histories?: GraphQLTypes["token_trade_history_bool_exp"] | undefined, + token_trade_histories_aggregate?: GraphQLTypes["token_trade_history_aggregate_bool_exp"] | undefined, + tokens?: GraphQLTypes["token_bool_exp"] | undefined, + tokens_aggregate?: GraphQLTypes["token_aggregate_bool_exp"] | undefined +}; + /** unique or primary key constraints on table "transaction" */ +["transaction_constraint"]: transaction_constraint; + /** input type for incrementing numeric columns in table "transaction" */ +["transaction_inc_input"]: { + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; + /** input type for inserting data into table "transaction" */ +["transaction_insert_input"]: { + content?: string | undefined, + content_length?: number | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + fees?: string | undefined, + gas_used?: number | undefined, + hash?: string | undefined, + height?: number | undefined, + id?: number | undefined, + inscription_histories?: GraphQLTypes["inscription_history_arr_rel_insert_input"] | undefined, + inscriptions?: GraphQLTypes["inscription_arr_rel_insert_input"] | undefined, + marketplace_cft20_trade_histories?: GraphQLTypes["marketplace_cft20_trade_history_arr_rel_insert_input"] | undefined, + marketplace_listing_histories?: GraphQLTypes["marketplace_listing_history_arr_rel_insert_input"] | undefined, + marketplace_listings?: GraphQLTypes["marketplace_listing_arr_rel_insert_input"] | undefined, + status_message?: string | undefined, + token_address_histories?: GraphQLTypes["token_address_history_arr_rel_insert_input"] | undefined, + token_open_positions?: GraphQLTypes["token_open_position_arr_rel_insert_input"] | undefined, + token_trade_histories?: GraphQLTypes["token_trade_history_arr_rel_insert_input"] | undefined, + tokens?: GraphQLTypes["token_arr_rel_insert_input"] | undefined +}; + /** aggregate max on columns */ +["transaction_max_fields"]: { + __typename: "transaction_max_fields", + content?: string | undefined, + content_length?: number | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + fees?: string | undefined, + gas_used?: number | undefined, + hash?: string | undefined, + height?: number | undefined, + id?: number | undefined, + status_message?: string | undefined +}; + /** aggregate min on columns */ +["transaction_min_fields"]: { + __typename: "transaction_min_fields", + content?: string | undefined, + content_length?: number | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + fees?: string | undefined, + gas_used?: number | undefined, + hash?: string | undefined, + height?: number | undefined, + id?: number | undefined, + status_message?: string | undefined +}; + /** response of any mutation on the table "transaction" */ +["transaction_mutation_response"]: { + __typename: "transaction_mutation_response", + /** number of rows affected by the mutation */ + affected_rows: number, + /** data from the rows affected by the mutation */ + returning: Array +}; + /** input type for inserting object relation for remote table "transaction" */ +["transaction_obj_rel_insert_input"]: { + data: GraphQLTypes["transaction_insert_input"], + /** upsert condition */ + on_conflict?: GraphQLTypes["transaction_on_conflict"] | undefined +}; + /** on_conflict condition type for table "transaction" */ +["transaction_on_conflict"]: { + constraint: GraphQLTypes["transaction_constraint"], + update_columns: Array, + where?: GraphQLTypes["transaction_bool_exp"] | undefined +}; /** Ordering options when selecting data from "transaction". */ - ["transaction_order_by"]: { +["transaction_order_by"]: { content?: GraphQLTypes["order_by"] | undefined, - content_length?: GraphQLTypes["order_by"] | undefined, - date_created?: GraphQLTypes["order_by"] | undefined, - fees?: GraphQLTypes["order_by"] | undefined, - gas_used?: GraphQLTypes["order_by"] | undefined, - hash?: GraphQLTypes["order_by"] | undefined, - height?: GraphQLTypes["order_by"] | undefined, - id?: GraphQLTypes["order_by"] | undefined, - inscription?: GraphQLTypes["inscription_order_by"] | undefined, - inscription_history?: GraphQLTypes["inscription_history_order_by"] | undefined, - marketplace_listings_aggregate?: GraphQLTypes["marketplace_listing_aggregate_order_by"] | undefined, - status_message?: GraphQLTypes["order_by"] | undefined, - token?: GraphQLTypes["token_order_by"] | undefined, - token_address_history?: GraphQLTypes["token_address_history_order_by"] | undefined, - token_open_positions_aggregate?: GraphQLTypes["token_open_position_aggregate_order_by"] | undefined, - token_trade_history?: GraphQLTypes["token_trade_history_order_by"] | undefined - }; + content_length?: GraphQLTypes["order_by"] | undefined, + date_created?: GraphQLTypes["order_by"] | undefined, + fees?: GraphQLTypes["order_by"] | undefined, + gas_used?: GraphQLTypes["order_by"] | undefined, + hash?: GraphQLTypes["order_by"] | undefined, + height?: GraphQLTypes["order_by"] | undefined, + id?: GraphQLTypes["order_by"] | undefined, + inscription_histories_aggregate?: GraphQLTypes["inscription_history_aggregate_order_by"] | undefined, + inscriptions_aggregate?: GraphQLTypes["inscription_aggregate_order_by"] | undefined, + marketplace_cft20_trade_histories_aggregate?: GraphQLTypes["marketplace_cft20_trade_history_aggregate_order_by"] | undefined, + marketplace_listing_histories_aggregate?: GraphQLTypes["marketplace_listing_history_aggregate_order_by"] | undefined, + marketplace_listings_aggregate?: GraphQLTypes["marketplace_listing_aggregate_order_by"] | undefined, + status_message?: GraphQLTypes["order_by"] | undefined, + token_address_histories_aggregate?: GraphQLTypes["token_address_history_aggregate_order_by"] | undefined, + token_open_positions_aggregate?: GraphQLTypes["token_open_position_aggregate_order_by"] | undefined, + token_trade_histories_aggregate?: GraphQLTypes["token_trade_history_aggregate_order_by"] | undefined, + tokens_aggregate?: GraphQLTypes["token_aggregate_order_by"] | undefined +}; + /** primary key columns input for table: transaction */ +["transaction_pk_columns_input"]: { + id: number +}; /** select columns of table "transaction" */ - ["transaction_select_column"]: transaction_select_column; +["transaction_select_column"]: transaction_select_column; + /** input type for updating data in table "transaction" */ +["transaction_set_input"]: { + content?: string | undefined, + content_length?: number | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + fees?: string | undefined, + gas_used?: number | undefined, + hash?: string | undefined, + height?: number | undefined, + id?: number | undefined, + status_message?: string | undefined +}; + /** aggregate stddev on columns */ +["transaction_stddev_fields"]: { + __typename: "transaction_stddev_fields", + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; + /** aggregate stddev_pop on columns */ +["transaction_stddev_pop_fields"]: { + __typename: "transaction_stddev_pop_fields", + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; + /** aggregate stddev_samp on columns */ +["transaction_stddev_samp_fields"]: { + __typename: "transaction_stddev_samp_fields", + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; /** Streaming cursor of the table "transaction" */ - ["transaction_stream_cursor_input"]: { +["transaction_stream_cursor_input"]: { /** Stream column input with initial value */ - initial_value: GraphQLTypes["transaction_stream_cursor_value_input"], - /** cursor ordering */ - ordering?: GraphQLTypes["cursor_ordering"] | undefined - }; + initial_value: GraphQLTypes["transaction_stream_cursor_value_input"], + /** cursor ordering */ + ordering?: GraphQLTypes["cursor_ordering"] | undefined +}; /** Initial value of the column from where the streaming should start */ - ["transaction_stream_cursor_value_input"]: { +["transaction_stream_cursor_value_input"]: { content?: string | undefined, - content_length?: number | undefined, - date_created?: GraphQLTypes["timestamp"] | undefined, - fees?: string | undefined, - gas_used?: number | undefined, - hash?: string | undefined, - height?: number | undefined, - id?: number | undefined, - status_message?: string | undefined - } + content_length?: number | undefined, + date_created?: GraphQLTypes["timestamp"] | undefined, + fees?: string | undefined, + gas_used?: number | undefined, + hash?: string | undefined, + height?: number | undefined, + id?: number | undefined, + status_message?: string | undefined +}; + /** aggregate sum on columns */ +["transaction_sum_fields"]: { + __typename: "transaction_sum_fields", + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; + /** update columns of table "transaction" */ +["transaction_update_column"]: transaction_update_column; + ["transaction_updates"]: { + /** increments the numeric columns with given value of the filtered values */ + _inc?: GraphQLTypes["transaction_inc_input"] | undefined, + /** sets the columns of the filtered rows to the given values */ + _set?: GraphQLTypes["transaction_set_input"] | undefined, + /** filter the rows which have to be updated */ + where: GraphQLTypes["transaction_bool_exp"] +}; + /** aggregate var_pop on columns */ +["transaction_var_pop_fields"]: { + __typename: "transaction_var_pop_fields", + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; + /** aggregate var_samp on columns */ +["transaction_var_samp_fields"]: { + __typename: "transaction_var_samp_fields", + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined +}; + /** aggregate variance on columns */ +["transaction_variance_fields"]: { + __typename: "transaction_variance_fields", + content_length?: number | undefined, + gas_used?: number | undefined, + height?: number | undefined, + id?: number | undefined } + } /** ordering argument of a cursor */ export const enum cursor_ordering { ASC = "ASC", DESC = "DESC" } +/** unique or primary key constraints on table "inscription" */ +export const enum inscription_constraint { + inscription_content_hash_key = "inscription_content_hash_key", + inscription_pkey = "inscription_pkey", + inscription_tx_id = "inscription_tx_id" +} +/** unique or primary key constraints on table "inscription_history" */ +export const enum inscription_history_constraint { + inscription_history_pkey = "inscription_history_pkey", + inscription_history_un = "inscription_history_un" +} /** select columns of table "inscription_history" */ export const enum inscription_history_select_column { action = "action", @@ -8662,6 +23756,18 @@ export const enum inscription_history_select_column { sender = "sender", transaction_id = "transaction_id" } +/** update columns of table "inscription_history" */ +export const enum inscription_history_update_column { + action = "action", + chain_id = "chain_id", + date_created = "date_created", + height = "height", + id = "id", + inscription_id = "inscription_id", + receiver = "receiver", + sender = "sender", + transaction_id = "transaction_id" +} /** select columns of table "inscription" */ export const enum inscription_select_column { chain_id = "chain_id", @@ -8679,6 +23785,35 @@ export const enum inscription_select_column { type = "type", version = "version" } +/** select "inscription_aggregate_bool_exp_bool_and_arguments_columns" columns of table "inscription" */ +export const enum inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns { + is_explicit = "is_explicit" +} +/** select "inscription_aggregate_bool_exp_bool_or_arguments_columns" columns of table "inscription" */ +export const enum inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns { + is_explicit = "is_explicit" +} +/** update columns of table "inscription" */ +export const enum inscription_update_column { + chain_id = "chain_id", + content_hash = "content_hash", + content_path = "content_path", + content_size_bytes = "content_size_bytes", + creator = "creator", + current_owner = "current_owner", + date_created = "date_created", + height = "height", + id = "id", + is_explicit = "is_explicit", + metadata = "metadata", + transaction_id = "transaction_id", + type = "type", + version = "version" +} +/** unique or primary key constraints on table "marketplace_cft20_detail" */ +export const enum marketplace_cft20_detail_constraint { + marketplace_cft20_detail_pkey = "marketplace_cft20_detail_pkey" +} /** select columns of table "marketplace_cft20_detail" */ export const enum marketplace_cft20_detail_select_column { amount = "amount", @@ -8688,6 +23823,74 @@ export const enum marketplace_cft20_detail_select_column { ppt = "ppt", token_id = "token_id" } +/** update columns of table "marketplace_cft20_detail" */ +export const enum marketplace_cft20_detail_update_column { + amount = "amount", + date_created = "date_created", + id = "id", + listing_id = "listing_id", + ppt = "ppt", + token_id = "token_id" +} +/** unique or primary key constraints on table "marketplace_cft20_trade_history" */ +export const enum marketplace_cft20_trade_history_constraint { + mtth_key = "mtth_key", + mtth_tx_id = "mtth_tx_id" +} +/** select columns of table "marketplace_cft20_trade_history" */ +export const enum marketplace_cft20_trade_history_select_column { + amount_base = "amount_base", + amount_quote = "amount_quote", + buyer_address = "buyer_address", + date_created = "date_created", + id = "id", + listing_id = "listing_id", + rate = "rate", + seller_address = "seller_address", + token_id = "token_id", + total_usd = "total_usd", + transaction_id = "transaction_id" +} +/** update columns of table "marketplace_cft20_trade_history" */ +export const enum marketplace_cft20_trade_history_update_column { + amount_base = "amount_base", + amount_quote = "amount_quote", + buyer_address = "buyer_address", + date_created = "date_created", + id = "id", + listing_id = "listing_id", + rate = "rate", + seller_address = "seller_address", + token_id = "token_id", + total_usd = "total_usd", + transaction_id = "transaction_id" +} +/** unique or primary key constraints on table "marketplace_listing" */ +export const enum marketplace_listing_constraint { + marketplace_listing_pkey = "marketplace_listing_pkey" +} +/** unique or primary key constraints on table "marketplace_listing_history" */ +export const enum marketplace_listing_history_constraint { + marketplace_listing_history_pkey = "marketplace_listing_history_pkey" +} +/** select columns of table "marketplace_listing_history" */ +export const enum marketplace_listing_history_select_column { + action = "action", + date_created = "date_created", + id = "id", + listing_id = "listing_id", + sender_address = "sender_address", + transaction_id = "transaction_id" +} +/** update columns of table "marketplace_listing_history" */ +export const enum marketplace_listing_history_update_column { + action = "action", + date_created = "date_created", + id = "id", + listing_id = "listing_id", + sender_address = "sender_address", + transaction_id = "transaction_id" +} /** select columns of table "marketplace_listing" */ export const enum marketplace_listing_select_column { chain_id = "chain_id", @@ -8705,6 +23908,35 @@ export const enum marketplace_listing_select_column { total = "total", transaction_id = "transaction_id" } +/** select "marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns" columns of table "marketplace_listing" */ +export const enum marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns { + is_cancelled = "is_cancelled", + is_deposited = "is_deposited", + is_filled = "is_filled" +} +/** select "marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns" columns of table "marketplace_listing" */ +export const enum marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns { + is_cancelled = "is_cancelled", + is_deposited = "is_deposited", + is_filled = "is_filled" +} +/** update columns of table "marketplace_listing" */ +export const enum marketplace_listing_update_column { + chain_id = "chain_id", + date_created = "date_created", + date_updated = "date_updated", + deposit_timeout = "deposit_timeout", + deposit_total = "deposit_total", + depositor_address = "depositor_address", + depositor_timedout_block = "depositor_timedout_block", + id = "id", + is_cancelled = "is_cancelled", + is_deposited = "is_deposited", + is_filled = "is_filled", + seller_address = "seller_address", + total = "total", + transaction_id = "transaction_id" +} /** column ordering options */ export const enum order_by { asc = "asc", @@ -8714,6 +23946,10 @@ export const enum order_by { desc_nulls_first = "desc_nulls_first", desc_nulls_last = "desc_nulls_last" } +/** unique or primary key constraints on table "status" */ +export const enum status_constraint { + status_pkey = "status_pkey" +} /** select columns of table "status" */ export const enum status_select_column { base_token = "base_token", @@ -8724,6 +23960,20 @@ export const enum status_select_column { last_known_height = "last_known_height", last_processed_height = "last_processed_height" } +/** update columns of table "status" */ +export const enum status_update_column { + base_token = "base_token", + base_token_usd = "base_token_usd", + chain_id = "chain_id", + date_updated = "date_updated", + id = "id", + last_known_height = "last_known_height", + last_processed_height = "last_processed_height" +} +/** unique or primary key constraints on table "token_address_history" */ +export const enum token_address_history_constraint { + token_address_history_pkey = "token_address_history_pkey" +} /** select columns of table "token_address_history" */ export const enum token_address_history_select_column { action = "action", @@ -8737,6 +23987,29 @@ export const enum token_address_history_select_column { token_id = "token_id", transaction_id = "transaction_id" } +/** update columns of table "token_address_history" */ +export const enum token_address_history_update_column { + action = "action", + amount = "amount", + chain_id = "chain_id", + date_created = "date_created", + height = "height", + id = "id", + receiver = "receiver", + sender = "sender", + token_id = "token_id", + transaction_id = "transaction_id" +} +/** unique or primary key constraints on table "token" */ +export const enum token_constraint { + token_pkey = "token_pkey", + token_ticker_key = "token_ticker_key", + token_tx_id = "token_tx_id" +} +/** unique or primary key constraints on table "token_holder" */ +export const enum token_holder_constraint { + token_holder_pkey = "token_holder_pkey" +} /** select columns of table "token_holder" */ export const enum token_holder_select_column { address = "address", @@ -8746,6 +24019,19 @@ export const enum token_holder_select_column { id = "id", token_id = "token_id" } +/** update columns of table "token_holder" */ +export const enum token_holder_update_column { + address = "address", + amount = "amount", + chain_id = "chain_id", + date_updated = "date_updated", + id = "id", + token_id = "token_id" +} +/** unique or primary key constraints on table "token_open_position" */ +export const enum token_open_position_constraint { + token_open_position_pkey = "token_open_position_pkey" +} /** select columns of table "token_open_position" */ export const enum token_open_position_select_column { amount = "amount", @@ -8755,10 +24041,32 @@ export const enum token_open_position_select_column { id = "id", is_cancelled = "is_cancelled", is_filled = "is_filled", - is_reserved = "is_reserved", ppt = "ppt", - reserve_expires_block = "reserve_expires_block", - reserved_by = "reserved_by", + seller_address = "seller_address", + token_id = "token_id", + total = "total", + transaction_id = "transaction_id" +} +/** select "token_open_position_aggregate_bool_exp_bool_and_arguments_columns" columns of table "token_open_position" */ +export const enum token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns { + is_cancelled = "is_cancelled", + is_filled = "is_filled" +} +/** select "token_open_position_aggregate_bool_exp_bool_or_arguments_columns" columns of table "token_open_position" */ +export const enum token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns { + is_cancelled = "is_cancelled", + is_filled = "is_filled" +} +/** update columns of table "token_open_position" */ +export const enum token_open_position_update_column { + amount = "amount", + chain_id = "chain_id", + date_created = "date_created", + date_filled = "date_filled", + id = "id", + is_cancelled = "is_cancelled", + is_filled = "is_filled", + ppt = "ppt", seller_address = "seller_address", token_id = "token_id", total = "total", @@ -8776,6 +24084,7 @@ export const enum token_select_column { decimals = "decimals", height = "height", id = "id", + is_explicit = "is_explicit", last_price_base = "last_price_base", launch_timestamp = "launch_timestamp", max_supply = "max_supply", @@ -8788,6 +24097,19 @@ export const enum token_select_column { version = "version", volume_24_base = "volume_24_base" } +/** select "token_aggregate_bool_exp_bool_and_arguments_columns" columns of table "token" */ +export const enum token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns { + is_explicit = "is_explicit" +} +/** select "token_aggregate_bool_exp_bool_or_arguments_columns" columns of table "token" */ +export const enum token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns { + is_explicit = "is_explicit" +} +/** unique or primary key constraints on table "token_trade_history" */ +export const enum token_trade_history_constraint { + tth_key = "tth_key", + tth_tx_id = "tth_tx_id" +} /** select columns of table "token_trade_history" */ export const enum token_trade_history_select_column { amount_base = "amount_base", @@ -8802,6 +24124,50 @@ export const enum token_trade_history_select_column { total_usd = "total_usd", transaction_id = "transaction_id" } +/** update columns of table "token_trade_history" */ +export const enum token_trade_history_update_column { + amount_base = "amount_base", + amount_quote = "amount_quote", + buyer_address = "buyer_address", + chain_id = "chain_id", + date_created = "date_created", + id = "id", + rate = "rate", + seller_address = "seller_address", + token_id = "token_id", + total_usd = "total_usd", + transaction_id = "transaction_id" +} +/** update columns of table "token" */ +export const enum token_update_column { + chain_id = "chain_id", + circulating_supply = "circulating_supply", + content_path = "content_path", + content_size_bytes = "content_size_bytes", + creator = "creator", + current_owner = "current_owner", + date_created = "date_created", + decimals = "decimals", + height = "height", + id = "id", + is_explicit = "is_explicit", + last_price_base = "last_price_base", + launch_timestamp = "launch_timestamp", + max_supply = "max_supply", + metadata = "metadata", + mint_page = "mint_page", + name = "name", + per_mint_limit = "per_mint_limit", + ticker = "ticker", + transaction_id = "transaction_id", + version = "version", + volume_24_base = "volume_24_base" +} +/** unique or primary key constraints on table "transaction" */ +export const enum transaction_constraint { + transaction_hash_key = "transaction_hash_key", + transaction_pkey = "transaction_pkey" +} /** select columns of table "transaction" */ export const enum transaction_select_column { content = "content", @@ -8814,6 +24180,18 @@ export const enum transaction_select_column { id = "id", status_message = "status_message" } +/** update columns of table "transaction" */ +export const enum transaction_update_column { + content = "content", + content_length = "content_length", + date_created = "date_created", + fees = "fees", + gas_used = "gas_used", + hash = "hash", + height = "height", + id = "id", + status_message = "status_message" +} type ZEUS_VARIABLES = { ["Boolean_comparison_exp"]: ValueTypes["Boolean_comparison_exp"]; @@ -8823,58 +24201,177 @@ type ZEUS_VARIABLES = { ["bigint"]: ValueTypes["bigint"]; ["bigint_comparison_exp"]: ValueTypes["bigint_comparison_exp"]; ["cursor_ordering"]: ValueTypes["cursor_ordering"]; + ["inscription_aggregate_bool_exp"]: ValueTypes["inscription_aggregate_bool_exp"]; + ["inscription_aggregate_bool_exp_bool_and"]: ValueTypes["inscription_aggregate_bool_exp_bool_and"]; + ["inscription_aggregate_bool_exp_bool_or"]: ValueTypes["inscription_aggregate_bool_exp_bool_or"]; + ["inscription_aggregate_bool_exp_count"]: ValueTypes["inscription_aggregate_bool_exp_count"]; + ["inscription_aggregate_order_by"]: ValueTypes["inscription_aggregate_order_by"]; + ["inscription_arr_rel_insert_input"]: ValueTypes["inscription_arr_rel_insert_input"]; + ["inscription_avg_order_by"]: ValueTypes["inscription_avg_order_by"]; ["inscription_bool_exp"]: ValueTypes["inscription_bool_exp"]; + ["inscription_constraint"]: ValueTypes["inscription_constraint"]; + ["inscription_history_aggregate_bool_exp"]: ValueTypes["inscription_history_aggregate_bool_exp"]; + ["inscription_history_aggregate_bool_exp_count"]: ValueTypes["inscription_history_aggregate_bool_exp_count"]; ["inscription_history_aggregate_order_by"]: ValueTypes["inscription_history_aggregate_order_by"]; + ["inscription_history_arr_rel_insert_input"]: ValueTypes["inscription_history_arr_rel_insert_input"]; ["inscription_history_avg_order_by"]: ValueTypes["inscription_history_avg_order_by"]; ["inscription_history_bool_exp"]: ValueTypes["inscription_history_bool_exp"]; + ["inscription_history_constraint"]: ValueTypes["inscription_history_constraint"]; + ["inscription_history_inc_input"]: ValueTypes["inscription_history_inc_input"]; + ["inscription_history_insert_input"]: ValueTypes["inscription_history_insert_input"]; ["inscription_history_max_order_by"]: ValueTypes["inscription_history_max_order_by"]; ["inscription_history_min_order_by"]: ValueTypes["inscription_history_min_order_by"]; + ["inscription_history_on_conflict"]: ValueTypes["inscription_history_on_conflict"]; ["inscription_history_order_by"]: ValueTypes["inscription_history_order_by"]; + ["inscription_history_pk_columns_input"]: ValueTypes["inscription_history_pk_columns_input"]; ["inscription_history_select_column"]: ValueTypes["inscription_history_select_column"]; + ["inscription_history_set_input"]: ValueTypes["inscription_history_set_input"]; ["inscription_history_stddev_order_by"]: ValueTypes["inscription_history_stddev_order_by"]; ["inscription_history_stddev_pop_order_by"]: ValueTypes["inscription_history_stddev_pop_order_by"]; ["inscription_history_stddev_samp_order_by"]: ValueTypes["inscription_history_stddev_samp_order_by"]; ["inscription_history_stream_cursor_input"]: ValueTypes["inscription_history_stream_cursor_input"]; ["inscription_history_stream_cursor_value_input"]: ValueTypes["inscription_history_stream_cursor_value_input"]; ["inscription_history_sum_order_by"]: ValueTypes["inscription_history_sum_order_by"]; + ["inscription_history_update_column"]: ValueTypes["inscription_history_update_column"]; + ["inscription_history_updates"]: ValueTypes["inscription_history_updates"]; ["inscription_history_var_pop_order_by"]: ValueTypes["inscription_history_var_pop_order_by"]; ["inscription_history_var_samp_order_by"]: ValueTypes["inscription_history_var_samp_order_by"]; ["inscription_history_variance_order_by"]: ValueTypes["inscription_history_variance_order_by"]; + ["inscription_inc_input"]: ValueTypes["inscription_inc_input"]; + ["inscription_insert_input"]: ValueTypes["inscription_insert_input"]; + ["inscription_max_order_by"]: ValueTypes["inscription_max_order_by"]; + ["inscription_min_order_by"]: ValueTypes["inscription_min_order_by"]; + ["inscription_obj_rel_insert_input"]: ValueTypes["inscription_obj_rel_insert_input"]; + ["inscription_on_conflict"]: ValueTypes["inscription_on_conflict"]; ["inscription_order_by"]: ValueTypes["inscription_order_by"]; + ["inscription_pk_columns_input"]: ValueTypes["inscription_pk_columns_input"]; ["inscription_select_column"]: ValueTypes["inscription_select_column"]; + ["inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns"]: ValueTypes["inscription_select_column_inscription_aggregate_bool_exp_bool_and_arguments_columns"]; + ["inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns"]: ValueTypes["inscription_select_column_inscription_aggregate_bool_exp_bool_or_arguments_columns"]; + ["inscription_set_input"]: ValueTypes["inscription_set_input"]; + ["inscription_stddev_order_by"]: ValueTypes["inscription_stddev_order_by"]; + ["inscription_stddev_pop_order_by"]: ValueTypes["inscription_stddev_pop_order_by"]; + ["inscription_stddev_samp_order_by"]: ValueTypes["inscription_stddev_samp_order_by"]; ["inscription_stream_cursor_input"]: ValueTypes["inscription_stream_cursor_input"]; ["inscription_stream_cursor_value_input"]: ValueTypes["inscription_stream_cursor_value_input"]; + ["inscription_sum_order_by"]: ValueTypes["inscription_sum_order_by"]; + ["inscription_update_column"]: ValueTypes["inscription_update_column"]; + ["inscription_updates"]: ValueTypes["inscription_updates"]; + ["inscription_var_pop_order_by"]: ValueTypes["inscription_var_pop_order_by"]; + ["inscription_var_samp_order_by"]: ValueTypes["inscription_var_samp_order_by"]; + ["inscription_variance_order_by"]: ValueTypes["inscription_variance_order_by"]; ["json"]: ValueTypes["json"]; ["json_comparison_exp"]: ValueTypes["json_comparison_exp"]; + ["marketplace_cft20_detail_aggregate_bool_exp"]: ValueTypes["marketplace_cft20_detail_aggregate_bool_exp"]; + ["marketplace_cft20_detail_aggregate_bool_exp_count"]: ValueTypes["marketplace_cft20_detail_aggregate_bool_exp_count"]; ["marketplace_cft20_detail_aggregate_order_by"]: ValueTypes["marketplace_cft20_detail_aggregate_order_by"]; + ["marketplace_cft20_detail_arr_rel_insert_input"]: ValueTypes["marketplace_cft20_detail_arr_rel_insert_input"]; ["marketplace_cft20_detail_avg_order_by"]: ValueTypes["marketplace_cft20_detail_avg_order_by"]; ["marketplace_cft20_detail_bool_exp"]: ValueTypes["marketplace_cft20_detail_bool_exp"]; + ["marketplace_cft20_detail_constraint"]: ValueTypes["marketplace_cft20_detail_constraint"]; + ["marketplace_cft20_detail_inc_input"]: ValueTypes["marketplace_cft20_detail_inc_input"]; + ["marketplace_cft20_detail_insert_input"]: ValueTypes["marketplace_cft20_detail_insert_input"]; ["marketplace_cft20_detail_max_order_by"]: ValueTypes["marketplace_cft20_detail_max_order_by"]; ["marketplace_cft20_detail_min_order_by"]: ValueTypes["marketplace_cft20_detail_min_order_by"]; + ["marketplace_cft20_detail_on_conflict"]: ValueTypes["marketplace_cft20_detail_on_conflict"]; ["marketplace_cft20_detail_order_by"]: ValueTypes["marketplace_cft20_detail_order_by"]; + ["marketplace_cft20_detail_pk_columns_input"]: ValueTypes["marketplace_cft20_detail_pk_columns_input"]; ["marketplace_cft20_detail_select_column"]: ValueTypes["marketplace_cft20_detail_select_column"]; + ["marketplace_cft20_detail_set_input"]: ValueTypes["marketplace_cft20_detail_set_input"]; ["marketplace_cft20_detail_stddev_order_by"]: ValueTypes["marketplace_cft20_detail_stddev_order_by"]; ["marketplace_cft20_detail_stddev_pop_order_by"]: ValueTypes["marketplace_cft20_detail_stddev_pop_order_by"]; ["marketplace_cft20_detail_stddev_samp_order_by"]: ValueTypes["marketplace_cft20_detail_stddev_samp_order_by"]; ["marketplace_cft20_detail_stream_cursor_input"]: ValueTypes["marketplace_cft20_detail_stream_cursor_input"]; ["marketplace_cft20_detail_stream_cursor_value_input"]: ValueTypes["marketplace_cft20_detail_stream_cursor_value_input"]; ["marketplace_cft20_detail_sum_order_by"]: ValueTypes["marketplace_cft20_detail_sum_order_by"]; + ["marketplace_cft20_detail_update_column"]: ValueTypes["marketplace_cft20_detail_update_column"]; + ["marketplace_cft20_detail_updates"]: ValueTypes["marketplace_cft20_detail_updates"]; ["marketplace_cft20_detail_var_pop_order_by"]: ValueTypes["marketplace_cft20_detail_var_pop_order_by"]; ["marketplace_cft20_detail_var_samp_order_by"]: ValueTypes["marketplace_cft20_detail_var_samp_order_by"]; ["marketplace_cft20_detail_variance_order_by"]: ValueTypes["marketplace_cft20_detail_variance_order_by"]; + ["marketplace_cft20_trade_history_aggregate_bool_exp"]: ValueTypes["marketplace_cft20_trade_history_aggregate_bool_exp"]; + ["marketplace_cft20_trade_history_aggregate_bool_exp_count"]: ValueTypes["marketplace_cft20_trade_history_aggregate_bool_exp_count"]; + ["marketplace_cft20_trade_history_aggregate_order_by"]: ValueTypes["marketplace_cft20_trade_history_aggregate_order_by"]; + ["marketplace_cft20_trade_history_arr_rel_insert_input"]: ValueTypes["marketplace_cft20_trade_history_arr_rel_insert_input"]; + ["marketplace_cft20_trade_history_avg_order_by"]: ValueTypes["marketplace_cft20_trade_history_avg_order_by"]; + ["marketplace_cft20_trade_history_bool_exp"]: ValueTypes["marketplace_cft20_trade_history_bool_exp"]; + ["marketplace_cft20_trade_history_constraint"]: ValueTypes["marketplace_cft20_trade_history_constraint"]; + ["marketplace_cft20_trade_history_inc_input"]: ValueTypes["marketplace_cft20_trade_history_inc_input"]; + ["marketplace_cft20_trade_history_insert_input"]: ValueTypes["marketplace_cft20_trade_history_insert_input"]; + ["marketplace_cft20_trade_history_max_order_by"]: ValueTypes["marketplace_cft20_trade_history_max_order_by"]; + ["marketplace_cft20_trade_history_min_order_by"]: ValueTypes["marketplace_cft20_trade_history_min_order_by"]; + ["marketplace_cft20_trade_history_on_conflict"]: ValueTypes["marketplace_cft20_trade_history_on_conflict"]; + ["marketplace_cft20_trade_history_order_by"]: ValueTypes["marketplace_cft20_trade_history_order_by"]; + ["marketplace_cft20_trade_history_pk_columns_input"]: ValueTypes["marketplace_cft20_trade_history_pk_columns_input"]; + ["marketplace_cft20_trade_history_select_column"]: ValueTypes["marketplace_cft20_trade_history_select_column"]; + ["marketplace_cft20_trade_history_set_input"]: ValueTypes["marketplace_cft20_trade_history_set_input"]; + ["marketplace_cft20_trade_history_stddev_order_by"]: ValueTypes["marketplace_cft20_trade_history_stddev_order_by"]; + ["marketplace_cft20_trade_history_stddev_pop_order_by"]: ValueTypes["marketplace_cft20_trade_history_stddev_pop_order_by"]; + ["marketplace_cft20_trade_history_stddev_samp_order_by"]: ValueTypes["marketplace_cft20_trade_history_stddev_samp_order_by"]; + ["marketplace_cft20_trade_history_stream_cursor_input"]: ValueTypes["marketplace_cft20_trade_history_stream_cursor_input"]; + ["marketplace_cft20_trade_history_stream_cursor_value_input"]: ValueTypes["marketplace_cft20_trade_history_stream_cursor_value_input"]; + ["marketplace_cft20_trade_history_sum_order_by"]: ValueTypes["marketplace_cft20_trade_history_sum_order_by"]; + ["marketplace_cft20_trade_history_update_column"]: ValueTypes["marketplace_cft20_trade_history_update_column"]; + ["marketplace_cft20_trade_history_updates"]: ValueTypes["marketplace_cft20_trade_history_updates"]; + ["marketplace_cft20_trade_history_var_pop_order_by"]: ValueTypes["marketplace_cft20_trade_history_var_pop_order_by"]; + ["marketplace_cft20_trade_history_var_samp_order_by"]: ValueTypes["marketplace_cft20_trade_history_var_samp_order_by"]; + ["marketplace_cft20_trade_history_variance_order_by"]: ValueTypes["marketplace_cft20_trade_history_variance_order_by"]; + ["marketplace_listing_aggregate_bool_exp"]: ValueTypes["marketplace_listing_aggregate_bool_exp"]; + ["marketplace_listing_aggregate_bool_exp_bool_and"]: ValueTypes["marketplace_listing_aggregate_bool_exp_bool_and"]; + ["marketplace_listing_aggregate_bool_exp_bool_or"]: ValueTypes["marketplace_listing_aggregate_bool_exp_bool_or"]; + ["marketplace_listing_aggregate_bool_exp_count"]: ValueTypes["marketplace_listing_aggregate_bool_exp_count"]; ["marketplace_listing_aggregate_order_by"]: ValueTypes["marketplace_listing_aggregate_order_by"]; + ["marketplace_listing_arr_rel_insert_input"]: ValueTypes["marketplace_listing_arr_rel_insert_input"]; ["marketplace_listing_avg_order_by"]: ValueTypes["marketplace_listing_avg_order_by"]; ["marketplace_listing_bool_exp"]: ValueTypes["marketplace_listing_bool_exp"]; + ["marketplace_listing_constraint"]: ValueTypes["marketplace_listing_constraint"]; + ["marketplace_listing_history_aggregate_bool_exp"]: ValueTypes["marketplace_listing_history_aggregate_bool_exp"]; + ["marketplace_listing_history_aggregate_bool_exp_count"]: ValueTypes["marketplace_listing_history_aggregate_bool_exp_count"]; + ["marketplace_listing_history_aggregate_order_by"]: ValueTypes["marketplace_listing_history_aggregate_order_by"]; + ["marketplace_listing_history_arr_rel_insert_input"]: ValueTypes["marketplace_listing_history_arr_rel_insert_input"]; + ["marketplace_listing_history_avg_order_by"]: ValueTypes["marketplace_listing_history_avg_order_by"]; + ["marketplace_listing_history_bool_exp"]: ValueTypes["marketplace_listing_history_bool_exp"]; + ["marketplace_listing_history_constraint"]: ValueTypes["marketplace_listing_history_constraint"]; + ["marketplace_listing_history_inc_input"]: ValueTypes["marketplace_listing_history_inc_input"]; + ["marketplace_listing_history_insert_input"]: ValueTypes["marketplace_listing_history_insert_input"]; + ["marketplace_listing_history_max_order_by"]: ValueTypes["marketplace_listing_history_max_order_by"]; + ["marketplace_listing_history_min_order_by"]: ValueTypes["marketplace_listing_history_min_order_by"]; + ["marketplace_listing_history_on_conflict"]: ValueTypes["marketplace_listing_history_on_conflict"]; + ["marketplace_listing_history_order_by"]: ValueTypes["marketplace_listing_history_order_by"]; + ["marketplace_listing_history_pk_columns_input"]: ValueTypes["marketplace_listing_history_pk_columns_input"]; + ["marketplace_listing_history_select_column"]: ValueTypes["marketplace_listing_history_select_column"]; + ["marketplace_listing_history_set_input"]: ValueTypes["marketplace_listing_history_set_input"]; + ["marketplace_listing_history_stddev_order_by"]: ValueTypes["marketplace_listing_history_stddev_order_by"]; + ["marketplace_listing_history_stddev_pop_order_by"]: ValueTypes["marketplace_listing_history_stddev_pop_order_by"]; + ["marketplace_listing_history_stddev_samp_order_by"]: ValueTypes["marketplace_listing_history_stddev_samp_order_by"]; + ["marketplace_listing_history_stream_cursor_input"]: ValueTypes["marketplace_listing_history_stream_cursor_input"]; + ["marketplace_listing_history_stream_cursor_value_input"]: ValueTypes["marketplace_listing_history_stream_cursor_value_input"]; + ["marketplace_listing_history_sum_order_by"]: ValueTypes["marketplace_listing_history_sum_order_by"]; + ["marketplace_listing_history_update_column"]: ValueTypes["marketplace_listing_history_update_column"]; + ["marketplace_listing_history_updates"]: ValueTypes["marketplace_listing_history_updates"]; + ["marketplace_listing_history_var_pop_order_by"]: ValueTypes["marketplace_listing_history_var_pop_order_by"]; + ["marketplace_listing_history_var_samp_order_by"]: ValueTypes["marketplace_listing_history_var_samp_order_by"]; + ["marketplace_listing_history_variance_order_by"]: ValueTypes["marketplace_listing_history_variance_order_by"]; + ["marketplace_listing_inc_input"]: ValueTypes["marketplace_listing_inc_input"]; + ["marketplace_listing_insert_input"]: ValueTypes["marketplace_listing_insert_input"]; ["marketplace_listing_max_order_by"]: ValueTypes["marketplace_listing_max_order_by"]; ["marketplace_listing_min_order_by"]: ValueTypes["marketplace_listing_min_order_by"]; + ["marketplace_listing_obj_rel_insert_input"]: ValueTypes["marketplace_listing_obj_rel_insert_input"]; + ["marketplace_listing_on_conflict"]: ValueTypes["marketplace_listing_on_conflict"]; ["marketplace_listing_order_by"]: ValueTypes["marketplace_listing_order_by"]; + ["marketplace_listing_pk_columns_input"]: ValueTypes["marketplace_listing_pk_columns_input"]; ["marketplace_listing_select_column"]: ValueTypes["marketplace_listing_select_column"]; + ["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns"]: ValueTypes["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_and_arguments_columns"]; + ["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns"]: ValueTypes["marketplace_listing_select_column_marketplace_listing_aggregate_bool_exp_bool_or_arguments_columns"]; + ["marketplace_listing_set_input"]: ValueTypes["marketplace_listing_set_input"]; ["marketplace_listing_stddev_order_by"]: ValueTypes["marketplace_listing_stddev_order_by"]; ["marketplace_listing_stddev_pop_order_by"]: ValueTypes["marketplace_listing_stddev_pop_order_by"]; ["marketplace_listing_stddev_samp_order_by"]: ValueTypes["marketplace_listing_stddev_samp_order_by"]; ["marketplace_listing_stream_cursor_input"]: ValueTypes["marketplace_listing_stream_cursor_input"]; ["marketplace_listing_stream_cursor_value_input"]: ValueTypes["marketplace_listing_stream_cursor_value_input"]; ["marketplace_listing_sum_order_by"]: ValueTypes["marketplace_listing_sum_order_by"]; + ["marketplace_listing_update_column"]: ValueTypes["marketplace_listing_update_column"]; + ["marketplace_listing_updates"]: ValueTypes["marketplace_listing_updates"]; ["marketplace_listing_var_pop_order_by"]: ValueTypes["marketplace_listing_var_pop_order_by"]; ["marketplace_listing_var_samp_order_by"]: ValueTypes["marketplace_listing_var_samp_order_by"]; ["marketplace_listing_variance_order_by"]: ValueTypes["marketplace_listing_variance_order_by"]; @@ -8884,84 +24381,176 @@ type ZEUS_VARIABLES = { ["smallint"]: ValueTypes["smallint"]; ["smallint_comparison_exp"]: ValueTypes["smallint_comparison_exp"]; ["status_bool_exp"]: ValueTypes["status_bool_exp"]; + ["status_constraint"]: ValueTypes["status_constraint"]; + ["status_inc_input"]: ValueTypes["status_inc_input"]; + ["status_insert_input"]: ValueTypes["status_insert_input"]; + ["status_on_conflict"]: ValueTypes["status_on_conflict"]; ["status_order_by"]: ValueTypes["status_order_by"]; + ["status_pk_columns_input"]: ValueTypes["status_pk_columns_input"]; ["status_select_column"]: ValueTypes["status_select_column"]; + ["status_set_input"]: ValueTypes["status_set_input"]; ["status_stream_cursor_input"]: ValueTypes["status_stream_cursor_input"]; ["status_stream_cursor_value_input"]: ValueTypes["status_stream_cursor_value_input"]; + ["status_update_column"]: ValueTypes["status_update_column"]; + ["status_updates"]: ValueTypes["status_updates"]; ["timestamp"]: ValueTypes["timestamp"]; ["timestamp_comparison_exp"]: ValueTypes["timestamp_comparison_exp"]; + ["token_address_history_aggregate_bool_exp"]: ValueTypes["token_address_history_aggregate_bool_exp"]; + ["token_address_history_aggregate_bool_exp_count"]: ValueTypes["token_address_history_aggregate_bool_exp_count"]; ["token_address_history_aggregate_order_by"]: ValueTypes["token_address_history_aggregate_order_by"]; + ["token_address_history_arr_rel_insert_input"]: ValueTypes["token_address_history_arr_rel_insert_input"]; ["token_address_history_avg_order_by"]: ValueTypes["token_address_history_avg_order_by"]; ["token_address_history_bool_exp"]: ValueTypes["token_address_history_bool_exp"]; + ["token_address_history_constraint"]: ValueTypes["token_address_history_constraint"]; + ["token_address_history_inc_input"]: ValueTypes["token_address_history_inc_input"]; + ["token_address_history_insert_input"]: ValueTypes["token_address_history_insert_input"]; ["token_address_history_max_order_by"]: ValueTypes["token_address_history_max_order_by"]; ["token_address_history_min_order_by"]: ValueTypes["token_address_history_min_order_by"]; + ["token_address_history_on_conflict"]: ValueTypes["token_address_history_on_conflict"]; ["token_address_history_order_by"]: ValueTypes["token_address_history_order_by"]; + ["token_address_history_pk_columns_input"]: ValueTypes["token_address_history_pk_columns_input"]; ["token_address_history_select_column"]: ValueTypes["token_address_history_select_column"]; + ["token_address_history_set_input"]: ValueTypes["token_address_history_set_input"]; ["token_address_history_stddev_order_by"]: ValueTypes["token_address_history_stddev_order_by"]; ["token_address_history_stddev_pop_order_by"]: ValueTypes["token_address_history_stddev_pop_order_by"]; ["token_address_history_stddev_samp_order_by"]: ValueTypes["token_address_history_stddev_samp_order_by"]; ["token_address_history_stream_cursor_input"]: ValueTypes["token_address_history_stream_cursor_input"]; ["token_address_history_stream_cursor_value_input"]: ValueTypes["token_address_history_stream_cursor_value_input"]; ["token_address_history_sum_order_by"]: ValueTypes["token_address_history_sum_order_by"]; + ["token_address_history_update_column"]: ValueTypes["token_address_history_update_column"]; + ["token_address_history_updates"]: ValueTypes["token_address_history_updates"]; ["token_address_history_var_pop_order_by"]: ValueTypes["token_address_history_var_pop_order_by"]; ["token_address_history_var_samp_order_by"]: ValueTypes["token_address_history_var_samp_order_by"]; ["token_address_history_variance_order_by"]: ValueTypes["token_address_history_variance_order_by"]; + ["token_aggregate_bool_exp"]: ValueTypes["token_aggregate_bool_exp"]; + ["token_aggregate_bool_exp_bool_and"]: ValueTypes["token_aggregate_bool_exp_bool_and"]; + ["token_aggregate_bool_exp_bool_or"]: ValueTypes["token_aggregate_bool_exp_bool_or"]; + ["token_aggregate_bool_exp_count"]: ValueTypes["token_aggregate_bool_exp_count"]; + ["token_aggregate_order_by"]: ValueTypes["token_aggregate_order_by"]; + ["token_arr_rel_insert_input"]: ValueTypes["token_arr_rel_insert_input"]; + ["token_avg_order_by"]: ValueTypes["token_avg_order_by"]; ["token_bool_exp"]: ValueTypes["token_bool_exp"]; + ["token_constraint"]: ValueTypes["token_constraint"]; + ["token_holder_aggregate_bool_exp"]: ValueTypes["token_holder_aggregate_bool_exp"]; + ["token_holder_aggregate_bool_exp_count"]: ValueTypes["token_holder_aggregate_bool_exp_count"]; ["token_holder_aggregate_order_by"]: ValueTypes["token_holder_aggregate_order_by"]; + ["token_holder_arr_rel_insert_input"]: ValueTypes["token_holder_arr_rel_insert_input"]; ["token_holder_avg_order_by"]: ValueTypes["token_holder_avg_order_by"]; ["token_holder_bool_exp"]: ValueTypes["token_holder_bool_exp"]; + ["token_holder_constraint"]: ValueTypes["token_holder_constraint"]; + ["token_holder_inc_input"]: ValueTypes["token_holder_inc_input"]; + ["token_holder_insert_input"]: ValueTypes["token_holder_insert_input"]; ["token_holder_max_order_by"]: ValueTypes["token_holder_max_order_by"]; ["token_holder_min_order_by"]: ValueTypes["token_holder_min_order_by"]; + ["token_holder_on_conflict"]: ValueTypes["token_holder_on_conflict"]; ["token_holder_order_by"]: ValueTypes["token_holder_order_by"]; + ["token_holder_pk_columns_input"]: ValueTypes["token_holder_pk_columns_input"]; ["token_holder_select_column"]: ValueTypes["token_holder_select_column"]; + ["token_holder_set_input"]: ValueTypes["token_holder_set_input"]; ["token_holder_stddev_order_by"]: ValueTypes["token_holder_stddev_order_by"]; ["token_holder_stddev_pop_order_by"]: ValueTypes["token_holder_stddev_pop_order_by"]; ["token_holder_stddev_samp_order_by"]: ValueTypes["token_holder_stddev_samp_order_by"]; ["token_holder_stream_cursor_input"]: ValueTypes["token_holder_stream_cursor_input"]; ["token_holder_stream_cursor_value_input"]: ValueTypes["token_holder_stream_cursor_value_input"]; ["token_holder_sum_order_by"]: ValueTypes["token_holder_sum_order_by"]; + ["token_holder_update_column"]: ValueTypes["token_holder_update_column"]; + ["token_holder_updates"]: ValueTypes["token_holder_updates"]; ["token_holder_var_pop_order_by"]: ValueTypes["token_holder_var_pop_order_by"]; ["token_holder_var_samp_order_by"]: ValueTypes["token_holder_var_samp_order_by"]; ["token_holder_variance_order_by"]: ValueTypes["token_holder_variance_order_by"]; + ["token_inc_input"]: ValueTypes["token_inc_input"]; + ["token_insert_input"]: ValueTypes["token_insert_input"]; + ["token_max_order_by"]: ValueTypes["token_max_order_by"]; + ["token_min_order_by"]: ValueTypes["token_min_order_by"]; + ["token_obj_rel_insert_input"]: ValueTypes["token_obj_rel_insert_input"]; + ["token_on_conflict"]: ValueTypes["token_on_conflict"]; + ["token_open_position_aggregate_bool_exp"]: ValueTypes["token_open_position_aggregate_bool_exp"]; + ["token_open_position_aggregate_bool_exp_bool_and"]: ValueTypes["token_open_position_aggregate_bool_exp_bool_and"]; + ["token_open_position_aggregate_bool_exp_bool_or"]: ValueTypes["token_open_position_aggregate_bool_exp_bool_or"]; + ["token_open_position_aggregate_bool_exp_count"]: ValueTypes["token_open_position_aggregate_bool_exp_count"]; ["token_open_position_aggregate_order_by"]: ValueTypes["token_open_position_aggregate_order_by"]; + ["token_open_position_arr_rel_insert_input"]: ValueTypes["token_open_position_arr_rel_insert_input"]; ["token_open_position_avg_order_by"]: ValueTypes["token_open_position_avg_order_by"]; ["token_open_position_bool_exp"]: ValueTypes["token_open_position_bool_exp"]; + ["token_open_position_constraint"]: ValueTypes["token_open_position_constraint"]; + ["token_open_position_inc_input"]: ValueTypes["token_open_position_inc_input"]; + ["token_open_position_insert_input"]: ValueTypes["token_open_position_insert_input"]; ["token_open_position_max_order_by"]: ValueTypes["token_open_position_max_order_by"]; ["token_open_position_min_order_by"]: ValueTypes["token_open_position_min_order_by"]; + ["token_open_position_on_conflict"]: ValueTypes["token_open_position_on_conflict"]; ["token_open_position_order_by"]: ValueTypes["token_open_position_order_by"]; + ["token_open_position_pk_columns_input"]: ValueTypes["token_open_position_pk_columns_input"]; ["token_open_position_select_column"]: ValueTypes["token_open_position_select_column"]; + ["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns"]: ValueTypes["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_and_arguments_columns"]; + ["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns"]: ValueTypes["token_open_position_select_column_token_open_position_aggregate_bool_exp_bool_or_arguments_columns"]; + ["token_open_position_set_input"]: ValueTypes["token_open_position_set_input"]; ["token_open_position_stddev_order_by"]: ValueTypes["token_open_position_stddev_order_by"]; ["token_open_position_stddev_pop_order_by"]: ValueTypes["token_open_position_stddev_pop_order_by"]; ["token_open_position_stddev_samp_order_by"]: ValueTypes["token_open_position_stddev_samp_order_by"]; ["token_open_position_stream_cursor_input"]: ValueTypes["token_open_position_stream_cursor_input"]; ["token_open_position_stream_cursor_value_input"]: ValueTypes["token_open_position_stream_cursor_value_input"]; ["token_open_position_sum_order_by"]: ValueTypes["token_open_position_sum_order_by"]; + ["token_open_position_update_column"]: ValueTypes["token_open_position_update_column"]; + ["token_open_position_updates"]: ValueTypes["token_open_position_updates"]; ["token_open_position_var_pop_order_by"]: ValueTypes["token_open_position_var_pop_order_by"]; ["token_open_position_var_samp_order_by"]: ValueTypes["token_open_position_var_samp_order_by"]; ["token_open_position_variance_order_by"]: ValueTypes["token_open_position_variance_order_by"]; ["token_order_by"]: ValueTypes["token_order_by"]; + ["token_pk_columns_input"]: ValueTypes["token_pk_columns_input"]; ["token_select_column"]: ValueTypes["token_select_column"]; + ["token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns"]: ValueTypes["token_select_column_token_aggregate_bool_exp_bool_and_arguments_columns"]; + ["token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns"]: ValueTypes["token_select_column_token_aggregate_bool_exp_bool_or_arguments_columns"]; + ["token_set_input"]: ValueTypes["token_set_input"]; + ["token_stddev_order_by"]: ValueTypes["token_stddev_order_by"]; + ["token_stddev_pop_order_by"]: ValueTypes["token_stddev_pop_order_by"]; + ["token_stddev_samp_order_by"]: ValueTypes["token_stddev_samp_order_by"]; ["token_stream_cursor_input"]: ValueTypes["token_stream_cursor_input"]; ["token_stream_cursor_value_input"]: ValueTypes["token_stream_cursor_value_input"]; + ["token_sum_order_by"]: ValueTypes["token_sum_order_by"]; + ["token_trade_history_aggregate_bool_exp"]: ValueTypes["token_trade_history_aggregate_bool_exp"]; + ["token_trade_history_aggregate_bool_exp_count"]: ValueTypes["token_trade_history_aggregate_bool_exp_count"]; ["token_trade_history_aggregate_order_by"]: ValueTypes["token_trade_history_aggregate_order_by"]; + ["token_trade_history_arr_rel_insert_input"]: ValueTypes["token_trade_history_arr_rel_insert_input"]; ["token_trade_history_avg_order_by"]: ValueTypes["token_trade_history_avg_order_by"]; ["token_trade_history_bool_exp"]: ValueTypes["token_trade_history_bool_exp"]; + ["token_trade_history_constraint"]: ValueTypes["token_trade_history_constraint"]; + ["token_trade_history_inc_input"]: ValueTypes["token_trade_history_inc_input"]; + ["token_trade_history_insert_input"]: ValueTypes["token_trade_history_insert_input"]; ["token_trade_history_max_order_by"]: ValueTypes["token_trade_history_max_order_by"]; ["token_trade_history_min_order_by"]: ValueTypes["token_trade_history_min_order_by"]; + ["token_trade_history_on_conflict"]: ValueTypes["token_trade_history_on_conflict"]; ["token_trade_history_order_by"]: ValueTypes["token_trade_history_order_by"]; + ["token_trade_history_pk_columns_input"]: ValueTypes["token_trade_history_pk_columns_input"]; ["token_trade_history_select_column"]: ValueTypes["token_trade_history_select_column"]; + ["token_trade_history_set_input"]: ValueTypes["token_trade_history_set_input"]; ["token_trade_history_stddev_order_by"]: ValueTypes["token_trade_history_stddev_order_by"]; ["token_trade_history_stddev_pop_order_by"]: ValueTypes["token_trade_history_stddev_pop_order_by"]; ["token_trade_history_stddev_samp_order_by"]: ValueTypes["token_trade_history_stddev_samp_order_by"]; ["token_trade_history_stream_cursor_input"]: ValueTypes["token_trade_history_stream_cursor_input"]; ["token_trade_history_stream_cursor_value_input"]: ValueTypes["token_trade_history_stream_cursor_value_input"]; ["token_trade_history_sum_order_by"]: ValueTypes["token_trade_history_sum_order_by"]; + ["token_trade_history_update_column"]: ValueTypes["token_trade_history_update_column"]; + ["token_trade_history_updates"]: ValueTypes["token_trade_history_updates"]; ["token_trade_history_var_pop_order_by"]: ValueTypes["token_trade_history_var_pop_order_by"]; ["token_trade_history_var_samp_order_by"]: ValueTypes["token_trade_history_var_samp_order_by"]; ["token_trade_history_variance_order_by"]: ValueTypes["token_trade_history_variance_order_by"]; + ["token_update_column"]: ValueTypes["token_update_column"]; + ["token_updates"]: ValueTypes["token_updates"]; + ["token_var_pop_order_by"]: ValueTypes["token_var_pop_order_by"]; + ["token_var_samp_order_by"]: ValueTypes["token_var_samp_order_by"]; + ["token_variance_order_by"]: ValueTypes["token_variance_order_by"]; ["transaction_bool_exp"]: ValueTypes["transaction_bool_exp"]; + ["transaction_constraint"]: ValueTypes["transaction_constraint"]; + ["transaction_inc_input"]: ValueTypes["transaction_inc_input"]; + ["transaction_insert_input"]: ValueTypes["transaction_insert_input"]; + ["transaction_obj_rel_insert_input"]: ValueTypes["transaction_obj_rel_insert_input"]; + ["transaction_on_conflict"]: ValueTypes["transaction_on_conflict"]; ["transaction_order_by"]: ValueTypes["transaction_order_by"]; + ["transaction_pk_columns_input"]: ValueTypes["transaction_pk_columns_input"]; ["transaction_select_column"]: ValueTypes["transaction_select_column"]; + ["transaction_set_input"]: ValueTypes["transaction_set_input"]; ["transaction_stream_cursor_input"]: ValueTypes["transaction_stream_cursor_input"]; ["transaction_stream_cursor_value_input"]: ValueTypes["transaction_stream_cursor_value_input"]; -} \ No newline at end of file + ["transaction_update_column"]: ValueTypes["transaction_update_column"]; + ["transaction_updates"]: ValueTypes["transaction_updates"]; +} diff --git a/frontend/src/app/dashboard-layout/dashboard-layout.component.ts b/frontend/src/app/dashboard-layout/dashboard-layout.component.ts index 2fb491cd..05474675 100644 --- a/frontend/src/app/dashboard-layout/dashboard-layout.component.ts +++ b/frontend/src/app/dashboard-layout/dashboard-layout.component.ts @@ -184,7 +184,7 @@ export class DashboardLayoutComponent { }, ], }).on(({ status }) => { - this.maxHeight = status[0].last_known_height; + this.maxHeight = status[0].last_known_height!; this.currentHeight = status[0].last_processed_height; this.lag = this.maxHeight - this.currentHeight; }); diff --git a/frontend/src/app/list-tokens/list-tokens.page.html b/frontend/src/app/list-tokens/list-tokens.page.html index 6a51e046..5354a6fa 100644 --- a/frontend/src/app/list-tokens/list-tokens.page.html +++ b/frontend/src/app/list-tokens/list-tokens.page.html @@ -50,11 +50,14 @@ -
+
+
+ +
{{ token.id }} {{ token.name }} diff --git a/frontend/src/app/list-tokens/list-tokens.page.scss b/frontend/src/app/list-tokens/list-tokens.page.scss index d6e8a28a..e15fc483 100644 --- a/frontend/src/app/list-tokens/list-tokens.page.scss +++ b/frontend/src/app/list-tokens/list-tokens.page.scss @@ -33,4 +33,15 @@ .actions { text-align: right; } +} + +.explicit { + display: flex; + align-items: center; + justify-content: center; + padding: 10px; + height: 100%; + background-color: rgba(0, 0, 0, 0.3); + border-radius: 10px; + color: #999999; } \ No newline at end of file diff --git a/frontend/src/app/list-tokens/list-tokens.page.ts b/frontend/src/app/list-tokens/list-tokens.page.ts index 9e53c5e9..6ee8dff2 100644 --- a/frontend/src/app/list-tokens/list-tokens.page.ts +++ b/frontend/src/app/list-tokens/list-tokens.page.ts @@ -165,6 +165,7 @@ export class ListTokensPage implements OnInit { launch_timestamp: true, last_price_base: true, volume_24_base: true, + is_explicit: true, date_created: true, }, ], diff --git a/frontend/src/app/view-token/view-token.page.html b/frontend/src/app/view-token/view-token.page.html index 9428f3ce..893dd821 100644 --- a/frontend/src/app/view-token/view-token.page.html +++ b/frontend/src/app/view-token/view-token.page.html @@ -31,12 +31,16 @@ -
+
+
+ +
Explicit content
+

{{ token.ticker }}

diff --git a/frontend/src/app/view-token/view-token.page.scss b/frontend/src/app/view-token/view-token.page.scss index f7ad0657..3dcc0695 100644 --- a/frontend/src/app/view-token/view-token.page.scss +++ b/frontend/src/app/view-token/view-token.page.scss @@ -41,4 +41,22 @@ h1 { .no-logo { opacity: 0.7; +} + +.explicit { + display: flex; + align-items: center; + justify-content: center; + padding: 10px; + height: 100%; + background-color: rgba(0, 0, 0, 0.3); + text-align: center; + text-transform: uppercase; + border-radius: 10px; + font-size: 22px; + color: #999999; + + .note { + font-size: 12px; + } } \ No newline at end of file diff --git a/frontend/src/app/view-token/view-token.page.ts b/frontend/src/app/view-token/view-token.page.ts index 90b4fe70..15ce051c 100644 --- a/frontend/src/app/view-token/view-token.page.ts +++ b/frontend/src/app/view-token/view-token.page.ts @@ -97,6 +97,7 @@ export class ViewTokenPage implements OnInit { content_path: true, content_size_bytes: true, circulating_supply: true, + is_explicit: true, date_created: true, }, ], From 0faa77ad673b5303c8b4afbf364323c24ddcfb58 Mon Sep 17 00:00:00 2001 From: Tomas Hanacek Date: Wed, 31 Jan 2024 17:45:18 +0100 Subject: [PATCH 5/8] update hasura config --- .../Meteors/tables/public_token.yaml | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/api/metadata/databases/Meteors/tables/public_token.yaml b/api/metadata/databases/Meteors/tables/public_token.yaml index 57aad9a7..631bc5a0 100644 --- a/api/metadata/databases/Meteors/tables/public_token.yaml +++ b/api/metadata/databases/Meteors/tables/public_token.yaml @@ -52,26 +52,27 @@ select_permissions: - role: anonymous permission: columns: - - circulating_supply - - last_price_base - - launch_timestamp - - per_mint_limit - - volume_24_base - chain_id + - circulating_supply - content_path + - content_size_bytes - creator - current_owner - - mint_page - - name - - ticker - - version - - content_size_bytes + - date_created + - decimals - height - id - - transaction_id + - is_explicit + - last_price_base + - launch_timestamp - max_supply - - decimals - metadata - - date_created + - mint_page + - name + - per_mint_limit + - ticker + - transaction_id + - version + - volume_24_base filter: {} comment: "" From 455ce733ad5427f9a73e6c94a6b80a3b4de4e656 Mon Sep 17 00:00:00 2001 From: Tomas Hanacek Date: Wed, 31 Jan 2024 18:13:18 +0100 Subject: [PATCH 6/8] add tensorflow-install and nsfw-model-download commands to makefile --- indexer/Makefile | 10 ++++++++++ indexer/README.md | 14 ++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/indexer/Makefile b/indexer/Makefile index 74e55e83..93315702 100644 --- a/indexer/Makefile +++ b/indexer/Makefile @@ -64,3 +64,13 @@ create-migration: help: ## Display this help screen @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' + +tensorflow-install: + curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.9.1.tar.gz" | sudo tar -C /usr/local -xz + sudo ldconfig + +nsfw-model-download: + wget https://github.com/GantMan/nsfw_model/releases/download/1.2.0/mobilenet_v2_140_224.1.zip + unzip mobilenet_v2_140_224.1.zip + mv mobilenet_v2_140_224 model + rm mobilenet_v2_140_224.1.zip \ No newline at end of file diff --git a/indexer/README.md b/indexer/README.md index 03fb031a..dd40c9c9 100644 --- a/indexer/README.md +++ b/indexer/README.md @@ -28,3 +28,17 @@ curl -sSf https://atlasgo.sh | sh ```bash atlas migrate apply --env local ``` + +## NSFW Installation + +1. Install Tensorflow C library + + ```bash + make tensorflow-install + ``` + +2. Download model + + ``` + make nsfw-model-download + ``` \ No newline at end of file From 14c18f365648721610d8447efcd86877cd9fce12 Mon Sep 17 00:00:00 2001 From: Tomas Hanacek Date: Thu, 1 Feb 2024 11:16:50 +0100 Subject: [PATCH 7/8] add NSFW_MODEL_PATH and NSFW_WORKER_ENABLED env vars --- indexer/src/indexer/indexer.go | 6 ++- indexer/src/indexer/metaprotocol/cft20.go | 2 +- .../src/indexer/metaprotocol/inscription.go | 2 +- indexer/src/nsfw/worker.go | 39 ++++++++++++------- 4 files changed, 32 insertions(+), 17 deletions(-) diff --git a/indexer/src/indexer/indexer.go b/indexer/src/indexer/indexer.go index 38479418..9be4c890 100644 --- a/indexer/src/indexer/indexer.go +++ b/indexer/src/indexer/indexer.go @@ -35,6 +35,8 @@ type Config struct { RPCEndpoints []string `envconfig:"RPC_ENDPOINTS" required:"true"` EndpointHeaders map[string]string `envconfig:"ENDPOINT_HEADERS" required:"true"` BlockPollIntervalMS int `envconfig:"BLOCK_POLL_INTERVAL_MS" required:"true"` + NsfwModelPath string `envconfig:"NSFW_MODEL_PATH" default:"./model"` + NsfwWorkerEnabled bool `envconfig:"NSFW_WORKER_ENABLED" default:"true"` } // Indexer implements the reference indexer service @@ -73,8 +75,8 @@ func New( } - nsfwWorker := nsfw.NewWorker(log) - nsfwWorker.Start("./model") + nsfwWorker := nsfw.NewWorker(log, config.NsfwModelPath, config.NsfwWorkerEnabled) + nsfwWorker.Start() metaprotocols := make(map[string]metaprotocol.Processor) metaprotocols["inscription"] = metaprotocol.NewInscriptionProcessor(config.ChainID, db, nsfwWorker) diff --git a/indexer/src/indexer/metaprotocol/cft20.go b/indexer/src/indexer/metaprotocol/cft20.go index c1b63399..995d7a4a 100644 --- a/indexer/src/indexer/metaprotocol/cft20.go +++ b/indexer/src/indexer/metaprotocol/cft20.go @@ -225,7 +225,7 @@ func (protocol *CFT20) Process(transactionModel models.Transaction, protocolURN } // check if content is explicit - isExplicit = <-protocol.nsfwWorker.CheckImage(logoContent) + isExplicit = protocol.nsfwWorker.CheckImage(logoContent) contentLength = len(logoContent) } diff --git a/indexer/src/indexer/metaprotocol/inscription.go b/indexer/src/indexer/metaprotocol/inscription.go index 8394abda..e4757fa9 100644 --- a/indexer/src/indexer/metaprotocol/inscription.go +++ b/indexer/src/indexer/metaprotocol/inscription.go @@ -147,7 +147,7 @@ func (protocol *Inscription) Process(transactionModel models.Transaction, protoc } // check if content is explicit - isExplicit := <-protocol.nsfwWorker.CheckImage(content) + isExplicit := protocol.nsfwWorker.CheckImage(content) inscriptionModel := models.Inscription{ ChainID: parsedURN.ChainID, diff --git a/indexer/src/nsfw/worker.go b/indexer/src/nsfw/worker.go index 853a7531..f51c0106 100644 --- a/indexer/src/nsfw/worker.go +++ b/indexer/src/nsfw/worker.go @@ -7,29 +7,37 @@ import ( "github.com/sirupsen/logrus" ) -func NewWorker(log *logrus.Entry) *Worker { +func NewWorker(log *logrus.Entry, modelPath string, enabled bool) *Worker { worker := Worker{ - work: make(chan []byte), - result: make(chan bool), - quitChan: make(chan bool), + modelPath: modelPath, + work: make(chan []byte), + result: make(chan bool), + quitChan: make(chan bool), logger: log.WithFields(logrus.Fields{ "worker": "nsfw", }), + enabled: enabled, + } + + if !enabled { + worker.logger.Info("NSFW worker disabled") } return &worker } type Worker struct { - work chan []byte - result chan bool - quitChan chan bool - logger *logrus.Entry + modelPath string + enabled bool + work chan []byte + result chan bool + quitChan chan bool + logger *logrus.Entry } -func (w Worker) Start(modelPath string) { +func (w *Worker) Start() { go func() { - predictor, err := NewPredictorFromPath(modelPath) + predictor, err := NewPredictorFromPath(w.modelPath) if err != nil { w.logger.Fatal("unable to create predictor", err) } @@ -63,13 +71,18 @@ func (w Worker) Start(modelPath string) { }() } -func (w Worker) Stop() { +func (w *Worker) Stop() { go func() { w.quitChan <- true }() } -func (w Worker) CheckImage(image []byte) <-chan bool { +func (w *Worker) CheckImage(image []byte) bool { + if !w.enabled { + return false + } + w.work <- image - return w.result + isExplicit := <-w.result + return isExplicit } From 393c45517fc2839f78ff9cc8a9e34d7d68e3338f Mon Sep 17 00:00:00 2001 From: Tomas Hanacek Date: Thu, 1 Feb 2024 11:17:48 +0100 Subject: [PATCH 8/8] update generic preview styles --- .../src/app/generic-preview/generic-preview.page.html | 2 +- .../src/app/generic-preview/generic-preview.page.scss | 10 +++++++--- .../app/list-inscriptions/list-inscriptions.page.html | 2 +- .../app/view-inscription/view-inscription.page.html | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/generic-preview/generic-preview.page.html b/frontend/src/app/generic-preview/generic-preview.page.html index 82c55804..73aac96d 100644 --- a/frontend/src/app/generic-preview/generic-preview.page.html +++ b/frontend/src/app/generic-preview/generic-preview.page.html @@ -13,7 +13,7 @@ {{ humanType }}
-
+
Explicit content
diff --git a/frontend/src/app/generic-preview/generic-preview.page.scss b/frontend/src/app/generic-preview/generic-preview.page.scss index 694bbfb0..1ac77fe3 100644 --- a/frontend/src/app/generic-preview/generic-preview.page.scss +++ b/frontend/src/app/generic-preview/generic-preview.page.scss @@ -16,17 +16,21 @@ audio { } .explicit { - width: 200px; - min-height: 200px; + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + height: 100%; + width: 100%; background-color: rgba(0, 0, 0, 0.3); text-align: center; text-transform: uppercase; - padding-top: 80px; border-radius: 10px; font-size: 22px; color: #999999; .note { font-size: 12px; + margin-top: 10px; } } \ No newline at end of file diff --git a/frontend/src/app/list-inscriptions/list-inscriptions.page.html b/frontend/src/app/list-inscriptions/list-inscriptions.page.html index a1f716e9..6c5e74a7 100644 --- a/frontend/src/app/list-inscriptions/list-inscriptions.page.html +++ b/frontend/src/app/list-inscriptions/list-inscriptions.page.html @@ -85,7 +85,7 @@ >
+ [isExplicit]="item.is_explicit" class="w-100 h-100">

{{ item.name }}

diff --git a/frontend/src/app/view-inscription/view-inscription.page.html b/frontend/src/app/view-inscription/view-inscription.page.html index 2a261d76..1aa27369 100644 --- a/frontend/src/app/view-inscription/view-inscription.page.html +++ b/frontend/src/app/view-inscription/view-inscription.page.html @@ -31,7 +31,7 @@ -
+