Show / Hide Table of Contents

Storage.CurrentContext Property

Returns the current store context. After obtaining the store context, the object can be passed as an argument to other contracts (as a way of authorization), allowing other contracts to perform read/write operations on the persistent store of the current contract.

Namespace: Neo.SmartContract.Framework.Services.Neo

Assembly: Neo.SmartContract.Framework

Syntax

public static extern Neo.SmartContract.Framework.Services.Neo.StorageContext CurrentContext {get;}

Attribute value: Current storage context as a StorageContext .

Back