BlockKeeperEpochProxyList.abi.json

Overview

This file defines the Application Binary Interface (ABI) for a smart contract module named BlockKeeperEpochProxyList. It specifies the contract’s version, functions, fields, and headers that control proxy management for epochs in a blockchain system. The contract maintains a dynamic list of proxies, supports ownership management, and handles lifecycle states such as closing and destruction. Its primary role is to maintain and update a proxy list mapped by unique keys, managing access and versioning of this critical data structure.

Fields

Functions

constructor(code, seqNoStart, ProxyList)

setNewProxyList(seqNoStart, ProxyList)

toClose(seqNoStart)

destroy(seqNoStart)

destroyPreEpoch(seqNoStart)

setOwner(owner)

addProxyList(data)

deleteProxyList(data)

iterateProxyList(data, member, is_add)

getDetails()

getVersion()

Implementation Details

Interactions with Other System Components

Diagram: Contract Structure and Functionality

classDiagram
class BlockKeeperEpochProxyList {
+uint256 _pubkey
+uint64 _timestamp
+bool _constructorFlag
+map _code
+map _ProxyList
+optional _owner
+uint256 _owner_pubkey
+address _root
+bool status
+bool _is_closed
+constructor()
+setNewProxyList()
+toClose()
+destroy()
+destroyPreEpoch()
+setOwner()
+addProxyList()
+deleteProxyList()
+iterateProxyList()
+getDetails()
+getVersion()
}

The diagram illustrates the single contract class encapsulating state fields and the key functions that manipulate the proxy list, ownership, and lifecycle states.