groups

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: GPL-3.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddressGroup

func NewAddressGroup(facade addressFacadeHandler) (*addressGroup, error)

NewAddressGroup returns a new instance of addressGroup

func NewBlockGroup

func NewBlockGroup(facade blockFacadeHandler) (*blockGroup, error)

NewBlockGroup returns a new instance of blockGroup

func NewHardforkGroup

func NewHardforkGroup(facade hardforkFacadeHandler) (*hardforkGroup, error)

NewHardforkGroup returns a new instance of hardforkGroup

func NewInternalBlockGroup

func NewInternalBlockGroup(facade internalBlockFacadeHandler) (*internalBlockGroup, error)

NewInternalBlockGroup returns a new instance of rawBlockGroup

func NewNetworkGroup

func NewNetworkGroup(facade networkFacadeHandler) (*networkGroup, error)

NewNetworkGroup returns a new instance of networkGroup

func NewNodeGroup

func NewNodeGroup(facade nodeFacadeHandler) (*nodeGroup, error)

NewNodeGroup returns a new instance of nodeGroup

func NewProofGroup

func NewProofGroup(facade proofFacadeHandler) (*proofGroup, error)

NewProofGroup returns a new instance of proofGroup

func NewTransactionGroup

func NewTransactionGroup(facade transactionFacadeHandler) (*transactionGroup, error)

NewTransactionGroup returns a new instance of transactionGroup

func NewValidatorGroup

func NewValidatorGroup(facade validatorFacadeHandler) (*validatorGroup, error)

NewValidatorGroup returns a new instance of validatorGroup

func NewVmValuesGroup

func NewVmValuesGroup(facade vmValuesFacadeHandler) (*vmValuesGroup, error)

NewVmValuesGroup returns a new instance of vmValuesGroup

Types

type ESDTNFTTokenData added in v1.7.14

type ESDTNFTTokenData struct {
	TokenIdentifier string   `json:"tokenIdentifier"`
	Balance         string   `json:"balance"`
	Type            string   `json:"type"`
	Properties      string   `json:"properties,omitempty"`
	Name            string   `json:"name,omitempty"`
	Nonce           uint64   `json:"nonce,omitempty"`
	Creator         string   `json:"creator,omitempty"`
	Royalties       string   `json:"royalties,omitempty"`
	Hash            []byte   `json:"hash,omitempty"`
	URIs            [][]byte `json:"uris,omitempty"`
	Attributes      []byte   `json:"attributes,omitempty"`
}

ESDTNFTTokenData defines the exposed nft token data structure

type GasConfig

type GasConfig struct {
	BuiltInCost            map[string]uint64 `json:"builtInCost"`
	MetaChainSystemSCsCost map[string]uint64 `json:"metaSystemSCCost"`
}

GasConfig defines the gas config sections to be exposed

type GenesisNodesConfig

type GenesisNodesConfig struct {
	Eligible map[uint32][]string `json:"eligible"`
	Waiting  map[uint32][]string `json:"waiting"`
}

GenesisNodesConfig defines the eligible and waiting nodes configurations

type HardforkRequest

type HardforkRequest struct {
	Epoch               uint32 `form:"epoch" json:"epoch"`
	WithEarlyEndOfEpoch bool   `form:"withEarlyEndOfEpoch" json:"withEarlyEndOfEpoch"`
}

HardforkRequest represents the structure on which user input for triggering a hardfork will validate against

type QueryDebugRequest

type QueryDebugRequest struct {
	Name   string `form:"name" json:"name"`
	Search string `form:"search" json:"search"`
}

QueryDebugRequest represents the structure on which user input for querying a debug info will validate against

type TxResponse

type TxResponse struct {
	transaction.FrontendTransaction
	ShardID     uint32 `json:"shardId"`
	Hash        string `json:"hash"`
	BlockNumber uint64 `json:"blockNumber"`
	BlockHash   string `json:"blockHash"`
	Timestamp   uint64 `json:"timestamp"`
}

TxResponse represents the structure on which the response will be validated against

type VMValueRequest

type VMValueRequest struct {
	ScAddress      string   `json:"scAddress"`
	FuncName       string   `json:"funcName"`
	CallerAddr     string   `json:"caller"`
	CallValue      string   `json:"value"`
	Args           []string `json:"args"`
	SameScState    bool     `json:"sameScState"`
	ShouldBeSynced bool     `json:"shouldBeSynced"`
}

VMValueRequest represents the structure on which user input for generating a new transaction will validate against

type VerifyProofRequest

type VerifyProofRequest struct {
	RootHash string   `json:"roothash"`
	Address  string   `json:"address"`
	Proof    []string `json:"proof"`
}

VerifyProofRequest represents the parameters needed to verify a Merkle proof

Jump to

Keyboard shortcuts

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