public class Schedule extends Struct
Definition of the cost schedule and other parameterizations for wasm vm
Constructor and Description |
---|
Schedule(java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
Gas |
getGrowMemCost()
Gas cost of a growing memory by single page.
|
U32 |
getMaxMemoryPages()
What is the maximal memory pages amount is allowed to have for a contract.
|
U32 |
getMaxStackHeight()
How tall the stack is allowed to grow?
|
Gas |
getPutCodePerByteCost()
Cost of putting a byte of code into the storage.
|
Gas |
getRegularOpCost()
Gas cost of a regular operation.
|
Gas |
getReturnDataPerByteCost()
Gas cost per one byte returned.
|
Gas |
getSandboxDataReadCost()
Gas cost per one byte read from the sandbox memory.
|
Gas |
getSandboxDataWriteCost()
Gas cost per one byte written to the sandbox memory.
|
U32 |
getVersion()
Version of the schedule.
|
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, with
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
finalize, getClass, notify, notifyAll, wait, wait, wait
getConstructorCodec, toU8a
public Gas getGrowMemCost()
Gas cost of a growing memory by single page.
public U32 getMaxMemoryPages()
What is the maximal memory pages amount is allowed to have for a contract.
public U32 getMaxStackHeight()
How tall the stack is allowed to grow?
public Gas getPutCodePerByteCost()
Cost of putting a byte of code into the storage.
public Gas getRegularOpCost()
Gas cost of a regular operation.
public Gas getReturnDataPerByteCost()
Gas cost per one byte returned.
public Gas getSandboxDataReadCost()
Gas cost per one byte read from the sandbox memory.
public Gas getSandboxDataWriteCost()
Gas cost per one byte written to the sandbox memory.
public U32 getVersion()
Version of the schedule.