synapsecns/sanguine

View on GitHub
services/explorer/graphql/server/graph/resolver/server.go

Summary

Maintainability
F
3 mos
Test Coverage
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.

package resolvers

import (
    "bytes"
    "context"
    "errors"
    "fmt"
    "strconv"
    "sync"
    "sync/atomic"

    "github.com/99designs/gqlgen/graphql"
    "github.com/99designs/gqlgen/graphql/introspection"
    "github.com/synapsecns/sanguine/services/explorer/graphql/server/graph/model"
    gqlparser "github.com/vektah/gqlparser/v2"
    "github.com/vektah/gqlparser/v2/ast"
)

// region    ************************** generated!.gotpl **************************

// NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema {
    return &executableSchema{
        resolvers:  cfg.Resolvers,
        directives: cfg.Directives,
        complexity: cfg.Complexity,
    }
}

type Config struct {
    Resolvers  ResolverRoot
    Directives DirectiveRoot
    Complexity ComplexityRoot
}

type ResolverRoot interface {
    Query() QueryResolver
}

type DirectiveRoot struct {
}

type ComplexityRoot struct {
    AddressChainRanking struct {
        ChainID   func(childComplexity int) int
        Rank      func(childComplexity int) int
        VolumeUsd func(childComplexity int) int
    }

    AddressDailyCount struct {
        Count func(childComplexity int) int
        Date  func(childComplexity int) int
    }

    AddressData struct {
        BridgeFees   func(childComplexity int) int
        BridgeTxs    func(childComplexity int) int
        BridgeVolume func(childComplexity int) int
        ChainRanking func(childComplexity int) int
        DailyData    func(childComplexity int) int
        EarliestTx   func(childComplexity int) int
        Rank         func(childComplexity int) int
        SwapFees     func(childComplexity int) int
        SwapTxs      func(childComplexity int) int
        SwapVolume   func(childComplexity int) int
    }

    AddressRanking struct {
        Address func(childComplexity int) int
        Count   func(childComplexity int) int
    }

    BlockHeight struct {
        BlockNumber func(childComplexity int) int
        ChainID     func(childComplexity int) int
        Type        func(childComplexity int) int
    }

    BridgeTransaction struct {
        BridgeModule func(childComplexity int) int
        FromInfo     func(childComplexity int) int
        Kappa        func(childComplexity int) int
        Pending      func(childComplexity int) int
        SwapSuccess  func(childComplexity int) int
        ToInfo       func(childComplexity int) int
    }

    BridgeWatcherTx struct {
        BridgeModule func(childComplexity int) int
        BridgeTx     func(childComplexity int) int
        Kappa        func(childComplexity int) int
        KappaStatus  func(childComplexity int) int
        Pending      func(childComplexity int) int
        Type         func(childComplexity int) int
    }

    DateResult struct {
        Date  func(childComplexity int) int
        Total func(childComplexity int) int
    }

    DateResultByChain struct {
        Arbitrum   func(childComplexity int) int
        Aurora     func(childComplexity int) int
        Avalanche  func(childComplexity int) int
        Base       func(childComplexity int) int
        Blast      func(childComplexity int) int
        Boba       func(childComplexity int) int
        Bsc        func(childComplexity int) int
        Canto      func(childComplexity int) int
        Cronos     func(childComplexity int) int
        Date       func(childComplexity int) int
        Dfk        func(childComplexity int) int
        Dogechain  func(childComplexity int) int
        Ethereum   func(childComplexity int) int
        Fantom     func(childComplexity int) int
        Harmony    func(childComplexity int) int
        Klaytn     func(childComplexity int) int
        Linea      func(childComplexity int) int
        Metis      func(childComplexity int) int
        Moonbeam   func(childComplexity int) int
        Moonriver  func(childComplexity int) int
        Optimism   func(childComplexity int) int
        Polygon    func(childComplexity int) int
        Scroll     func(childComplexity int) int
        Total      func(childComplexity int) int
        Worldchain func(childComplexity int) int
    }

    HeroType struct {
        HeroID    func(childComplexity int) int
        Recipient func(childComplexity int) int
    }

    HistoricalResult struct {
        DateResults func(childComplexity int) int
        Total       func(childComplexity int) int
        Type        func(childComplexity int) int
    }

    Leaderboard struct {
        Address      func(childComplexity int) int
        AvgVolumeUsd func(childComplexity int) int
        Fees         func(childComplexity int) int
        Rank         func(childComplexity int) int
        Txs          func(childComplexity int) int
        VolumeUsd    func(childComplexity int) int
    }

    MessageBusTransaction struct {
        FromInfo  func(childComplexity int) int
        MessageID func(childComplexity int) int
        Pending   func(childComplexity int) int
        ToInfo    func(childComplexity int) int
    }

    PartialInfo struct {
        Address            func(childComplexity int) int
        BlockNumber        func(childComplexity int) int
        ChainID            func(childComplexity int) int
        DestinationChainID func(childComplexity int) int
        EventType          func(childComplexity int) int
        FormattedEventType func(childComplexity int) int
        FormattedTime      func(childComplexity int) int
        FormattedValue     func(childComplexity int) int
        Time               func(childComplexity int) int
        TokenAddress       func(childComplexity int) int
        TokenSymbol        func(childComplexity int) int
        TxnHash            func(childComplexity int) int
        USDValue           func(childComplexity int) int
        Value              func(childComplexity int) int
    }

    PartialMessageBusInfo struct {
        BlockNumber          func(childComplexity int) int
        ChainID              func(childComplexity int) int
        ChainName            func(childComplexity int) int
        ContractAddress      func(childComplexity int) int
        DestinationChainID   func(childComplexity int) int
        DestinationChainName func(childComplexity int) int
        FormattedTime        func(childComplexity int) int
        Message              func(childComplexity int) int
        MessageType          func(childComplexity int) int
        RevertedReason       func(childComplexity int) int
        Time                 func(childComplexity int) int
        TxnHash              func(childComplexity int) int
    }

    PetType struct {
        Name      func(childComplexity int) int
        PetID     func(childComplexity int) int
        Recipient func(childComplexity int) int
    }

    Query struct {
        AddressData            func(childComplexity int, address string) int
        AddressRanking         func(childComplexity int, hours *int) int
        AmountStatistic        func(childComplexity int, typeArg model.StatisticType, duration *model.Duration, platform *model.Platform, chainID *int, address *string, tokenAddress *string, useCache *bool, useMv *bool) int
        BridgeTransactions     func(childComplexity int, chainIDFrom []*int, chainIDTo []*int, addressFrom *string, addressTo *string, maxAmount *int, minAmount *int, maxAmountUsd *int, minAmountUsd *int, startTime *int, endTime *int, txnHash *string, kappa *string, pending *bool, useMv *bool, page *int, tokenAddressFrom []*string, tokenAddressTo []*string, onlyCctp *bool) int
        CountByChainID         func(childComplexity int, chainID *int, address *string, direction *model.Direction, hours *int) int
        CountByTokenAddress    func(childComplexity int, chainID *int, address *string, direction *model.Direction, hours *int) int
        DailyStatisticsByChain func(childComplexity int, chainID *int, typeArg *model.DailyStatisticType, platform *model.Platform, duration *model.Duration, useCache *bool, useMv *bool) int
        GetBlockHeight         func(childComplexity int, contracts []*model.ContractQuery) int
        GetDestinationBridgeTx func(childComplexity int, chainID int, address string, kappa string, timestamp int, bridgeType model.BridgeType, historical *bool) int
        GetOriginBridgeTx      func(childComplexity int, chainID int, txnHash string, bridgeType model.BridgeType) int
        Leaderboard            func(childComplexity int, duration *model.Duration, chainID *int, useMv *bool, page *int) int
        MessageBusTransactions func(childComplexity int, chainID []*int, contractAddress *string, startTime *int, endTime *int, txnHash *string, messageID *string, pending *bool, reverted *bool, page *int) int
        RankedChainIDsByVolume func(childComplexity int, duration *model.Duration, useCache *bool) int
    }

    TearType struct {
        Amount    func(childComplexity int) int
        Recipient func(childComplexity int) int
    }

    TokenCountResult struct {
        ChainID      func(childComplexity int) int
        Count        func(childComplexity int) int
        TokenAddress func(childComplexity int) int
    }

    TransactionCountResult struct {
        ChainID func(childComplexity int) int
        Count   func(childComplexity int) int
    }

    UnknownType struct {
        Known func(childComplexity int) int
    }

    ValueResult struct {
        Value func(childComplexity int) int
    }

    VolumeByChainID struct {
        ChainID func(childComplexity int) int
        Total   func(childComplexity int) int
    }
}

type QueryResolver interface {
    BridgeTransactions(ctx context.Context, chainIDFrom []*int, chainIDTo []*int, addressFrom *string, addressTo *string, maxAmount *int, minAmount *int, maxAmountUsd *int, minAmountUsd *int, startTime *int, endTime *int, txnHash *string, kappa *string, pending *bool, useMv *bool, page *int, tokenAddressFrom []*string, tokenAddressTo []*string, onlyCctp *bool) ([]*model.BridgeTransaction, error)
    MessageBusTransactions(ctx context.Context, chainID []*int, contractAddress *string, startTime *int, endTime *int, txnHash *string, messageID *string, pending *bool, reverted *bool, page *int) ([]*model.MessageBusTransaction, error)
    CountByChainID(ctx context.Context, chainID *int, address *string, direction *model.Direction, hours *int) ([]*model.TransactionCountResult, error)
    CountByTokenAddress(ctx context.Context, chainID *int, address *string, direction *model.Direction, hours *int) ([]*model.TokenCountResult, error)
    AddressRanking(ctx context.Context, hours *int) ([]*model.AddressRanking, error)
    AmountStatistic(ctx context.Context, typeArg model.StatisticType, duration *model.Duration, platform *model.Platform, chainID *int, address *string, tokenAddress *string, useCache *bool, useMv *bool) (*model.ValueResult, error)
    DailyStatisticsByChain(ctx context.Context, chainID *int, typeArg *model.DailyStatisticType, platform *model.Platform, duration *model.Duration, useCache *bool, useMv *bool) ([]*model.DateResultByChain, error)
    RankedChainIDsByVolume(ctx context.Context, duration *model.Duration, useCache *bool) ([]*model.VolumeByChainID, error)
    AddressData(ctx context.Context, address string) (*model.AddressData, error)
    Leaderboard(ctx context.Context, duration *model.Duration, chainID *int, useMv *bool, page *int) ([]*model.Leaderboard, error)
    GetOriginBridgeTx(ctx context.Context, chainID int, txnHash string, bridgeType model.BridgeType) (*model.BridgeWatcherTx, error)
    GetDestinationBridgeTx(ctx context.Context, chainID int, address string, kappa string, timestamp int, bridgeType model.BridgeType, historical *bool) (*model.BridgeWatcherTx, error)
    GetBlockHeight(ctx context.Context, contracts []*model.ContractQuery) ([]*model.BlockHeight, error)
}

type executableSchema struct {
    resolvers  ResolverRoot
    directives DirectiveRoot
    complexity ComplexityRoot
}

func (e *executableSchema) Schema() *ast.Schema {
    return parsedSchema
}

