Neo co-founder Erik Zhang detailed a collection of protocol-level updates throughout Neo N3 and the upcoming Neo 4, with a deal with transaction price controls and native token infrastructure.
Contract price whitelist
Neo core builders have accomplished growth of the Subscription Charge Whitelist for Neo N3, and this characteristic is presently in testing and ported to Neo 4. This mechanism permits chosen sensible contracts to function beneath different pricing guidelines outlined on the protocol stage.
Whitelisted contracts make use of a hard and fast price GAS mannequin, permitting for predictable and steady execution prices. Neo 4 additional extends the design and introduces a zero-fee execution mode for vital on-chain infrastructure. That is true to be used circumstances resembling stablecoins and identification methods the place transactions may be carried out with out GAS charges on the protocol stage.
Management of the whitelist is assigned to the Neo Council via the native PolicyContract, permitting governance to determine which contracts are eligible.
TokenManagement native contract
Zhang additionally introduced the addition of TokenManagement, a brand new native contract designed to combine token infrastructure on Neo. This settlement offers a shared basis for each fungible and non-fungible tokens, changing the necessity for initiatives to implement token logic individually. NEO and GAS native contracts can even be adjusted to make use of the brand new administration contract.
TokenManagement helps NEP-17-style different tokens and NFTs that use the identical underlying primitives, together with deterministic asset IDs, shared accounting logic, unified storage, and standardized occasions and callbacks.
By integrating these parts on the protocol stage, Neo goals to scale back duplicate code and enhance token safety throughout the ecosystem.
Protected token callback
As a part of the TokenManagement rollout, Neo added digital machine-level enforcement for token callbacks. strategies resembling onPayment, onNFTPayment, onTransferand onNFTTransfer Can now solely be known as by native contract.
This transformation prevents spoofed callback calls, solid token interactions, and sorts of reentrancy and logic spoofing assaults. Token callback safety is enforced immediately by the VM, quite than counting on developer conventions.
enshrines protocol-level primitives
In accordance with Zhang, TokenManagement displays a broader change in Neo's design philosophy. Core mechanisms have been moved to audited native contracts, permitting software builders to deal with higher-level logic quite than low-level accounting and implementation particulars.
Neo positions this strategy as the premise for additional bettering on-chain safety whereas bettering the long-term maintainability of the protocol.
The announcement may be discovered on Zhang's X web page.
https://x.com/neoerikzhang

