5.5 Smart Contract Explanation
Interactions between DApps and Verified Nodes are handled by Solana smart contracts. Here’s an overview of the smart contract structure:
Explanation:
• VerifiedNode
: Contains details about each Verified Node, such as the node ID, risk type, and whether it is active.
• StakedAssets
: Tracks the amount staked by a user in each node.
• Functions like submit_dapp
, purchase_verified_node
, and validate_node_coverage
handle the core actions of registration, staking, and coverage validation.
Last updated