{"modulePath":"github.com/multiversx/mx-chain-go","version":"v1.11.11","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package trieIterators\n\n## Functions\n\n```go\nfunc NewTokensSuppliesProcessor(args ArgsTokensSuppliesProcessor) (*tokensSuppliesProcessor, error)\n```\nNewTokensSuppliesProcessor returns a new instance of tokensSuppliesProcessor\n\n```go\nfunc NewTrieAccountsIterator(args ArgsTrieAccountsIterator) (*trieAccountsIterator, error)\n```\nNewTrieAccountsIterator returns a new instance of trieAccountsIterator\n\n## Types\n\n```go\ntype ArgsTokensSuppliesProcessor struct {\n\tStorageService dataRetriever.StorageService\n\tMarshaller     marshal.Marshalizer\n}\n```\nArgsTokensSuppliesProcessor is the arguments struct for NewTokensSuppliesProcessor\n\n```go\ntype ArgsTrieAccountsIterator struct {\n\tMarshaller marshal.Marshalizer\n\tAccounts   state.AccountsAdapter\n}\n```\nArgsTrieAccountsIterator holds the arguments needed to create a new trie Accounts iterator\n\n```go\ntype TrieAccountIteratorHandler func(account state.UserAccountHandler) error\n```\nTrieAccountIteratorHandler represents a type that maps a handler for the trie's accounts iterator\n\n","path":"github.com/multiversx/mx-chain-go/process/sync/trieIterators","name":"trieIterators","synopsis":"","isRedistributable":true}
