Skip to content

Notary Contract

Back to Native Contracts

The Notary native contract models Neo N3 notary deposits and notary-assisted transaction helpers. The embedded runtime implements a deterministic in-memory subset for compiler/runtime tests; it does not model the full network notary service.

Methods

MethodDevpack wrapperReturnSafeEmbedded runtime behavior
verifyNativeCalls.notaryVerify(signature)boolReturns true.
balanceOfNativeCalls.notaryBalanceOf(account)uint256Reads the embedded deposit amount for the account, or zero.
expirationOfNativeCalls.notaryExpirationOf(account)uint256Reads the embedded deposit expiration height, or zero.
lockDepositUntilNativeCalls.notaryLockDepositUntil(account,till)boolExtends an existing embedded deposit when till is greater.
withdrawNativeCalls.notaryWithdraw(from,to)boolRemoves an embedded deposit for from; to is not modeled.
getMaxNotValidBeforeDeltaNativeCalls.notaryGetMaxNotValidBeforeDelta()uint256Returns the embedded max-not-valid-before delta value.
setMaxNotValidBeforeDeltaNativeCalls.notarySetMaxNotValidBeforeDelta(value)voidUpdates the embedded max-not-valid-before delta value.
onNEP17PaymentNativeCalls.notaryOnNEP17Payment(from,amount,data)voidRecords an embedded deposit and optional expiration value.

Embedded Runtime Limits

Authorization, real transaction-notary coordination, and network service behavior are not modeled. Use Neo-Express or TestNet for flows that depend on production notary consensus semantics.


MIT Licensed