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 charge controls and native token infrastructure.
Contract charge whitelist
Neo core builders have accomplished improvement of the Subscription Fee Whitelist for Neo N3, and this function is at present in testing and ported to Neo 4. This mechanism permits chosen sensible contracts to function below various pricing guidelines outlined on the protocol stage.
Whitelisted contracts make use of a hard and fast price GAS mannequin, permitting for predictable and secure execution prices. Neo 4 additional extends the design and introduces a zero-fee execution mode for essential on-chain infrastructure. That is true to be used circumstances comparable to stablecoins and id techniques the place transactions might be carried out with out GAS charges on the protocol stage.
Management of the whitelist is assigned to the Neo Council by way of 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 gives 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 may also be adjusted to make use of the brand new administration contract.
TokenManagement helps NEP-17-style various 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 elements on the protocol stage, Neo goals to cut 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 comparable to onPayment, onNFTPayment, onTransferand onNFTTransfer Can now solely be referred to as by native contract.
This alteration prevents spoofed callback calls, cast token interactions, and forms of reentrancy and logic spoofing assaults. Token callback safety is enforced immediately by the VM, fairly than counting on developer conventions.
enshrines protocol-level primitives
Based on 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 fairly than low-level accounting and implementation particulars.
Neo positions this strategy as the idea for additional bettering on-chain safety whereas bettering the long-term maintainability of the protocol.
The announcement might be discovered on Zhang’s X web page.
https://x.com/neoerikzhang
