public class NeoConstants
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_SIZE
Number of characters in a NEO address String.
|
static int |
ASSET_ID_LENGHT_BITS
Size of a global asset id in bits.
|
static int |
ASSET_ID_LENGHT_BYTES |
static int |
ASSET_ID_LENGHT_HEXSTRING |
static byte |
COIN_VERSION |
static int |
CONTRACT_DEPLOY_BASIC_FEE
The basic GAS fee to be paid when deploying or migrating a contract.
|
static int |
CONTRACT_DEPLOY_DYNAMIC_INVOKE_FEE
The additional GAS fee to be paid when deploying a contract that needs dynamic invokes.
|
static int |
CONTRACT_DEPLOY_STORAGE_FEE
The additional GAS fee to be paid when deploying a contract that needs storage.
|
static org.bouncycastle.crypto.params.ECDomainParameters |
CURVE |
static org.bouncycastle.asn1.x9.X9ECParameters |
CURVE_PARAMS |
static java.math.BigDecimal |
FEE_PER_EXTRA_BYTE
The network fee per byte for transactions bigger than
MAX_FREE_TRANSACTION_SIZE bytes. |
static java.math.BigDecimal |
FIXED8_DECIMALS |
static int |
FIXED8_LENGTH
Length of a Fixed8 byte array.
|
static int |
FIXED8_SCALE |
static java.math.BigDecimal |
FREE_GAS_AMOUNT
The amount of GAS that is free in every execution/invocation of a smart contract.
|
static int |
FREE_OF_CHARGE_EXECUTION_COST
The amount of GAS that is free in every contract execution (invocation or deployment).
|
static java.math.BigInteger |
HALF_CURVE_ORDER |
static int |
MAX_FREE_TRANSACTION_SIZE
The maximum transaction size in bytes up to that a transaction is free.
|
static int |
MAX_PUBLIC_KEYS_PER_MULTISIG_ACCOUNT
The maximum number of public keys that can take part in a multi-signature address.
|
static java.math.BigDecimal |
PRIORITY_THRESHOLD_FEE
The network fee threshold above which a transaction becomes a high priority transaction.
|
static int |
PRIVATE_KEY_LENGTH_IN_HEX |
static int |
PRIVATE_KEY_SIZE
Size of a private key in bytes
|
static int |
PUBLIC_KEY_SIZE
Size of a public key in bytes
|
static int |
SCRIPTHASH_LENGHT_BITS |
static int |
SCRIPTHASH_LENGHT_BYTES |
static int |
SCRIPTHASH_LENGHT_HEXSTRING |
static int |
SIGNATURE_SIZE_BYTES
Standard size of a signature used in NEO.
|
static int |
SIGNATURE_SIZE_HEXSTRING |
| Constructor and Description |
|---|
NeoConstants() |
public static final org.bouncycastle.asn1.x9.X9ECParameters CURVE_PARAMS
public static final org.bouncycastle.crypto.params.ECDomainParameters CURVE
public static final java.math.BigInteger HALF_CURVE_ORDER
public static final byte COIN_VERSION
public static final int MAX_PUBLIC_KEYS_PER_MULTISIG_ACCOUNT
public static final int FIXED8_SCALE
public static final java.math.BigDecimal FIXED8_DECIMALS
public static final int FIXED8_LENGTH
public static final int SCRIPTHASH_LENGHT_BITS
public static final int SCRIPTHASH_LENGHT_BYTES
public static final int SCRIPTHASH_LENGHT_HEXSTRING
public static final int ASSET_ID_LENGHT_BITS
public static final int ASSET_ID_LENGHT_BYTES
public static final int ASSET_ID_LENGHT_HEXSTRING
public static final java.math.BigDecimal FREE_GAS_AMOUNT
public static final int PRIVATE_KEY_SIZE
public static final int PRIVATE_KEY_LENGTH_IN_HEX
public static final int PUBLIC_KEY_SIZE
public static final int ADDRESS_SIZE
public static final int SIGNATURE_SIZE_BYTES
public static final int SIGNATURE_SIZE_HEXSTRING
public static final int CONTRACT_DEPLOY_BASIC_FEE
public static final int CONTRACT_DEPLOY_STORAGE_FEE
public static final int CONTRACT_DEPLOY_DYNAMIC_INVOKE_FEE
public static final int FREE_OF_CHARGE_EXECUTION_COST
public static final int MAX_FREE_TRANSACTION_SIZE
public static final java.math.BigDecimal FEE_PER_EXTRA_BYTE
MAX_FREE_TRANSACTION_SIZE bytes.public static final java.math.BigDecimal PRIORITY_THRESHOLD_FEE