From f9c1626a0d05f2131d37eab7a6c7b58c0930b2cb Mon Sep 17 00:00:00 2001 From: John Hyde Date: Tue, 9 Sep 2025 17:40:48 -0700 Subject: [PATCH] Fix the schema hopefully --- generated.go | 574 ++++++++++++++++++++++++------------------------ queries.graphql | 18 +- schema.graphql | 98 ++++----- 3 files changed, 351 insertions(+), 339 deletions(-) diff --git a/generated.go b/generated.go index c21050d..47ecd2e 100644 --- a/generated.go +++ b/generated.go @@ -10,44 +10,44 @@ import ( "github.com/Khan/genqlient/graphql" ) -// EventsInRangeEventsInRangeResultEvent includes the requested fields of the GraphQL type ResultEvent. -type EventsInRangeEventsInRangeResultEvent struct { - Block EventsInRangeEventsInRangeResultEventBlockBlock_ `json:"block"` - Tx EventsInRangeEventsInRangeResultEventTxTransaction_ `json:"tx"` - EventIndex int `json:"eventIndex"` - Event EventsInRangeEventsInRangeResultEventEvent `json:"-"` +// EventsInRangeAzimuthEventsInRangeResultEvent includes the requested fields of the GraphQL type ResultEvent. +type EventsInRangeAzimuthEventsInRangeResultEvent struct { + Block EventsInRangeAzimuthEventsInRangeResultEventBlockBlock_ `json:"block"` + Tx EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_ `json:"tx"` + EventIndex int `json:"eventIndex"` + Event EventsInRangeAzimuthEventsInRangeResultEventEvent `json:"-"` } -// GetBlock returns EventsInRangeEventsInRangeResultEvent.Block, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEvent) GetBlock() EventsInRangeEventsInRangeResultEventBlockBlock_ { +// GetBlock returns EventsInRangeAzimuthEventsInRangeResultEvent.Block, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEvent) GetBlock() EventsInRangeAzimuthEventsInRangeResultEventBlockBlock_ { return v.Block } -// GetTx returns EventsInRangeEventsInRangeResultEvent.Tx, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEvent) GetTx() EventsInRangeEventsInRangeResultEventTxTransaction_ { +// GetTx returns EventsInRangeAzimuthEventsInRangeResultEvent.Tx, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEvent) GetTx() EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_ { return v.Tx } -// GetEventIndex returns EventsInRangeEventsInRangeResultEvent.EventIndex, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEvent) GetEventIndex() int { return v.EventIndex } +// GetEventIndex returns EventsInRangeAzimuthEventsInRangeResultEvent.EventIndex, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEvent) GetEventIndex() int { return v.EventIndex } -// GetEvent returns EventsInRangeEventsInRangeResultEvent.Event, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEvent) GetEvent() EventsInRangeEventsInRangeResultEventEvent { +// GetEvent returns EventsInRangeAzimuthEventsInRangeResultEvent.Event, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEvent) GetEvent() EventsInRangeAzimuthEventsInRangeResultEventEvent { return v.Event } -func (v *EventsInRangeEventsInRangeResultEvent) UnmarshalJSON(b []byte) error { +func (v *EventsInRangeAzimuthEventsInRangeResultEvent) UnmarshalJSON(b []byte) error { if string(b) == "null" { return nil } var firstPass struct { - *EventsInRangeEventsInRangeResultEvent + *EventsInRangeAzimuthEventsInRangeResultEvent Event json.RawMessage `json:"event"` graphql.NoUnmarshalJSON } - firstPass.EventsInRangeEventsInRangeResultEvent = v + firstPass.EventsInRangeAzimuthEventsInRangeResultEvent = v err := json.Unmarshal(b, &firstPass) if err != nil { @@ -58,28 +58,28 @@ func (v *EventsInRangeEventsInRangeResultEvent) UnmarshalJSON(b []byte) error { dst := &v.Event src := firstPass.Event if len(src) != 0 && string(src) != "null" { - err = __unmarshalEventsInRangeEventsInRangeResultEventEvent( + err = __unmarshalEventsInRangeAzimuthEventsInRangeResultEventEvent( src, dst) if err != nil { return fmt.Errorf( - "unable to unmarshal EventsInRangeEventsInRangeResultEvent.Event: %w", err) + "unable to unmarshal EventsInRangeAzimuthEventsInRangeResultEvent.Event: %w", err) } } } return nil } -type __premarshalEventsInRangeEventsInRangeResultEvent struct { - Block EventsInRangeEventsInRangeResultEventBlockBlock_ `json:"block"` +type __premarshalEventsInRangeAzimuthEventsInRangeResultEvent struct { + Block EventsInRangeAzimuthEventsInRangeResultEventBlockBlock_ `json:"block"` - Tx EventsInRangeEventsInRangeResultEventTxTransaction_ `json:"tx"` + Tx EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_ `json:"tx"` EventIndex int `json:"eventIndex"` Event json.RawMessage `json:"event"` } -func (v *EventsInRangeEventsInRangeResultEvent) MarshalJSON() ([]byte, error) { +func (v *EventsInRangeAzimuthEventsInRangeResultEvent) MarshalJSON() ([]byte, error) { premarshaled, err := v.__premarshalJSON() if err != nil { return nil, err @@ -87,8 +87,8 @@ func (v *EventsInRangeEventsInRangeResultEvent) MarshalJSON() ([]byte, error) { return json.Marshal(premarshaled) } -func (v *EventsInRangeEventsInRangeResultEvent) __premarshalJSON() (*__premarshalEventsInRangeEventsInRangeResultEvent, error) { - var retval __premarshalEventsInRangeEventsInRangeResultEvent +func (v *EventsInRangeAzimuthEventsInRangeResultEvent) __premarshalJSON() (*__premarshalEventsInRangeAzimuthEventsInRangeResultEvent, error) { + var retval __premarshalEventsInRangeAzimuthEventsInRangeResultEvent retval.Block = v.Block retval.Tx = v.Tx @@ -98,87 +98,87 @@ func (v *EventsInRangeEventsInRangeResultEvent) __premarshalJSON() (*__premarsha dst := &retval.Event src := v.Event var err error - *dst, err = __marshalEventsInRangeEventsInRangeResultEventEvent( + *dst, err = __marshalEventsInRangeAzimuthEventsInRangeResultEventEvent( &src) if err != nil { return nil, fmt.Errorf( - "unable to marshal EventsInRangeEventsInRangeResultEvent.Event: %w", err) + "unable to marshal EventsInRangeAzimuthEventsInRangeResultEvent.Event: %w", err) } } return &retval, nil } -// EventsInRangeEventsInRangeResultEventBlockBlock_ includes the requested fields of the GraphQL type _Block_. -type EventsInRangeEventsInRangeResultEventBlockBlock_ struct { +// EventsInRangeAzimuthEventsInRangeResultEventBlockBlock_ includes the requested fields of the GraphQL type _Block_. +type EventsInRangeAzimuthEventsInRangeResultEventBlockBlock_ struct { Hash string `json:"hash"` Number int `json:"number"` } -// GetHash returns EventsInRangeEventsInRangeResultEventBlockBlock_.Hash, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventBlockBlock_) GetHash() string { return v.Hash } +// GetHash returns EventsInRangeAzimuthEventsInRangeResultEventBlockBlock_.Hash, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventBlockBlock_) GetHash() string { return v.Hash } -// GetNumber returns EventsInRangeEventsInRangeResultEventBlockBlock_.Number, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventBlockBlock_) GetNumber() int { return v.Number } +// GetNumber returns EventsInRangeAzimuthEventsInRangeResultEventBlockBlock_.Number, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventBlockBlock_) GetNumber() int { return v.Number } -// EventsInRangeEventsInRangeResultEventEvent includes the requested fields of the GraphQL interface Event. +// EventsInRangeAzimuthEventsInRangeResultEventEvent includes the requested fields of the GraphQL interface Event. // -// EventsInRangeEventsInRangeResultEventEvent is implemented by the following types: -// EventsInRangeEventsInRangeResultEventEventActivatedEvent -// EventsInRangeEventsInRangeResultEventEventBrokeContinuityEvent -// EventsInRangeEventsInRangeResultEventEventChangedDnsEvent -// EventsInRangeEventsInRangeResultEventEventChangedKeysEvent -// EventsInRangeEventsInRangeResultEventEventChangedManagementProxyEvent -// EventsInRangeEventsInRangeResultEventEventChangedSpawnProxyEvent -// EventsInRangeEventsInRangeResultEventEventChangedTransferProxyEvent -// EventsInRangeEventsInRangeResultEventEventChangedVotingProxyEvent -// EventsInRangeEventsInRangeResultEventEventEscapeAcceptedEvent -// EventsInRangeEventsInRangeResultEventEventEscapeCanceledEvent -// EventsInRangeEventsInRangeResultEventEventEscapeRequestedEvent -// EventsInRangeEventsInRangeResultEventEventLostSponsorEvent -// EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent -// EventsInRangeEventsInRangeResultEventEventOwnershipRenouncedEvent -// EventsInRangeEventsInRangeResultEventEventOwnershipTransferredEvent -// EventsInRangeEventsInRangeResultEventEventSpawnedEvent -type EventsInRangeEventsInRangeResultEventEvent interface { - implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() +// EventsInRangeAzimuthEventsInRangeResultEventEvent is implemented by the following types: +// EventsInRangeAzimuthEventsInRangeResultEventEventActivatedEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventBrokeContinuityEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventChangedDnsEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventChangedKeysEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventChangedManagementProxyEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventChangedSpawnProxyEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventChangedTransferProxyEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventChangedVotingProxyEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventEscapeAcceptedEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventEscapeCanceledEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventEscapeRequestedEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventLostSponsorEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipRenouncedEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipTransferredEvent +// EventsInRangeAzimuthEventsInRangeResultEventEventSpawnedEvent +type EventsInRangeAzimuthEventsInRangeResultEventEvent interface { + implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() // GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values). GetTypename() string } -func (v *EventsInRangeEventsInRangeResultEventEventActivatedEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventActivatedEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventBrokeContinuityEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventBrokeContinuityEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventChangedDnsEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventChangedDnsEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventChangedKeysEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventChangedKeysEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventChangedManagementProxyEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventChangedManagementProxyEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventChangedSpawnProxyEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventChangedSpawnProxyEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventChangedTransferProxyEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventChangedTransferProxyEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventChangedVotingProxyEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventChangedVotingProxyEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventEscapeAcceptedEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventEscapeAcceptedEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventEscapeCanceledEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventEscapeCanceledEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventEscapeRequestedEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventEscapeRequestedEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventLostSponsorEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventLostSponsorEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventOwnershipRenouncedEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipRenouncedEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventOwnershipTransferredEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipTransferredEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func (v *EventsInRangeEventsInRangeResultEventEventSpawnedEvent) implementsGraphQLInterfaceEventsInRangeEventsInRangeResultEventEvent() { +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventSpawnedEvent) implementsGraphQLInterfaceEventsInRangeAzimuthEventsInRangeResultEventEvent() { } -func __unmarshalEventsInRangeEventsInRangeResultEventEvent(b []byte, v *EventsInRangeEventsInRangeResultEventEvent) error { +func __unmarshalEventsInRangeAzimuthEventsInRangeResultEventEvent(b []byte, v *EventsInRangeAzimuthEventsInRangeResultEventEvent) error { if string(b) == "null" { return nil } @@ -193,561 +193,573 @@ func __unmarshalEventsInRangeEventsInRangeResultEventEvent(b []byte, v *EventsIn switch tn.TypeName { case "ActivatedEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventActivatedEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventActivatedEvent) return json.Unmarshal(b, *v) case "BrokeContinuityEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventBrokeContinuityEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventBrokeContinuityEvent) return json.Unmarshal(b, *v) case "ChangedDnsEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventChangedDnsEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventChangedDnsEvent) return json.Unmarshal(b, *v) case "ChangedKeysEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventChangedKeysEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventChangedKeysEvent) return json.Unmarshal(b, *v) case "ChangedManagementProxyEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventChangedManagementProxyEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventChangedManagementProxyEvent) return json.Unmarshal(b, *v) case "ChangedSpawnProxyEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventChangedSpawnProxyEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventChangedSpawnProxyEvent) return json.Unmarshal(b, *v) case "ChangedTransferProxyEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventChangedTransferProxyEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventChangedTransferProxyEvent) return json.Unmarshal(b, *v) case "ChangedVotingProxyEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventChangedVotingProxyEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventChangedVotingProxyEvent) return json.Unmarshal(b, *v) case "EscapeAcceptedEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventEscapeAcceptedEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventEscapeAcceptedEvent) return json.Unmarshal(b, *v) case "EscapeCanceledEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventEscapeCanceledEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventEscapeCanceledEvent) return json.Unmarshal(b, *v) case "EscapeRequestedEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventEscapeRequestedEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventEscapeRequestedEvent) return json.Unmarshal(b, *v) case "LostSponsorEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventLostSponsorEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventLostSponsorEvent) return json.Unmarshal(b, *v) case "OwnerChangedEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent) return json.Unmarshal(b, *v) case "OwnershipRenouncedEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventOwnershipRenouncedEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipRenouncedEvent) return json.Unmarshal(b, *v) case "OwnershipTransferredEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventOwnershipTransferredEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipTransferredEvent) return json.Unmarshal(b, *v) case "SpawnedEvent": - *v = new(EventsInRangeEventsInRangeResultEventEventSpawnedEvent) + *v = new(EventsInRangeAzimuthEventsInRangeResultEventEventSpawnedEvent) return json.Unmarshal(b, *v) case "": return fmt.Errorf( "response was missing Event.__typename") default: return fmt.Errorf( - `unexpected concrete type for EventsInRangeEventsInRangeResultEventEvent: "%v"`, tn.TypeName) + `unexpected concrete type for EventsInRangeAzimuthEventsInRangeResultEventEvent: "%v"`, tn.TypeName) } } -func __marshalEventsInRangeEventsInRangeResultEventEvent(v *EventsInRangeEventsInRangeResultEventEvent) ([]byte, error) { +func __marshalEventsInRangeAzimuthEventsInRangeResultEventEvent(v *EventsInRangeAzimuthEventsInRangeResultEventEvent) ([]byte, error) { var typename string switch v := (*v).(type) { - case *EventsInRangeEventsInRangeResultEventEventActivatedEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventActivatedEvent: typename = "ActivatedEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventActivatedEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventActivatedEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventBrokeContinuityEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventBrokeContinuityEvent: typename = "BrokeContinuityEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventBrokeContinuityEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventBrokeContinuityEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventChangedDnsEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventChangedDnsEvent: typename = "ChangedDnsEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventChangedDnsEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventChangedDnsEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventChangedKeysEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventChangedKeysEvent: typename = "ChangedKeysEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventChangedKeysEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventChangedKeysEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventChangedManagementProxyEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventChangedManagementProxyEvent: typename = "ChangedManagementProxyEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventChangedManagementProxyEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventChangedManagementProxyEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventChangedSpawnProxyEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventChangedSpawnProxyEvent: typename = "ChangedSpawnProxyEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventChangedSpawnProxyEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventChangedSpawnProxyEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventChangedTransferProxyEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventChangedTransferProxyEvent: typename = "ChangedTransferProxyEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventChangedTransferProxyEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventChangedTransferProxyEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventChangedVotingProxyEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventChangedVotingProxyEvent: typename = "ChangedVotingProxyEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventChangedVotingProxyEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventChangedVotingProxyEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventEscapeAcceptedEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventEscapeAcceptedEvent: typename = "EscapeAcceptedEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventEscapeAcceptedEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventEscapeAcceptedEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventEscapeCanceledEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventEscapeCanceledEvent: typename = "EscapeCanceledEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventEscapeCanceledEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventEscapeCanceledEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventEscapeRequestedEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventEscapeRequestedEvent: typename = "EscapeRequestedEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventEscapeRequestedEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventEscapeRequestedEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventLostSponsorEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventLostSponsorEvent: typename = "LostSponsorEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventLostSponsorEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventLostSponsorEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent: typename = "OwnerChangedEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventOwnershipRenouncedEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipRenouncedEvent: typename = "OwnershipRenouncedEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventOwnershipRenouncedEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipRenouncedEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventOwnershipTransferredEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipTransferredEvent: typename = "OwnershipTransferredEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventOwnershipTransferredEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipTransferredEvent }{typename, v} return json.Marshal(result) - case *EventsInRangeEventsInRangeResultEventEventSpawnedEvent: + case *EventsInRangeAzimuthEventsInRangeResultEventEventSpawnedEvent: typename = "SpawnedEvent" result := struct { TypeName string `json:"__typename"` - *EventsInRangeEventsInRangeResultEventEventSpawnedEvent + *EventsInRangeAzimuthEventsInRangeResultEventEventSpawnedEvent }{typename, v} return json.Marshal(result) case nil: return []byte("null"), nil default: return nil, fmt.Errorf( - `unexpected concrete type for EventsInRangeEventsInRangeResultEventEvent: "%T"`, v) + `unexpected concrete type for EventsInRangeAzimuthEventsInRangeResultEventEvent: "%T"`, v) } } -// EventsInRangeEventsInRangeResultEventEventActivatedEvent includes the requested fields of the GraphQL type ActivatedEvent. -type EventsInRangeEventsInRangeResultEventEventActivatedEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventActivatedEvent includes the requested fields of the GraphQL type ActivatedEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventActivatedEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventActivatedEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventActivatedEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventActivatedEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventActivatedEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventBrokeContinuityEvent includes the requested fields of the GraphQL type BrokeContinuityEvent. -type EventsInRangeEventsInRangeResultEventEventBrokeContinuityEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventBrokeContinuityEvent includes the requested fields of the GraphQL type BrokeContinuityEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventBrokeContinuityEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventBrokeContinuityEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventBrokeContinuityEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventBrokeContinuityEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventBrokeContinuityEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventChangedDnsEvent includes the requested fields of the GraphQL type ChangedDnsEvent. -type EventsInRangeEventsInRangeResultEventEventChangedDnsEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventChangedDnsEvent includes the requested fields of the GraphQL type ChangedDnsEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventChangedDnsEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventChangedDnsEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventChangedDnsEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventChangedDnsEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventChangedDnsEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventChangedKeysEvent includes the requested fields of the GraphQL type ChangedKeysEvent. -type EventsInRangeEventsInRangeResultEventEventChangedKeysEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventChangedKeysEvent includes the requested fields of the GraphQL type ChangedKeysEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventChangedKeysEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventChangedKeysEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventChangedKeysEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventChangedKeysEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventChangedKeysEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventChangedManagementProxyEvent includes the requested fields of the GraphQL type ChangedManagementProxyEvent. -type EventsInRangeEventsInRangeResultEventEventChangedManagementProxyEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventChangedManagementProxyEvent includes the requested fields of the GraphQL type ChangedManagementProxyEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventChangedManagementProxyEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventChangedManagementProxyEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventChangedManagementProxyEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventChangedManagementProxyEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventChangedManagementProxyEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventChangedSpawnProxyEvent includes the requested fields of the GraphQL type ChangedSpawnProxyEvent. -type EventsInRangeEventsInRangeResultEventEventChangedSpawnProxyEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventChangedSpawnProxyEvent includes the requested fields of the GraphQL type ChangedSpawnProxyEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventChangedSpawnProxyEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventChangedSpawnProxyEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventChangedSpawnProxyEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventChangedSpawnProxyEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventChangedSpawnProxyEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventChangedTransferProxyEvent includes the requested fields of the GraphQL type ChangedTransferProxyEvent. -type EventsInRangeEventsInRangeResultEventEventChangedTransferProxyEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventChangedTransferProxyEvent includes the requested fields of the GraphQL type ChangedTransferProxyEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventChangedTransferProxyEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventChangedTransferProxyEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventChangedTransferProxyEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventChangedTransferProxyEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventChangedTransferProxyEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventChangedVotingProxyEvent includes the requested fields of the GraphQL type ChangedVotingProxyEvent. -type EventsInRangeEventsInRangeResultEventEventChangedVotingProxyEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventChangedVotingProxyEvent includes the requested fields of the GraphQL type ChangedVotingProxyEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventChangedVotingProxyEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventChangedVotingProxyEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventChangedVotingProxyEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventChangedVotingProxyEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventChangedVotingProxyEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventEscapeAcceptedEvent includes the requested fields of the GraphQL type EscapeAcceptedEvent. -type EventsInRangeEventsInRangeResultEventEventEscapeAcceptedEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventEscapeAcceptedEvent includes the requested fields of the GraphQL type EscapeAcceptedEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventEscapeAcceptedEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventEscapeAcceptedEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventEscapeAcceptedEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventEscapeAcceptedEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventEscapeAcceptedEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventEscapeCanceledEvent includes the requested fields of the GraphQL type EscapeCanceledEvent. -type EventsInRangeEventsInRangeResultEventEventEscapeCanceledEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventEscapeCanceledEvent includes the requested fields of the GraphQL type EscapeCanceledEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventEscapeCanceledEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventEscapeCanceledEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventEscapeCanceledEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventEscapeCanceledEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventEscapeCanceledEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventEscapeRequestedEvent includes the requested fields of the GraphQL type EscapeRequestedEvent. -type EventsInRangeEventsInRangeResultEventEventEscapeRequestedEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventEscapeRequestedEvent includes the requested fields of the GraphQL type EscapeRequestedEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventEscapeRequestedEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventEscapeRequestedEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventEscapeRequestedEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventEscapeRequestedEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventEscapeRequestedEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventLostSponsorEvent includes the requested fields of the GraphQL type LostSponsorEvent. -type EventsInRangeEventsInRangeResultEventEventLostSponsorEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventLostSponsorEvent includes the requested fields of the GraphQL type LostSponsorEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventLostSponsorEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventLostSponsorEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventLostSponsorEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventLostSponsorEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventLostSponsorEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent includes the requested fields of the GraphQL type OwnerChangedEvent. -type EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent includes the requested fields of the GraphQL type OwnerChangedEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent struct { Typename string `json:"__typename"` Point BigInt `json:"point"` Owner string `json:"owner"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent) GetTypename() string { return v.Typename } -// GetPoint returns EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent.Point, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent) GetPoint() BigInt { +// GetPoint returns EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent.Point, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent) GetPoint() BigInt { return v.Point } -// GetOwner returns EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent.Owner, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventOwnerChangedEvent) GetOwner() string { +// GetOwner returns EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent.Owner, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventOwnerChangedEvent) GetOwner() string { return v.Owner } -// EventsInRangeEventsInRangeResultEventEventOwnershipRenouncedEvent includes the requested fields of the GraphQL type OwnershipRenouncedEvent. -type EventsInRangeEventsInRangeResultEventEventOwnershipRenouncedEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipRenouncedEvent includes the requested fields of the GraphQL type OwnershipRenouncedEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipRenouncedEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventOwnershipRenouncedEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventOwnershipRenouncedEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipRenouncedEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipRenouncedEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventOwnershipTransferredEvent includes the requested fields of the GraphQL type OwnershipTransferredEvent. -type EventsInRangeEventsInRangeResultEventEventOwnershipTransferredEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipTransferredEvent includes the requested fields of the GraphQL type OwnershipTransferredEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipTransferredEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventOwnershipTransferredEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventOwnershipTransferredEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipTransferredEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventOwnershipTransferredEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventEventSpawnedEvent includes the requested fields of the GraphQL type SpawnedEvent. -type EventsInRangeEventsInRangeResultEventEventSpawnedEvent struct { +// EventsInRangeAzimuthEventsInRangeResultEventEventSpawnedEvent includes the requested fields of the GraphQL type SpawnedEvent. +type EventsInRangeAzimuthEventsInRangeResultEventEventSpawnedEvent struct { Typename string `json:"__typename"` } -// GetTypename returns EventsInRangeEventsInRangeResultEventEventSpawnedEvent.Typename, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventEventSpawnedEvent) GetTypename() string { +// GetTypename returns EventsInRangeAzimuthEventsInRangeResultEventEventSpawnedEvent.Typename, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventEventSpawnedEvent) GetTypename() string { return v.Typename } -// EventsInRangeEventsInRangeResultEventTxTransaction_ includes the requested fields of the GraphQL type _Transaction_. -type EventsInRangeEventsInRangeResultEventTxTransaction_ struct { +// EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_ includes the requested fields of the GraphQL type _Transaction_. +type EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_ struct { Hash string `json:"hash"` Index int `json:"index"` From string `json:"from"` To string `json:"to"` } -// GetHash returns EventsInRangeEventsInRangeResultEventTxTransaction_.Hash, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventTxTransaction_) GetHash() string { return v.Hash } +// GetHash returns EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_.Hash, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_) GetHash() string { return v.Hash } -// GetIndex returns EventsInRangeEventsInRangeResultEventTxTransaction_.Index, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventTxTransaction_) GetIndex() int { return v.Index } +// GetIndex returns EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_.Index, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_) GetIndex() int { return v.Index } -// GetFrom returns EventsInRangeEventsInRangeResultEventTxTransaction_.From, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventTxTransaction_) GetFrom() string { return v.From } +// GetFrom returns EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_.From, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_) GetFrom() string { return v.From } -// GetTo returns EventsInRangeEventsInRangeResultEventTxTransaction_.To, and is useful for accessing the field via an interface. -func (v *EventsInRangeEventsInRangeResultEventTxTransaction_) GetTo() string { return v.To } +// GetTo returns EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_.To, and is useful for accessing the field via an interface. +func (v *EventsInRangeAzimuthEventsInRangeResultEventTxTransaction_) GetTo() string { return v.To } // EventsInRangeResponse is returned by EventsInRange on success. type EventsInRangeResponse struct { - EventsInRange []EventsInRangeEventsInRangeResultEvent `json:"eventsInRange"` + AzimuthEventsInRange []EventsInRangeAzimuthEventsInRangeResultEvent `json:"azimuthEventsInRange"` } -// GetEventsInRange returns EventsInRangeResponse.EventsInRange, and is useful for accessing the field via an interface. -func (v *EventsInRangeResponse) GetEventsInRange() []EventsInRangeEventsInRangeResultEvent { - return v.EventsInRange +// GetAzimuthEventsInRange returns EventsInRangeResponse.AzimuthEventsInRange, and is useful for accessing the field via an interface. +func (v *EventsInRangeResponse) GetAzimuthEventsInRange() []EventsInRangeAzimuthEventsInRangeResultEvent { + return v.AzimuthEventsInRange } -// GetKeysGetKeysResultGetKeysType includes the requested fields of the GraphQL type ResultGetKeysType. -type GetKeysGetKeysResultGetKeysType struct { - Value GetKeysGetKeysResultGetKeysTypeValueGetKeysType `json:"value"` - Proof GetKeysGetKeysResultGetKeysTypeProof `json:"proof"` +// GetKeysAzimuthGetKeysResultGetKeysType includes the requested fields of the GraphQL type ResultGetKeysType. +type GetKeysAzimuthGetKeysResultGetKeysType struct { + Value GetKeysAzimuthGetKeysResultGetKeysTypeValueGetKeysType `json:"value"` + Proof GetKeysAzimuthGetKeysResultGetKeysTypeProof `json:"proof"` } -// GetValue returns GetKeysGetKeysResultGetKeysType.Value, and is useful for accessing the field via an interface. -func (v *GetKeysGetKeysResultGetKeysType) GetValue() GetKeysGetKeysResultGetKeysTypeValueGetKeysType { +// GetValue returns GetKeysAzimuthGetKeysResultGetKeysType.Value, and is useful for accessing the field via an interface. +func (v *GetKeysAzimuthGetKeysResultGetKeysType) GetValue() GetKeysAzimuthGetKeysResultGetKeysTypeValueGetKeysType { return v.Value } -// GetProof returns GetKeysGetKeysResultGetKeysType.Proof, and is useful for accessing the field via an interface. -func (v *GetKeysGetKeysResultGetKeysType) GetProof() GetKeysGetKeysResultGetKeysTypeProof { +// GetProof returns GetKeysAzimuthGetKeysResultGetKeysType.Proof, and is useful for accessing the field via an interface. +func (v *GetKeysAzimuthGetKeysResultGetKeysType) GetProof() GetKeysAzimuthGetKeysResultGetKeysTypeProof { return v.Proof } -// GetKeysGetKeysResultGetKeysTypeProof includes the requested fields of the GraphQL type Proof. -type GetKeysGetKeysResultGetKeysTypeProof struct { +// GetKeysAzimuthGetKeysResultGetKeysTypeProof includes the requested fields of the GraphQL type Proof. +type GetKeysAzimuthGetKeysResultGetKeysTypeProof struct { Data string `json:"data"` } -// GetData returns GetKeysGetKeysResultGetKeysTypeProof.Data, and is useful for accessing the field via an interface. -func (v *GetKeysGetKeysResultGetKeysTypeProof) GetData() string { return v.Data } +// GetData returns GetKeysAzimuthGetKeysResultGetKeysTypeProof.Data, and is useful for accessing the field via an interface. +func (v *GetKeysAzimuthGetKeysResultGetKeysTypeProof) GetData() string { return v.Data } -// GetKeysGetKeysResultGetKeysTypeValueGetKeysType includes the requested fields of the GraphQL type GetKeysType. -type GetKeysGetKeysResultGetKeysTypeValueGetKeysType struct { +// GetKeysAzimuthGetKeysResultGetKeysTypeValueGetKeysType includes the requested fields of the GraphQL type GetKeysType. +type GetKeysAzimuthGetKeysResultGetKeysTypeValueGetKeysType struct { Value0 string `json:"value0"` Value1 string `json:"value1"` Value2 BigInt `json:"value2"` Value3 BigInt `json:"value3"` } -// GetValue0 returns GetKeysGetKeysResultGetKeysTypeValueGetKeysType.Value0, and is useful for accessing the field via an interface. -func (v *GetKeysGetKeysResultGetKeysTypeValueGetKeysType) GetValue0() string { return v.Value0 } +// GetValue0 returns GetKeysAzimuthGetKeysResultGetKeysTypeValueGetKeysType.Value0, and is useful for accessing the field via an interface. +func (v *GetKeysAzimuthGetKeysResultGetKeysTypeValueGetKeysType) GetValue0() string { return v.Value0 } -// GetValue1 returns GetKeysGetKeysResultGetKeysTypeValueGetKeysType.Value1, and is useful for accessing the field via an interface. -func (v *GetKeysGetKeysResultGetKeysTypeValueGetKeysType) GetValue1() string { return v.Value1 } +// GetValue1 returns GetKeysAzimuthGetKeysResultGetKeysTypeValueGetKeysType.Value1, and is useful for accessing the field via an interface. +func (v *GetKeysAzimuthGetKeysResultGetKeysTypeValueGetKeysType) GetValue1() string { return v.Value1 } -// GetValue2 returns GetKeysGetKeysResultGetKeysTypeValueGetKeysType.Value2, and is useful for accessing the field via an interface. -func (v *GetKeysGetKeysResultGetKeysTypeValueGetKeysType) GetValue2() BigInt { return v.Value2 } +// GetValue2 returns GetKeysAzimuthGetKeysResultGetKeysTypeValueGetKeysType.Value2, and is useful for accessing the field via an interface. +func (v *GetKeysAzimuthGetKeysResultGetKeysTypeValueGetKeysType) GetValue2() BigInt { return v.Value2 } -// GetValue3 returns GetKeysGetKeysResultGetKeysTypeValueGetKeysType.Value3, and is useful for accessing the field via an interface. -func (v *GetKeysGetKeysResultGetKeysTypeValueGetKeysType) GetValue3() BigInt { return v.Value3 } +// GetValue3 returns GetKeysAzimuthGetKeysResultGetKeysTypeValueGetKeysType.Value3, and is useful for accessing the field via an interface. +func (v *GetKeysAzimuthGetKeysResultGetKeysTypeValueGetKeysType) GetValue3() BigInt { return v.Value3 } // GetKeysResponse is returned by GetKeys on success. type GetKeysResponse struct { - GetKeys GetKeysGetKeysResultGetKeysType `json:"getKeys"` + AzimuthGetKeys GetKeysAzimuthGetKeysResultGetKeysType `json:"azimuthGetKeys"` } -// GetGetKeys returns GetKeysResponse.GetKeys, and is useful for accessing the field via an interface. -func (v *GetKeysResponse) GetGetKeys() GetKeysGetKeysResultGetKeysType { return v.GetKeys } +// GetAzimuthGetKeys returns GetKeysResponse.AzimuthGetKeys, and is useful for accessing the field via an interface. +func (v *GetKeysResponse) GetAzimuthGetKeys() GetKeysAzimuthGetKeysResultGetKeysType { + return v.AzimuthGetKeys +} -// GetOwnerGetOwnerResultString includes the requested fields of the GraphQL type ResultString. -type GetOwnerGetOwnerResultString struct { +// GetOwnerAzimuthGetOwnerResultString includes the requested fields of the GraphQL type ResultString. +type GetOwnerAzimuthGetOwnerResultString struct { Value string `json:"value"` } -// GetValue returns GetOwnerGetOwnerResultString.Value, and is useful for accessing the field via an interface. -func (v *GetOwnerGetOwnerResultString) GetValue() string { return v.Value } +// GetValue returns GetOwnerAzimuthGetOwnerResultString.Value, and is useful for accessing the field via an interface. +func (v *GetOwnerAzimuthGetOwnerResultString) GetValue() string { return v.Value } // GetOwnerResponse is returned by GetOwner on success. type GetOwnerResponse struct { - GetOwner GetOwnerGetOwnerResultString `json:"getOwner"` + AzimuthGetOwner GetOwnerAzimuthGetOwnerResultString `json:"azimuthGetOwner"` } -// GetGetOwner returns GetOwnerResponse.GetOwner, and is useful for accessing the field via an interface. -func (v *GetOwnerResponse) GetGetOwner() GetOwnerGetOwnerResultString { return v.GetOwner } +// GetAzimuthGetOwner returns GetOwnerResponse.AzimuthGetOwner, and is useful for accessing the field via an interface. +func (v *GetOwnerResponse) GetAzimuthGetOwner() GetOwnerAzimuthGetOwnerResultString { + return v.AzimuthGetOwner +} -// GetSponsorGetSponsorResultBigInt includes the requested fields of the GraphQL type ResultBigInt. -type GetSponsorGetSponsorResultBigInt struct { +// GetSponsorAzimuthGetSponsorResultBigInt includes the requested fields of the GraphQL type ResultBigInt. +type GetSponsorAzimuthGetSponsorResultBigInt struct { Value BigInt `json:"value"` } -// GetValue returns GetSponsorGetSponsorResultBigInt.Value, and is useful for accessing the field via an interface. -func (v *GetSponsorGetSponsorResultBigInt) GetValue() BigInt { return v.Value } +// GetValue returns GetSponsorAzimuthGetSponsorResultBigInt.Value, and is useful for accessing the field via an interface. +func (v *GetSponsorAzimuthGetSponsorResultBigInt) GetValue() BigInt { return v.Value } // GetSponsorResponse is returned by GetSponsor on success. type GetSponsorResponse struct { - GetSponsor GetSponsorGetSponsorResultBigInt `json:"getSponsor"` + AzimuthGetSponsor GetSponsorAzimuthGetSponsorResultBigInt `json:"azimuthGetSponsor"` } -// GetGetSponsor returns GetSponsorResponse.GetSponsor, and is useful for accessing the field via an interface. -func (v *GetSponsorResponse) GetGetSponsor() GetSponsorGetSponsorResultBigInt { return v.GetSponsor } +// GetAzimuthGetSponsor returns GetSponsorResponse.AzimuthGetSponsor, and is useful for accessing the field via an interface. +func (v *GetSponsorResponse) GetAzimuthGetSponsor() GetSponsorAzimuthGetSponsorResultBigInt { + return v.AzimuthGetSponsor +} -// GetSponsoringGetSponsoringResultBigIntArray includes the requested fields of the GraphQL type ResultBigIntArray. -type GetSponsoringGetSponsoringResultBigIntArray struct { +// GetSponsoringAzimuthGetSponsoringResultBigIntArray includes the requested fields of the GraphQL type ResultBigIntArray. +type GetSponsoringAzimuthGetSponsoringResultBigIntArray struct { Value []BigInt `json:"value"` } -// GetValue returns GetSponsoringGetSponsoringResultBigIntArray.Value, and is useful for accessing the field via an interface. -func (v *GetSponsoringGetSponsoringResultBigIntArray) GetValue() []BigInt { return v.Value } +// GetValue returns GetSponsoringAzimuthGetSponsoringResultBigIntArray.Value, and is useful for accessing the field via an interface. +func (v *GetSponsoringAzimuthGetSponsoringResultBigIntArray) GetValue() []BigInt { return v.Value } // GetSponsoringResponse is returned by GetSponsoring on success. type GetSponsoringResponse struct { - GetSponsoring GetSponsoringGetSponsoringResultBigIntArray `json:"getSponsoring"` + AzimuthGetSponsoring GetSponsoringAzimuthGetSponsoringResultBigIntArray `json:"azimuthGetSponsoring"` } -// GetGetSponsoring returns GetSponsoringResponse.GetSponsoring, and is useful for accessing the field via an interface. -func (v *GetSponsoringResponse) GetGetSponsoring() GetSponsoringGetSponsoringResultBigIntArray { - return v.GetSponsoring +// GetAzimuthGetSponsoring returns GetSponsoringResponse.AzimuthGetSponsoring, and is useful for accessing the field via an interface. +func (v *GetSponsoringResponse) GetAzimuthGetSponsoring() GetSponsoringAzimuthGetSponsoringResultBigIntArray { + return v.AzimuthGetSponsoring } -// GetSyncStatusGetSyncStatus includes the requested fields of the GraphQL type SyncStatus. -type GetSyncStatusGetSyncStatus struct { +// GetSyncStatusAzimuthGetSyncStatus includes the requested fields of the GraphQL type SyncStatus. +type GetSyncStatusAzimuthGetSyncStatus struct { LatestProcessedBlockHash string `json:"latestProcessedBlockHash"` LatestProcessedBlockNumber int `json:"latestProcessedBlockNumber"` } -// GetLatestProcessedBlockHash returns GetSyncStatusGetSyncStatus.LatestProcessedBlockHash, and is useful for accessing the field via an interface. -func (v *GetSyncStatusGetSyncStatus) GetLatestProcessedBlockHash() string { +// GetLatestProcessedBlockHash returns GetSyncStatusAzimuthGetSyncStatus.LatestProcessedBlockHash, and is useful for accessing the field via an interface. +func (v *GetSyncStatusAzimuthGetSyncStatus) GetLatestProcessedBlockHash() string { return v.LatestProcessedBlockHash } -// GetLatestProcessedBlockNumber returns GetSyncStatusGetSyncStatus.LatestProcessedBlockNumber, and is useful for accessing the field via an interface. -func (v *GetSyncStatusGetSyncStatus) GetLatestProcessedBlockNumber() int { +// GetLatestProcessedBlockNumber returns GetSyncStatusAzimuthGetSyncStatus.LatestProcessedBlockNumber, and is useful for accessing the field via an interface. +func (v *GetSyncStatusAzimuthGetSyncStatus) GetLatestProcessedBlockNumber() int { return v.LatestProcessedBlockNumber } // GetSyncStatusResponse is returned by GetSyncStatus on success. type GetSyncStatusResponse struct { - GetSyncStatus GetSyncStatusGetSyncStatus `json:"getSyncStatus"` + AzimuthGetSyncStatus GetSyncStatusAzimuthGetSyncStatus `json:"azimuthGetSyncStatus"` } -// GetGetSyncStatus returns GetSyncStatusResponse.GetSyncStatus, and is useful for accessing the field via an interface. -func (v *GetSyncStatusResponse) GetGetSyncStatus() GetSyncStatusGetSyncStatus { return v.GetSyncStatus } +// GetAzimuthGetSyncStatus returns GetSyncStatusResponse.AzimuthGetSyncStatus, and is useful for accessing the field via an interface. +func (v *GetSyncStatusResponse) GetAzimuthGetSyncStatus() GetSyncStatusAzimuthGetSyncStatus { + return v.AzimuthGetSyncStatus +} -// HasSponsorHasSponsorResultBoolean includes the requested fields of the GraphQL type ResultBoolean. -type HasSponsorHasSponsorResultBoolean struct { +// HasSponsorAzimuthHasSponsorResultBoolean includes the requested fields of the GraphQL type ResultBoolean. +type HasSponsorAzimuthHasSponsorResultBoolean struct { Value bool `json:"value"` } -// GetValue returns HasSponsorHasSponsorResultBoolean.Value, and is useful for accessing the field via an interface. -func (v *HasSponsorHasSponsorResultBoolean) GetValue() bool { return v.Value } +// GetValue returns HasSponsorAzimuthHasSponsorResultBoolean.Value, and is useful for accessing the field via an interface. +func (v *HasSponsorAzimuthHasSponsorResultBoolean) GetValue() bool { return v.Value } // HasSponsorResponse is returned by HasSponsor on success. type HasSponsorResponse struct { - HasSponsor HasSponsorHasSponsorResultBoolean `json:"hasSponsor"` + AzimuthHasSponsor HasSponsorAzimuthHasSponsorResultBoolean `json:"azimuthHasSponsor"` } -// GetHasSponsor returns HasSponsorResponse.HasSponsor, and is useful for accessing the field via an interface. -func (v *HasSponsorResponse) GetHasSponsor() HasSponsorHasSponsorResultBoolean { return v.HasSponsor } +// GetAzimuthHasSponsor returns HasSponsorResponse.AzimuthHasSponsor, and is useful for accessing the field via an interface. +func (v *HasSponsorResponse) GetAzimuthHasSponsor() HasSponsorAzimuthHasSponsorResultBoolean { + return v.AzimuthHasSponsor +} -// IsActiveIsActiveResultBoolean includes the requested fields of the GraphQL type ResultBoolean. -type IsActiveIsActiveResultBoolean struct { +// IsActiveAzimuthIsActiveResultBoolean includes the requested fields of the GraphQL type ResultBoolean. +type IsActiveAzimuthIsActiveResultBoolean struct { Value bool `json:"value"` } -// GetValue returns IsActiveIsActiveResultBoolean.Value, and is useful for accessing the field via an interface. -func (v *IsActiveIsActiveResultBoolean) GetValue() bool { return v.Value } +// GetValue returns IsActiveAzimuthIsActiveResultBoolean.Value, and is useful for accessing the field via an interface. +func (v *IsActiveAzimuthIsActiveResultBoolean) GetValue() bool { return v.Value } // IsActiveResponse is returned by IsActive on success. type IsActiveResponse struct { - IsActive IsActiveIsActiveResultBoolean `json:"isActive"` + AzimuthIsActive IsActiveAzimuthIsActiveResultBoolean `json:"azimuthIsActive"` } -// GetIsActive returns IsActiveResponse.IsActive, and is useful for accessing the field via an interface. -func (v *IsActiveResponse) GetIsActive() IsActiveIsActiveResultBoolean { return v.IsActive } +// GetAzimuthIsActive returns IsActiveResponse.AzimuthIsActive, and is useful for accessing the field via an interface. +func (v *IsActiveResponse) GetAzimuthIsActive() IsActiveAzimuthIsActiveResultBoolean { + return v.AzimuthIsActive +} // __EventsInRangeInput is used internally by genqlient type __EventsInRangeInput struct { @@ -864,7 +876,7 @@ func (v *__IsActiveInput) GetPoint() BigInt { return v.Point } // The query executed by EventsInRange. const EventsInRange_Operation = ` query EventsInRange ($fromBlockNumber: Int!, $toBlockNumber: Int!, $name: String) { - eventsInRange(fromBlockNumber: $fromBlockNumber, toBlockNumber: $toBlockNumber, name: $name) { + azimuthEventsInRange(fromBlockNumber: $fromBlockNumber, toBlockNumber: $toBlockNumber, name: $name) { block { hash number @@ -919,7 +931,7 @@ func EventsInRange( // The query executed by GetKeys. const GetKeys_Operation = ` query GetKeys ($blockHash: String!, $contractAddress: String!, $_point: BigInt!) { - getKeys(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { + azimuthGetKeys(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { value { value0 value1 @@ -965,7 +977,7 @@ func GetKeys( // The query executed by GetOwner. const GetOwner_Operation = ` query GetOwner ($blockHash: String!, $contractAddress: String!, $_point: BigInt!) { - getOwner(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { + azimuthGetOwner(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { value } } @@ -1003,7 +1015,7 @@ func GetOwner( // The query executed by GetSponsor. const GetSponsor_Operation = ` query GetSponsor ($point: BigInt!, $blockHash: String!, $contractAddress: String!) { - getSponsor(blockHash: $blockHash, contractAddress: $contractAddress, _point: $point) { + azimuthGetSponsor(blockHash: $blockHash, contractAddress: $contractAddress, _point: $point) { value } } @@ -1041,7 +1053,7 @@ func GetSponsor( // The query executed by GetSponsoring. const GetSponsoring_Operation = ` query GetSponsoring ($sponsor: BigInt!, $blockHash: String!, $contractAddress: String!) { - getSponsoring(blockHash: $blockHash, contractAddress: $contractAddress, _sponsor: $sponsor) { + azimuthGetSponsoring(blockHash: $blockHash, contractAddress: $contractAddress, _sponsor: $sponsor) { value } } @@ -1079,7 +1091,7 @@ func GetSponsoring( // The query executed by GetSyncStatus. const GetSyncStatus_Operation = ` query GetSyncStatus { - getSyncStatus { + azimuthGetSyncStatus { latestProcessedBlockHash latestProcessedBlockNumber } @@ -1110,7 +1122,7 @@ func GetSyncStatus( // The query executed by HasSponsor. const HasSponsor_Operation = ` query HasSponsor ($blockHash: String!, $contractAddress: String!, $_point: BigInt!) { - hasSponsor(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { + azimuthHasSponsor(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { value } } @@ -1148,7 +1160,7 @@ func HasSponsor( // The query executed by IsActive. const IsActive_Operation = ` query IsActive ($blockHash: String!, $contractAddress: String!, $_point: BigInt!) { - isActive(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { + azimuthIsActive(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { value } } diff --git a/queries.graphql b/queries.graphql index d2a1f41..fb34cda 100644 --- a/queries.graphql +++ b/queries.graphql @@ -1,14 +1,14 @@ # GraphQL queries for azimuth-client-go query GetSyncStatus { - getSyncStatus { + azimuthGetSyncStatus { latestProcessedBlockHash latestProcessedBlockNumber } } query EventsInRange($fromBlockNumber: Int!, $toBlockNumber: Int!, $name: String) { - eventsInRange(fromBlockNumber: $fromBlockNumber, toBlockNumber: $toBlockNumber, name: $name) { + azimuthEventsInRange(fromBlockNumber: $fromBlockNumber, toBlockNumber: $toBlockNumber, name: $name) { block { hash number @@ -31,25 +31,25 @@ query EventsInRange($fromBlockNumber: Int!, $toBlockNumber: Int!, $name: String) } query GetOwner($blockHash: String!, $contractAddress: String!, $_point: BigInt!) { - getOwner(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { + azimuthGetOwner(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { value } } query GetSponsoring($sponsor: BigInt!, $blockHash: String!, $contractAddress: String!) { - getSponsoring(blockHash: $blockHash, contractAddress: $contractAddress, _sponsor: $sponsor) { + azimuthGetSponsoring(blockHash: $blockHash, contractAddress: $contractAddress, _sponsor: $sponsor) { value } } query GetSponsor($point: BigInt!, $blockHash: String!, $contractAddress: String!) { - getSponsor(blockHash: $blockHash, contractAddress: $contractAddress, _point: $point) { + azimuthGetSponsor(blockHash: $blockHash, contractAddress: $contractAddress, _point: $point) { value } } query GetKeys($blockHash: String!, $contractAddress: String!, $_point: BigInt!) { - getKeys(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { + azimuthGetKeys(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { value { value0 value1 @@ -63,13 +63,13 @@ query GetKeys($blockHash: String!, $contractAddress: String!, $_point: BigInt!) } query IsActive($blockHash: String!, $contractAddress: String!, $_point: BigInt!) { - isActive(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { + azimuthIsActive(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { value } } query HasSponsor($blockHash: String!, $contractAddress: String!, $_point: BigInt!) { - hasSponsor(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { + azimuthHasSponsor(blockHash: $blockHash, contractAddress: $contractAddress, _point: $_point) { value } -} \ No newline at end of file +} diff --git a/schema.graphql b/schema.graphql index bcee8a2..5766da5 100644 --- a/schema.graphql +++ b/schema.graphql @@ -175,55 +175,55 @@ type SyncStatus { } type Query { - events(blockHash: String!, contractAddress: String!, name: String): [ResultEvent!] - eventsInRange(fromBlockNumber: Int!, toBlockNumber: Int!, name: String): [ResultEvent!] - isActive(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBoolean! - getKeys(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultGetKeysType! - getKeyRevisionNumber(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBigInt! - hasBeenLinked(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBoolean! - isLive(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBoolean! - getContinuityNumber(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBigInt! - getSpawnCount(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBigInt! - getSpawned(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBigIntArray! - hasSponsor(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBoolean! - getSponsor(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBigInt! - isSponsor(blockHash: String!, contractAddress: String!, _point: BigInt!, _sponsor: BigInt!): ResultBoolean! - getSponsoringCount(blockHash: String!, contractAddress: String!, _sponsor: BigInt!): ResultBigInt! - getSponsoring(blockHash: String!, contractAddress: String!, _sponsor: BigInt!): ResultBigIntArray! - isEscaping(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBoolean! - getEscapeRequest(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBigInt! - isRequestingEscapeTo(blockHash: String!, contractAddress: String!, _point: BigInt!, _sponsor: BigInt!): ResultBoolean! - getEscapeRequestsCount(blockHash: String!, contractAddress: String!, _sponsor: BigInt!): ResultBigInt! - getEscapeRequests(blockHash: String!, contractAddress: String!, _sponsor: BigInt!): ResultBigIntArray! - getOwner(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultString! - isOwner(blockHash: String!, contractAddress: String!, _point: BigInt!, _address: String!): ResultBoolean! - getOwnedPointCount(blockHash: String!, contractAddress: String!, _whose: String!): ResultBigInt! - getOwnedPoints(blockHash: String!, contractAddress: String!, _whose: String!): ResultBigIntArray! - getOwnedPointAtIndex(blockHash: String!, contractAddress: String!, _whose: String!, _index: BigInt!): ResultBigInt! - getManagementProxy(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultString! - isManagementProxy(blockHash: String!, contractAddress: String!, _point: BigInt!, _proxy: String!): ResultBoolean! - canManage(blockHash: String!, contractAddress: String!, _point: BigInt!, _who: String!): ResultBoolean! - getManagerForCount(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigInt! - getManagerFor(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigIntArray! - getSpawnProxy(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultString! - isSpawnProxy(blockHash: String!, contractAddress: String!, _point: BigInt!, _proxy: String!): ResultBoolean! - canSpawnAs(blockHash: String!, contractAddress: String!, _point: BigInt!, _who: String!): ResultBoolean! - getSpawningForCount(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigInt! - getSpawningFor(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigIntArray! - getVotingProxy(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultString! - isVotingProxy(blockHash: String!, contractAddress: String!, _point: BigInt!, _proxy: String!): ResultBoolean! - canVoteAs(blockHash: String!, contractAddress: String!, _point: BigInt!, _who: String!): ResultBoolean! - getVotingForCount(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigInt! - getVotingFor(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigIntArray! - getTransferProxy(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultString! - isTransferProxy(blockHash: String!, contractAddress: String!, _point: BigInt!, _proxy: String!): ResultBoolean! - canTransfer(blockHash: String!, contractAddress: String!, _point: BigInt!, _who: String!): ResultBoolean! - getTransferringForCount(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigInt! - getTransferringFor(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigIntArray! - isOperator(blockHash: String!, contractAddress: String!, _owner: String!, _operator: String!): ResultBoolean! - getStateByCID(cid: String!): ResultState - getState(blockHash: String!, contractAddress: String!, kind: String): ResultState - getSyncStatus: SyncStatus + azimuthEvents(blockHash: String!, contractAddress: String!, name: String): [ResultEvent!] + azimuthEventsInRange(fromBlockNumber: Int!, toBlockNumber: Int!, name: String): [ResultEvent!] + azimuthIsActive(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBoolean! + azimuthGetKeys(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultGetKeysType! + azimuthGetKeyRevisionNumber(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBigInt! + azimuthHasBeenLinked(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBoolean! + azimuthIsLive(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBoolean! + azimuthGetContinuityNumber(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBigInt! + azimuthGetSpawnCount(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBigInt! + azimuthGetSpawned(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBigIntArray! + azimuthHasSponsor(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBoolean! + azimuthGetSponsor(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBigInt! + azimuthIsSponsor(blockHash: String!, contractAddress: String!, _point: BigInt!, _sponsor: BigInt!): ResultBoolean! + azimuthGetSponsoringCount(blockHash: String!, contractAddress: String!, _sponsor: BigInt!): ResultBigInt! + azimuthGetSponsoring(blockHash: String!, contractAddress: String!, _sponsor: BigInt!): ResultBigIntArray! + azimuthIsEscaping(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBoolean! + azimuthGetEscapeRequest(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultBigInt! + azimuthIsRequestingEscapeTo(blockHash: String!, contractAddress: String!, _point: BigInt!, _sponsor: BigInt!): ResultBoolean! + azimuthGetEscapeRequestsCount(blockHash: String!, contractAddress: String!, _sponsor: BigInt!): ResultBigInt! + azimuthGetEscapeRequests(blockHash: String!, contractAddress: String!, _sponsor: BigInt!): ResultBigIntArray! + azimuthGetOwner(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultString! + azimuthIsOwner(blockHash: String!, contractAddress: String!, _point: BigInt!, _address: String!): ResultBoolean! + azimuthGetOwnedPointCount(blockHash: String!, contractAddress: String!, _whose: String!): ResultBigInt! + azimuthGetOwnedPoints(blockHash: String!, contractAddress: String!, _whose: String!): ResultBigIntArray! + azimuthGetOwnedPointAtIndex(blockHash: String!, contractAddress: String!, _whose: String!, _index: BigInt!): ResultBigInt! + azimuthGetManagementProxy(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultString! + azimuthIsManagementProxy(blockHash: String!, contractAddress: String!, _point: BigInt!, _proxy: String!): ResultBoolean! + azimuthCanManage(blockHash: String!, contractAddress: String!, _point: BigInt!, _who: String!): ResultBoolean! + azimuthGetManagerForCount(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigInt! + azimuthGetManagerFor(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigIntArray! + azimuthGetSpawnProxy(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultString! + azimuthIsSpawnProxy(blockHash: String!, contractAddress: String!, _point: BigInt!, _proxy: String!): ResultBoolean! + azimuthCanSpawnAs(blockHash: String!, contractAddress: String!, _point: BigInt!, _who: String!): ResultBoolean! + azimuthGetSpawningForCount(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigInt! + azimuthGetSpawningFor(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigIntArray! + azimuthGetVotingProxy(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultString! + azimuthIsVotingProxy(blockHash: String!, contractAddress: String!, _point: BigInt!, _proxy: String!): ResultBoolean! + azimuthCanVoteAs(blockHash: String!, contractAddress: String!, _point: BigInt!, _who: String!): ResultBoolean! + azimuthGetVotingForCount(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigInt! + azimuthGetVotingFor(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigIntArray! + azimuthGetTransferProxy(blockHash: String!, contractAddress: String!, _point: BigInt!): ResultString! + azimuthIsTransferProxy(blockHash: String!, contractAddress: String!, _point: BigInt!, _proxy: String!): ResultBoolean! + azimuthCanTransfer(blockHash: String!, contractAddress: String!, _point: BigInt!, _who: String!): ResultBoolean! + azimuthGetTransferringForCount(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigInt! + azimuthGetTransferringFor(blockHash: String!, contractAddress: String!, _proxy: String!): ResultBigIntArray! + azimuthIsOperator(blockHash: String!, contractAddress: String!, _owner: String!, _operator: String!): ResultBoolean! + azimuthGetStateByCID(cid: String!): ResultState + azimuthGetState(blockHash: String!, contractAddress: String!, kind: String): ResultState + azimuthGetSyncStatus: SyncStatus } type Mutation {