alteredaccounts

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: GPL-3.0 Imports: 15 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 ErrNilESDTDataStorageHandler = errors.New("nil esdt data storage handler")

ErrNilESDTDataStorageHandler signals that a nil esdt 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
	EsdtDataStorageHandler vmcommon.ESDTNFTStorageHandler
}

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