NeoPersistableClass Namespace

Neo Persistable Class

neo-persistibleclasses

NeoPersistableClass Namespace

Classes


  Class Description
Public class NeoEntityModel
NeoEntityModel class Utility class for EntityState enum (NPC Level 1-6) as well as helper functions and extensions like AsBigInteger and BytesToEntityState
Public class NeoStorageKey
NeoStorageKey class Used to manage NeoStorageKeys (NSKs) and the serialization of NSKs into NeoStorageKey Object Notation (NSKON)
Public class NeoTrace
Neotrace class Wrapper for fully-qualified method Neo.SmartContract.Framework.Services.Neo.Runtime.Notify(args)
Public class NeoVersionedAppUser
NeoVersionedAppUser class Class used to support the efficient creation and management of NeoStorageKeys
Public class NPCdApp
NPCdApp - NEO Persistable Class (NPC) Framework Version 0.1 Reference Implementation Author: Michael Herman @mwherman2000 [email protected] The NEO Persistable Class (NPC) framework enables efficient object-oriented smart contract development using C#.NEO, Visual Studio and the NEO Developer Tools to build distributed apps (dApps) on the NEO Blockchain. NPC Levels Supported ---------------------------------------------------------- NPC Level 1 Basic NPC Level 2 State-managed NPC Level 3 Persistable NPC Level 4 Collectable NPC Level 5 Extendible(future work) NPC Level 6 Authorized(future work) ---------------------------------------------------------- Main() Parameters: string operation, object[]args Neo-gui Contract Parameter Type: 0710 (string, array) Operation Parameter Values ---------------------------------------------------------- testall [nIterations] - NPC Level 1-2-3-4 test cases: Run all the tests sequentially. Log the results. test1 [no args] - Dump miscellaneous variables to the log test2 [no args] - NPC Level 1 test cases: Create 3 Points and a line. Add two Points. Log the results. test3 [no args] - NPC Level 2/3 test cases: Create 3 Points and test NPC Level 3 entity persistence. Log the results. tets4 [no args] - NPC Level 2/3 test cases: Test IsNull(), IsMissing() and IsExtended(). Log the results. test5 [no args] - NPC Level 4 test cases: Test NeoStorageKeys. Log the results. test6 [nIterations] - NPC Level 4 test cases: Test NeoStorageKeys. Log the results.
NCPdApp class Contains the Main() entry point for this dApp smart contract as well as one function for each test case (in addition to some helper methods)
Public class Point
Point class Reference implementation of a NPC class consisting of a pair of x and y coorinates

Enumerations


  Enumeration Description
Public enumeration NeoEntityModel..::..EntityState