io.neow3j.devpack.annotations.CallFlags Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of devpack Show documentation
Show all versions of devpack Show documentation
neow3j: Java Development Package for Neo Smart Contracts
package io.neow3j.devpack.annotations;
/**
* This annotation is used on smart contract interface methods to specify what operations are allowed when they are
* called. When this annotation is absent, {@link io.neow3j.devpack.constants.CallFlags#All} is used by default.
*
* Use the constants in {@link io.neow3j.devpack.constants.CallFlags} to set the desired value.
*
* For example:
*
{@code @CallFlags(ReadStates)}
*
{@code public native ByteString getStorageValue();}
*/
public @interface CallFlags {
byte value();
}