models

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: BSD-3-Clause Imports: 1 Imported by: 8

Documentation

Overview

Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

Constants

View Source
const (
	SubnetEvm   = "SubnetEVM"
	SpacesVM    = "Spaces VM"
	BlobVM      = "Blob VM"
	TimestampVM = "Timestamp VM"
	CustomVM    = "Custom"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Exportable added in v0.2.0

type Exportable struct {
	Sidecar Sidecar
	Genesis []byte
}

type Network

type Network int64
const (
	Undefined Network = iota
	Mainnet
	Fuji
	Local
)

func NetworkFromString

func NetworkFromString(s string) Network

func (Network) String

func (s Network) String() string

type NetworkData added in v0.2.0

type NetworkData struct {
	SubnetID     ids.ID
	BlockchainID ids.ID
}

type Sidecar

type Sidecar struct {
	Name      string
	VM        VMType
	VMVersion string
	Subnet    string
	TokenName string
	ChainID   string
	Version   string
	Networks  map[string]NetworkData
}

type VMType added in v0.1.3

type VMType string

func VMTypeFromString added in v0.1.3

func VMTypeFromString(s string) VMType

Jump to

Keyboard shortcuts

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