schema

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OutboxSnapshot

type OutboxSnapshot struct {
	Id      string                   `json:"i"`
	Mailbox []*goarSchema.BundleItem `json:"m"`
	Targets map[string][]int         `json:"t"`
}

type PaySnapshot added in v0.2.0

type PaySnapshot struct {
	Whitelist        map[string]bool                `json:"w"`
	Executed         map[string]bool                `json:"e"`
	Ledger           map[string]map[string]*big.Int `json:"l"`
	TxPending        map[string]map[string]*big.Int `json:"tp"`
	SpawnPending     map[string]map[string]*big.Int `json:"sp"`
	ResidencyPending map[string]*big.Int            `json:"rp"`
}

type RegistrySnapshot

type RegistrySnapshot struct {
	Id        string `json:"i"`
	TokenPid  string `json:"tp"`
	MainIndex string `json:"mi"`

	ProcessToNodeIndex    map[string]map[string]*schema.Node `json:"pi"`
	AccidToProcessesIndex map[string]map[string]string       `json:"ai"`
	Registered            map[string]bool                    `json:"re"`
	Nodes                 map[string]*schema.Node            `json:"n"`
}

type TokenSnapshot

type TokenSnapshot struct {
	Id        string `json:"i"`
	Name      string `json:"n"`
	Ticker    string `json:"t"`
	Decimals  int64  `json:"d"`
	MinAmount *big.Int

	TotalSupply *big.Int            `json:"ts"`
	Balances    map[string]*big.Int `json:"bals"`
	Stakes      map[string]*big.Int `json:"stks"`
}

Jump to

Keyboard shortcuts

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