Skip to main content

_ArbOwner

MethodSourceDescription
addChainOwner(address newOwner)

Interface

·

Implementation

AddChainOwner adds account as a chain owner
removeChainOwner(address ownerToRemove)

Interface

·

Implementation

RemoveChainOwner removes account from the list of chain owners
isChainOwner(address addr)

Interface

·

Implementation

IsChainOwner checks if the account is a chain owner
getAllChainOwners()

Interface

·

Implementation

GetAllChainOwners retrieves the list of chain owners
setNativeTokenManagementFrom(uint64 timestamp)

Interface

·

Implementation

SetNativeTokenManagementFrom sets native token management enabled-from time.
setTransactionFilteringFrom(uint64 timestamp)

Interface

·

Implementation

SetTransactionFilteringFrom sets transaction filtering enabled-from time.
addNativeTokenOwner(address newOwner)

Interface

·

Implementation

AddNativeTokenOwner adds account as a native token owner
removeNativeTokenOwner(address ownerToRemove)

Interface

·

Implementation

RemoveNativeTokenOwner removes account from the list of native token owners
isNativeTokenOwner(address addr)

Interface

·

Implementation

IsNativeTokenOwner checks if the account is a native token owner
getAllNativeTokenOwners()

Interface

·

Implementation

GetAllNativeTokenOwners retrieves the list of native token owners
addTransactionFilterer(address filterer)

Interface

·

Implementation

AddTransactionFilterer adds account as a transaction filterer (authorized to use ArbFilteredTransactionsManager)
removeTransactionFilterer(address filterer)

Interface

·

Implementation

RemoveTransactionFilterer removes account from the list of transaction filterers
isTransactionFilterer(address filterer)

Interface

·

Implementation

IsTransactionFilterer checks if the account is a transaction filterer
getAllTransactionFilterers()

Interface

·

Implementation

GetAllTransactionFilterers retrieves the list of transaction filterers
setFilteredFundsRecipient(address newRecipient)

Interface

·

Implementation

SetFilteredFundsRecipient sets the address that receives funds redirected from filtered transactions. Set to address(0) to use the networkFeeAccount as fallback.
getFilteredFundsRecipient()

Interface

·

Implementation

GetFilteredFundsRecipient gets the address that receives funds redirected from filtered transactions. Returns address(0) if not explicitly set (networkFeeAccount is used as fallback at runtime).
setL1BaseFeeEstimateInertia(uint64 inertia)

Interface

·

Implementation

SetL1BaseFeeEstimateInertia sets how slowly ArbOS updates its estimate of the L1 basefee
setL2BaseFee(uint256 priceInWei)

Interface

·

Implementation

SetL2BaseFee sets the L2 gas price directly, bypassing the pool calculus
setMinimumL2BaseFee(uint256 priceInWei)

Interface

·

Implementation

SetMinimumL2BaseFee sets the minimum base fee needed for a transaction to succeed
setSpeedLimit(uint64 limit)

Interface

·

Implementation

SetSpeedLimit sets the computational speed limit for the chain
setMaxTxGasLimit(uint64 limit)

Interface

·

Implementation

SetMaxTxGasLimit sets the maximum size a tx can be
setMaxBlockGasLimit(uint64 limit)

Interface

·

Implementation

SetMaxBlockGasLimit sets the maximum size a block can be
setL2GasPricingInertia(uint64 sec)

Interface

·

Implementation

SetL2GasPricingInertia sets the L2 gas pricing inertia
setL2GasBacklogTolerance(uint64 sec)

Interface

·

Implementation

SetL2GasBacklogTolerance sets the L2 gas backlog tolerance
getNetworkFeeAccount()

Interface

·

Implementation

GetNetworkFeeAccount gets the network fee collector
getInfraFeeAccount()

Interface

·

Implementation

GetInfraFeeAccount gets the infrastructure fee collector
setNetworkFeeAccount(address newNetworkFeeAccount)

Interface

·

Implementation

SetNetworkFeeAccount sets the network fee collector to the new network fee account
setInfraFeeAccount(address newInfraFeeAccount)

Interface

·

Implementation

SetInfraFeeAccount sets the infrastructure fee collector address
scheduleArbOSUpgrade(uint64 newVersion, uint64 timestamp)

Interface

·

Implementation

ScheduleArbOSUpgrade to the requested version at the requested timestamp
setL1PricingEquilibrationUnits(uint256 equilibrationUnits)

Interface

·

Implementation

Sets equilibration units parameter for L1 price adjustment algorithm
setL1PricingInertia(uint64 inertia)

Interface

·

Implementation

Sets inertia parameter for L1 price adjustment algorithm
setL1PricingRewardRecipient(address recipient)

Interface

·

Implementation

Sets reward recipient address for L1 price adjustment algorithm
setL1PricingRewardRate(uint64 weiPerUnit)

Interface

·

Implementation

Sets reward amount for L1 price adjustment algorithm, in wei per unit
setL1PricePerUnit(uint256 pricePerUnit)