func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) {
    ec := executionContext{nil, e, 0, 0, nil}
    _ = ec
    switch typeName + "." + field {

    case "AddressChainRanking.chainID":
        if e.complexity.AddressChainRanking.ChainID == nil {
            break
        }

        return e.complexity.AddressChainRanking.ChainID(childComplexity), true

    case "AddressChainRanking.rank":
        if e.complexity.AddressChainRanking.Rank == nil {
            break
        }

        return e.complexity.AddressChainRanking.Rank(childComplexity), true

    case "AddressChainRanking.volumeUsd":
        if e.complexity.AddressChainRanking.VolumeUsd == nil {
            break
        }

        return e.complexity.AddressChainRanking.VolumeUsd(childComplexity), true

    case "AddressDailyCount.count":
        if e.complexity.AddressDailyCount.Count == nil {
            break
        }

        return e.complexity.AddressDailyCount.Count(childComplexity), true

    case "AddressDailyCount.date":
        if e.complexity.AddressDailyCount.Date == nil {
            break
        }

        return e.complexity.AddressDailyCount.Date(childComplexity), true

    case "AddressData.bridgeFees":
        if e.complexity.AddressData.BridgeFees == nil {
            break
        }

        return e.complexity.AddressData.BridgeFees(childComplexity), true

    case "AddressData.bridgeTxs":
        if e.complexity.AddressData.BridgeTxs == nil {
            break
        }

        return e.complexity.AddressData.BridgeTxs(childComplexity), true

    case "AddressData.bridgeVolume":
        if e.complexity.AddressData.BridgeVolume == nil {
            break
        }

        return e.complexity.AddressData.BridgeVolume(childComplexity), true

    case "AddressData.chainRanking":
        if e.complexity.AddressData.ChainRanking == nil {
            break
        }

        return e.complexity.AddressData.ChainRanking(childComplexity), true

    case "AddressData.dailyData":
        if e.complexity.AddressData.DailyData == nil {
            break
        }

        return e.complexity.AddressData.DailyData(childComplexity), true

    case "AddressData.earliestTx":
        if e.complexity.AddressData.EarliestTx == nil {
            break
        }

        return e.complexity.AddressData.EarliestTx(childComplexity), true

    case "AddressData.rank":
        if e.complexity.AddressData.Rank == nil {
            break
        }

        return e.complexity.AddressData.Rank(childComplexity), true

    case "AddressData.swapFees":
        if e.complexity.AddressData.SwapFees == nil {
            break
        }

        return e.complexity.AddressData.SwapFees(childComplexity), true

    case "AddressData.swapTxs":
        if e.complexity.AddressData.SwapTxs == nil {
            break
        }

        return e.complexity.AddressData.SwapTxs(childComplexity), true

    case "AddressData.swapVolume":
        if e.complexity.AddressData.SwapVolume == nil {
            break
        }

        return e.complexity.AddressData.SwapVolume(childComplexity), true

    case "AddressRanking.address":
        if e.complexity.AddressRanking.Address == nil {
            break
        }

        return e.complexity.AddressRanking.Address(childComplexity), true

    case "AddressRanking.count":
        if e.complexity.AddressRanking.Count == nil {
            break
        }

        return e.complexity.AddressRanking.Count(childComplexity), true

    case "BlockHeight.blockNumber":
        if e.complexity.BlockHeight.BlockNumber == nil {
            break
        }

        return e.complexity.BlockHeight.BlockNumber(childComplexity), true

    case "BlockHeight.chainID":
        if e.complexity.BlockHeight.ChainID == nil {
            break
        }

        return e.complexity.BlockHeight.ChainID(childComplexity), true

    case "BlockHeight.type":
        if e.complexity.BlockHeight.Type == nil {
            break
        }

        return e.complexity.BlockHeight.Type(childComplexity), true

    case "BridgeTransaction.bridgeModule":
        if e.complexity.BridgeTransaction.BridgeModule == nil {
            break
        }

        return e.complexity.BridgeTransaction.BridgeModule(childComplexity), true

    case "BridgeTransaction.fromInfo":
        if e.complexity.BridgeTransaction.FromInfo == nil {
            break
        }

        return e.complexity.BridgeTransaction.FromInfo(childComplexity), true

    case "BridgeTransaction.kappa":
        if e.complexity.BridgeTransaction.Kappa == nil {
            break
        }

        return e.complexity.BridgeTransaction.Kappa(childComplexity), true

    case "BridgeTransaction.pending":
        if e.complexity.BridgeTransaction.Pending == nil {
            break
        }

        return e.complexity.BridgeTransaction.Pending(childComplexity), true

    case "BridgeTransaction.swapSuccess":
        if e.complexity.BridgeTransaction.SwapSuccess == nil {
            break
        }

        return e.complexity.BridgeTransaction.SwapSuccess(childComplexity), true

    case "BridgeTransaction.toInfo":
        if e.complexity.BridgeTransaction.ToInfo == nil {
            break
        }

        return e.complexity.BridgeTransaction.ToInfo(childComplexity), true

    case "BridgeWatcherTx.bridgeModule":
        if e.complexity.BridgeWatcherTx.BridgeModule == nil {
            break
        }

        return e.complexity.BridgeWatcherTx.BridgeModule(childComplexity), true

    case "BridgeWatcherTx.bridgeTx":
        if e.complexity.BridgeWatcherTx.BridgeTx == nil {
            break
        }

        return e.complexity.BridgeWatcherTx.BridgeTx(childComplexity), true

    case "BridgeWatcherTx.kappa":
        if e.complexity.BridgeWatcherTx.Kappa == nil {
            break
        }

        return e.complexity.BridgeWatcherTx.Kappa(childComplexity), true

    case "BridgeWatcherTx.kappaStatus":
        if e.complexity.BridgeWatcherTx.KappaStatus == nil {
            break
        }

        return e.complexity.BridgeWatcherTx.KappaStatus(childComplexity), true

    case "BridgeWatcherTx.pending":
        if e.complexity.BridgeWatcherTx.Pending == nil {
            break
        }

        return e.complexity.BridgeWatcherTx.Pending(childComplexity), true

    case "BridgeWatcherTx.type":
        if e.complexity.BridgeWatcherTx.Type == nil {
            break
        }

        return e.complexity.BridgeWatcherTx.Type(childComplexity), true

    case "DateResult.date":
        if e.complexity.DateResult.Date == nil {
            break
        }

        return e.complexity.DateResult.Date(childComplexity), true

    case "DateResult.total":
        if e.complexity.DateResult.Total == nil {
            break
        }

        return e.complexity.DateResult.Total(childComplexity), true

    case "DateResultByChain.arbitrum":
        if e.complexity.DateResultByChain.Arbitrum == nil {
            break
        }

        return e.complexity.DateResultByChain.Arbitrum(childComplexity), true

    case "DateResultByChain.aurora":
        if e.complexity.DateResultByChain.Aurora == nil {
            break
        }

        return e.complexity.DateResultByChain.Aurora(childComplexity), true

    case "DateResultByChain.avalanche":
        if e.complexity.DateResultByChain.Avalanche == nil {
            break
        }

        return e.complexity.DateResultByChain.Avalanche(childComplexity), true

    case "DateResultByChain.base":
        if e.complexity.DateResultByChain.Base == nil {
            break
        }

        return e.complexity.DateResultByChain.Base(childComplexity), true

    case "DateResultByChain.blast":
        if e.complexity.DateResultByChain.Blast == nil {
            break
        }

        return e.complexity.DateResultByChain.Blast(childComplexity), true

    case "DateResultByChain.boba":
        if e.complexity.DateResultByChain.Boba == nil {
            break
        }

        return e.complexity.DateResultByChain.Boba(childComplexity), true

    case "DateResultByChain.bsc":
        if e.complexity.DateResultByChain.Bsc == nil {
            break
        }

        return e.complexity.DateResultByChain.Bsc(childComplexity), true

    case "DateResultByChain.canto":
        if e.complexity.DateResultByChain.Canto == nil {
            break
        }

        return e.complexity.DateResultByChain.Canto(childComplexity), true

    case "DateResultByChain.cronos":
        if e.complexity.DateResultByChain.Cronos == nil {
            break
        }

        return e.complexity.DateResultByChain.Cronos(childComplexity), true

    case "DateResultByChain.date":
        if e.complexity.DateResultByChain.Date == nil {
            break
        }

        return e.complexity.DateResultByChain.Date(childComplexity), true

    case "DateResultByChain.dfk":
        if e.complexity.DateResultByChain.Dfk == nil {
            break
        }

        return e.complexity.DateResultByChain.Dfk(childComplexity), true

    case "DateResultByChain.dogechain":
        if e.complexity.DateResultByChain.Dogechain == nil {
            break
        }

        return e.complexity.DateResultByChain.Dogechain(childComplexity), true

    case "DateResultByChain.ethereum":
        if e.complexity.DateResultByChain.Ethereum == nil {
            break
        }

        return e.complexity.DateResultByChain.Ethereum(childComplexity), true

    case "DateResultByChain.fantom":
        if e.complexity.DateResultByChain.Fantom == nil {
            break
        }

        return e.complexity.DateResultByChain.Fantom(childComplexity), true

    case "DateResultByChain.harmony":
        if e.complexity.DateResultByChain.Harmony == nil {
            break
        }

        return e.complexity.DateResultByChain.Harmony(childComplexity), true

    case "DateResultByChain.klaytn":
        if e.complexity.DateResultByChain.Klaytn == nil {
            break
        }

        return e.complexity.DateResultByChain.Klaytn(childComplexity), true

    case "DateResultByChain.linea":
        if e.complexity.DateResultByChain.Linea == nil {
            break
        }

        return e.complexity.DateResultByChain.Linea(childComplexity), true

    case "DateResultByChain.metis":
        if e.complexity.DateResultByChain.Metis == nil {
            break
        }

        return e.complexity.DateResultByChain.Metis(childComplexity), true

    case "DateResultByChain.moonbeam":
        if e.complexity.DateResultByChain.Moonbeam == nil {
            break
        }

        return e.complexity.DateResultByChain.Moonbeam(childComplexity), true

    case "DateResultByChain.moonriver":
        if e.complexity.DateResultByChain.Moonriver == nil {
            break
        }

        return e.complexity.DateResultByChain.Moonriver(childComplexity), true

    case "DateResultByChain.optimism":
        if e.complexity.DateResultByChain.Optimism == nil {
            break
        }

        return e.complexity.DateResultByChain.Optimism(childComplexity), true

    case "DateResultByChain.polygon":
        if e.complexity.DateResultByChain.Polygon == nil {
            break
        }

        return e.complexity.DateResultByChain.Polygon(childComplexity), true

    case "DateResultByChain.scroll":
        if e.complexity.DateResultByChain.Scroll == nil {
            break
        }

        return e.complexity.DateResultByChain.Scroll(childComplexity), true

    case "DateResultByChain.total":
        if e.complexity.DateResultByChain.Total == nil {
            break
        }

        return e.complexity.DateResultByChain.Total(childComplexity), true

    case "DateResultByChain.worldchain":
        if e.complexity.DateResultByChain.Worldchain == nil {
            break
        }

        return e.complexity.DateResultByChain.Worldchain(childComplexity), true

    case "HeroType.heroID":
        if e.complexity.HeroType.HeroID == nil {
            break
        }

        return e.complexity.HeroType.HeroID(childComplexity), true

    case "HeroType.recipient":
        if e.complexity.HeroType.Recipient == nil {
            break
        }

        return e.complexity.HeroType.Recipient(childComplexity), true

    case "HistoricalResult.dateResults":
        if e.complexity.HistoricalResult.DateResults == nil {
            break
        }

        return e.complexity.HistoricalResult.DateResults(childComplexity), true

    case "HistoricalResult.total":
        if e.complexity.HistoricalResult.Total == nil {
            break
        }

        return e.complexity.HistoricalResult.Total(childComplexity), true

    case "HistoricalResult.type":
        if e.complexity.HistoricalResult.Type == nil {
            break
        }

        return e.complexity.HistoricalResult.Type(childComplexity), true

    case "Leaderboard.address":
        if e.complexity.Leaderboard.Address == nil {
            break
        }

        return e.complexity.Leaderboard.Address(childComplexity), true

    case "Leaderboard.avgVolumeUSD":
        if e.complexity.Leaderboard.AvgVolumeUsd == nil {
            break
        }

        return e.complexity.Leaderboard.AvgVolumeUsd(childComplexity), true

    case "Leaderboard.fees":
        if e.complexity.Leaderboard.Fees == nil {
            break
        }

        return e.complexity.Leaderboard.Fees(childComplexity), true

    case "Leaderboard.rank":
        if e.complexity.Leaderboard.Rank == nil {
            break
        }

        return e.complexity.Leaderboard.Rank(childComplexity), true

    case "Leaderboard.txs":
        if e.complexity.Leaderboard.Txs == nil {
            break
        }

        return e.complexity.Leaderboard.Txs(childComplexity), true

    case "Leaderboard.volumeUSD":
        if e.complexity.Leaderboard.VolumeUsd == nil {
            break
        }

        return e.complexity.Leaderboard.VolumeUsd(childComplexity), true

    case "MessageBusTransaction.fromInfo":
        if e.complexity.MessageBusTransaction.FromInfo == nil {
            break
        }

        return e.complexity.MessageBusTransaction.FromInfo(childComplexity), true

    case "MessageBusTransaction.messageID":
        if e.complexity.MessageBusTransaction.MessageID == nil {
            break
        }

        return e.complexity.MessageBusTransaction.MessageID(childComplexity), true

    case "MessageBusTransaction.pending":
        if e.complexity.MessageBusTransaction.Pending == nil {
            break
        }

        return e.complexity.MessageBusTransaction.Pending(childComplexity), true

    case "MessageBusTransaction.toInfo":
        if e.complexity.MessageBusTransaction.ToInfo == nil {
            break
        }

        return e.complexity.MessageBusTransaction.ToInfo(childComplexity), true

    case "PartialInfo.address":
        if e.complexity.PartialInfo.Address == nil {
            break
        }

        return e.complexity.PartialInfo.Address(childComplexity), true

    case "PartialInfo.blockNumber":
        if e.complexity.PartialInfo.BlockNumber == nil {
            break
        }

        return e.complexity.PartialInfo.BlockNumber(childComplexity), true

    case "PartialInfo.chainID":
        if e.complexity.PartialInfo.ChainID == nil {
            break
        }

        return e.complexity.PartialInfo.ChainID(childComplexity), true

    case "PartialInfo.destinationChainID":
        if e.complexity.PartialInfo.DestinationChainID == nil {
            break
        }

        return e.complexity.PartialInfo.DestinationChainID(childComplexity), true

    case "PartialInfo.eventType":
        if e.complexity.PartialInfo.EventType == nil {
            break
        }

        return e.complexity.PartialInfo.EventType(childComplexity), true

    case "PartialInfo.formattedEventType":
        if e.complexity.PartialInfo.FormattedEventType == nil {
            break
        }

        return e.complexity.PartialInfo.FormattedEventType(childComplexity), true

    case "PartialInfo.formattedTime":
        if e.complexity.PartialInfo.FormattedTime == nil {
            break
        }

        return e.complexity.PartialInfo.FormattedTime(childComplexity), true

    case "PartialInfo.formattedValue":
        if e.complexity.PartialInfo.FormattedValue == nil {
            break
        }

        return e.complexity.PartialInfo.FormattedValue(childComplexity), true

    case "PartialInfo.time":
        if e.complexity.PartialInfo.Time == nil {
            break
        }

        return e.complexity.PartialInfo.Time(childComplexity), true

    case "PartialInfo.tokenAddress":
        if e.complexity.PartialInfo.TokenAddress == nil {
            break
        }

        return e.complexity.PartialInfo.TokenAddress(childComplexity), true

    case "PartialInfo.tokenSymbol":
        if e.complexity.PartialInfo.TokenSymbol == nil {
            break
        }

        return e.complexity.PartialInfo.TokenSymbol(childComplexity), true

    case "PartialInfo.txnHash":
        if e.complexity.PartialInfo.TxnHash == nil {
            break
        }

        return e.complexity.PartialInfo.TxnHash(childComplexity), true

    case "PartialInfo.USDValue":
        if e.complexity.PartialInfo.USDValue == nil {
            break
        }

        return e.complexity.PartialInfo.USDValue(childComplexity), true

    case "PartialInfo.value":
        if e.complexity.PartialInfo.Value == nil {
            break
        }

        return e.complexity.PartialInfo.Value(childComplexity), true

    case "PartialMessageBusInfo.blockNumber":
        if e.complexity.PartialMessageBusInfo.BlockNumber == nil {
            break
        }

        return e.complexity.PartialMessageBusInfo.BlockNumber(childComplexity), true

    case "PartialMessageBusInfo.chainID":
        if e.complexity.PartialMessageBusInfo.ChainID == nil {
            break
        }

        return e.complexity.PartialMessageBusInfo.ChainID(childComplexity), true

    case "PartialMessageBusInfo.chainName":
        if e.complexity.PartialMessageBusInfo.ChainName == nil {
            break
        }

        return e.complexity.PartialMessageBusInfo.ChainName(childComplexity), true

    case "PartialMessageBusInfo.contractAddress":
        if e.complexity.PartialMessageBusInfo.ContractAddress == nil {
            break
        }

        return e.complexity.PartialMessageBusInfo.ContractAddress(childComplexity), true

    case "PartialMessageBusInfo.destinationChainID":
        if e.complexity.PartialMessageBusInfo.DestinationChainID == nil {
            break
        }

        return e.complexity.PartialMessageBusInfo.DestinationChainID(childComplexity), true

    case "PartialMessageBusInfo.destinationChainName":
        if e.complexity.PartialMessageBusInfo.DestinationChainName == nil {
            break
        }

        return e.complexity.PartialMessageBusInfo.DestinationChainName(childComplexity), true

    case "PartialMessageBusInfo.formattedTime":
        if e.complexity.PartialMessageBusInfo.FormattedTime == nil {
            break
        }

        return e.complexity.PartialMessageBusInfo.FormattedTime(childComplexity), true

    case "PartialMessageBusInfo.message":
        if e.complexity.PartialMessageBusInfo.Message == nil {
            break
        }

        return e.complexity.PartialMessageBusInfo.Message(childComplexity), true

    case "PartialMessageBusInfo.messageType":
        if e.complexity.PartialMessageBusInfo.MessageType == nil {
            break
        }

        return e.complexity.PartialMessageBusInfo.MessageType(childComplexity), true

    case "PartialMessageBusInfo.revertedReason":
        if e.complexity.PartialMessageBusInfo.RevertedReason == nil {
            break
        }

        return e.complexity.PartialMessageBusInfo.RevertedReason(childComplexity), true

    case "PartialMessageBusInfo.time":
        if e.complexity.PartialMessageBusInfo.Time == nil {
            break
        }

        return e.complexity.PartialMessageBusInfo.Time(childComplexity), true

    case "PartialMessageBusInfo.txnHash":
        if e.complexity.PartialMessageBusInfo.TxnHash == nil {
            break
        }

        return e.complexity.PartialMessageBusInfo.TxnHash(childComplexity), true

    case "PetType.name":
        if e.complexity.PetType.Name == nil {
            break
        }

        return e.complexity.PetType.Name(childComplexity), true

    case "PetType.petID":
        if e.complexity.PetType.PetID == nil {
            break
        }

        return e.complexity.PetType.PetID(childComplexity), true

    case "PetType.recipient":
        if e.complexity.PetType.Recipient == nil {
            break
        }

        return e.complexity.PetType.Recipient(childComplexity), true

    case "Query.addressData":
        if e.complexity.Query.AddressData == nil {
            break
        }

        args, err := ec.field_Query_addressData_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.AddressData(childComplexity, args["address"].(string)), true

    case "Query.addressRanking":
        if e.complexity.Query.AddressRanking == nil {
            break
        }

        args, err := ec.field_Query_addressRanking_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.AddressRanking(childComplexity, args["hours"].(*int)), true

    case "Query.amountStatistic":
        if e.complexity.Query.AmountStatistic == nil {
            break
        }

        args, err := ec.field_Query_amountStatistic_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.AmountStatistic(childComplexity, args["type"].(model.StatisticType), args["duration"].(*model.Duration), args["platform"].(*model.Platform), args["chainID"].(*int), args["address"].(*string), args["tokenAddress"].(*string), args["useCache"].(*bool), args["useMv"].(*bool)), true

    case "Query.bridgeTransactions":
        if e.complexity.Query.BridgeTransactions == nil {
            break
        }

        args, err := ec.field_Query_bridgeTransactions_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.BridgeTransactions(childComplexity, args["chainIDFrom"].([]*int), args["chainIDTo"].([]*int), args["addressFrom"].(*string), args["addressTo"].(*string), args["maxAmount"].(*int), args["minAmount"].(*int), args["maxAmountUsd"].(*int), args["minAmountUsd"].(*int), args["startTime"].(*int), args["endTime"].(*int), args["txnHash"].(*string), args["kappa"].(*string), args["pending"].(*bool), args["useMv"].(*bool), args["page"].(*int), args["tokenAddressFrom"].([]*string), args["tokenAddressTo"].([]*string), args["onlyCCTP"].(*bool)), true

    case "Query.countByChainId":
        if e.complexity.Query.CountByChainID == nil {
            break
        }

        args, err := ec.field_Query_countByChainId_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.CountByChainID(childComplexity, args["chainID"].(*int), args["address"].(*string), args["direction"].(*model.Direction), args["hours"].(*int)), true

    case "Query.countByTokenAddress":
        if e.complexity.Query.CountByTokenAddress == nil {
            break
        }

        args, err := ec.field_Query_countByTokenAddress_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.CountByTokenAddress(childComplexity, args["chainID"].(*int), args["address"].(*string), args["direction"].(*model.Direction), args["hours"].(*int)), true

    case "Query.dailyStatisticsByChain":
        if e.complexity.Query.DailyStatisticsByChain == nil {
            break
        }

        args, err := ec.field_Query_dailyStatisticsByChain_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.DailyStatisticsByChain(childComplexity, args["chainID"].(*int), args["type"].(*model.DailyStatisticType), args["platform"].(*model.Platform), args["duration"].(*model.Duration), args["useCache"].(*bool), args["useMv"].(*bool)), true

    case "Query.getBlockHeight":
        if e.complexity.Query.GetBlockHeight == nil {
            break
        }

        args, err := ec.field_Query_getBlockHeight_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.GetBlockHeight(childComplexity, args["contracts"].([]*model.ContractQuery)), true

    case "Query.getDestinationBridgeTx":
        if e.complexity.Query.GetDestinationBridgeTx == nil {
            break
        }

        args, err := ec.field_Query_getDestinationBridgeTx_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.GetDestinationBridgeTx(childComplexity, args["chainID"].(int), args["address"].(string), args["kappa"].(string), args["timestamp"].(int), args["bridgeType"].(model.BridgeType), args["historical"].(*bool)), true

    case "Query.getOriginBridgeTx":
        if e.complexity.Query.GetOriginBridgeTx == nil {
            break
        }

        args, err := ec.field_Query_getOriginBridgeTx_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.GetOriginBridgeTx(childComplexity, args["chainID"].(int), args["txnHash"].(string), args["bridgeType"].(model.BridgeType)), true

    case "Query.leaderboard":
        if e.complexity.Query.Leaderboard == nil {
            break
        }

        args, err := ec.field_Query_leaderboard_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.Leaderboard(childComplexity, args["duration"].(*model.Duration), args["chainID"].(*int), args["useMv"].(*bool), args["page"].(*int)), true

    case "Query.messageBusTransactions":
        if e.complexity.Query.MessageBusTransactions == nil {
            break
        }

        args, err := ec.field_Query_messageBusTransactions_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.MessageBusTransactions(childComplexity, args["chainID"].([]*int), args["contractAddress"].(*string), args["startTime"].(*int), args["endTime"].(*int), args["txnHash"].(*string), args["messageID"].(*string), args["pending"].(*bool), args["reverted"].(*bool), args["page"].(*int)), true

    case "Query.rankedChainIDsByVolume":
        if e.complexity.Query.RankedChainIDsByVolume == nil {
            break
        }

        args, err := ec.field_Query_rankedChainIDsByVolume_args(context.TODO(), rawArgs)
        if err != nil {
            return 0, false
        }

        return e.complexity.Query.RankedChainIDsByVolume(childComplexity, args["duration"].(*model.Duration), args["useCache"].(*bool)), true

    case "TearType.amount":
        if e.complexity.TearType.Amount == nil {
            break
        }

        return e.complexity.TearType.Amount(childComplexity), true

    case "TearType.recipient":
        if e.complexity.TearType.Recipient == nil {
            break
        }

        return e.complexity.TearType.Recipient(childComplexity), true

    case "TokenCountResult.chainID":
        if e.complexity.TokenCountResult.ChainID == nil {
            break
        }

        return e.complexity.TokenCountResult.ChainID(childComplexity), true

    case "TokenCountResult.count":
        if e.complexity.TokenCountResult.Count == nil {
            break
        }

        return e.complexity.TokenCountResult.Count(childComplexity), true

    case "TokenCountResult.tokenAddress":
        if e.complexity.TokenCountResult.TokenAddress == nil {
            break
        }

        return e.complexity.TokenCountResult.TokenAddress(childComplexity), true

    case "TransactionCountResult.chainID":
        if e.complexity.TransactionCountResult.ChainID == nil {
            break
        }

        return e.complexity.TransactionCountResult.ChainID(childComplexity), true

    case "TransactionCountResult.count":
        if e.complexity.TransactionCountResult.Count == nil {
            break
        }

        return e.complexity.TransactionCountResult.Count(childComplexity), true

    case "UnknownType.known":
        if e.complexity.UnknownType.Known == nil {
            break
        }

        return e.complexity.UnknownType.Known(childComplexity), true

    case "ValueResult.value":
        if e.complexity.ValueResult.Value == nil {
            break
        }

        return e.complexity.ValueResult.Value(childComplexity), true

    case "VolumeByChainID.chainID":
        if e.complexity.VolumeByChainID.ChainID == nil {
            break
        }

        return e.complexity.VolumeByChainID.ChainID(childComplexity), true

    case "VolumeByChainID.total":
        if e.complexity.VolumeByChainID.Total == nil {
            break
        }

        return e.complexity.VolumeByChainID.Total(childComplexity), true

    }
    return 0, false
}

func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler {
    rc := graphql.GetOperationContext(ctx)
    ec := executionContext{rc, e, 0, 0, make(chan graphql.DeferredResult)}
    inputUnmarshalMap := graphql.BuildUnmarshalerMap(
        ec.unmarshalInputContractQuery,
    )
    first := true

    switch rc.Operation.Operation {
    case ast.Query:
        return func(ctx context.Context) *graphql.Response {
            var response graphql.Response
            var data graphql.Marshaler
            if first {
                first = false
                ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap)
                data = ec._Query(ctx, rc.Operation.SelectionSet)
            } else {
                if atomic.LoadInt32(&ec.pendingDeferred) > 0 {
                    result := <-ec.deferredResults
                    atomic.AddInt32(&ec.pendingDeferred, -1)
                    data = result.Result
                    response.Path = result.Path
                    response.Label = result.Label
                    response.Errors = result.Errors
                } else {
                    return nil
                }
            }
            var buf bytes.Buffer
            data.MarshalGQL(&buf)
            response.Data = buf.Bytes()
            if atomic.LoadInt32(&ec.deferred) > 0 {
                hasNext := atomic.LoadInt32(&ec.pendingDeferred) > 0
                response.HasNext = &hasNext
            }

            return &response
        }

    default:
        return graphql.OneShot(graphql.ErrorResponse(ctx, "unsupported GraphQL operation"))
    }
}

type executionContext struct {
    *graphql.OperationContext
    *executableSchema
    deferred        int32
    pendingDeferred int32
    deferredResults chan graphql.DeferredResult
}

func (ec *executionContext) processDeferredGroup(dg graphql.DeferredGroup) {
    atomic.AddInt32(&ec.pendingDeferred, 1)
    go func() {
        ctx := graphql.WithFreshResponseContext(dg.Context)
        dg.FieldSet.Dispatch(ctx)
        ds := graphql.DeferredResult{
            Path:   dg.Path,
            Label:  dg.Label,
            Result: dg.FieldSet,
            Errors: graphql.GetErrors(ctx),
        }
        // null fields should bubble up
        if dg.FieldSet.Invalids > 0 {
            ds.Result = graphql.Null
        }
        ec.deferredResults <- ds
    }()
}

func (ec *executionContext) introspectSchema() (*introspection.Schema, error) {
    if ec.DisableIntrospection {
        return nil, errors.New("introspection disabled")
    }
    return introspection.WrapSchema(parsedSchema), nil
}

func (ec *executionContext) introspectType(name string) (*introspection.Type, error) {
    if ec.DisableIntrospection {
        return nil, errors.New("introspection disabled")
    }
    return introspection.WrapTypeFromDef(parsedSchema, parsedSchema.Types[name]), nil
}

