policy
- get_exec_fee_factor() int
Gets the execution fee factor. This is a multiplier that can be adjusted by the committee to adjust the system fees for transactions.
>>> get_exec_fee_factor() 30
- Returns:
the execution fee factor
- Return type:
Deprecated since version 1.3.0: This module is deprecated. Use
PolicyContract
fromboa3.sc.contracts
instead
- get_fee_per_byte() int
Gets the network fee per transaction byte.
>>> get_fee_per_byte() 1000
- Returns:
the network fee per transaction byte
- Return type:
Deprecated since version 1.3.0: This module is deprecated. Use
PolicyContract
fromboa3.sc.contracts
instead
- get_storage_price() int
Gets the storage price.
>>> get_storage_price() 100000
- Returns:
the snapshot used to read data
- Return type:
Deprecated since version 1.3.0: This module is deprecated. Use
PolicyContract
fromboa3.sc.contracts
instead
- is_blocked(account: UInt160) bool
Determines whether the specified account is blocked.
>>> is_blocked(UInt160(b'\xcfv\xe2\x8b\xd0\x06,JG\x8e\xe3Ua\x01\x13\x19\xf3\xcf\xa4\xd2')) False
- Parameters:
account (boa3.builtin.type.UInt160) – the account to be checked
- Returns:
whether the account is blocked or not
- Return type:
Deprecated since version 1.3.0: This module is deprecated. Use
PolicyContract
fromboa3.sc.contracts
instead