Interface

·

Implementation

Set how much ArbOS charges per L1 gas spent on transaction data.
setParentGasFloorPerToken(uint64 floorPerToken)

Interface

·

Implementation

Set how much L1 charges per non-zero byte of calldata
setPerBatchGasCharge(int64 cost)

Interface

·

Implementation

Sets the base charge (in L1 gas) attributed to each data batch in the calldata pricer
setBrotliCompressionLevel(uint64 level)

Interface

·

Implementation

Sets the Brotli compression level used for fast compression (default level is 1)
setAmortizedCostCapBips(uint64 cap)

Interface

·

Implementation

Sets the cost amortization cap in basis points
releaseL1PricerSurplusFunds(uint256 maxWeiToRelease)

Interface

·

Implementation

Releases surplus funds from L1PricerFundsPoolAddress for use
setInkPrice(uint32 price)

Interface

·

Implementation

Sets the amount of ink 1 gas buys
setWasmMaxStackDepth(uint32 depth)

Interface

·

Implementation

Sets the maximum depth (in wasm words) a wasm stack may grow
setWasmFreePages(uint16 pages)

Interface

·

Implementation

Sets the number of free wasm pages a tx receives
setWasmPageGas(uint16 gas)

Interface

·

Implementation

Sets the base cost of each additional wasm page
setWasmPageLimit(uint16 limit)

Interface

·

Implementation

Sets the initial number of pages a wasm may allocate
setWasmMaxSize(uint32 size)

Interface

·

Implementation

SetMaxWasmSize sets the maximum size the wasm code can be in bytes after decompression.
setWasmMinInitGas(uint8 gas, uint16 cached)

Interface

·

Implementation

Sets the minimum costs to invoke a program
setWasmInitCostScalar(uint64 percent)

Interface

·

Implementation

Sets the linear adjustment made to program init costs
setWasmExpiryDays(uint16 _days)

Interface

·

Implementation

Sets the number of days after which programs deactivate
setWasmKeepaliveDays(uint16 _days)

Interface

·

Implementation

Sets the age a program must be to perform a keepalive
setWasmBlockCacheSize(uint16 count)

Interface

·

Implementation

Sets the number of extra programs ArbOS caches during a given block
addWasmCacheManager(address manager)

Interface

·

Implementation

Adds account as a wasm cache manager
removeWasmCacheManager(address manager)

Interface

·

Implementation

Removes account from the list of wasm cache managers
setChainConfig(string calldata chainConfig)

Interface

·

Implementation

Sets serialized chain config in ArbOS state
setCalldataPriceIncrease(bool enable)

Interface

·

Implementation

SetCalldataPriceIncrease sets the increased calldata price feature on or off (EIP-7623)
setGasBacklog(uint64 backlog)

Interface

·

Implementation

SetGasBacklog sets the L2 gas backlog directly (used by single-constraint pricing model only)
setGasPricingConstraints(uint64[3][] calldata constraints)

Interface

·

Implementation

SetGasPricingConstraints sets the gas pricing constraints used by the multi-constraint pricing model
setMultiGasPricingConstraints(ArbMultiGasConstraintsTypes.ResourceConstraint[] calldata constraints)

Interface

·

Implementation

SetMultiGasPricingConstraints configures the multi-dimensional gas pricing model
setCollectTips(bool collectTips)

Interface

·

Implementation

SetCollectTips enables or disables tip collection. When enabled, transaction tips are collected by the network fee account. When disabled (default), tips are dropped.
setMaxStylusContractFragments(uint8 maxFragments)

Interface

·

Implementation

setWasmActivationGas(uint64 gas)

Interface

·

Implementation

Sets the constant gas charge applied before each stylus contract activation. Defaults to zero. Can be raised to deter DOS via activations, or set to a value exceeding the block gas limit to block all activations entirely.
EventSourceDescription
TransactionFiltererAdded

Interface

·

Implementation

@notice Emitted when an address is added as a transaction filterer.
TransactionFiltererRemoved

Interface

·

Implementation

@notice Emitted when an address is removed as a transaction filterer.
FilteredFundsRecipientSet

Interface

·

Implementation

@notice Emitted when the filtered funds recipient address is changed. @notice Available in ArbOS version 60 and above
ChainOwnerAdded

Interface

·

Implementation

@notice Emitted when an address is added as a chain owner. @notice Available in ArbOS version 60 and above
ChainOwnerRemoved

Interface

·

Implementation

@notice Emitted when an address is removed as a chain owner. @notice Available in ArbOS version 60 and above
NativeTokenOwnerAdded

Interface

·

Implementation

@notice Emitted when an address is added as a native token owner. @notice Available in ArbOS version 60 and above
NativeTokenOwnerRemoved

Interface

·

Implementation

@notice Emitted when an address is removed as a native token owner. @notice Available in ArbOS version 60 and above
OwnerActs

Interface

·

Implementation

Emitted when a successful call is made to this precompile