_ArbWasm
| Method | Solidity interface | Go implementation | Description |
|---|---|---|---|
activateProgram() | Interface | Implementation | Compile a wasm program with the latest instrumentation |
stylusVersion() | Interface | Implementation | Gets the latest stylus version |
codehashVersion() | Interface | Implementation | Gets the stylus version that program with codehash was most recently compiled with |
codehashKeepalive() | Interface | Implementation | Extends a program's expiration date (reverts if too soon) |
codehashAsmSize() | Interface | Implementation | Gets a program's asm size in bytes |
programVersion() | Interface | Implementation | Gets the stylus version that program at addr was most recently compiled with |
programInitGas() | Interface | Implementation | Gets the cost to invoke the program |
programMemoryFootprint() | Interface | Implementation | Gets the footprint of program at addr |
programTimeLeft() | Interface | Implementation | Gets returns the amount of time remaining until the program expires |
inkPrice() | Interface | Implementation | Gets the amount of ink 1 gas buys |
maxStackDepth() | Interface | Implementation | Gets the wasm stack size limit |
freePages() | Interface | Implementation | Gets the number of free wasm pages a tx gets |
pageGas() | Interface | Implementation | Gets the base cost of each additional wasm page |
pageRamp() | Interface | Implementation | Gets the ramp that drives exponential memory costs |
pageLimit() | Interface | Implementation | Gets the maximum initial number of pages a wasm may allocate |
minInitGas() | Interface | Implementation | Gets the minimum costs to invoke a program |
initCostScalar() | Interface | Implementation | Gets the linear adjustment made to program init costs |
expiryDays() | Interface | Implementation | Gets the number of days after which programs deactivate |
keepaliveDays() | Interface | Implementation | Gets the age a program must be to perform a keepalive |
blockCacheSize() | Interface | Implementation | Gets the number of extra programs ArbOS caches during a given block. |
| Event | Solidity interface | Go implementation | Description |
|---|---|---|---|
ProgramActivated | Interface | Implementation | Emitted when activating a WASM program |
ProgramLifetimeExtended | Interface | Implementation | Emitted when extending the expiration date of a WASM program |