types

package
v0.2.24 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayUniqueLen

func ArrayUniqueLen(arr []string) int

ArrayUniqueLen -

Types

type BigInt

type BigInt struct {
	*big.Int
}

BigInt -

func NewBigInt

func NewBigInt(val int64) *BigInt

NewBigInt -

func NewBigIntFromString

func NewBigIntFromString(val string) *BigInt

NewBigIntFromString -

func (*BigInt) MarshalJSON

func (b *BigInt) MarshalJSON() ([]byte, error)

MarshalJSON -

func (*BigInt) UnmarshalJSON

func (b *BigInt) UnmarshalJSON(p []byte) error

UnmarshalJSON -

type BigMapDiff

type BigMapDiff struct {
	Ptr   int64
	Key   []byte
	Value []byte

	ID          int64
	KeyHash     string
	OperationID int64
	Level       int64
	Address     string
	IndexedTime int64
	Timestamp   time.Time
	Protocol    int64
}

BigMapDiff -

type Parameters

type Parameters struct {
	Entrypoint string             `json:"entrypoint"`
	Value      stdJSON.RawMessage `json:"value"`
}

Parameters -

func NewParameters

func NewParameters(data []byte) *Parameters

NewParameters -

type Set

type Set map[string]struct{}

Set -

func (Set) Add

func (s Set) Add(item string)

Add - add item to set

func (Set) Append

func (s Set) Append(str ...string)

Append - append items to set

func (Set) Has

func (s Set) Has(key string) bool

Has -

func (Set) Len

func (s Set) Len() int

Len - returns length of set

func (Set) Merge

func (s Set) Merge(m Set)

Merge -

func (Set) Values

func (s Set) Values() []string

Values - return keys

Jump to

Keyboard shortcuts

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