var sources = []*ast.Source{
    {Name: "../schema/directives.graphql", Input: `directive @goModel(model: String, models: [String!]) on OBJECT
  | INPUT_OBJECT
  | SCALAR
  | ENUM
  | INTERFACE
  | UNION

directive @goField(forceResolver: Boolean, name: String) on INPUT_FIELD_DEFINITION
  | FIELD_DEFINITION
`, BuiltIn: false},
    {Name: "../schema/message.graphql", Input: `union MessageType = TearType | HeroType | PetType | UnknownType

type TearType {
  recipient: String!
  amount: String!
}

type HeroType {
  recipient: String!
  heroID: String!
}

type PetType {
  recipient: String!
  petID: String!
  name: String!
}

type UnknownType {
  known: Boolean!
}
`, BuiltIn: false},
    {Name: "../schema/queries.graphql", Input: `type Query {

  """
  Returns bridged transactions filterable by chain, to/from address, to/from txn hash, token address, and keccak hash.
  """
  bridgeTransactions(
    chainIDFrom:        [Int]
    chainIDTo:        [Int]
    addressFrom:        String
    addressTo:        String
    maxAmount:      Int
    minAmount:      Int
    maxAmountUsd:      Int
    minAmountUsd:      Int
    startTime:      Int
    endTime:        Int
    txnHash:        String
    kappa:          String
    pending:        Boolean
    useMv:          Boolean = false
    page:           Int = 1
    tokenAddressFrom:   [String]
    tokenAddressTo:   [String]
    onlyCCTP:           Boolean = false
  ): [BridgeTransaction]

  """
  Message bus transactions
  """
  messageBusTransactions(
    chainID:        [Int]
    contractAddress:        String
    startTime:      Int
    endTime:        Int
    txnHash:        String
    messageID:      String
    pending:        Boolean = false
    reverted:       Boolean = false
    page:           Int = 1
  ): [MessageBusTransaction]


  """
  Returns the COUNT of bridged transactions for a given chain. If direction of bridge transactions
  is not specified, it defaults to IN.
  Specifying no duration defaults to the last 24 hours.
  """
  countByChainId(
    chainID:    Int
    address:    String
    direction:  Direction = IN
    hours:      Int = 720
  ): [TransactionCountResult]
  """
  Returns counts of token addresses source and time.
  Specifying no parameters defaults to origin and 24 hours.
  """
  countByTokenAddress(
    chainID:    Int
    address:    String
    direction:  Direction = IN
    hours:      Int = 24
  ): [TokenCountResult]
  """
  Returns addresses and transaction count (origin) over time.
  Specifying no parameters defaults to 24 hours.
  """
  addressRanking(hours: Int = 24): [AddressRanking]

  """
  Returns mean/median/total/count of transactions transacted for a given duration, chain and address.
  Specifying no duration defaults to ALL_TIME, and no chain or address searches across all.
  """
  amountStatistic(
    type:         StatisticType!
    duration:     Duration = ALL_TIME
    platform:     Platform = ALL
    chainID:      Int
    address:      String
    tokenAddress: String
    useCache: Boolean = false
    useMv:          Boolean = false

  ): ValueResult

  """
  Daily statistic data
  """
  dailyStatisticsByChain(
    chainID:  Int
    type:     DailyStatisticType = VOLUME
    platform: Platform = ALL
    duration:     Duration = ALL_TIME
    useCache: Boolean = false
    useMv:          Boolean = false

  ): [DateResultByChain]

  """
Ranked chainIDs by volume
  """
  rankedChainIDsByVolume(
    duration:     Duration = ALL_TIME
    useCache: Boolean = false
  ): [VolumeByChainID]

  """
  Get wallet information
  """
  addressData(
    address: String!
  ): AddressData


  """
  Get LeaderBoard
  """
  leaderboard(
    duration:     Duration = ALL_TIME
    chainID:      Int
    useMv: Boolean = true
    page:           Int = 1
  ): [Leaderboard]


  """
  GetOriginBridgeTx is the bridge watcher endpoint for getting an origin bridge tx (BETA).
  """
  getOriginBridgeTx(
    chainID:      Int!
    txnHash:       String!
    bridgeType:   BridgeType!
  ): BridgeWatcherTx


  """
  GetDestinationBridgeTx is the bridge watcher endpoint for getting an destination bridge tx (BETA).
  """
  getDestinationBridgeTx(
    chainID:      Int!
    address:     String!
    kappa:      String!
    timestamp:   Int!
    bridgeType:   BridgeType!
    historical:  Boolean = false
  ): BridgeWatcherTx


  """
  GetBlockHeight gets block heights from the current bridge. Returns results in an array of increased block heights.
  """
  getBlockHeight(
    contracts: [ContractQuery]
  ): [BlockHeight]
}


`, BuiltIn: false},
    {Name: "../schema/types.graphql", Input: `"""
BridgeTransaction represents an entire bridge transaction, including both
to and from transactions. If a ` + "`" + `from` + "`" + ` transaction does not have a corresponding
` + "`" + `to` + "`" + ` transaction, ` + "`" + `pending` + "`" + ` will be true.
"""
type BridgeTransaction {
  fromInfo: PartialInfo
  toInfo:   PartialInfo
  kappa:        String
  pending:      Boolean
  swapSuccess:  Boolean
  bridgeModule: String
}
"""
PartialInfo is a transaction that occurred on one chain.
"""
type PartialInfo {
  chainID: Int
  destinationChainID: Int
  address: String
  txnHash: String
  value:          String
  formattedValue: Float
  USDValue:       Float
  tokenAddress:   String
  tokenSymbol:    String
  blockNumber:    Int
  time:           Int
  formattedTime: String
  formattedEventType: String
  eventType: Int
}

enum BridgeTxType {
  ORIGIN
  DESTINATION
}
"""
BridgeWatcherTx represents a single sided bridge transaction specifically for the bridge watcher.
"""
type BridgeWatcherTx {
  bridgeTx: PartialInfo
  pending:      Boolean
  type:  BridgeTxType
  kappa:        String
  kappaStatus: KappaStatus
  bridgeModule: String
}
"""
DateResult is a given statistic for a given date.
"""
type DateResult {
  date:   String,
  total:  Float
}
"""
HistoricalResult is a given statistic for dates.
"""
type HistoricalResult {
  total:        Float
  dateResults:  [DateResult]
  type:         HistoricalResultType
}

"""
ValueResult is a value result of either USD or numeric value.
"""
type ValueResult {
  value: String
}
"""
TransactionCountResult gives the amount of transactions that occurred for a specific chain ID.
"""
type TransactionCountResult {
  chainID:  Int
  count:    Int
}
"""
TokenCountResult gives the amount of transactions that occurred for a specific token, separated by chain ID.
"""
type TokenCountResult {
  chainID:      Int
  tokenAddress: String
  count:        Int
}
"""
AddressRanking gives the amount of transactions that occurred for a specific address across all chains.
"""
type AddressRanking {
  address:  String
  count:    Int
}

enum Duration {
  PAST_DAY
  PAST_MONTH
  PAST_3_MONTHS
  PAST_6_MONTHS
  PAST_YEAR
  ALL_TIME
}
enum Direction {
  IN
  OUT
}
enum StatisticType {
  MEAN_VOLUME_USD
  MEDIAN_VOLUME_USD
  TOTAL_VOLUME_USD
  MEAN_FEE_USD
  MEDIAN_FEE_USD
  TOTAL_FEE_USD
  COUNT_TRANSACTIONS
  COUNT_ADDRESSES
}
enum HistoricalResultType {
  BRIDGEVOLUME
  TRANSACTIONS
  ADDRESSES
}

enum Platform{
  ALL
  SWAP
  BRIDGE
  MESSAGE_BUS
}

enum DailyStatisticType {
  VOLUME
  TRANSACTIONS
  ADDRESSES
  FEE
}


type MessageBusTransaction {
  fromInfo:   PartialMessageBusInfo
  toInfo:     PartialMessageBusInfo
  pending:    Boolean
  messageID:  String
}

type PartialMessageBusInfo {
  chainID: Int
  chainName: String
  destinationChainID: Int
  destinationChainName: String
  contractAddress: String
  txnHash: String
  message:        String
  messageType: MessageType
  blockNumber:    Int
  time:           Int
  formattedTime: String
  revertedReason: String
}
"""
DateResult is a given statistic for a given date.
"""
type DateResultByChain {
  date: String
  ethereum: Float
  optimism: Float
  cronos: Float
  bsc: Float
  polygon: Float
  fantom: Float
  boba: Float
  metis: Float
  moonbeam: Float
  moonriver: Float
  klaytn: Float
  arbitrum: Float
  avalanche: Float
  dfk: Float
  aurora: Float
  harmony: Float
  canto: Float
  dogechain: Float
  base: Float
  blast: Float
  scroll: Float
  linea: Float
  worldchain: Float
  total:  Float
}

type VolumeByChainID {
  chainID:  Int
  total:    Float
}
type AddressDailyCount{
  date: String
  count: Int
}
type AddressChainRanking{
  chainID: Int
  volumeUsd: Float
  rank: Int
}
type AddressData {
  bridgeVolume:  Float
  bridgeFees:    Float
  bridgeTxs:    Int
  swapVolume:  Float
  swapFees:    Float
  swapTxs:    Int
  rank:    Int
  earliestTx: Int
  chainRanking: [AddressChainRanking]
  dailyData: [AddressDailyCount]
}

type Leaderboard {
  address: String
  volumeUSD: Float
  fees: Float
  txs: Int
  rank: Int
  avgVolumeUSD: Float
}
enum BridgeType{
  BRIDGE
  CCTP
  RFQ
}

enum KappaStatus{
  EXISTS
  PENDING
  UNKNOWN
}

input ContractQuery {
  chainID: Int!
  type: ContractType!
}

enum ContractType{
  BRIDGE
  CCTP
  RFQ
}

type BlockHeight {
  chainID: Int
  type: ContractType
  blockNumber: Int
}


`, BuiltIn: false},
}
var parsedSchema = gqlparser.MustLoadSchema(sources...)

// endregion ************************** generated!.gotpl **************************

// region    ***************************** args.gotpl *****************************

func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 string
    if tmp, ok := rawArgs["name"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
        arg0, err = ec.unmarshalNString2string(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["name"] = arg0
    return args, nil
}

func (ec *executionContext) field_Query_addressData_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 string
    if tmp, ok := rawArgs["address"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("address"))
        arg0, err = ec.unmarshalNString2string(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["address"] = arg0
    return args, nil
}

func (ec *executionContext) field_Query_addressRanking_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 *int
    if tmp, ok := rawArgs["hours"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("hours"))
        arg0, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["hours"] = arg0
    return args, nil
}

