AckiNackiBlockManagerNodeWallet.abi.json

Overview

This file defines the Application Binary Interface (ABI) for the AckiNackiBlockManagerNodeWallet smart contract. It outlines the contract's interface including its public functions, state fields, and their types, as well as the versioning and header information. The ABI version 2 and semantic version 2.4 indicate the contract's compliance with specific runtime and interface standards.

The contract is designed to manage licenses, rewards, slashing (penalties), and wallet interactions within a block manager node ecosystem. It includes mechanisms for license addition and removal, reward distribution, slashing enforcement, and wallet token withdrawal. The contract maintains several state variables to track its operational status, time-related controls, and cryptographic keys for signing and ownership.


Detailed Description of Functions

constructor


removeLicense


setSigningPubkey


setLicenseWhiteList


addLicense


slash


noRewards


withdrawToken


startBM


getReward


takeReward


stopBM


getDetails


getVersion


Fields and State Variables


Implementation Details and Algorithms


Interaction with Other System Components


Visual Diagram

classDiagram
class AckiNackiBlockManagerNodeWallet {
+constructor()
+removeLicense()
+setSigningPubkey()
+setLicenseWhiteList()
+addLicense()
+slash()
+noRewards()
+withdrawToken()
+startBM()
+getReward()
+takeReward()
+stopBM()
+getDetails()
+getVersion()
-_pubkey
-_timestamp
-_constructorFlag
-_code
-_owner_pubkey
-_root
-_license_num
-_whiteListLicense
-_licenseBMRoot
-_start_bm
-_wallet_reward
-_slashSum
-_start_time
-_stop_seqno
-_waitStep
-_rewarded
-_epochStart
-_epochEnd
-_walletLastTouch
-_isSlashing
-_tryReward
-_walletTouch
-_signing_pubkey
}

This diagram highlights the contract's core functions and state variables, illustrating the structure of the contract interface and internal storage.