policy

package
v0.94.0-pre Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Hash = "\xf2\xe2\x08\xed\xcd\x14\x6c\xbe\xe4\x67\x6e\xdf\x79\xb7\x5e\x50\x98\xd3\xbc\x79"

Hash represents Policy contract hash.

Variables

This section is empty.

Functions

func BlockAccount

func BlockAccount(addr interop.Hash160) bool

BlockAccount represents `blockAccount` method of Policy native contract.

func GetExecFeeFactor

func GetExecFeeFactor() int

GetExecFeeFactor represents `getExecFeeFactor` method of Policy native contract.

func GetFeePerByte

func GetFeePerByte() int

GetFeePerByte represents `getFeePerByte` method of Policy native contract.

func GetMaxBlockSize

func GetMaxBlockSize() int

GetMaxBlockSize represents `getMaxBlockSize` method of Policy native contract.

func GetMaxBlockSystemFee

func GetMaxBlockSystemFee() int

GetMaxBlockSystemFee represents `getMaxBlockSystemFee` method of Policy native contract.

func GetMaxTransactionsPerBlock

func GetMaxTransactionsPerBlock() int

GetMaxTransactionsPerBlock represents `getMaxTransactionsPerBlock` method of Policy native contract.

func GetStoragePrice

func GetStoragePrice() int

GetStoragePrice represents `getStoragePrice` method of Policy native contract.

func IsBlocked

func IsBlocked(addr interop.Hash160) bool

IsBlocked represents `isBlocked` method of Policy native contract.

func SetExecFeeFactor

func SetExecFeeFactor(value int)

SetExecFeeFactor represents `setExecFeeFactor` method of Policy native contract.

func SetFeePerByte

func SetFeePerByte(value int)

SetFeePerByte represents `setFeePerByte` method of Policy native contract.

func SetMaxBlockSize

func SetMaxBlockSize(value int)

SetMaxBlockSize represents `setMaxBlockSize` method of Policy native contract.

func SetMaxBlockSystemFee

func SetMaxBlockSystemFee(value int)

SetMaxBlockSystemFee represents `setMaxBlockSystemFee` method of Policy native contract.

func SetMaxTransactionsPerBlock

func SetMaxTransactionsPerBlock(value int)

SetMaxTransactionsPerBlock represents `setMaxTransactionsPerBlock` method of Policy native contract.

func SetStoragePrice

func SetStoragePrice(value int)

SetStoragePrice represents `setStoragePrice` method of Policy native contract.

func UnblockAccount

func UnblockAccount(addr interop.Hash160) bool

UnblockAccount represents `unblockAccount` method of Policy 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