func (ec *executionContext) field_Query_amountStatistic_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 model.StatisticType
    if tmp, ok := rawArgs["type"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type"))
        arg0, err = ec.unmarshalNStatisticType2githubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐStatisticType(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["type"] = arg0
    var arg1 *model.Duration
    if tmp, ok := rawArgs["duration"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("duration"))
        arg1, err = ec.unmarshalODuration2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDuration(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["duration"] = arg1
    var arg2 *model.Platform
    if tmp, ok := rawArgs["platform"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("platform"))
        arg2, err = ec.unmarshalOPlatform2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐPlatform(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["platform"] = arg2
    var arg3 *int
    if tmp, ok := rawArgs["chainID"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chainID"))
        arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["chainID"] = arg3
    var arg4 *string
    if tmp, ok := rawArgs["address"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("address"))
        arg4, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["address"] = arg4
    var arg5 *string
    if tmp, ok := rawArgs["tokenAddress"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tokenAddress"))
        arg5, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["tokenAddress"] = arg5
    var arg6 *bool
    if tmp, ok := rawArgs["useCache"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("useCache"))
        arg6, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["useCache"] = arg6
    var arg7 *bool
    if tmp, ok := rawArgs["useMv"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("useMv"))
        arg7, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["useMv"] = arg7
    return args, nil
}

func (ec *executionContext) field_Query_bridgeTransactions_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 []*int
    if tmp, ok := rawArgs["chainIDFrom"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chainIDFrom"))
        arg0, err = ec.unmarshalOInt2ᚕᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["chainIDFrom"] = arg0
    var arg1 []*int
    if tmp, ok := rawArgs["chainIDTo"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chainIDTo"))
        arg1, err = ec.unmarshalOInt2ᚕᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["chainIDTo"] = arg1
    var arg2 *string
    if tmp, ok := rawArgs["addressFrom"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("addressFrom"))
        arg2, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["addressFrom"] = arg2
    var arg3 *string
    if tmp, ok := rawArgs["addressTo"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("addressTo"))
        arg3, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["addressTo"] = arg3
    var arg4 *int
    if tmp, ok := rawArgs["maxAmount"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("maxAmount"))
        arg4, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["maxAmount"] = arg4
    var arg5 *int
    if tmp, ok := rawArgs["minAmount"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("minAmount"))
        arg5, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["minAmount"] = arg5
    var arg6 *int
    if tmp, ok := rawArgs["maxAmountUsd"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("maxAmountUsd"))
        arg6, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["maxAmountUsd"] = arg6
    var arg7 *int
    if tmp, ok := rawArgs["minAmountUsd"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("minAmountUsd"))
        arg7, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["minAmountUsd"] = arg7
    var arg8 *int
    if tmp, ok := rawArgs["startTime"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("startTime"))
        arg8, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["startTime"] = arg8
    var arg9 *int
    if tmp, ok := rawArgs["endTime"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("endTime"))
        arg9, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["endTime"] = arg9
    var arg10 *string
    if tmp, ok := rawArgs["txnHash"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("txnHash"))
        arg10, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["txnHash"] = arg10
    var arg11 *string
    if tmp, ok := rawArgs["kappa"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("kappa"))
        arg11, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["kappa"] = arg11
    var arg12 *bool
    if tmp, ok := rawArgs["pending"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pending"))
        arg12, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["pending"] = arg12
    var arg13 *bool
    if tmp, ok := rawArgs["useMv"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("useMv"))
        arg13, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["useMv"] = arg13
    var arg14 *int
    if tmp, ok := rawArgs["page"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("page"))
        arg14, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["page"] = arg14
    var arg15 []*string
    if tmp, ok := rawArgs["tokenAddressFrom"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tokenAddressFrom"))
        arg15, err = ec.unmarshalOString2ᚕᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["tokenAddressFrom"] = arg15
    var arg16 []*string
    if tmp, ok := rawArgs["tokenAddressTo"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("tokenAddressTo"))
        arg16, err = ec.unmarshalOString2ᚕᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["tokenAddressTo"] = arg16
    var arg17 *bool
    if tmp, ok := rawArgs["onlyCCTP"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("onlyCCTP"))
        arg17, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["onlyCCTP"] = arg17
    return args, nil
}

func (ec *executionContext) field_Query_countByChainId_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 *int
    if tmp, ok := rawArgs["chainID"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chainID"))
        arg0, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["chainID"] = arg0
    var arg1 *string
    if tmp, ok := rawArgs["address"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("address"))
        arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["address"] = arg1
    var arg2 *model.Direction
    if tmp, ok := rawArgs["direction"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("direction"))
        arg2, err = ec.unmarshalODirection2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDirection(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["direction"] = arg2
    var arg3 *int
    if tmp, ok := rawArgs["hours"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("hours"))
        arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["hours"] = arg3
    return args, nil
}

func (ec *executionContext) field_Query_countByTokenAddress_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 *int
    if tmp, ok := rawArgs["chainID"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chainID"))
        arg0, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["chainID"] = arg0
    var arg1 *string
    if tmp, ok := rawArgs["address"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("address"))
        arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["address"] = arg1
    var arg2 *model.Direction
    if tmp, ok := rawArgs["direction"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("direction"))
        arg2, err = ec.unmarshalODirection2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDirection(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["direction"] = arg2
    var arg3 *int
    if tmp, ok := rawArgs["hours"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("hours"))
        arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["hours"] = arg3
    return args, nil
}

func (ec *executionContext) field_Query_dailyStatisticsByChain_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 *int
    if tmp, ok := rawArgs["chainID"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chainID"))
        arg0, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["chainID"] = arg0
    var arg1 *model.DailyStatisticType
    if tmp, ok := rawArgs["type"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type"))
        arg1, err = ec.unmarshalODailyStatisticType2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDailyStatisticType(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["type"] = arg1
    var arg2 *model.Platform
    if tmp, ok := rawArgs["platform"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("platform"))
        arg2, err = ec.unmarshalOPlatform2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐPlatform(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["platform"] = arg2
    var arg3 *model.Duration
    if tmp, ok := rawArgs["duration"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("duration"))
        arg3, err = ec.unmarshalODuration2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDuration(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["duration"] = arg3
    var arg4 *bool
    if tmp, ok := rawArgs["useCache"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("useCache"))
        arg4, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["useCache"] = arg4
    var arg5 *bool
    if tmp, ok := rawArgs["useMv"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("useMv"))
        arg5, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["useMv"] = arg5
    return args, nil
}

func (ec *executionContext) field_Query_getBlockHeight_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 []*model.ContractQuery
    if tmp, ok := rawArgs["contracts"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contracts"))
        arg0, err = ec.unmarshalOContractQuery2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐContractQuery(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["contracts"] = arg0
    return args, nil
}

func (ec *executionContext) field_Query_getDestinationBridgeTx_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 int
    if tmp, ok := rawArgs["chainID"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chainID"))
        arg0, err = ec.unmarshalNInt2int(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["chainID"] = arg0
    var arg1 string
    if tmp, ok := rawArgs["address"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("address"))
        arg1, err = ec.unmarshalNString2string(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["address"] = arg1
    var arg2 string
    if tmp, ok := rawArgs["kappa"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("kappa"))
        arg2, err = ec.unmarshalNString2string(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["kappa"] = arg2
    var arg3 int
    if tmp, ok := rawArgs["timestamp"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("timestamp"))
        arg3, err = ec.unmarshalNInt2int(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["timestamp"] = arg3
    var arg4 model.BridgeType
    if tmp, ok := rawArgs["bridgeType"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("bridgeType"))
        arg4, err = ec.unmarshalNBridgeType2githubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeType(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["bridgeType"] = arg4
    var arg5 *bool
    if tmp, ok := rawArgs["historical"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("historical"))
        arg5, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["historical"] = arg5
    return args, nil
}

func (ec *executionContext) field_Query_getOriginBridgeTx_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 int
    if tmp, ok := rawArgs["chainID"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chainID"))
        arg0, err = ec.unmarshalNInt2int(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["chainID"] = arg0
    var arg1 string
    if tmp, ok := rawArgs["txnHash"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("txnHash"))
        arg1, err = ec.unmarshalNString2string(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["txnHash"] = arg1
    var arg2 model.BridgeType
    if tmp, ok := rawArgs["bridgeType"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("bridgeType"))
        arg2, err = ec.unmarshalNBridgeType2githubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeType(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["bridgeType"] = arg2
    return args, nil
}

func (ec *executionContext) field_Query_leaderboard_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 *model.Duration
    if tmp, ok := rawArgs["duration"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("duration"))
        arg0, err = ec.unmarshalODuration2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDuration(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["duration"] = arg0
    var arg1 *int
    if tmp, ok := rawArgs["chainID"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chainID"))
        arg1, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["chainID"] = arg1
    var arg2 *bool
    if tmp, ok := rawArgs["useMv"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("useMv"))
        arg2, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["useMv"] = arg2
    var arg3 *int
    if tmp, ok := rawArgs["page"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("page"))
        arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["page"] = arg3
    return args, nil
}

func (ec *executionContext) field_Query_messageBusTransactions_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 []*int
    if tmp, ok := rawArgs["chainID"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chainID"))
        arg0, err = ec.unmarshalOInt2ᚕᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["chainID"] = arg0
    var arg1 *string
    if tmp, ok := rawArgs["contractAddress"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("contractAddress"))
        arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["contractAddress"] = arg1
    var arg2 *int
    if tmp, ok := rawArgs["startTime"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("startTime"))
        arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["startTime"] = arg2
    var arg3 *int
    if tmp, ok := rawArgs["endTime"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("endTime"))
        arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["endTime"] = arg3
    var arg4 *string
    if tmp, ok := rawArgs["txnHash"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("txnHash"))
        arg4, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["txnHash"] = arg4
    var arg5 *string
    if tmp, ok := rawArgs["messageID"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("messageID"))
        arg5, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["messageID"] = arg5
    var arg6 *bool
    if tmp, ok := rawArgs["pending"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("pending"))
        arg6, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["pending"] = arg6
    var arg7 *bool
    if tmp, ok := rawArgs["reverted"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("reverted"))
        arg7, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["reverted"] = arg7
    var arg8 *int
    if tmp, ok := rawArgs["page"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("page"))
        arg8, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["page"] = arg8
    return args, nil
}

func (ec *executionContext) field_Query_rankedChainIDsByVolume_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 *model.Duration
    if tmp, ok := rawArgs["duration"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("duration"))
        arg0, err = ec.unmarshalODuration2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDuration(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["duration"] = arg0
    var arg1 *bool
    if tmp, ok := rawArgs["useCache"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("useCache"))
        arg1, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["useCache"] = arg1
    return args, nil
}

func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 bool
    if tmp, ok := rawArgs["includeDeprecated"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
        arg0, err = ec.unmarshalOBoolean2bool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["includeDeprecated"] = arg0
    return args, nil
}

func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
    var err error
    args := map[string]interface{}{}
    var arg0 bool
    if tmp, ok := rawArgs["includeDeprecated"]; ok {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
        arg0, err = ec.unmarshalOBoolean2bool(ctx, tmp)
        if err != nil {
            return nil, err
        }
    }
    args["includeDeprecated"] = arg0
    return args, nil
}

// endregion ***************************** args.gotpl *****************************

// region    ************************** directives.gotpl **************************

// endregion ************************** directives.gotpl **************************

// region    **************************** field.gotpl *****************************

func (ec *executionContext) _AddressChainRanking_chainID(ctx context.Context, field graphql.CollectedField, obj *model.AddressChainRanking) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressChainRanking_chainID(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.ChainID, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressChainRanking_chainID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressChainRanking",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressChainRanking_volumeUsd(ctx context.Context, field graphql.CollectedField, obj *model.AddressChainRanking) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressChainRanking_volumeUsd(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.VolumeUsd, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressChainRanking_volumeUsd(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressChainRanking",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressChainRanking_rank(ctx context.Context, field graphql.CollectedField, obj *model.AddressChainRanking) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressChainRanking_rank(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Rank, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressChainRanking_rank(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressChainRanking",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressDailyCount_date(ctx context.Context, field graphql.CollectedField, obj *model.AddressDailyCount) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressDailyCount_date(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Date, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressDailyCount_date(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressDailyCount",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressDailyCount_count(ctx context.Context, field graphql.CollectedField, obj *model.AddressDailyCount) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressDailyCount_count(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Count, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressDailyCount_count(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressDailyCount",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressData_bridgeVolume(ctx context.Context, field graphql.CollectedField, obj *model.AddressData) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressData_bridgeVolume(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.BridgeVolume, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressData_bridgeVolume(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressData",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressData_bridgeFees(ctx context.Context, field graphql.CollectedField, obj *model.AddressData) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressData_bridgeFees(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.BridgeFees, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressData_bridgeFees(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressData",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressData_bridgeTxs(ctx context.Context, field graphql.CollectedField, obj *model.AddressData) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressData_bridgeTxs(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.BridgeTxs, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressData_bridgeTxs(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressData",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressData_swapVolume(ctx context.Context, field graphql.CollectedField, obj *model.AddressData) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressData_swapVolume(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.SwapVolume, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressData_swapVolume(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressData",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressData_swapFees(ctx context.Context, field graphql.CollectedField, obj *model.AddressData) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressData_swapFees(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.SwapFees, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressData_swapFees(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressData",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressData_swapTxs(ctx context.Context, field graphql.CollectedField, obj *model.AddressData) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressData_swapTxs(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.SwapTxs, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressData_swapTxs(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressData",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressData_rank(ctx context.Context, field graphql.CollectedField, obj *model.AddressData) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressData_rank(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Rank, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressData_rank(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressData",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressData_earliestTx(ctx context.Context, field graphql.CollectedField, obj *model.AddressData) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressData_earliestTx(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.EarliestTx, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressData_earliestTx(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressData",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressData_chainRanking(ctx context.Context, field graphql.CollectedField, obj *model.AddressData) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressData_chainRanking(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.ChainRanking, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]*model.AddressChainRanking)
    fc.Result = res
    return ec.marshalOAddressChainRanking2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressChainRanking(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressData_chainRanking(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressData",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "chainID":
                return ec.fieldContext_AddressChainRanking_chainID(ctx, field)
            case "volumeUsd":
                return ec.fieldContext_AddressChainRanking_volumeUsd(ctx, field)
            case "rank":
                return ec.fieldContext_AddressChainRanking_rank(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type AddressChainRanking", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressData_dailyData(ctx context.Context, field graphql.CollectedField, obj *model.AddressData) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressData_dailyData(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.DailyData, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]*model.AddressDailyCount)
    fc.Result = res
    return ec.marshalOAddressDailyCount2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressDailyCount(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressData_dailyData(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressData",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "date":
                return ec.fieldContext_AddressDailyCount_date(ctx, field)
            case "count":
                return ec.fieldContext_AddressDailyCount_count(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type AddressDailyCount", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressRanking_address(ctx context.Context, field graphql.CollectedField, obj *model.AddressRanking) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressRanking_address(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Address, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressRanking_address(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressRanking",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _AddressRanking_count(ctx context.Context, field graphql.CollectedField, obj *model.AddressRanking) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressRanking_count(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Count, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_AddressRanking_count(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "AddressRanking",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _BlockHeight_chainID(ctx context.Context, field graphql.CollectedField, obj *model.BlockHeight) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BlockHeight_chainID(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.ChainID, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BlockHeight_chainID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BlockHeight",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _BlockHeight_type(ctx context.Context, field graphql.CollectedField, obj *model.BlockHeight) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BlockHeight_type(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Type, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.ContractType)
    fc.Result = res
    return ec.marshalOContractType2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐContractType(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BlockHeight_type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BlockHeight",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type ContractType does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _BlockHeight_blockNumber(ctx context.Context, field graphql.CollectedField, obj *model.BlockHeight) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BlockHeight_blockNumber(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.BlockNumber, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BlockHeight_blockNumber(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BlockHeight",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _BridgeTransaction_fromInfo(ctx context.Context, field graphql.CollectedField, obj *model.BridgeTransaction) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BridgeTransaction_fromInfo(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.FromInfo, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.PartialInfo)
    fc.Result = res
    return ec.marshalOPartialInfo2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐPartialInfo(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BridgeTransaction_fromInfo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BridgeTransaction",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "chainID":
                return ec.fieldContext_PartialInfo_chainID(ctx, field)
            case "destinationChainID":
                return ec.fieldContext_PartialInfo_destinationChainID(ctx, field)
            case "address":
                return ec.fieldContext_PartialInfo_address(ctx, field)
            case "txnHash":
                return ec.fieldContext_PartialInfo_txnHash(ctx, field)
            case "value":
                return ec.fieldContext_PartialInfo_value(ctx, field)
            case "formattedValue":
                return ec.fieldContext_PartialInfo_formattedValue(ctx, field)
            case "USDValue":
                return ec.fieldContext_PartialInfo_USDValue(ctx, field)
            case "tokenAddress":
                return ec.fieldContext_PartialInfo_tokenAddress(ctx, field)
            case "tokenSymbol":
                return ec.fieldContext_PartialInfo_tokenSymbol(ctx, field)
            case "blockNumber":
                return ec.fieldContext_PartialInfo_blockNumber(ctx, field)
            case "time":
                return ec.fieldContext_PartialInfo_time(ctx, field)
            case "formattedTime":
                return ec.fieldContext_PartialInfo_formattedTime(ctx, field)
            case "formattedEventType":
                return ec.fieldContext_PartialInfo_formattedEventType(ctx, field)
            case "eventType":
                return ec.fieldContext_PartialInfo_eventType(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type PartialInfo", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) _BridgeTransaction_toInfo(ctx context.Context, field graphql.CollectedField, obj *model.BridgeTransaction) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BridgeTransaction_toInfo(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.ToInfo, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.PartialInfo)
    fc.Result = res
    return ec.marshalOPartialInfo2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐPartialInfo(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BridgeTransaction_toInfo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BridgeTransaction",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "chainID":
                return ec.fieldContext_PartialInfo_chainID(ctx, field)
            case "destinationChainID":
                return ec.fieldContext_PartialInfo_destinationChainID(ctx, field)
            case "address":
                return ec.fieldContext_PartialInfo_address(ctx, field)
            case "txnHash":
                return ec.fieldContext_PartialInfo_txnHash(ctx, field)
            case "value":
                return ec.fieldContext_PartialInfo_value(ctx, field)
            case "formattedValue":
                return ec.fieldContext_PartialInfo_formattedValue(ctx, field)
            case "USDValue":
                return ec.fieldContext_PartialInfo_USDValue(ctx, field)
            case "tokenAddress":
                return ec.fieldContext_PartialInfo_tokenAddress(ctx, field)
            case "tokenSymbol":
                return ec.fieldContext_PartialInfo_tokenSymbol(ctx, field)
            case "blockNumber":
                return ec.fieldContext_PartialInfo_blockNumber(ctx, field)
            case "time":
                return ec.fieldContext_PartialInfo_time(ctx, field)
            case "formattedTime":
                return ec.fieldContext_PartialInfo_formattedTime(ctx, field)
            case "formattedEventType":
                return ec.fieldContext_PartialInfo_formattedEventType(ctx, field)
            case "eventType":
                return ec.fieldContext_PartialInfo_eventType(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type PartialInfo", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) _BridgeTransaction_kappa(ctx context.Context, field graphql.CollectedField, obj *model.BridgeTransaction) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BridgeTransaction_kappa(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Kappa, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BridgeTransaction_kappa(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BridgeTransaction",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _BridgeTransaction_pending(ctx context.Context, field graphql.CollectedField, obj *model.BridgeTransaction) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BridgeTransaction_pending(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Pending, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*bool)
    fc.Result = res
    return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BridgeTransaction_pending(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BridgeTransaction",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Boolean does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _BridgeTransaction_swapSuccess(ctx context.Context, field graphql.CollectedField, obj *model.BridgeTransaction) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BridgeTransaction_swapSuccess(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.SwapSuccess, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*bool)
    fc.Result = res
    return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BridgeTransaction_swapSuccess(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BridgeTransaction",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Boolean does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _BridgeTransaction_bridgeModule(ctx context.Context, field graphql.CollectedField, obj *model.BridgeTransaction) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BridgeTransaction_bridgeModule(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.BridgeModule, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BridgeTransaction_bridgeModule(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BridgeTransaction",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _BridgeWatcherTx_bridgeTx(ctx context.Context, field graphql.CollectedField, obj *model.BridgeWatcherTx) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BridgeWatcherTx_bridgeTx(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.BridgeTx, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.PartialInfo)
    fc.Result = res
    return ec.marshalOPartialInfo2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐPartialInfo(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BridgeWatcherTx_bridgeTx(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BridgeWatcherTx",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "chainID":
                return ec.fieldContext_PartialInfo_chainID(ctx, field)
            case "destinationChainID":
                return ec.fieldContext_PartialInfo_destinationChainID(ctx, field)
            case "address":
                return ec.fieldContext_PartialInfo_address(ctx, field)
            case "txnHash":
                return ec.fieldContext_PartialInfo_txnHash(ctx, field)
            case "value":
                return ec.fieldContext_PartialInfo_value(ctx, field)
            case "formattedValue":
                return ec.fieldContext_PartialInfo_formattedValue(ctx, field)
            case "USDValue":
                return ec.fieldContext_PartialInfo_USDValue(ctx, field)
            case "tokenAddress":
                return ec.fieldContext_PartialInfo_tokenAddress(ctx, field)
            case "tokenSymbol":
                return ec.fieldContext_PartialInfo_tokenSymbol(ctx, field)
            case "blockNumber":
                return ec.fieldContext_PartialInfo_blockNumber(ctx, field)
            case "time":
                return ec.fieldContext_PartialInfo_time(ctx, field)
            case "formattedTime":
                return ec.fieldContext_PartialInfo_formattedTime(ctx, field)
            case "formattedEventType":
                return ec.fieldContext_PartialInfo_formattedEventType(ctx, field)
            case "eventType":
                return ec.fieldContext_PartialInfo_eventType(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type PartialInfo", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) _BridgeWatcherTx_pending(ctx context.Context, field graphql.CollectedField, obj *model.BridgeWatcherTx) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BridgeWatcherTx_pending(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Pending, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*bool)
    fc.Result = res
    return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BridgeWatcherTx_pending(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BridgeWatcherTx",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Boolean does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _BridgeWatcherTx_type(ctx context.Context, field graphql.CollectedField, obj *model.BridgeWatcherTx) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BridgeWatcherTx_type(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Type, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.BridgeTxType)
    fc.Result = res
    return ec.marshalOBridgeTxType2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeTxType(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BridgeWatcherTx_type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BridgeWatcherTx",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type BridgeTxType does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _BridgeWatcherTx_kappa(ctx context.Context, field graphql.CollectedField, obj *model.BridgeWatcherTx) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BridgeWatcherTx_kappa(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Kappa, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BridgeWatcherTx_kappa(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BridgeWatcherTx",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _BridgeWatcherTx_kappaStatus(ctx context.Context, field graphql.CollectedField, obj *model.BridgeWatcherTx) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BridgeWatcherTx_kappaStatus(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.KappaStatus, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.KappaStatus)
    fc.Result = res
    return ec.marshalOKappaStatus2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐKappaStatus(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BridgeWatcherTx_kappaStatus(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BridgeWatcherTx",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type KappaStatus does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _BridgeWatcherTx_bridgeModule(ctx context.Context, field graphql.CollectedField, obj *model.BridgeWatcherTx) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_BridgeWatcherTx_bridgeModule(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.BridgeModule, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_BridgeWatcherTx_bridgeModule(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "BridgeWatcherTx",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResult_date(ctx context.Context, field graphql.CollectedField, obj *model.DateResult) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResult_date(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Date, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResult_date(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResult",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResult_total(ctx context.Context, field graphql.CollectedField, obj *model.DateResult) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResult_total(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Total, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResult_total(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResult",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_date(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_date(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Date, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_date(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_ethereum(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_ethereum(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Ethereum, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_ethereum(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_optimism(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_optimism(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Optimism, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_optimism(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_cronos(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_cronos(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Cronos, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_cronos(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_bsc(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_bsc(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Bsc, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_bsc(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_polygon(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_polygon(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Polygon, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_polygon(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_fantom(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_fantom(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Fantom, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_fantom(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_boba(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_boba(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Boba, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_boba(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_metis(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_metis(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Metis, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_metis(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_moonbeam(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_moonbeam(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Moonbeam, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_moonbeam(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_moonriver(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_moonriver(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Moonriver, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_moonriver(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_klaytn(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_klaytn(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Klaytn, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_klaytn(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_arbitrum(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_arbitrum(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Arbitrum, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_arbitrum(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_avalanche(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_avalanche(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Avalanche, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_avalanche(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_dfk(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_dfk(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Dfk, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_dfk(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_aurora(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_aurora(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Aurora, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_aurora(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_harmony(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_harmony(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Harmony, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_harmony(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_canto(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_canto(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Canto, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_canto(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_dogechain(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_dogechain(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Dogechain, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_dogechain(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_base(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_base(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Base, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_base(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_blast(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_blast(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Blast, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_blast(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_scroll(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_scroll(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Scroll, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_scroll(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_linea(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_linea(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Linea, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_linea(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_worldchain(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_worldchain(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Worldchain, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_worldchain(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _DateResultByChain_total(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_DateResultByChain_total(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Total, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_DateResultByChain_total(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "DateResultByChain",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _HeroType_recipient(ctx context.Context, field graphql.CollectedField, obj *model.HeroType) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_HeroType_recipient(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Recipient, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(string)
    fc.Result = res
    return ec.marshalNString2string(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_HeroType_recipient(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "HeroType",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _HeroType_heroID(ctx context.Context, field graphql.CollectedField, obj *model.HeroType) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_HeroType_heroID(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.HeroID, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(string)
    fc.Result = res
    return ec.marshalNString2string(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_HeroType_heroID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "HeroType",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _HistoricalResult_total(ctx context.Context, field graphql.CollectedField, obj *model.HistoricalResult) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_HistoricalResult_total(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Total, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_HistoricalResult_total(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "HistoricalResult",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _HistoricalResult_dateResults(ctx context.Context, field graphql.CollectedField, obj *model.HistoricalResult) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_HistoricalResult_dateResults(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.DateResults, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]*model.DateResult)
    fc.Result = res
    return ec.marshalODateResult2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDateResult(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_HistoricalResult_dateResults(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "HistoricalResult",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "date":
                return ec.fieldContext_DateResult_date(ctx, field)
            case "total":
                return ec.fieldContext_DateResult_total(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type DateResult", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) _HistoricalResult_type(ctx context.Context, field graphql.CollectedField, obj *model.HistoricalResult) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_HistoricalResult_type(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Type, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.HistoricalResultType)
    fc.Result = res
    return ec.marshalOHistoricalResultType2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐHistoricalResultType(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_HistoricalResult_type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "HistoricalResult",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type HistoricalResultType does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _Leaderboard_address(ctx context.Context, field graphql.CollectedField, obj *model.Leaderboard) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Leaderboard_address(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Address, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Leaderboard_address(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Leaderboard",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _Leaderboard_volumeUSD(ctx context.Context, field graphql.CollectedField, obj *model.Leaderboard) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Leaderboard_volumeUSD(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.VolumeUsd, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Leaderboard_volumeUSD(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Leaderboard",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _Leaderboard_fees(ctx context.Context, field graphql.CollectedField, obj *model.Leaderboard) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Leaderboard_fees(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Fees, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Leaderboard_fees(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Leaderboard",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _Leaderboard_txs(ctx context.Context, field graphql.CollectedField, obj *model.Leaderboard) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Leaderboard_txs(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Txs, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Leaderboard_txs(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Leaderboard",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _Leaderboard_rank(ctx context.Context, field graphql.CollectedField, obj *model.Leaderboard) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Leaderboard_rank(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Rank, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Leaderboard_rank(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Leaderboard",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _Leaderboard_avgVolumeUSD(ctx context.Context, field graphql.CollectedField, obj *model.Leaderboard) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Leaderboard_avgVolumeUSD(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.AvgVolumeUsd, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Leaderboard_avgVolumeUSD(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Leaderboard",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _MessageBusTransaction_fromInfo(ctx context.Context, field graphql.CollectedField, obj *model.MessageBusTransaction) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_MessageBusTransaction_fromInfo(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.FromInfo, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.PartialMessageBusInfo)
    fc.Result = res
    return ec.marshalOPartialMessageBusInfo2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐPartialMessageBusInfo(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_MessageBusTransaction_fromInfo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "MessageBusTransaction",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "chainID":
                return ec.fieldContext_PartialMessageBusInfo_chainID(ctx, field)
            case "chainName":
                return ec.fieldContext_PartialMessageBusInfo_chainName(ctx, field)
            case "destinationChainID":
                return ec.fieldContext_PartialMessageBusInfo_destinationChainID(ctx, field)
            case "destinationChainName":
                return ec.fieldContext_PartialMessageBusInfo_destinationChainName(ctx, field)
            case "contractAddress":
                return ec.fieldContext_PartialMessageBusInfo_contractAddress(ctx, field)
            case "txnHash":
                return ec.fieldContext_PartialMessageBusInfo_txnHash(ctx, field)
            case "message":
                return ec.fieldContext_PartialMessageBusInfo_message(ctx, field)
            case "messageType":
                return ec.fieldContext_PartialMessageBusInfo_messageType(ctx, field)
            case "blockNumber":
                return ec.fieldContext_PartialMessageBusInfo_blockNumber(ctx, field)
            case "time":
                return ec.fieldContext_PartialMessageBusInfo_time(ctx, field)
            case "formattedTime":
                return ec.fieldContext_PartialMessageBusInfo_formattedTime(ctx, field)
            case "revertedReason":
                return ec.fieldContext_PartialMessageBusInfo_revertedReason(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type PartialMessageBusInfo", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) _MessageBusTransaction_toInfo(ctx context.Context, field graphql.CollectedField, obj *model.MessageBusTransaction) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_MessageBusTransaction_toInfo(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.ToInfo, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.PartialMessageBusInfo)
    fc.Result = res
    return ec.marshalOPartialMessageBusInfo2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐPartialMessageBusInfo(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_MessageBusTransaction_toInfo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "MessageBusTransaction",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "chainID":
                return ec.fieldContext_PartialMessageBusInfo_chainID(ctx, field)
            case "chainName":
                return ec.fieldContext_PartialMessageBusInfo_chainName(ctx, field)
            case "destinationChainID":
                return ec.fieldContext_PartialMessageBusInfo_destinationChainID(ctx, field)
            case "destinationChainName":
                return ec.fieldContext_PartialMessageBusInfo_destinationChainName(ctx, field)
            case "contractAddress":
                return ec.fieldContext_PartialMessageBusInfo_contractAddress(ctx, field)
            case "txnHash":
                return ec.fieldContext_PartialMessageBusInfo_txnHash(ctx, field)
            case "message":
                return ec.fieldContext_PartialMessageBusInfo_message(ctx, field)
            case "messageType":
                return ec.fieldContext_PartialMessageBusInfo_messageType(ctx, field)
            case "blockNumber":
                return ec.fieldContext_PartialMessageBusInfo_blockNumber(ctx, field)
            case "time":
                return ec.fieldContext_PartialMessageBusInfo_time(ctx, field)
            case "formattedTime":
                return ec.fieldContext_PartialMessageBusInfo_formattedTime(ctx, field)
            case "revertedReason":
                return ec.fieldContext_PartialMessageBusInfo_revertedReason(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type PartialMessageBusInfo", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) _MessageBusTransaction_pending(ctx context.Context, field graphql.CollectedField, obj *model.MessageBusTransaction) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_MessageBusTransaction_pending(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Pending, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*bool)
    fc.Result = res
    return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_MessageBusTransaction_pending(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "MessageBusTransaction",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Boolean does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _MessageBusTransaction_messageID(ctx context.Context, field graphql.CollectedField, obj *model.MessageBusTransaction) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_MessageBusTransaction_messageID(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.MessageID, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_MessageBusTransaction_messageID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "MessageBusTransaction",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_chainID(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_chainID(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.ChainID, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_chainID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_destinationChainID(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_destinationChainID(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.DestinationChainID, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_destinationChainID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_address(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_address(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Address, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_address(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_txnHash(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_txnHash(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.TxnHash, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_txnHash(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_value(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_value(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Value, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_value(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_formattedValue(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_formattedValue(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.FormattedValue, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_formattedValue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_USDValue(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_USDValue(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.USDValue, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_USDValue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_tokenAddress(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_tokenAddress(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.TokenAddress, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_tokenAddress(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_tokenSymbol(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_tokenSymbol(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.TokenSymbol, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_tokenSymbol(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_blockNumber(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_blockNumber(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.BlockNumber, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_blockNumber(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_time(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_time(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Time, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_time(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_formattedTime(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_formattedTime(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.FormattedTime, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_formattedTime(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_formattedEventType(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_formattedEventType(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.FormattedEventType, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_formattedEventType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialInfo_eventType(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialInfo_eventType(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.EventType, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialInfo_eventType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialMessageBusInfo_chainID(ctx context.Context, field graphql.CollectedField, obj *model.PartialMessageBusInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialMessageBusInfo_chainID(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.ChainID, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialMessageBusInfo_chainID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialMessageBusInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialMessageBusInfo_chainName(ctx context.Context, field graphql.CollectedField, obj *model.PartialMessageBusInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialMessageBusInfo_chainName(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.ChainName, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialMessageBusInfo_chainName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialMessageBusInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialMessageBusInfo_destinationChainID(ctx context.Context, field graphql.CollectedField, obj *model.PartialMessageBusInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialMessageBusInfo_destinationChainID(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.DestinationChainID, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialMessageBusInfo_destinationChainID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialMessageBusInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialMessageBusInfo_destinationChainName(ctx context.Context, field graphql.CollectedField, obj *model.PartialMessageBusInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialMessageBusInfo_destinationChainName(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.DestinationChainName, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialMessageBusInfo_destinationChainName(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialMessageBusInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialMessageBusInfo_contractAddress(ctx context.Context, field graphql.CollectedField, obj *model.PartialMessageBusInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialMessageBusInfo_contractAddress(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.ContractAddress, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialMessageBusInfo_contractAddress(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialMessageBusInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialMessageBusInfo_txnHash(ctx context.Context, field graphql.CollectedField, obj *model.PartialMessageBusInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialMessageBusInfo_txnHash(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.TxnHash, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialMessageBusInfo_txnHash(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialMessageBusInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialMessageBusInfo_message(ctx context.Context, field graphql.CollectedField, obj *model.PartialMessageBusInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialMessageBusInfo_message(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Message, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialMessageBusInfo_message(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialMessageBusInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialMessageBusInfo_messageType(ctx context.Context, field graphql.CollectedField, obj *model.PartialMessageBusInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialMessageBusInfo_messageType(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.MessageType, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(model.MessageType)
    fc.Result = res
    return ec.marshalOMessageType2githubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐMessageType(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialMessageBusInfo_messageType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialMessageBusInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type MessageType does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialMessageBusInfo_blockNumber(ctx context.Context, field graphql.CollectedField, obj *model.PartialMessageBusInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialMessageBusInfo_blockNumber(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.BlockNumber, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialMessageBusInfo_blockNumber(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialMessageBusInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialMessageBusInfo_time(ctx context.Context, field graphql.CollectedField, obj *model.PartialMessageBusInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialMessageBusInfo_time(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Time, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialMessageBusInfo_time(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialMessageBusInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialMessageBusInfo_formattedTime(ctx context.Context, field graphql.CollectedField, obj *model.PartialMessageBusInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialMessageBusInfo_formattedTime(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.FormattedTime, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialMessageBusInfo_formattedTime(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialMessageBusInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PartialMessageBusInfo_revertedReason(ctx context.Context, field graphql.CollectedField, obj *model.PartialMessageBusInfo) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PartialMessageBusInfo_revertedReason(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.RevertedReason, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PartialMessageBusInfo_revertedReason(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PartialMessageBusInfo",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PetType_recipient(ctx context.Context, field graphql.CollectedField, obj *model.PetType) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PetType_recipient(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Recipient, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(string)
    fc.Result = res
    return ec.marshalNString2string(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PetType_recipient(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PetType",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PetType_petID(ctx context.Context, field graphql.CollectedField, obj *model.PetType) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PetType_petID(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.PetID, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(string)
    fc.Result = res
    return ec.marshalNString2string(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PetType_petID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PetType",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _PetType_name(ctx context.Context, field graphql.CollectedField, obj *model.PetType) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_PetType_name(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Name, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(string)
    fc.Result = res
    return ec.marshalNString2string(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_PetType_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "PetType",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _Query_bridgeTransactions(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_bridgeTransactions(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().BridgeTransactions(rctx, fc.Args["chainIDFrom"].([]*int), fc.Args["chainIDTo"].([]*int), fc.Args["addressFrom"].(*string), fc.Args["addressTo"].(*string), fc.Args["maxAmount"].(*int), fc.Args["minAmount"].(*int), fc.Args["maxAmountUsd"].(*int), fc.Args["minAmountUsd"].(*int), fc.Args["startTime"].(*int), fc.Args["endTime"].(*int), fc.Args["txnHash"].(*string), fc.Args["kappa"].(*string), fc.Args["pending"].(*bool), fc.Args["useMv"].(*bool), fc.Args["page"].(*int), fc.Args["tokenAddressFrom"].([]*string), fc.Args["tokenAddressTo"].([]*string), fc.Args["onlyCCTP"].(*bool))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]*model.BridgeTransaction)
    fc.Result = res
    return ec.marshalOBridgeTransaction2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeTransaction(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_bridgeTransactions(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "fromInfo":
                return ec.fieldContext_BridgeTransaction_fromInfo(ctx, field)
            case "toInfo":
                return ec.fieldContext_BridgeTransaction_toInfo(ctx, field)
            case "kappa":
                return ec.fieldContext_BridgeTransaction_kappa(ctx, field)
            case "pending":
                return ec.fieldContext_BridgeTransaction_pending(ctx, field)
            case "swapSuccess":
                return ec.fieldContext_BridgeTransaction_swapSuccess(ctx, field)
            case "bridgeModule":
                return ec.fieldContext_BridgeTransaction_bridgeModule(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type BridgeTransaction", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_bridgeTransactions_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query_messageBusTransactions(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_messageBusTransactions(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().MessageBusTransactions(rctx, fc.Args["chainID"].([]*int), fc.Args["contractAddress"].(*string), fc.Args["startTime"].(*int), fc.Args["endTime"].(*int), fc.Args["txnHash"].(*string), fc.Args["messageID"].(*string), fc.Args["pending"].(*bool), fc.Args["reverted"].(*bool), fc.Args["page"].(*int))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]*model.MessageBusTransaction)
    fc.Result = res
    return ec.marshalOMessageBusTransaction2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐMessageBusTransaction(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_messageBusTransactions(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "fromInfo":
                return ec.fieldContext_MessageBusTransaction_fromInfo(ctx, field)
            case "toInfo":
                return ec.fieldContext_MessageBusTransaction_toInfo(ctx, field)
            case "pending":
                return ec.fieldContext_MessageBusTransaction_pending(ctx, field)
            case "messageID":
                return ec.fieldContext_MessageBusTransaction_messageID(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type MessageBusTransaction", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_messageBusTransactions_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query_countByChainId(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_countByChainId(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().CountByChainID(rctx, fc.Args["chainID"].(*int), fc.Args["address"].(*string), fc.Args["direction"].(*model.Direction), fc.Args["hours"].(*int))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]*model.TransactionCountResult)
    fc.Result = res
    return ec.marshalOTransactionCountResult2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐTransactionCountResult(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_countByChainId(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "chainID":
                return ec.fieldContext_TransactionCountResult_chainID(ctx, field)
            case "count":
                return ec.fieldContext_TransactionCountResult_count(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type TransactionCountResult", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_countByChainId_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query_countByTokenAddress(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_countByTokenAddress(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().CountByTokenAddress(rctx, fc.Args["chainID"].(*int), fc.Args["address"].(*string), fc.Args["direction"].(*model.Direction), fc.Args["hours"].(*int))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]*model.TokenCountResult)
    fc.Result = res
    return ec.marshalOTokenCountResult2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐTokenCountResult(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_countByTokenAddress(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "chainID":
                return ec.fieldContext_TokenCountResult_chainID(ctx, field)
            case "tokenAddress":
                return ec.fieldContext_TokenCountResult_tokenAddress(ctx, field)
            case "count":
                return ec.fieldContext_TokenCountResult_count(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type TokenCountResult", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_countByTokenAddress_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query_addressRanking(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_addressRanking(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().AddressRanking(rctx, fc.Args["hours"].(*int))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]*model.AddressRanking)
    fc.Result = res
    return ec.marshalOAddressRanking2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressRanking(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_addressRanking(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "address":
                return ec.fieldContext_AddressRanking_address(ctx, field)
            case "count":
                return ec.fieldContext_AddressRanking_count(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type AddressRanking", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_addressRanking_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query_amountStatistic(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_amountStatistic(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().AmountStatistic(rctx, fc.Args["type"].(model.StatisticType), fc.Args["duration"].(*model.Duration), fc.Args["platform"].(*model.Platform), fc.Args["chainID"].(*int), fc.Args["address"].(*string), fc.Args["tokenAddress"].(*string), fc.Args["useCache"].(*bool), fc.Args["useMv"].(*bool))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.ValueResult)
    fc.Result = res
    return ec.marshalOValueResult2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐValueResult(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_amountStatistic(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "value":
                return ec.fieldContext_ValueResult_value(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type ValueResult", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_amountStatistic_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query_dailyStatisticsByChain(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_dailyStatisticsByChain(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().DailyStatisticsByChain(rctx, fc.Args["chainID"].(*int), fc.Args["type"].(*model.DailyStatisticType), fc.Args["platform"].(*model.Platform), fc.Args["duration"].(*model.Duration), fc.Args["useCache"].(*bool), fc.Args["useMv"].(*bool))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]*model.DateResultByChain)
    fc.Result = res
    return ec.marshalODateResultByChain2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDateResultByChain(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_dailyStatisticsByChain(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "date":
                return ec.fieldContext_DateResultByChain_date(ctx, field)
            case "ethereum":
                return ec.fieldContext_DateResultByChain_ethereum(ctx, field)
            case "optimism":
                return ec.fieldContext_DateResultByChain_optimism(ctx, field)
            case "cronos":
                return ec.fieldContext_DateResultByChain_cronos(ctx, field)
            case "bsc":
                return ec.fieldContext_DateResultByChain_bsc(ctx, field)
            case "polygon":
                return ec.fieldContext_DateResultByChain_polygon(ctx, field)
            case "fantom":
                return ec.fieldContext_DateResultByChain_fantom(ctx, field)
            case "boba":
                return ec.fieldContext_DateResultByChain_boba(ctx, field)
            case "metis":
                return ec.fieldContext_DateResultByChain_metis(ctx, field)
            case "moonbeam":
                return ec.fieldContext_DateResultByChain_moonbeam(ctx, field)
            case "moonriver":
                return ec.fieldContext_DateResultByChain_moonriver(ctx, field)
            case "klaytn":
                return ec.fieldContext_DateResultByChain_klaytn(ctx, field)
            case "arbitrum":
                return ec.fieldContext_DateResultByChain_arbitrum(ctx, field)
            case "avalanche":
                return ec.fieldContext_DateResultByChain_avalanche(ctx, field)
            case "dfk":
                return ec.fieldContext_DateResultByChain_dfk(ctx, field)
            case "aurora":
                return ec.fieldContext_DateResultByChain_aurora(ctx, field)
            case "harmony":
                return ec.fieldContext_DateResultByChain_harmony(ctx, field)
            case "canto":
                return ec.fieldContext_DateResultByChain_canto(ctx, field)
            case "dogechain":
                return ec.fieldContext_DateResultByChain_dogechain(ctx, field)
            case "base":
                return ec.fieldContext_DateResultByChain_base(ctx, field)
            case "blast":
                return ec.fieldContext_DateResultByChain_blast(ctx, field)
            case "scroll":
                return ec.fieldContext_DateResultByChain_scroll(ctx, field)
            case "linea":
                return ec.fieldContext_DateResultByChain_linea(ctx, field)
            case "worldchain":
                return ec.fieldContext_DateResultByChain_worldchain(ctx, field)
            case "total":
                return ec.fieldContext_DateResultByChain_total(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type DateResultByChain", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_dailyStatisticsByChain_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query_rankedChainIDsByVolume(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_rankedChainIDsByVolume(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().RankedChainIDsByVolume(rctx, fc.Args["duration"].(*model.Duration), fc.Args["useCache"].(*bool))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]*model.VolumeByChainID)
    fc.Result = res
    return ec.marshalOVolumeByChainID2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐVolumeByChainID(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_rankedChainIDsByVolume(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "chainID":
                return ec.fieldContext_VolumeByChainID_chainID(ctx, field)
            case "total":
                return ec.fieldContext_VolumeByChainID_total(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type VolumeByChainID", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_rankedChainIDsByVolume_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query_addressData(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_addressData(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().AddressData(rctx, fc.Args["address"].(string))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.AddressData)
    fc.Result = res
    return ec.marshalOAddressData2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressData(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_addressData(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "bridgeVolume":
                return ec.fieldContext_AddressData_bridgeVolume(ctx, field)
            case "bridgeFees":
                return ec.fieldContext_AddressData_bridgeFees(ctx, field)
            case "bridgeTxs":
                return ec.fieldContext_AddressData_bridgeTxs(ctx, field)
            case "swapVolume":
                return ec.fieldContext_AddressData_swapVolume(ctx, field)
            case "swapFees":
                return ec.fieldContext_AddressData_swapFees(ctx, field)
            case "swapTxs":
                return ec.fieldContext_AddressData_swapTxs(ctx, field)
            case "rank":
                return ec.fieldContext_AddressData_rank(ctx, field)
            case "earliestTx":
                return ec.fieldContext_AddressData_earliestTx(ctx, field)
            case "chainRanking":
                return ec.fieldContext_AddressData_chainRanking(ctx, field)
            case "dailyData":
                return ec.fieldContext_AddressData_dailyData(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type AddressData", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_addressData_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query_leaderboard(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_leaderboard(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().Leaderboard(rctx, fc.Args["duration"].(*model.Duration), fc.Args["chainID"].(*int), fc.Args["useMv"].(*bool), fc.Args["page"].(*int))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]*model.Leaderboard)
    fc.Result = res
    return ec.marshalOLeaderboard2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐLeaderboard(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_leaderboard(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "address":
                return ec.fieldContext_Leaderboard_address(ctx, field)
            case "volumeUSD":
                return ec.fieldContext_Leaderboard_volumeUSD(ctx, field)
            case "fees":
                return ec.fieldContext_Leaderboard_fees(ctx, field)
            case "txs":
                return ec.fieldContext_Leaderboard_txs(ctx, field)
            case "rank":
                return ec.fieldContext_Leaderboard_rank(ctx, field)
            case "avgVolumeUSD":
                return ec.fieldContext_Leaderboard_avgVolumeUSD(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type Leaderboard", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_leaderboard_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query_getOriginBridgeTx(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_getOriginBridgeTx(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().GetOriginBridgeTx(rctx, fc.Args["chainID"].(int), fc.Args["txnHash"].(string), fc.Args["bridgeType"].(model.BridgeType))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.BridgeWatcherTx)
    fc.Result = res
    return ec.marshalOBridgeWatcherTx2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeWatcherTx(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_getOriginBridgeTx(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "bridgeTx":
                return ec.fieldContext_BridgeWatcherTx_bridgeTx(ctx, field)
            case "pending":
                return ec.fieldContext_BridgeWatcherTx_pending(ctx, field)
            case "type":
                return ec.fieldContext_BridgeWatcherTx_type(ctx, field)
            case "kappa":
                return ec.fieldContext_BridgeWatcherTx_kappa(ctx, field)
            case "kappaStatus":
                return ec.fieldContext_BridgeWatcherTx_kappaStatus(ctx, field)
            case "bridgeModule":
                return ec.fieldContext_BridgeWatcherTx_bridgeModule(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type BridgeWatcherTx", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_getOriginBridgeTx_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query_getDestinationBridgeTx(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_getDestinationBridgeTx(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().GetDestinationBridgeTx(rctx, fc.Args["chainID"].(int), fc.Args["address"].(string), fc.Args["kappa"].(string), fc.Args["timestamp"].(int), fc.Args["bridgeType"].(model.BridgeType), fc.Args["historical"].(*bool))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*model.BridgeWatcherTx)
    fc.Result = res
    return ec.marshalOBridgeWatcherTx2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeWatcherTx(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_getDestinationBridgeTx(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "bridgeTx":
                return ec.fieldContext_BridgeWatcherTx_bridgeTx(ctx, field)
            case "pending":
                return ec.fieldContext_BridgeWatcherTx_pending(ctx, field)
            case "type":
                return ec.fieldContext_BridgeWatcherTx_type(ctx, field)
            case "kappa":
                return ec.fieldContext_BridgeWatcherTx_kappa(ctx, field)
            case "kappaStatus":
                return ec.fieldContext_BridgeWatcherTx_kappaStatus(ctx, field)
            case "bridgeModule":
                return ec.fieldContext_BridgeWatcherTx_bridgeModule(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type BridgeWatcherTx", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_getDestinationBridgeTx_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query_getBlockHeight(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query_getBlockHeight(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.resolvers.Query().GetBlockHeight(rctx, fc.Args["contracts"].([]*model.ContractQuery))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]*model.BlockHeight)
    fc.Result = res
    return ec.marshalOBlockHeight2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBlockHeight(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query_getBlockHeight(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: true,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "chainID":
                return ec.fieldContext_BlockHeight_chainID(ctx, field)
            case "type":
                return ec.fieldContext_BlockHeight_type(ctx, field)
            case "blockNumber":
                return ec.fieldContext_BlockHeight_blockNumber(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type BlockHeight", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query_getBlockHeight_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query___type(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query___type(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.introspectType(fc.Args["name"].(string))
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*introspection.Type)
    fc.Result = res
    return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query___type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "kind":
                return ec.fieldContext___Type_kind(ctx, field)
            case "name":
                return ec.fieldContext___Type_name(ctx, field)
            case "description":
                return ec.fieldContext___Type_description(ctx, field)
            case "fields":
                return ec.fieldContext___Type_fields(ctx, field)
            case "interfaces":
                return ec.fieldContext___Type_interfaces(ctx, field)
            case "possibleTypes":
                return ec.fieldContext___Type_possibleTypes(ctx, field)
            case "enumValues":
                return ec.fieldContext___Type_enumValues(ctx, field)
            case "inputFields":
                return ec.fieldContext___Type_inputFields(ctx, field)
            case "ofType":
                return ec.fieldContext___Type_ofType(ctx, field)
            case "specifiedByURL":
                return ec.fieldContext___Type_specifiedByURL(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field_Query___type_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_Query___schema(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return ec.introspectSchema()
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*introspection.Schema)
    fc.Result = res
    return ec.marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_Query___schema(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "Query",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "description":
                return ec.fieldContext___Schema_description(ctx, field)
            case "types":
                return ec.fieldContext___Schema_types(ctx, field)
            case "queryType":
                return ec.fieldContext___Schema_queryType(ctx, field)
            case "mutationType":
                return ec.fieldContext___Schema_mutationType(ctx, field)
            case "subscriptionType":
                return ec.fieldContext___Schema_subscriptionType(ctx, field)
            case "directives":
                return ec.fieldContext___Schema_directives(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Schema", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) _TearType_recipient(ctx context.Context, field graphql.CollectedField, obj *model.TearType) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_TearType_recipient(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Recipient, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(string)
    fc.Result = res
    return ec.marshalNString2string(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_TearType_recipient(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "TearType",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _TearType_amount(ctx context.Context, field graphql.CollectedField, obj *model.TearType) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_TearType_amount(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Amount, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(string)
    fc.Result = res
    return ec.marshalNString2string(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_TearType_amount(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "TearType",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _TokenCountResult_chainID(ctx context.Context, field graphql.CollectedField, obj *model.TokenCountResult) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_TokenCountResult_chainID(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.ChainID, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_TokenCountResult_chainID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "TokenCountResult",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _TokenCountResult_tokenAddress(ctx context.Context, field graphql.CollectedField, obj *model.TokenCountResult) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_TokenCountResult_tokenAddress(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.TokenAddress, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_TokenCountResult_tokenAddress(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "TokenCountResult",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _TokenCountResult_count(ctx context.Context, field graphql.CollectedField, obj *model.TokenCountResult) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_TokenCountResult_count(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Count, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_TokenCountResult_count(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "TokenCountResult",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _TransactionCountResult_chainID(ctx context.Context, field graphql.CollectedField, obj *model.TransactionCountResult) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_TransactionCountResult_chainID(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.ChainID, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_TransactionCountResult_chainID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "TransactionCountResult",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _TransactionCountResult_count(ctx context.Context, field graphql.CollectedField, obj *model.TransactionCountResult) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_TransactionCountResult_count(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Count, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_TransactionCountResult_count(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "TransactionCountResult",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _UnknownType_known(ctx context.Context, field graphql.CollectedField, obj *model.UnknownType) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_UnknownType_known(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Known, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(bool)
    fc.Result = res
    return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_UnknownType_known(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "UnknownType",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Boolean does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _ValueResult_value(ctx context.Context, field graphql.CollectedField, obj *model.ValueResult) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_ValueResult_value(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Value, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_ValueResult_value(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "ValueResult",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _VolumeByChainID_chainID(ctx context.Context, field graphql.CollectedField, obj *model.VolumeByChainID) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_VolumeByChainID_chainID(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.ChainID, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*int)
    fc.Result = res
    return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_VolumeByChainID_chainID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "VolumeByChainID",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Int does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) _VolumeByChainID_total(ctx context.Context, field graphql.CollectedField, obj *model.VolumeByChainID) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_VolumeByChainID_total(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Total, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*float64)
    fc.Result = res
    return ec.marshalOFloat2ᚖfloat64(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext_VolumeByChainID_total(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "VolumeByChainID",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Float does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Directive_name(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Name, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(string)
    fc.Result = res
    return ec.marshalNString2string(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Directive_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Directive",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Directive_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Directive_description(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Description(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Directive_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Directive",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Directive_locations(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Directive_locations(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Locations, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.([]string)
    fc.Result = res
    return ec.marshalN__DirectiveLocation2ᚕstringᚄ(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Directive_locations(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Directive",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type __DirectiveLocation does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Directive_args(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Args, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.([]introspection.InputValue)
    fc.Result = res
    return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Directive_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Directive",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "name":
                return ec.fieldContext___InputValue_name(ctx, field)
            case "description":
                return ec.fieldContext___InputValue_description(ctx, field)
            case "type":
                return ec.fieldContext___InputValue_type(ctx, field)
            case "defaultValue":
                return ec.fieldContext___InputValue_defaultValue(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Directive_isRepeatable(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.IsRepeatable, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(bool)
    fc.Result = res
    return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Directive",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Boolean does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___EnumValue_name(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___EnumValue_name(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Name, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(string)
    fc.Result = res
    return ec.marshalNString2string(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___EnumValue_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__EnumValue",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___EnumValue_description(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___EnumValue_description(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Description(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___EnumValue_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__EnumValue",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___EnumValue_isDeprecated(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.IsDeprecated(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(bool)
    fc.Result = res
    return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___EnumValue_isDeprecated(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__EnumValue",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Boolean does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___EnumValue_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___EnumValue_deprecationReason(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.DeprecationReason(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___EnumValue_deprecationReason(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__EnumValue",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Field_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Field_name(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Name, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(string)
    fc.Result = res
    return ec.marshalNString2string(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Field_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Field",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Field_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Field_description(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Description(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Field_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Field",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Field_args(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Args, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.([]introspection.InputValue)
    fc.Result = res
    return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Field_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Field",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "name":
                return ec.fieldContext___InputValue_name(ctx, field)
            case "description":
                return ec.fieldContext___InputValue_description(ctx, field)
            case "type":
                return ec.fieldContext___InputValue_type(ctx, field)
            case "defaultValue":
                return ec.fieldContext___InputValue_defaultValue(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Field_type(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Field_type(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Type, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(*introspection.Type)
    fc.Result = res
    return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Field_type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Field",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "kind":
                return ec.fieldContext___Type_kind(ctx, field)
            case "name":
                return ec.fieldContext___Type_name(ctx, field)
            case "description":
                return ec.fieldContext___Type_description(ctx, field)
            case "fields":
                return ec.fieldContext___Type_fields(ctx, field)
            case "interfaces":
                return ec.fieldContext___Type_interfaces(ctx, field)
            case "possibleTypes":
                return ec.fieldContext___Type_possibleTypes(ctx, field)
            case "enumValues":
                return ec.fieldContext___Type_enumValues(ctx, field)
            case "inputFields":
                return ec.fieldContext___Type_inputFields(ctx, field)
            case "ofType":
                return ec.fieldContext___Type_ofType(ctx, field)
            case "specifiedByURL":
                return ec.fieldContext___Type_specifiedByURL(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Field_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Field_isDeprecated(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.IsDeprecated(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(bool)
    fc.Result = res
    return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Field_isDeprecated(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Field",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type Boolean does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Field_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Field_deprecationReason(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.DeprecationReason(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Field_deprecationReason(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Field",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___InputValue_name(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___InputValue_name(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Name, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(string)
    fc.Result = res
    return ec.marshalNString2string(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___InputValue_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__InputValue",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___InputValue_description(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___InputValue_description(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Description(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___InputValue_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__InputValue",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___InputValue_type(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___InputValue_type(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Type, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(*introspection.Type)
    fc.Result = res
    return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___InputValue_type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__InputValue",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "kind":
                return ec.fieldContext___Type_kind(ctx, field)
            case "name":
                return ec.fieldContext___Type_name(ctx, field)
            case "description":
                return ec.fieldContext___Type_description(ctx, field)
            case "fields":
                return ec.fieldContext___Type_fields(ctx, field)
            case "interfaces":
                return ec.fieldContext___Type_interfaces(ctx, field)
            case "possibleTypes":
                return ec.fieldContext___Type_possibleTypes(ctx, field)
            case "enumValues":
                return ec.fieldContext___Type_enumValues(ctx, field)
            case "inputFields":
                return ec.fieldContext___Type_inputFields(ctx, field)
            case "ofType":
                return ec.fieldContext___Type_ofType(ctx, field)
            case "specifiedByURL":
                return ec.fieldContext___Type_specifiedByURL(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___InputValue_defaultValue(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___InputValue_defaultValue(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.DefaultValue, nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___InputValue_defaultValue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__InputValue",
        Field:      field,
        IsMethod:   false,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Schema_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Schema_description(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Description(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Schema_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Schema",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Schema_types(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Schema_types(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Types(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.([]introspection.Type)
    fc.Result = res
    return ec.marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Schema_types(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Schema",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "kind":
                return ec.fieldContext___Type_kind(ctx, field)
            case "name":
                return ec.fieldContext___Type_name(ctx, field)
            case "description":
                return ec.fieldContext___Type_description(ctx, field)
            case "fields":
                return ec.fieldContext___Type_fields(ctx, field)
            case "interfaces":
                return ec.fieldContext___Type_interfaces(ctx, field)
            case "possibleTypes":
                return ec.fieldContext___Type_possibleTypes(ctx, field)
            case "enumValues":
                return ec.fieldContext___Type_enumValues(ctx, field)
            case "inputFields":
                return ec.fieldContext___Type_inputFields(ctx, field)
            case "ofType":
                return ec.fieldContext___Type_ofType(ctx, field)
            case "specifiedByURL":
                return ec.fieldContext___Type_specifiedByURL(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Schema_queryType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Schema_queryType(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.QueryType(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(*introspection.Type)
    fc.Result = res
    return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Schema_queryType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Schema",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "kind":
                return ec.fieldContext___Type_kind(ctx, field)
            case "name":
                return ec.fieldContext___Type_name(ctx, field)
            case "description":
                return ec.fieldContext___Type_description(ctx, field)
            case "fields":
                return ec.fieldContext___Type_fields(ctx, field)
            case "interfaces":
                return ec.fieldContext___Type_interfaces(ctx, field)
            case "possibleTypes":
                return ec.fieldContext___Type_possibleTypes(ctx, field)
            case "enumValues":
                return ec.fieldContext___Type_enumValues(ctx, field)
            case "inputFields":
                return ec.fieldContext___Type_inputFields(ctx, field)
            case "ofType":
                return ec.fieldContext___Type_ofType(ctx, field)
            case "specifiedByURL":
                return ec.fieldContext___Type_specifiedByURL(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Schema_mutationType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Schema_mutationType(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.MutationType(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*introspection.Type)
    fc.Result = res
    return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Schema_mutationType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Schema",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "kind":
                return ec.fieldContext___Type_kind(ctx, field)
            case "name":
                return ec.fieldContext___Type_name(ctx, field)
            case "description":
                return ec.fieldContext___Type_description(ctx, field)
            case "fields":
                return ec.fieldContext___Type_fields(ctx, field)
            case "interfaces":
                return ec.fieldContext___Type_interfaces(ctx, field)
            case "possibleTypes":
                return ec.fieldContext___Type_possibleTypes(ctx, field)
            case "enumValues":
                return ec.fieldContext___Type_enumValues(ctx, field)
            case "inputFields":
                return ec.fieldContext___Type_inputFields(ctx, field)
            case "ofType":
                return ec.fieldContext___Type_ofType(ctx, field)
            case "specifiedByURL":
                return ec.fieldContext___Type_specifiedByURL(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Schema_subscriptionType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Schema_subscriptionType(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.SubscriptionType(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*introspection.Type)
    fc.Result = res
    return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Schema_subscriptionType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Schema",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "kind":
                return ec.fieldContext___Type_kind(ctx, field)
            case "name":
                return ec.fieldContext___Type_name(ctx, field)
            case "description":
                return ec.fieldContext___Type_description(ctx, field)
            case "fields":
                return ec.fieldContext___Type_fields(ctx, field)
            case "interfaces":
                return ec.fieldContext___Type_interfaces(ctx, field)
            case "possibleTypes":
                return ec.fieldContext___Type_possibleTypes(ctx, field)
            case "enumValues":
                return ec.fieldContext___Type_enumValues(ctx, field)
            case "inputFields":
                return ec.fieldContext___Type_inputFields(ctx, field)
            case "ofType":
                return ec.fieldContext___Type_ofType(ctx, field)
            case "specifiedByURL":
                return ec.fieldContext___Type_specifiedByURL(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Schema_directives(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Schema_directives(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Directives(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.([]introspection.Directive)
    fc.Result = res
    return ec.marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Schema_directives(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Schema",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "name":
                return ec.fieldContext___Directive_name(ctx, field)
            case "description":
                return ec.fieldContext___Directive_description(ctx, field)
            case "locations":
                return ec.fieldContext___Directive_locations(ctx, field)
            case "args":
                return ec.fieldContext___Directive_args(ctx, field)
            case "isRepeatable":
                return ec.fieldContext___Directive_isRepeatable(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Directive", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Type_kind(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Type_kind(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Kind(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        if !graphql.HasFieldError(ctx, fc) {
            ec.Errorf(ctx, "must not be null")
        }
        return graphql.Null
    }
    res := resTmp.(string)
    fc.Result = res
    return ec.marshalN__TypeKind2string(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Type_kind(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Type",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type __TypeKind does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Type_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Type_name(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Name(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Type_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Type",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Type_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Type_description(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Description(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Type_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Type",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Type_fields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Type_fields(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Fields(fc.Args["includeDeprecated"].(bool)), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]introspection.Field)
    fc.Result = res
    return ec.marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐFieldᚄ(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Type_fields(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Type",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "name":
                return ec.fieldContext___Field_name(ctx, field)
            case "description":
                return ec.fieldContext___Field_description(ctx, field)
            case "args":
                return ec.fieldContext___Field_args(ctx, field)
            case "type":
                return ec.fieldContext___Field_type(ctx, field)
            case "isDeprecated":
                return ec.fieldContext___Field_isDeprecated(ctx, field)
            case "deprecationReason":
                return ec.fieldContext___Field_deprecationReason(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Field", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field___Type_fields_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) ___Type_interfaces(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Type_interfaces(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.Interfaces(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]introspection.Type)
    fc.Result = res
    return ec.marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Type_interfaces(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Type",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "kind":
                return ec.fieldContext___Type_kind(ctx, field)
            case "name":
                return ec.fieldContext___Type_name(ctx, field)
            case "description":
                return ec.fieldContext___Type_description(ctx, field)
            case "fields":
                return ec.fieldContext___Type_fields(ctx, field)
            case "interfaces":
                return ec.fieldContext___Type_interfaces(ctx, field)
            case "possibleTypes":
                return ec.fieldContext___Type_possibleTypes(ctx, field)
            case "enumValues":
                return ec.fieldContext___Type_enumValues(ctx, field)
            case "inputFields":
                return ec.fieldContext___Type_inputFields(ctx, field)
            case "ofType":
                return ec.fieldContext___Type_ofType(ctx, field)
            case "specifiedByURL":
                return ec.fieldContext___Type_specifiedByURL(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Type_possibleTypes(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.PossibleTypes(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]introspection.Type)
    fc.Result = res
    return ec.marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Type_possibleTypes(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Type",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "kind":
                return ec.fieldContext___Type_kind(ctx, field)
            case "name":
                return ec.fieldContext___Type_name(ctx, field)
            case "description":
                return ec.fieldContext___Type_description(ctx, field)
            case "fields":
                return ec.fieldContext___Type_fields(ctx, field)
            case "interfaces":
                return ec.fieldContext___Type_interfaces(ctx, field)
            case "possibleTypes":
                return ec.fieldContext___Type_possibleTypes(ctx, field)
            case "enumValues":
                return ec.fieldContext___Type_enumValues(ctx, field)
            case "inputFields":
                return ec.fieldContext___Type_inputFields(ctx, field)
            case "ofType":
                return ec.fieldContext___Type_ofType(ctx, field)
            case "specifiedByURL":
                return ec.fieldContext___Type_specifiedByURL(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Type_enumValues(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Type_enumValues(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.EnumValues(fc.Args["includeDeprecated"].(bool)), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]introspection.EnumValue)
    fc.Result = res
    return ec.marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Type_enumValues(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Type",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "name":
                return ec.fieldContext___EnumValue_name(ctx, field)
            case "description":
                return ec.fieldContext___EnumValue_description(ctx, field)
            case "isDeprecated":
                return ec.fieldContext___EnumValue_isDeprecated(ctx, field)
            case "deprecationReason":
                return ec.fieldContext___EnumValue_deprecationReason(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __EnumValue", field.Name)
        },
    }
    defer func() {
        if r := recover(); r != nil {
            err = ec.Recover(ctx, r)
            ec.Error(ctx, err)
        }
    }()
    ctx = graphql.WithFieldContext(ctx, fc)
    if fc.Args, err = ec.field___Type_enumValues_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
        ec.Error(ctx, err)
        return fc, err
    }
    return fc, nil
}

func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Type_inputFields(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.InputFields(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.([]introspection.InputValue)
    fc.Result = res
    return ec.marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Type_inputFields(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Type",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "name":
                return ec.fieldContext___InputValue_name(ctx, field)
            case "description":
                return ec.fieldContext___InputValue_description(ctx, field)
            case "type":
                return ec.fieldContext___InputValue_type(ctx, field)
            case "defaultValue":
                return ec.fieldContext___InputValue_defaultValue(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Type_ofType(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Type_ofType(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.OfType(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*introspection.Type)
    fc.Result = res
    return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Type_ofType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Type",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            switch field.Name {
            case "kind":
                return ec.fieldContext___Type_kind(ctx, field)
            case "name":
                return ec.fieldContext___Type_name(ctx, field)
            case "description":
                return ec.fieldContext___Type_description(ctx, field)
            case "fields":
                return ec.fieldContext___Type_fields(ctx, field)
            case "interfaces":
                return ec.fieldContext___Type_interfaces(ctx, field)
            case "possibleTypes":
                return ec.fieldContext___Type_possibleTypes(ctx, field)
            case "enumValues":
                return ec.fieldContext___Type_enumValues(ctx, field)
            case "inputFields":
                return ec.fieldContext___Type_inputFields(ctx, field)
            case "ofType":
                return ec.fieldContext___Type_ofType(ctx, field)
            case "specifiedByURL":
                return ec.fieldContext___Type_specifiedByURL(ctx, field)
            }
            return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
        },
    }
    return fc, nil
}

func (ec *executionContext) ___Type_specifiedByURL(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext___Type_specifiedByURL(ctx, field)
    if err != nil {
        return graphql.Null
    }
    ctx = graphql.WithFieldContext(ctx, fc)
    defer func() {
        if r := recover(); r != nil {
            ec.Error(ctx, ec.Recover(ctx, r))
            ret = graphql.Null
        }
    }()
    resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
        ctx = rctx // use context from middleware stack in children
        return obj.SpecifiedByURL(), nil
    })
    if err != nil {
        ec.Error(ctx, err)
        return graphql.Null
    }
    if resTmp == nil {
        return graphql.Null
    }
    res := resTmp.(*string)
    fc.Result = res
    return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
}

func (ec *executionContext) fieldContext___Type_specifiedByURL(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
    fc = &graphql.FieldContext{
        Object:     "__Type",
        Field:      field,
        IsMethod:   true,
        IsResolver: false,
        Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
            return nil, errors.New("field of type String does not have child fields")
        },
    }
    return fc, nil
}

// endregion **************************** field.gotpl *****************************

// region    **************************** input.gotpl *****************************

func (ec *executionContext) unmarshalInputContractQuery(ctx context.Context, obj interface{}) (model.ContractQuery, error) {
    var it model.ContractQuery
    asMap := map[string]interface{}{}
    for k, v := range obj.(map[string]interface{}) {
        asMap[k] = v
    }

    fieldsInOrder := [...]string{"chainID", "type"}
    for _, k := range fieldsInOrder {
        v, ok := asMap[k]
        if !ok {
            continue
        }
        switch k {
        case "chainID":
            var err error

            ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chainID"))
            data, err := ec.unmarshalNInt2int(ctx, v)
            if err != nil {
                return it, err
            }
            it.ChainID = data
        case "type":
            var err error

            ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type"))
            data, err := ec.unmarshalNContractType2githubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐContractType(ctx, v)
            if err != nil {
                return it, err
            }
            it.Type = data
        }
    }

    return it, nil
}

// endregion **************************** input.gotpl *****************************

// region    ************************** interface.gotpl ***************************

func (ec *executionContext) _MessageType(ctx context.Context, sel ast.SelectionSet, obj model.MessageType) graphql.Marshaler {
    switch obj := (obj).(type) {
    case nil:
        return graphql.Null
    case model.TearType:
        return ec._TearType(ctx, sel, &obj)
    case *model.TearType:
        if obj == nil {
            return graphql.Null
        }
        return ec._TearType(ctx, sel, obj)
    case model.HeroType:
        return ec._HeroType(ctx, sel, &obj)
    case *model.HeroType:
        if obj == nil {
            return graphql.Null
        }
        return ec._HeroType(ctx, sel, obj)
    case model.PetType:
        return ec._PetType(ctx, sel, &obj)
    case *model.PetType:
        if obj == nil {
            return graphql.Null
        }
        return ec._PetType(ctx, sel, obj)
    case model.UnknownType:
        return ec._UnknownType(ctx, sel, &obj)
    case *model.UnknownType:
        if obj == nil {
            return graphql.Null
        }
        return ec._UnknownType(ctx, sel, obj)
    default:
        panic(fmt.Errorf("unexpected type %T", obj))
    }
}

// endregion ************************** interface.gotpl ***************************

// region    **************************** object.gotpl ****************************

var addressChainRankingImplementors = []string{"AddressChainRanking"}

func (ec *executionContext) _AddressChainRanking(ctx context.Context, sel ast.SelectionSet, obj *model.AddressChainRanking) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, addressChainRankingImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("AddressChainRanking")
        case "chainID":
            out.Values[i] = ec._AddressChainRanking_chainID(ctx, field, obj)
        case "volumeUsd":
            out.Values[i] = ec._AddressChainRanking_volumeUsd(ctx, field, obj)
        case "rank":
            out.Values[i] = ec._AddressChainRanking_rank(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var addressDailyCountImplementors = []string{"AddressDailyCount"}

func (ec *executionContext) _AddressDailyCount(ctx context.Context, sel ast.SelectionSet, obj *model.AddressDailyCount) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, addressDailyCountImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("AddressDailyCount")
        case "date":
            out.Values[i] = ec._AddressDailyCount_date(ctx, field, obj)
        case "count":
            out.Values[i] = ec._AddressDailyCount_count(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var addressDataImplementors = []string{"AddressData"}

func (ec *executionContext) _AddressData(ctx context.Context, sel ast.SelectionSet, obj *model.AddressData) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, addressDataImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("AddressData")
        case "bridgeVolume":
            out.Values[i] = ec._AddressData_bridgeVolume(ctx, field, obj)
        case "bridgeFees":
            out.Values[i] = ec._AddressData_bridgeFees(ctx, field, obj)
        case "bridgeTxs":
            out.Values[i] = ec._AddressData_bridgeTxs(ctx, field, obj)
        case "swapVolume":
            out.Values[i] = ec._AddressData_swapVolume(ctx, field, obj)
        case "swapFees":
            out.Values[i] = ec._AddressData_swapFees(ctx, field, obj)
        case "swapTxs":
            out.Values[i] = ec._AddressData_swapTxs(ctx, field, obj)
        case "rank":
            out.Values[i] = ec._AddressData_rank(ctx, field, obj)
        case "earliestTx":
            out.Values[i] = ec._AddressData_earliestTx(ctx, field, obj)
        case "chainRanking":
            out.Values[i] = ec._AddressData_chainRanking(ctx, field, obj)
        case "dailyData":
            out.Values[i] = ec._AddressData_dailyData(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var addressRankingImplementors = []string{"AddressRanking"}

func (ec *executionContext) _AddressRanking(ctx context.Context, sel ast.SelectionSet, obj *model.AddressRanking) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, addressRankingImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("AddressRanking")
        case "address":
            out.Values[i] = ec._AddressRanking_address(ctx, field, obj)
        case "count":
            out.Values[i] = ec._AddressRanking_count(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var blockHeightImplementors = []string{"BlockHeight"}

func (ec *executionContext) _BlockHeight(ctx context.Context, sel ast.SelectionSet, obj *model.BlockHeight) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, blockHeightImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("BlockHeight")
        case "chainID":
            out.Values[i] = ec._BlockHeight_chainID(ctx, field, obj)
        case "type":
            out.Values[i] = ec._BlockHeight_type(ctx, field, obj)
        case "blockNumber":
            out.Values[i] = ec._BlockHeight_blockNumber(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var bridgeTransactionImplementors = []string{"BridgeTransaction"}

func (ec *executionContext) _BridgeTransaction(ctx context.Context, sel ast.SelectionSet, obj *model.BridgeTransaction) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, bridgeTransactionImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("BridgeTransaction")
        case "fromInfo":
            out.Values[i] = ec._BridgeTransaction_fromInfo(ctx, field, obj)
        case "toInfo":
            out.Values[i] = ec._BridgeTransaction_toInfo(ctx, field, obj)
        case "kappa":
            out.Values[i] = ec._BridgeTransaction_kappa(ctx, field, obj)
        case "pending":
            out.Values[i] = ec._BridgeTransaction_pending(ctx, field, obj)
        case "swapSuccess":
            out.Values[i] = ec._BridgeTransaction_swapSuccess(ctx, field, obj)
        case "bridgeModule":
            out.Values[i] = ec._BridgeTransaction_bridgeModule(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var bridgeWatcherTxImplementors = []string{"BridgeWatcherTx"}

func (ec *executionContext) _BridgeWatcherTx(ctx context.Context, sel ast.SelectionSet, obj *model.BridgeWatcherTx) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, bridgeWatcherTxImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("BridgeWatcherTx")
        case "bridgeTx":
            out.Values[i] = ec._BridgeWatcherTx_bridgeTx(ctx, field, obj)
        case "pending":
            out.Values[i] = ec._BridgeWatcherTx_pending(ctx, field, obj)
        case "type":
            out.Values[i] = ec._BridgeWatcherTx_type(ctx, field, obj)
        case "kappa":
            out.Values[i] = ec._BridgeWatcherTx_kappa(ctx, field, obj)
        case "kappaStatus":
            out.Values[i] = ec._BridgeWatcherTx_kappaStatus(ctx, field, obj)
        case "bridgeModule":
            out.Values[i] = ec._BridgeWatcherTx_bridgeModule(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var dateResultImplementors = []string{"DateResult"}

func (ec *executionContext) _DateResult(ctx context.Context, sel ast.SelectionSet, obj *model.DateResult) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, dateResultImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("DateResult")
        case "date":
            out.Values[i] = ec._DateResult_date(ctx, field, obj)
        case "total":
            out.Values[i] = ec._DateResult_total(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var dateResultByChainImplementors = []string{"DateResultByChain"}

func (ec *executionContext) _DateResultByChain(ctx context.Context, sel ast.SelectionSet, obj *model.DateResultByChain) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, dateResultByChainImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("DateResultByChain")
        case "date":
            out.Values[i] = ec._DateResultByChain_date(ctx, field, obj)
        case "ethereum":
            out.Values[i] = ec._DateResultByChain_ethereum(ctx, field, obj)
        case "optimism":
            out.Values[i] = ec._DateResultByChain_optimism(ctx, field, obj)
        case "cronos":
            out.Values[i] = ec._DateResultByChain_cronos(ctx, field, obj)
        case "bsc":
            out.Values[i] = ec._DateResultByChain_bsc(ctx, field, obj)
        case "polygon":
            out.Values[i] = ec._DateResultByChain_polygon(ctx, field, obj)
        case "fantom":
            out.Values[i] = ec._DateResultByChain_fantom(ctx, field, obj)
        case "boba":
            out.Values[i] = ec._DateResultByChain_boba(ctx, field, obj)
        case "metis":
            out.Values[i] = ec._DateResultByChain_metis(ctx, field, obj)
        case "moonbeam":
            out.Values[i] = ec._DateResultByChain_moonbeam(ctx, field, obj)
        case "moonriver":
            out.Values[i] = ec._DateResultByChain_moonriver(ctx, field, obj)
        case "klaytn":
            out.Values[i] = ec._DateResultByChain_klaytn(ctx, field, obj)
        case "arbitrum":
            out.Values[i] = ec._DateResultByChain_arbitrum(ctx, field, obj)
        case "avalanche":
            out.Values[i] = ec._DateResultByChain_avalanche(ctx, field, obj)
        case "dfk":
            out.Values[i] = ec._DateResultByChain_dfk(ctx, field, obj)
        case "aurora":
            out.Values[i] = ec._DateResultByChain_aurora(ctx, field, obj)
        case "harmony":
            out.Values[i] = ec._DateResultByChain_harmony(ctx, field, obj)
        case "canto":
            out.Values[i] = ec._DateResultByChain_canto(ctx, field, obj)
        case "dogechain":
            out.Values[i] = ec._DateResultByChain_dogechain(ctx, field, obj)
        case "base":
            out.Values[i] = ec._DateResultByChain_base(ctx, field, obj)
        case "blast":
            out.Values[i] = ec._DateResultByChain_blast(ctx, field, obj)
        case "scroll":
            out.Values[i] = ec._DateResultByChain_scroll(ctx, field, obj)
        case "linea":
            out.Values[i] = ec._DateResultByChain_linea(ctx, field, obj)
        case "worldchain":
            out.Values[i] = ec._DateResultByChain_worldchain(ctx, field, obj)
        case "total":
            out.Values[i] = ec._DateResultByChain_total(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var heroTypeImplementors = []string{"HeroType", "MessageType"}

func (ec *executionContext) _HeroType(ctx context.Context, sel ast.SelectionSet, obj *model.HeroType) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, heroTypeImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("HeroType")
        case "recipient":
            out.Values[i] = ec._HeroType_recipient(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "heroID":
            out.Values[i] = ec._HeroType_heroID(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var historicalResultImplementors = []string{"HistoricalResult"}

func (ec *executionContext) _HistoricalResult(ctx context.Context, sel ast.SelectionSet, obj *model.HistoricalResult) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, historicalResultImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("HistoricalResult")
        case "total":
            out.Values[i] = ec._HistoricalResult_total(ctx, field, obj)
        case "dateResults":
            out.Values[i] = ec._HistoricalResult_dateResults(ctx, field, obj)
        case "type":
            out.Values[i] = ec._HistoricalResult_type(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var leaderboardImplementors = []string{"Leaderboard"}

func (ec *executionContext) _Leaderboard(ctx context.Context, sel ast.SelectionSet, obj *model.Leaderboard) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, leaderboardImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("Leaderboard")
        case "address":
            out.Values[i] = ec._Leaderboard_address(ctx, field, obj)
        case "volumeUSD":
            out.Values[i] = ec._Leaderboard_volumeUSD(ctx, field, obj)
        case "fees":
            out.Values[i] = ec._Leaderboard_fees(ctx, field, obj)
        case "txs":
            out.Values[i] = ec._Leaderboard_txs(ctx, field, obj)
        case "rank":
            out.Values[i] = ec._Leaderboard_rank(ctx, field, obj)
        case "avgVolumeUSD":
            out.Values[i] = ec._Leaderboard_avgVolumeUSD(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var messageBusTransactionImplementors = []string{"MessageBusTransaction"}

func (ec *executionContext) _MessageBusTransaction(ctx context.Context, sel ast.SelectionSet, obj *model.MessageBusTransaction) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, messageBusTransactionImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("MessageBusTransaction")
        case "fromInfo":
            out.Values[i] = ec._MessageBusTransaction_fromInfo(ctx, field, obj)
        case "toInfo":
            out.Values[i] = ec._MessageBusTransaction_toInfo(ctx, field, obj)
        case "pending":
            out.Values[i] = ec._MessageBusTransaction_pending(ctx, field, obj)
        case "messageID":
            out.Values[i] = ec._MessageBusTransaction_messageID(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var partialInfoImplementors = []string{"PartialInfo"}

func (ec *executionContext) _PartialInfo(ctx context.Context, sel ast.SelectionSet, obj *model.PartialInfo) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, partialInfoImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("PartialInfo")
        case "chainID":
            out.Values[i] = ec._PartialInfo_chainID(ctx, field, obj)
        case "destinationChainID":
            out.Values[i] = ec._PartialInfo_destinationChainID(ctx, field, obj)
        case "address":
            out.Values[i] = ec._PartialInfo_address(ctx, field, obj)
        case "txnHash":
            out.Values[i] = ec._PartialInfo_txnHash(ctx, field, obj)
        case "value":
            out.Values[i] = ec._PartialInfo_value(ctx, field, obj)
        case "formattedValue":
            out.Values[i] = ec._PartialInfo_formattedValue(ctx, field, obj)
        case "USDValue":
            out.Values[i] = ec._PartialInfo_USDValue(ctx, field, obj)
        case "tokenAddress":
            out.Values[i] = ec._PartialInfo_tokenAddress(ctx, field, obj)
        case "tokenSymbol":
            out.Values[i] = ec._PartialInfo_tokenSymbol(ctx, field, obj)
        case "blockNumber":
            out.Values[i] = ec._PartialInfo_blockNumber(ctx, field, obj)
        case "time":
            out.Values[i] = ec._PartialInfo_time(ctx, field, obj)
        case "formattedTime":
            out.Values[i] = ec._PartialInfo_formattedTime(ctx, field, obj)
        case "formattedEventType":
            out.Values[i] = ec._PartialInfo_formattedEventType(ctx, field, obj)
        case "eventType":
            out.Values[i] = ec._PartialInfo_eventType(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var partialMessageBusInfoImplementors = []string{"PartialMessageBusInfo"}

func (ec *executionContext) _PartialMessageBusInfo(ctx context.Context, sel ast.SelectionSet, obj *model.PartialMessageBusInfo) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, partialMessageBusInfoImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("PartialMessageBusInfo")
        case "chainID":
            out.Values[i] = ec._PartialMessageBusInfo_chainID(ctx, field, obj)
        case "chainName":
            out.Values[i] = ec._PartialMessageBusInfo_chainName(ctx, field, obj)
        case "destinationChainID":
            out.Values[i] = ec._PartialMessageBusInfo_destinationChainID(ctx, field, obj)
        case "destinationChainName":
            out.Values[i] = ec._PartialMessageBusInfo_destinationChainName(ctx, field, obj)
        case "contractAddress":
            out.Values[i] = ec._PartialMessageBusInfo_contractAddress(ctx, field, obj)
        case "txnHash":
            out.Values[i] = ec._PartialMessageBusInfo_txnHash(ctx, field, obj)
        case "message":
            out.Values[i] = ec._PartialMessageBusInfo_message(ctx, field, obj)
        case "messageType":
            out.Values[i] = ec._PartialMessageBusInfo_messageType(ctx, field, obj)
        case "blockNumber":
            out.Values[i] = ec._PartialMessageBusInfo_blockNumber(ctx, field, obj)
        case "time":
            out.Values[i] = ec._PartialMessageBusInfo_time(ctx, field, obj)
        case "formattedTime":
            out.Values[i] = ec._PartialMessageBusInfo_formattedTime(ctx, field, obj)
        case "revertedReason":
            out.Values[i] = ec._PartialMessageBusInfo_revertedReason(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var petTypeImplementors = []string{"PetType", "MessageType"}

func (ec *executionContext) _PetType(ctx context.Context, sel ast.SelectionSet, obj *model.PetType) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, petTypeImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("PetType")
        case "recipient":
            out.Values[i] = ec._PetType_recipient(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "petID":
            out.Values[i] = ec._PetType_petID(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "name":
            out.Values[i] = ec._PetType_name(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var queryImplementors = []string{"Query"}

func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, queryImplementors)
    ctx = graphql.WithFieldContext(ctx, &graphql.FieldContext{
        Object: "Query",
    })

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{
            Object: field.Name,
            Field:  field,
        })

        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("Query")
        case "bridgeTransactions":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_bridgeTransactions(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "messageBusTransactions":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_messageBusTransactions(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "countByChainId":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_countByChainId(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "countByTokenAddress":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_countByTokenAddress(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "addressRanking":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_addressRanking(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "amountStatistic":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_amountStatistic(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "dailyStatisticsByChain":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_dailyStatisticsByChain(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "rankedChainIDsByVolume":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_rankedChainIDsByVolume(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "addressData":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_addressData(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "leaderboard":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_leaderboard(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "getOriginBridgeTx":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_getOriginBridgeTx(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "getDestinationBridgeTx":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_getDestinationBridgeTx(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "getBlockHeight":
            field := field

            innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
                defer func() {
                    if r := recover(); r != nil {
                        ec.Error(ctx, ec.Recover(ctx, r))
                    }
                }()
                res = ec._Query_getBlockHeight(ctx, field)
                return res
            }

            rrm := func(ctx context.Context) graphql.Marshaler {
                return ec.OperationContext.RootResolverMiddleware(ctx,
                    func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
            }

            out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) })
        case "__type":
            out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
                return ec._Query___type(ctx, field)
            })
        case "__schema":
            out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
                return ec._Query___schema(ctx, field)
            })
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var tearTypeImplementors = []string{"TearType", "MessageType"}

func (ec *executionContext) _TearType(ctx context.Context, sel ast.SelectionSet, obj *model.TearType) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, tearTypeImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("TearType")
        case "recipient":
            out.Values[i] = ec._TearType_recipient(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "amount":
            out.Values[i] = ec._TearType_amount(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var tokenCountResultImplementors = []string{"TokenCountResult"}

func (ec *executionContext) _TokenCountResult(ctx context.Context, sel ast.SelectionSet, obj *model.TokenCountResult) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, tokenCountResultImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("TokenCountResult")
        case "chainID":
            out.Values[i] = ec._TokenCountResult_chainID(ctx, field, obj)
        case "tokenAddress":
            out.Values[i] = ec._TokenCountResult_tokenAddress(ctx, field, obj)
        case "count":
            out.Values[i] = ec._TokenCountResult_count(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var transactionCountResultImplementors = []string{"TransactionCountResult"}

func (ec *executionContext) _TransactionCountResult(ctx context.Context, sel ast.SelectionSet, obj *model.TransactionCountResult) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, transactionCountResultImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("TransactionCountResult")
        case "chainID":
            out.Values[i] = ec._TransactionCountResult_chainID(ctx, field, obj)
        case "count":
            out.Values[i] = ec._TransactionCountResult_count(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var unknownTypeImplementors = []string{"UnknownType", "MessageType"}

func (ec *executionContext) _UnknownType(ctx context.Context, sel ast.SelectionSet, obj *model.UnknownType) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, unknownTypeImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("UnknownType")
        case "known":
            out.Values[i] = ec._UnknownType_known(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var valueResultImplementors = []string{"ValueResult"}

func (ec *executionContext) _ValueResult(ctx context.Context, sel ast.SelectionSet, obj *model.ValueResult) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, valueResultImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("ValueResult")
        case "value":
            out.Values[i] = ec._ValueResult_value(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var volumeByChainIDImplementors = []string{"VolumeByChainID"}

func (ec *executionContext) _VolumeByChainID(ctx context.Context, sel ast.SelectionSet, obj *model.VolumeByChainID) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, volumeByChainIDImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("VolumeByChainID")
        case "chainID":
            out.Values[i] = ec._VolumeByChainID_chainID(ctx, field, obj)
        case "total":
            out.Values[i] = ec._VolumeByChainID_total(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var __DirectiveImplementors = []string{"__Directive"}

func (ec *executionContext) ___Directive(ctx context.Context, sel ast.SelectionSet, obj *introspection.Directive) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, __DirectiveImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("__Directive")
        case "name":
            out.Values[i] = ec.___Directive_name(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "description":
            out.Values[i] = ec.___Directive_description(ctx, field, obj)
        case "locations":
            out.Values[i] = ec.___Directive_locations(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "args":
            out.Values[i] = ec.___Directive_args(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "isRepeatable":
            out.Values[i] = ec.___Directive_isRepeatable(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var __EnumValueImplementors = []string{"__EnumValue"}

func (ec *executionContext) ___EnumValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.EnumValue) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, __EnumValueImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("__EnumValue")
        case "name":
            out.Values[i] = ec.___EnumValue_name(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "description":
            out.Values[i] = ec.___EnumValue_description(ctx, field, obj)
        case "isDeprecated":
            out.Values[i] = ec.___EnumValue_isDeprecated(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "deprecationReason":
            out.Values[i] = ec.___EnumValue_deprecationReason(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var __FieldImplementors = []string{"__Field"}

func (ec *executionContext) ___Field(ctx context.Context, sel ast.SelectionSet, obj *introspection.Field) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, __FieldImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("__Field")
        case "name":
            out.Values[i] = ec.___Field_name(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "description":
            out.Values[i] = ec.___Field_description(ctx, field, obj)
        case "args":
            out.Values[i] = ec.___Field_args(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "type":
            out.Values[i] = ec.___Field_type(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "isDeprecated":
            out.Values[i] = ec.___Field_isDeprecated(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "deprecationReason":
            out.Values[i] = ec.___Field_deprecationReason(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var __InputValueImplementors = []string{"__InputValue"}

func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.InputValue) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, __InputValueImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("__InputValue")
        case "name":
            out.Values[i] = ec.___InputValue_name(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "description":
            out.Values[i] = ec.___InputValue_description(ctx, field, obj)
        case "type":
            out.Values[i] = ec.___InputValue_type(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "defaultValue":
            out.Values[i] = ec.___InputValue_defaultValue(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var __SchemaImplementors = []string{"__Schema"}

func (ec *executionContext) ___Schema(ctx context.Context, sel ast.SelectionSet, obj *introspection.Schema) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, __SchemaImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("__Schema")
        case "description":
            out.Values[i] = ec.___Schema_description(ctx, field, obj)
        case "types":
            out.Values[i] = ec.___Schema_types(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "queryType":
            out.Values[i] = ec.___Schema_queryType(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "mutationType":
            out.Values[i] = ec.___Schema_mutationType(ctx, field, obj)
        case "subscriptionType":
            out.Values[i] = ec.___Schema_subscriptionType(ctx, field, obj)
        case "directives":
            out.Values[i] = ec.___Schema_directives(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

var __TypeImplementors = []string{"__Type"}

func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, obj *introspection.Type) graphql.Marshaler {
    fields := graphql.CollectFields(ec.OperationContext, sel, __TypeImplementors)

    out := graphql.NewFieldSet(fields)
    deferred := make(map[string]*graphql.FieldSet)
    for i, field := range fields {
        switch field.Name {
        case "__typename":
            out.Values[i] = graphql.MarshalString("__Type")
        case "kind":
            out.Values[i] = ec.___Type_kind(ctx, field, obj)
            if out.Values[i] == graphql.Null {
                out.Invalids++
            }
        case "name":
            out.Values[i] = ec.___Type_name(ctx, field, obj)
        case "description":
            out.Values[i] = ec.___Type_description(ctx, field, obj)
        case "fields":
            out.Values[i] = ec.___Type_fields(ctx, field, obj)
        case "interfaces":
            out.Values[i] = ec.___Type_interfaces(ctx, field, obj)
        case "possibleTypes":
            out.Values[i] = ec.___Type_possibleTypes(ctx, field, obj)
        case "enumValues":
            out.Values[i] = ec.___Type_enumValues(ctx, field, obj)
        case "inputFields":
            out.Values[i] = ec.___Type_inputFields(ctx, field, obj)
        case "ofType":
            out.Values[i] = ec.___Type_ofType(ctx, field, obj)
        case "specifiedByURL":
            out.Values[i] = ec.___Type_specifiedByURL(ctx, field, obj)
        default:
            panic("unknown field " + strconv.Quote(field.Name))
        }
    }
    out.Dispatch(ctx)
    if out.Invalids > 0 {
        return graphql.Null
    }

    atomic.AddInt32(&ec.deferred, int32(len(deferred)))

    for label, dfs := range deferred {
        ec.processDeferredGroup(graphql.DeferredGroup{
            Label:    label,
            Path:     graphql.GetPath(ctx),
            FieldSet: dfs,
            Context:  ctx,
        })
    }

    return out
}

// endregion **************************** object.gotpl ****************************

// region    ***************************** type.gotpl *****************************

func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v interface{}) (bool, error) {
    res, err := graphql.UnmarshalBoolean(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
    res := graphql.MarshalBoolean(v)
    if res == graphql.Null {
        if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
            ec.Errorf(ctx, "the requested element is null which the schema does not allow")
        }
    }
    return res
}

func (ec *executionContext) unmarshalNBridgeType2githubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeType(ctx context.Context, v interface{}) (model.BridgeType, error) {
    var res model.BridgeType
    err := res.UnmarshalGQL(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalNBridgeType2githubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeType(ctx context.Context, sel ast.SelectionSet, v model.BridgeType) graphql.Marshaler {
    return v
}

func (ec *executionContext) unmarshalNContractType2githubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐContractType(ctx context.Context, v interface{}) (model.ContractType, error) {
    var res model.ContractType
    err := res.UnmarshalGQL(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalNContractType2githubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐContractType(ctx context.Context, sel ast.SelectionSet, v model.ContractType) graphql.Marshaler {
    return v
}

func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v interface{}) (int, error) {
    res, err := graphql.UnmarshalInt(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalNInt2int(ctx context.Context, sel ast.SelectionSet, v int) graphql.Marshaler {
    res := graphql.MarshalInt(v)
    if res == graphql.Null {
        if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
            ec.Errorf(ctx, "the requested element is null which the schema does not allow")
        }
    }
    return res
}

func (ec *executionContext) unmarshalNStatisticType2githubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐStatisticType(ctx context.Context, v interface{}) (model.StatisticType, error) {
    var res model.StatisticType
    err := res.UnmarshalGQL(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalNStatisticType2githubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐStatisticType(ctx context.Context, sel ast.SelectionSet, v model.StatisticType) graphql.Marshaler {
    return v
}

func (ec *executionContext) unmarshalNString2string(ctx context.Context, v interface{}) (string, error) {
    res, err := graphql.UnmarshalString(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalNString2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
    res := graphql.MarshalString(v)
    if res == graphql.Null {
        if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
            ec.Errorf(ctx, "the requested element is null which the schema does not allow")
        }
    }
    return res
}

func (ec *executionContext) marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective(ctx context.Context, sel ast.SelectionSet, v introspection.Directive) graphql.Marshaler {
    return ec.___Directive(ctx, sel, &v)
}

func (ec *executionContext) marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Directive) graphql.Marshaler {
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    for _, e := range ret {
        if e == graphql.Null {
            return graphql.Null
        }
    }

    return ret
}

func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx context.Context, v interface{}) (string, error) {
    res, err := graphql.UnmarshalString(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalN__DirectiveLocation2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
    res := graphql.MarshalString(v)
    if res == graphql.Null {
        if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
            ec.Errorf(ctx, "the requested element is null which the schema does not allow")
        }
    }
    return res
}

func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) {
    var vSlice []interface{}
    if v != nil {
        vSlice = graphql.CoerceList(v)
    }
    var err error
    res := make([]string, len(vSlice))
    for i := range vSlice {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
        res[i], err = ec.unmarshalN__DirectiveLocation2string(ctx, vSlice[i])
        if err != nil {
            return nil, err
        }
    }
    return res, nil
}

func (ec *executionContext) marshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) graphql.Marshaler {
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalN__DirectiveLocation2string(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    for _, e := range ret {
        if e == graphql.Null {
            return graphql.Null
        }
    }

    return ret
}

func (ec *executionContext) marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue(ctx context.Context, sel ast.SelectionSet, v introspection.EnumValue) graphql.Marshaler {
    return ec.___EnumValue(ctx, sel, &v)
}

func (ec *executionContext) marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField(ctx context.Context, sel ast.SelectionSet, v introspection.Field) graphql.Marshaler {
    return ec.___Field(ctx, sel, &v)
}

func (ec *executionContext) marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx context.Context, sel ast.SelectionSet, v introspection.InputValue) graphql.Marshaler {
    return ec.___InputValue(ctx, sel, &v)
}

func (ec *executionContext) marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler {
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    for _, e := range ret {
        if e == graphql.Null {
            return graphql.Null
        }
    }

    return ret
}

func (ec *executionContext) marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v introspection.Type) graphql.Marshaler {
    return ec.___Type(ctx, sel, &v)
}

func (ec *executionContext) marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler {
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    for _, e := range ret {
        if e == graphql.Null {
            return graphql.Null
        }
    }

    return ret
}

func (ec *executionContext) marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v *introspection.Type) graphql.Marshaler {
    if v == nil {
        if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
            ec.Errorf(ctx, "the requested element is null which the schema does not allow")
        }
        return graphql.Null
    }
    return ec.___Type(ctx, sel, v)
}

func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v interface{}) (string, error) {
    res, err := graphql.UnmarshalString(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalN__TypeKind2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
    res := graphql.MarshalString(v)
    if res == graphql.Null {
        if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
            ec.Errorf(ctx, "the requested element is null which the schema does not allow")
        }
    }
    return res
}

func (ec *executionContext) marshalOAddressChainRanking2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressChainRanking(ctx context.Context, sel ast.SelectionSet, v []*model.AddressChainRanking) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalOAddressChainRanking2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressChainRanking(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    return ret
}

func (ec *executionContext) marshalOAddressChainRanking2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressChainRanking(ctx context.Context, sel ast.SelectionSet, v *model.AddressChainRanking) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._AddressChainRanking(ctx, sel, v)
}

func (ec *executionContext) marshalOAddressDailyCount2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressDailyCount(ctx context.Context, sel ast.SelectionSet, v []*model.AddressDailyCount) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalOAddressDailyCount2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressDailyCount(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    return ret
}

func (ec *executionContext) marshalOAddressDailyCount2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressDailyCount(ctx context.Context, sel ast.SelectionSet, v *model.AddressDailyCount) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._AddressDailyCount(ctx, sel, v)
}

func (ec *executionContext) marshalOAddressData2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressData(ctx context.Context, sel ast.SelectionSet, v *model.AddressData) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._AddressData(ctx, sel, v)
}

func (ec *executionContext) marshalOAddressRanking2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressRanking(ctx context.Context, sel ast.SelectionSet, v []*model.AddressRanking) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalOAddressRanking2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressRanking(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    return ret
}

func (ec *executionContext) marshalOAddressRanking2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐAddressRanking(ctx context.Context, sel ast.SelectionSet, v *model.AddressRanking) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._AddressRanking(ctx, sel, v)
}

func (ec *executionContext) marshalOBlockHeight2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBlockHeight(ctx context.Context, sel ast.SelectionSet, v []*model.BlockHeight) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalOBlockHeight2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBlockHeight(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    return ret
}

func (ec *executionContext) marshalOBlockHeight2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBlockHeight(ctx context.Context, sel ast.SelectionSet, v *model.BlockHeight) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._BlockHeight(ctx, sel, v)
}

func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v interface{}) (bool, error) {
    res, err := graphql.UnmarshalBoolean(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalOBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
    res := graphql.MarshalBoolean(v)
    return res
}

func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Context, v interface{}) (*bool, error) {
    if v == nil {
        return nil, nil
    }
    res, err := graphql.UnmarshalBoolean(v)
    return &res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalOBoolean2ᚖbool(ctx context.Context, sel ast.SelectionSet, v *bool) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    res := graphql.MarshalBoolean(*v)
    return res
}

func (ec *executionContext) marshalOBridgeTransaction2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeTransaction(ctx context.Context, sel ast.SelectionSet, v []*model.BridgeTransaction) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalOBridgeTransaction2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeTransaction(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    return ret
}

func (ec *executionContext) marshalOBridgeTransaction2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeTransaction(ctx context.Context, sel ast.SelectionSet, v *model.BridgeTransaction) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._BridgeTransaction(ctx, sel, v)
}

func (ec *executionContext) unmarshalOBridgeTxType2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeTxType(ctx context.Context, v interface{}) (*model.BridgeTxType, error) {
    if v == nil {
        return nil, nil
    }
    var res = new(model.BridgeTxType)
    err := res.UnmarshalGQL(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalOBridgeTxType2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeTxType(ctx context.Context, sel ast.SelectionSet, v *model.BridgeTxType) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return v
}

func (ec *executionContext) marshalOBridgeWatcherTx2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐBridgeWatcherTx(ctx context.Context, sel ast.SelectionSet, v *model.BridgeWatcherTx) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._BridgeWatcherTx(ctx, sel, v)
}

func (ec *executionContext) unmarshalOContractQuery2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐContractQuery(ctx context.Context, v interface{}) ([]*model.ContractQuery, error) {
    if v == nil {
        return nil, nil
    }
    var vSlice []interface{}
    if v != nil {
        vSlice = graphql.CoerceList(v)
    }
    var err error
    res := make([]*model.ContractQuery, len(vSlice))
    for i := range vSlice {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
        res[i], err = ec.unmarshalOContractQuery2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐContractQuery(ctx, vSlice[i])
        if err != nil {
            return nil, err
        }
    }
    return res, nil
}

func (ec *executionContext) unmarshalOContractQuery2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐContractQuery(ctx context.Context, v interface{}) (*model.ContractQuery, error) {
    if v == nil {
        return nil, nil
    }
    res, err := ec.unmarshalInputContractQuery(ctx, v)
    return &res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) unmarshalOContractType2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐContractType(ctx context.Context, v interface{}) (*model.ContractType, error) {
    if v == nil {
        return nil, nil
    }
    var res = new(model.ContractType)
    err := res.UnmarshalGQL(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalOContractType2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐContractType(ctx context.Context, sel ast.SelectionSet, v *model.ContractType) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return v
}

func (ec *executionContext) unmarshalODailyStatisticType2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDailyStatisticType(ctx context.Context, v interface{}) (*model.DailyStatisticType, error) {
    if v == nil {
        return nil, nil
    }
    var res = new(model.DailyStatisticType)
    err := res.UnmarshalGQL(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalODailyStatisticType2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDailyStatisticType(ctx context.Context, sel ast.SelectionSet, v *model.DailyStatisticType) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return v
}

func (ec *executionContext) marshalODateResult2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDateResult(ctx context.Context, sel ast.SelectionSet, v []*model.DateResult) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalODateResult2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDateResult(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    return ret
}

func (ec *executionContext) marshalODateResult2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDateResult(ctx context.Context, sel ast.SelectionSet, v *model.DateResult) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._DateResult(ctx, sel, v)
}

func (ec *executionContext) marshalODateResultByChain2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDateResultByChain(ctx context.Context, sel ast.SelectionSet, v []*model.DateResultByChain) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalODateResultByChain2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDateResultByChain(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    return ret
}

func (ec *executionContext) marshalODateResultByChain2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDateResultByChain(ctx context.Context, sel ast.SelectionSet, v *model.DateResultByChain) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._DateResultByChain(ctx, sel, v)
}

func (ec *executionContext) unmarshalODirection2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDirection(ctx context.Context, v interface{}) (*model.Direction, error) {
    if v == nil {
        return nil, nil
    }
    var res = new(model.Direction)
    err := res.UnmarshalGQL(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalODirection2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDirection(ctx context.Context, sel ast.SelectionSet, v *model.Direction) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return v
}

func (ec *executionContext) unmarshalODuration2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDuration(ctx context.Context, v interface{}) (*model.Duration, error) {
    if v == nil {
        return nil, nil
    }
    var res = new(model.Duration)
    err := res.UnmarshalGQL(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalODuration2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐDuration(ctx context.Context, sel ast.SelectionSet, v *model.Duration) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return v
}

func (ec *executionContext) unmarshalOFloat2ᚖfloat64(ctx context.Context, v interface{}) (*float64, error) {
    if v == nil {
        return nil, nil
    }
    res, err := graphql.UnmarshalFloatContext(ctx, v)
    return &res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalOFloat2ᚖfloat64(ctx context.Context, sel ast.SelectionSet, v *float64) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    res := graphql.MarshalFloatContext(*v)
    return graphql.WrapContextMarshaler(ctx, res)
}

func (ec *executionContext) unmarshalOHistoricalResultType2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐHistoricalResultType(ctx context.Context, v interface{}) (*model.HistoricalResultType, error) {
    if v == nil {
        return nil, nil
    }
    var res = new(model.HistoricalResultType)
    err := res.UnmarshalGQL(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalOHistoricalResultType2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐHistoricalResultType(ctx context.Context, sel ast.SelectionSet, v *model.HistoricalResultType) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return v
}

func (ec *executionContext) unmarshalOInt2ᚕᚖint(ctx context.Context, v interface{}) ([]*int, error) {
    if v == nil {
        return nil, nil
    }
    var vSlice []interface{}
    if v != nil {
        vSlice = graphql.CoerceList(v)
    }
    var err error
    res := make([]*int, len(vSlice))
    for i := range vSlice {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
        res[i], err = ec.unmarshalOInt2ᚖint(ctx, vSlice[i])
        if err != nil {
            return nil, err
        }
    }
    return res, nil
}

func (ec *executionContext) marshalOInt2ᚕᚖint(ctx context.Context, sel ast.SelectionSet, v []*int) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    for i := range v {
        ret[i] = ec.marshalOInt2ᚖint(ctx, sel, v[i])
    }

    return ret
}

func (ec *executionContext) unmarshalOInt2ᚖint(ctx context.Context, v interface{}) (*int, error) {
    if v == nil {
        return nil, nil
    }
    res, err := graphql.UnmarshalInt(v)
    return &res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalOInt2ᚖint(ctx context.Context, sel ast.SelectionSet, v *int) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    res := graphql.MarshalInt(*v)
    return res
}

func (ec *executionContext) unmarshalOKappaStatus2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐKappaStatus(ctx context.Context, v interface{}) (*model.KappaStatus, error) {
    if v == nil {
        return nil, nil
    }
    var res = new(model.KappaStatus)
    err := res.UnmarshalGQL(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalOKappaStatus2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐKappaStatus(ctx context.Context, sel ast.SelectionSet, v *model.KappaStatus) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return v
}

func (ec *executionContext) marshalOLeaderboard2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐLeaderboard(ctx context.Context, sel ast.SelectionSet, v []*model.Leaderboard) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalOLeaderboard2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐLeaderboard(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    return ret
}

func (ec *executionContext) marshalOLeaderboard2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐLeaderboard(ctx context.Context, sel ast.SelectionSet, v *model.Leaderboard) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._Leaderboard(ctx, sel, v)
}

func (ec *executionContext) marshalOMessageBusTransaction2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐMessageBusTransaction(ctx context.Context, sel ast.SelectionSet, v []*model.MessageBusTransaction) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalOMessageBusTransaction2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐMessageBusTransaction(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    return ret
}

func (ec *executionContext) marshalOMessageBusTransaction2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐMessageBusTransaction(ctx context.Context, sel ast.SelectionSet, v *model.MessageBusTransaction) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._MessageBusTransaction(ctx, sel, v)
}

func (ec *executionContext) marshalOMessageType2githubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐMessageType(ctx context.Context, sel ast.SelectionSet, v model.MessageType) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._MessageType(ctx, sel, v)
}

func (ec *executionContext) marshalOPartialInfo2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐPartialInfo(ctx context.Context, sel ast.SelectionSet, v *model.PartialInfo) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._PartialInfo(ctx, sel, v)
}

func (ec *executionContext) marshalOPartialMessageBusInfo2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐPartialMessageBusInfo(ctx context.Context, sel ast.SelectionSet, v *model.PartialMessageBusInfo) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._PartialMessageBusInfo(ctx, sel, v)
}

func (ec *executionContext) unmarshalOPlatform2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐPlatform(ctx context.Context, v interface{}) (*model.Platform, error) {
    if v == nil {
        return nil, nil
    }
    var res = new(model.Platform)
    err := res.UnmarshalGQL(v)
    return res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalOPlatform2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐPlatform(ctx context.Context, sel ast.SelectionSet, v *model.Platform) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return v
}

func (ec *executionContext) unmarshalOString2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) {
    if v == nil {
        return nil, nil
    }
    var vSlice []interface{}
    if v != nil {
        vSlice = graphql.CoerceList(v)
    }
    var err error
    res := make([]string, len(vSlice))
    for i := range vSlice {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
        res[i], err = ec.unmarshalNString2string(ctx, vSlice[i])
        if err != nil {
            return nil, err
        }
    }
    return res, nil
}

func (ec *executionContext) marshalOString2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    for i := range v {
        ret[i] = ec.marshalNString2string(ctx, sel, v[i])
    }

    for _, e := range ret {
        if e == graphql.Null {
            return graphql.Null
        }
    }

    return ret
}

func (ec *executionContext) unmarshalOString2ᚕᚖstring(ctx context.Context, v interface{}) ([]*string, error) {
    if v == nil {
        return nil, nil
    }
    var vSlice []interface{}
    if v != nil {
        vSlice = graphql.CoerceList(v)
    }
    var err error
    res := make([]*string, len(vSlice))
    for i := range vSlice {
        ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
        res[i], err = ec.unmarshalOString2ᚖstring(ctx, vSlice[i])
        if err != nil {
            return nil, err
        }
    }
    return res, nil
}

func (ec *executionContext) marshalOString2ᚕᚖstring(ctx context.Context, sel ast.SelectionSet, v []*string) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    for i := range v {
        ret[i] = ec.marshalOString2ᚖstring(ctx, sel, v[i])
    }

    return ret
}

func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Context, v interface{}) (*string, error) {
    if v == nil {
        return nil, nil
    }
    res, err := graphql.UnmarshalString(v)
    return &res, graphql.ErrorOnPath(ctx, err)
}

func (ec *executionContext) marshalOString2ᚖstring(ctx context.Context, sel ast.SelectionSet, v *string) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    res := graphql.MarshalString(*v)
    return res
}

func (ec *executionContext) marshalOTokenCountResult2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐTokenCountResult(ctx context.Context, sel ast.SelectionSet, v []*model.TokenCountResult) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalOTokenCountResult2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐTokenCountResult(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    return ret
}

func (ec *executionContext) marshalOTokenCountResult2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐTokenCountResult(ctx context.Context, sel ast.SelectionSet, v *model.TokenCountResult) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._TokenCountResult(ctx, sel, v)
}

func (ec *executionContext) marshalOTransactionCountResult2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐTransactionCountResult(ctx context.Context, sel ast.SelectionSet, v []*model.TransactionCountResult) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalOTransactionCountResult2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐTransactionCountResult(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    return ret
}

func (ec *executionContext) marshalOTransactionCountResult2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐTransactionCountResult(ctx context.Context, sel ast.SelectionSet, v *model.TransactionCountResult) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._TransactionCountResult(ctx, sel, v)
}

func (ec *executionContext) marshalOValueResult2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐValueResult(ctx context.Context, sel ast.SelectionSet, v *model.ValueResult) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._ValueResult(ctx, sel, v)
}

func (ec *executionContext) marshalOVolumeByChainID2ᚕᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐVolumeByChainID(ctx context.Context, sel ast.SelectionSet, v []*model.VolumeByChainID) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalOVolumeByChainID2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐVolumeByChainID(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    return ret
}

func (ec *executionContext) marshalOVolumeByChainID2ᚖgithubᚗcomᚋsynapsecnsᚋsanguineᚋservicesᚋexplorerᚋgraphqlᚋserverᚋgraphᚋmodelᚐVolumeByChainID(ctx context.Context, sel ast.SelectionSet, v *model.VolumeByChainID) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec._VolumeByChainID(ctx, sel, v)
}

func (ec *executionContext) marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.EnumValue) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    for _, e := range ret {
        if e == graphql.Null {
            return graphql.Null
        }
    }

    return ret
}

func (ec *executionContext) marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐFieldᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Field) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    for _, e := range ret {
        if e == graphql.Null {
            return graphql.Null
        }
    }

    return ret
}

func (ec *executionContext) marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    for _, e := range ret {
        if e == graphql.Null {
            return graphql.Null
        }
    }

    return ret
}

func (ec *executionContext) marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx context.Context, sel ast.SelectionSet, v *introspection.Schema) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec.___Schema(ctx, sel, v)
}

func (ec *executionContext) marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    ret := make(graphql.Array, len(v))
    var wg sync.WaitGroup
    isLen1 := len(v) == 1
    if !isLen1 {
        wg.Add(len(v))
    }
    for i := range v {
        i := i
        fc := &graphql.FieldContext{
            Index:  &i,
            Result: &v[i],
        }
        ctx := graphql.WithFieldContext(ctx, fc)
        f := func(i int) {
            defer func() {
                if r := recover(); r != nil {
                    ec.Error(ctx, ec.Recover(ctx, r))
                    ret = nil
                }
            }()
            if !isLen1 {
                defer wg.Done()
            }
            ret[i] = ec.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, sel, v[i])
        }
        if isLen1 {
            f(i)
        } else {
            go f(i)
        }

    }
    wg.Wait()

    for _, e := range ret {
        if e == graphql.Null {
            return graphql.Null
        }
    }

    return ret
}

func (ec *executionContext) marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v *introspection.Type) graphql.Marshaler {
    if v == nil {
        return graphql.Null
    }
    return ec.___Type(ctx, sel, v)
}

// endregion ***************************** type.gotpl *****************************