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)bool✅Returns true.
balanceOfNativeCalls.notaryBalanceOf(account)uint256✅Reads the embedded deposit amount for the account, or zero.
expirationOfNativeCalls.notaryExpirationOf(account)uint256✅Reads the embedded deposit expiration height, or zero.
lockDepositUntilNativeCalls.notaryLockDepositUntil(account,till)bool❌Extends an existing embedded deposit when till is greater.
withdrawNativeCalls.notaryWithdraw(from,to)bool❌Removes an embedded deposit for from; to is not modeled.
getMaxNotValidBeforeDeltaNativeCalls.notaryGetMaxNotValidBeforeDelta()uint256✅Returns the embedded max-not-valid-before delta value.
setMaxNotValidBeforeDeltaNativeCalls.notarySetMaxNotValidBeforeDelta(value)void❌Updates the embedded max-not-valid-before delta value.
onNEP17PaymentNativeCalls.notaryOnNEP17Payment(from,amount,data)void❌Records 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