Show / Hide Table of Contents
Last modified: 2024-09-14

Storage.CurrentContext Property

Returns the current storage context. After obtaining the storage 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

Assembly: Neo.SmartContract.Framework

Syntax

public static extern StorageContext CurrentContext {get;}

Attribute value: Current storage context as a StorageContext .

Back