notary

package
v0.96.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2021 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package notary provides interface to Notary native contract. This contract is a NeoGo extension and is not available on regular Neo networks. To use it you need to have this extension enabled on the network.

Index

Constants

View Source
const Hash = "\x3b\xec\x35\x31\x11\x9b\xba\xd7\x6d\xd0\x44\x92\x0b\x0d\xe6\xc3\x19\x4f\xe1\xc1"

Hash represents Notary contract hash.

Variables

This section is empty.

Functions

func BalanceOf

func BalanceOf(addr interop.Hash160) int

BalanceOf represents `balanceOf` method of Notary native contract.

func ExpirationOf

func ExpirationOf(addr interop.Hash160) int

ExpirationOf represents `expirationOf` method of Notary native contract.

func GetMaxNotValidBeforeDelta

func GetMaxNotValidBeforeDelta() int

GetMaxNotValidBeforeDelta represents `getMaxNotValidBeforeDelta` method of Notary native contract.

func LockDepositUntil

func LockDepositUntil(addr interop.Hash160, till int) bool

LockDepositUntil represents `lockDepositUntil` method of Notary native contract.

func SetMaxNotValidBeforeDelta

func SetMaxNotValidBeforeDelta(value int)

SetMaxNotValidBeforeDelta represents `setMaxNotValidBeforeDelta` method of Notary native contract.

func Withdraw

func Withdraw(from, to interop.Hash160) bool

Withdraw represents `withdraw` method of Notary native contract.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL