Documentation ¶
Index ¶
- Constants
- func BlockAccount(addr interop.Hash160) bool
- func GetExecFeeFactor() int
- func GetFeePerByte() int
- func GetMaxBlockSize() int
- func GetMaxBlockSystemFee() int
- func GetMaxTransactionsPerBlock() int
- func GetStoragePrice() int
- func IsBlocked(addr interop.Hash160) bool
- func SetExecFeeFactor(value int)
- func SetFeePerByte(value int)
- func SetMaxBlockSize(value int)
- func SetMaxBlockSystemFee(value int)
- func SetMaxTransactionsPerBlock(value int)
- func SetStoragePrice(value int)
- func UnblockAccount(addr interop.Hash160) bool
Constants ¶
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 ¶
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 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 ¶
UnblockAccount represents `unblockAccount` method of Policy native contract.
Types ¶
This section is empty.