types

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalAddress

func MarshalAddress(addr common.Address) graphql.Marshaler

func MarshalBigInt

func MarshalBigInt(x *big.Int) graphql.Marshaler

func MarshalBytes

func MarshalBytes(b []byte) graphql.Marshaler

func MarshalFloat32

func MarshalFloat32(f float32) graphql.Marshaler

func MarshalFloat32Context

func MarshalFloat32Context(f float32) graphql.ContextMarshaler

func MarshalInt16

func MarshalInt16(i int16) graphql.Marshaler

MarshalInt16 marshals an int16 to a graphql.Marshaler.

func MarshalInt8

func MarshalInt8(i int8) graphql.Marshaler

MarshalInt8 marshals an int8 to a graphql.Marshaler.

func MarshalUint16

func MarshalUint16(i uint16) graphql.Marshaler

MarshalUint16 marshals an uint16 to a graphql.Marshaler.

func MarshalUint8

func MarshalUint8(i uint8) graphql.Marshaler

MarshalUint8 marshals an uint8 to a graphql.Marshaler.

func UnmarshalAddress

func UnmarshalAddress(v interface{}) (common.Address, error)

func UnmarshalBigInt

func UnmarshalBigInt(v any) (*big.Int, error)

func UnmarshalBytes

func UnmarshalBytes(v interface{}) ([]byte, error)

func UnmarshalFloat32

func UnmarshalFloat32(v interface{}) (float32, error)

func UnmarshalFloatContext

func UnmarshalFloatContext(ctx context.Context, v interface{}) (float32, error)

func UnmarshalInt16

func UnmarshalInt16(v any) (int16, error)

UnmarshalInt16 unmarshals an int16 from a graphql response.

func UnmarshalInt8

func UnmarshalInt8(v any) (int8, error)

UnmarshalInt8 unmarshals an int8 from a graphql response.

func UnmarshalUint16

func UnmarshalUint16(v interface{}) (uint16, error)

UnmarshalUint16 unmarshals an uint16 from a graphql response.

func UnmarshalUint8

func UnmarshalUint8(v interface{}) (uint8, error)

UnmarshalUint8 unmarshals an uint8 from a graphql response.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL