dtos

package
v1.10.7 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: GPL-3.0 Imports: 0 Imported by: 5 modules, 7 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressState

type AddressState struct {
	Address          string            `json:"address"`
	Nonce            *uint64           `json:"nonce,omitempty"`
	Balance          string            `json:"balance,omitempty"`
	Code             string            `json:"code,omitempty"`
	RootHash         string            `json:"rootHash,omitempty"`
	CodeMetadata     string            `json:"codeMetadata,omitempty"`
	CodeHash         string            `json:"codeHash,omitempty"`
	DeveloperRewards string            `json:"developerReward,omitempty"`
	Owner            string            `json:"ownerAddress,omitempty"`
	Pairs            map[string]string `json:"pairs,omitempty"`
}

AddressState will hold the address state

type BLSKey added in v1.7.5

type BLSKey struct {
	Hex   string
	Bytes []byte
}

BLSKey holds the BLS key in multiple formats

type InitialWalletKeys

type InitialWalletKeys struct {
	StakeWallets   []*WalletKey          `json:"stakeWallets"`
	BalanceWallets map[uint32]*WalletKey `json:"balanceWallets"`
}

InitialWalletKeys holds the initial wallet keys

type WalletAddress

type WalletAddress struct {
	Bech32 string `json:"bech32"`
	Bytes  []byte `json:"bytes"`
}

WalletAddress holds the address in multiple formats

type WalletKey

type WalletKey struct {
	Address       WalletAddress `json:"address"`
	PrivateKeyHex string        `json:"privateKeyHex"`
}

WalletKey holds the public and the private key of a wallet

Jump to

Keyboard shortcuts

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