alteredaccounts

package
v0.0.0-...-08f901d Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNilAccountsDB = errors.New("nil accounts DB")

ErrNilAccountsDB signals that a nil accounts DB has been provided

View Source
var ErrNilDCDTDataStorageHandler = errors.New("nil dcdt data storage handler")

ErrNilDCDTDataStorageHandler signals that a nil dcdt data storage handler has been provided

View Source
var ErrNilPubKeyConverter = errors.New("nil public key converter")

ErrNilPubKeyConverter signals that a nil public key converter has been provided

Functions

func NewAlteredAccountsProvider

func NewAlteredAccountsProvider(args ArgsAlteredAccountsProvider) (*alteredAccountsProvider, error)

NewAlteredAccountsProvider returns a new instance of alteredAccountsProvider

Types

type ArgsAlteredAccountsProvider

type ArgsAlteredAccountsProvider struct {
	ShardCoordinator       sharding.Coordinator
	AddressConverter       core.PubkeyConverter
	AccountsDB             state.AccountsAdapter
	DcdtDataStorageHandler vmcommon.DCDTNFTStorageHandler
}

ArgsAlteredAccountsProvider holds the arguments needed for creating a new instance of alteredAccountsProvider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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