Zum Hauptinhalt springen

CallerTrustLevels

Namespace: Meshmakers.Octo.Sdk.Common.Services

Helpers over the CallerTrustLevel scale.

public static class CallerTrustLevels

Inheritance Object → CallerTrustLevels

Methods​

IsAtLeast(CallerTrustLevel, CallerTrustLevel)​

Whether actual meets the required minimum — the comparison a node makes when it wants to act only for a sufficiently trusted caller.

public static bool IsAtLeast(CallerTrustLevel actual, CallerTrustLevel required)

Parameters​

actual CallerTrustLevel

required CallerTrustLevel

Returns​

Boolean