Skip to content

SpotRouter functions

← Browse all contracts

Spot deployment and administration router. ERC-1967/UUPS proxy; implementation disables direct initialization.

This page lists every ABI-exposed function: 24 total, comprising 0 user functions, 13 state-changing, and 11 read-only calls.

User functions are state-changing calls expected from wallets, SDKs, traders, market makers, builders, or relayers. Internal settlement, deployment, governance, keeper, proxy, and maintenance calls remain available under the other filters.

About public and external visibility

The ABI proves that every function below is externally callable. It does not retain whether Solidity declared an individual function public or external, so the page does not invent a per-function visibility label.

Showing all 24 functions

State-changing functions

These payable and nonpayable calls can change protocol or contract state. Check the caller, requirements, effects, events, and errors before integrating one.

cancelOwnershipHandover()

payable ABI callable ownership-candidate 0x54d1f13d

Sets the caller's handover-request expiry to zero, including when no request existed.

Parameters and behavior

Inputs

  • None.

Returns

  • No return value.

Access and behavior

  • Who can call: Any requester, for its own pending request.
  • Requirements: No current-owner requirement and no request-existence requirement.
  • State effects: Sets the caller's handover-request expiry to zero, including when no request existed.
  • Units and rounding: No protocol arithmetic.
  • Event families: OwnershipHandoverCanceled.
  • Expected errors: No contract-defined revert path.

Exact call data

cancelOwnershipHandover()
  • Selector: 0x54d1f13d
  • Mutability: payable
  • Semantic rule: ownership.handover-cancel
  • Call path: ownership-candidate

completeOwnershipHandover(address)

payable ABI callable owner 0xf04e283e

Transfers ownership to the requesting address and consumes the request.

Parameters and behavior

Inputs

  • pendingOwner — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Returns

  • No return value.

Access and behavior

  • Who can call: Current owner.
  • Requirements: The nominated pending owner must have an unexpired request.
  • State effects: Transfers ownership to the requesting address and consumes the request.
  • Units and rounding: Request validity is timestamp-based.
  • Event families: OwnershipTransferred only; clearing the request emits no OwnershipHandoverCanceled.
  • Expected errors: Unauthorized, NoHandoverRequest.

Exact call data

completeOwnershipHandover(address)
  • Selector: 0xf04e283e
  • Mutability: payable
  • Semantic rule: ownership.handover-complete
  • Call path: owner

deploySpotMarket(address,address,uint96,uint32,uint32,uint32,uint96,uint96,uint256,uint256)

state-changing ABI callable governance-deployment 0x151fe05f

Deploys, initializes, and registers a deterministic spot orderbook proxy.

Parameters and behavior

Inputs

  • baseToken — address. EVM asset address; address(0) denotes native MON only on explicitly native-aware AccountCore/periphery paths.
  • quoteToken — address. EVM asset address; address(0) denotes native MON only on explicitly native-aware AccountCore/periphery paths.
  • sizePrecision — uint96. Base-size scaling denominator; human base quantity = integer base size or lots / sizePrecision.
  • pricePrecision — uint32. Price scaling denominator; human quote/base price = integer price / pricePrecision.
  • tickSize — uint32. Minimum price increment in integer price units; valid order prices are multiples of this value.
  • passiveSpreadTicks — uint32. Count of discrete market ticks (unitless integer count).
  • minQuoteNotional — uint96. Raw atomic units of the applicable quote/token asset; human amount = value / that asset's decimal scale.
  • maxQuoteNotional — uint96. Raw atomic units of the applicable quote/token asset; human amount = value / that asset's decimal scale.
  • takerFeePps — uint256. Parts per 10,000,000 (PPS); 1 bp = 1,000 PPS and 1% = 100,000 PPS.
  • makerFeePps — uint256. Parts per 10,000,000 (PPS); 1 bp = 1,000 PPS and 1% = 100,000 PPS.

Returns

  • proxy — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Access and behavior

  • Who can call: Governance role.
  • Requirements: Implementation set; both tokens router-whitelisted and AccountCore-enabled; unique CREATE2 config; SpotEngine and AccountCore validations pass.
  • State effects: CREATE2-deploys and atomically initializes an ERC-1967 OrderBook, optionally sets authority, registers Engine config and AccountCore route, then records router verification.
  • Units and rounding: Price/size precisions and tick are integer scales; notionals raw quote units; fees parts-per-10,000,000.
  • Event families: In order: child proxy Upgraded; child Initialized; optional child AuthorityUpdated; SpotEngine SpotMarketAdded; AccountCore SpotMarketRegistered; router SpotMarketRegistered.
  • Expected errors: Authorization, token whitelist/enablement, zero address, CREATE2 collision, initializer, invalid size/fee/tick/configuration, downstream registration errors.

Exact call data

deploySpotMarket(address,address,uint96,uint32,uint32,uint32,uint96,uint96,uint256,uint256)
  • Selector: 0x151fe05f
  • Mutability: nonpayable
  • Semantic rule: spot-router.deploy
  • Call path: governance-deployment

initialize(address,address,address)

state-changing ABI callable proxy-initialization 0xc0c53b8b

Initializes ownership and the AccountCore/SpotEngine dependencies for a proxy deployment.

Parameters and behavior

Inputs

  • _owner — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.
  • _spotBalanceAccount — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.
  • _spotEngine — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Returns

  • No return value.

Access and behavior

  • Who can call: Any caller only while the proxy is uninitialized; deployers must initialize atomically.
  • Requirements: Owner, Spot balance account, and SpotEngine all nonzero; initializer guard.
  • State effects: Initializes proxy ownership and stores the AccountCore/SpotEngine deployment dependencies.
  • Units and rounding: EVM addresses; no market arithmetic.
  • Event families: OwnershipTransferred, then Initialized.
  • Expected errors: AlreadyInitialized, ZeroAddress.

Exact call data

initialize(address,address,address)
  • Selector: 0xc0c53b8b
  • Mutability: nonpayable
  • Semantic rule: lifecycle.initialize
  • Call path: proxy-initialization

renounceOwnership()

payable ABI callable owner 0x715018a6

Sets the owner to the zero address; owner-gated paths then become unreachable.

Parameters and behavior

Inputs

  • None.

Returns

  • No return value.

Access and behavior

  • Who can call: Current owner.
  • Requirements: Owner authorization.
  • State effects: Sets the owner to the zero address; owner-gated paths then become unreachable.
  • Units and rounding: No numeric units.
  • Event families: OwnershipTransferred.
  • Expected errors: Unauthorized.

Exact call data

renounceOwnership()
  • Selector: 0x715018a6
  • Mutability: payable
  • Semantic rule: ownership.renounce
  • Call path: owner

requestOwnershipHandover()

payable ABI callable ownership-candidate 0x25692962

Creates or refreshes the caller's ownership handover request to expire at block.timestamp + 172800.

Parameters and behavior

Inputs

  • None.

Returns

  • No return value.

Access and behavior

  • Who can call: Any prospective owner, for its own address.
  • Requirements: No current-owner requirement; always succeeds absent an EVM-level failure.
  • State effects: Creates or refreshes the caller's ownership handover request to expire at block.timestamp + 172800.
  • Units and rounding: Expiry is a Unix timestamp in seconds; validity is exactly 48 hours (172,800 seconds).
  • Event families: OwnershipHandoverRequested.
  • Expected errors: No contract-defined revert path.

Exact call data

requestOwnershipHandover()
  • Selector: 0x25692962
  • Mutability: payable
  • Semantic rule: ownership.handover-request
  • Call path: ownership-candidate

setAuthority(address)

state-changing ABI callable owner 0x7a9e5e4b

Sets the shared authority contract used for governance, ops, and emergency roles.

Parameters and behavior

Inputs

  • newAuthority — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Returns

  • No return value.

Access and behavior

  • Who can call: Contract owner.
  • Requirements: New authority must be nonzero and expose nonzero governance, ops, and emergency roles.
  • State effects: Replaces this contract's authority pointer; does not propagate the pointer to already deployed children.
  • Units and rounding: Address only; no rounding.
  • Event families: AuthorityUpdated.
  • Expected errors: Unauthorized, ZeroAddress, InvalidAuthority.

Exact call data

setAuthority(address)
  • Selector: 0x7a9e5e4b
  • Mutability: nonpayable
  • Semantic rule: access.authority
  • Call path: owner

setSpotOrderBookImplementation(address)

state-changing ABI callable governance 0xa8711f84

Sets the implementation used for new spot orderbook proxies.

Parameters and behavior

Inputs

  • newImplementation — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Returns

  • No return value.

Access and behavior

  • Who can call: Governance role.
  • Requirements: Nonzero and different implementation.
  • State effects: Changes the implementation used by future deterministic Spot proxies; existing proxies are unchanged.
  • Units and rounding: Address only.
  • Event families: SpotOBImplementationUpdated.
  • Expected errors: Unauthorized, InvalidAuthority, ZeroAddress, ImplementationNotChanged.

Exact call data

setSpotOrderBookImplementation(address)
  • Selector: 0xa8711f84
  • Mutability: nonpayable
  • Semantic rule: spot-router.implementation
  • Call path: governance

toggleSpotMarkets(address[],uint8)

state-changing ABI callable emergency/ops/governance 0x8ff40b3f

Batch-updates the state of deployed spot markets.

Parameters and behavior

Inputs

  • orderBooks — address[]. Array in ABI order; each element: EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.
  • state — enum IActiveOrderBook.MarketState. Numeric Solidity enum enum IActiveOrderBook.MarketState; member values are listed in types and constants.

Returns

  • No return value.

Access and behavior

  • Who can call: Governance or ops for risk loosening; emergency, ops, or governance for tightening.
  • Requirements: Every address must be a verified Spot market; requested enum must differ per child when applied.
  • State effects: Calls each book to set ACTIVE/SOFT_PAUSED/HARD_PAUSED state.
  • Units and rounding: MarketState enum (uint8); no rounding.
  • Event families: One child MarketStateUpdated per book.
  • Expected errors: Unauthorized, InvalidAuthority, MarketNotFound, MarketStateError, downstream call errors.

Exact call data

toggleSpotMarkets(address[],uint8)
  • Selector: 0x8ff40b3f
  • Mutability: nonpayable
  • Semantic rule: spot-router.market-state
  • Call path: emergency/ops/governance

transferOwnership(address)

payable ABI callable owner 0xf2fde38b

Transfers direct upgrade/administrative ownership.

Parameters and behavior

Inputs

  • newOwner — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Returns

  • No return value.

Access and behavior

  • Who can call: Current owner.
  • Requirements: New owner must be nonzero.
  • State effects: Transfers direct upgrade/administrative ownership.
  • Units and rounding: Address only; no rounding.
  • Event families: OwnershipTransferred.
  • Expected errors: Unauthorized and zero/new-owner errors.

Exact call data

transferOwnership(address)
  • Selector: 0xf2fde38b
  • Mutability: payable
  • Semantic rule: ownership.transfer
  • Call path: owner

upgradeSpotOrderBook(address,address,bytes)

state-changing ABI callable governance-upgrade 0xc685138c

Upgrades a verified router-owned spot orderbook proxy.

Parameters and behavior

Inputs

  • orderBook — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.
  • newImplementation — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.
  • data — bytes. Opaque ABI or protocol-packed bytes; the function/type-specific codec defines its fields.

Returns

  • No return value.

Access and behavior

  • Who can call: Governance role through the router, which must own the child book.
  • Requirements: Verified Spot book, nonzero compatible implementation; child UUPS checks; migration calldata executes atomically.
  • State effects: Upgrades one existing Spot order-book proxy.
  • Units and rounding: Raw calldata; no market rounding.
  • Event families: In order: child Upgraded, events from the explicitly selected optional migration call (if any), then router SpotOrderBookUpgraded.
  • Expected errors: Authorization, unknown market, zero/invalid implementation, UUPS, and migration errors.

Exact call data

upgradeSpotOrderBook(address,address,bytes)
  • Selector: 0xc685138c
  • Mutability: nonpayable
  • Semantic rule: spot-router.child-upgrade
  • Call path: governance-upgrade

upgradeToAndCall(address,bytes)

payable ABI callable owner-upgrade 0x4f1ef286

Changes the proxy implementation and optionally delegatecalls migration data.

Parameters and behavior

Inputs

  • newImplementation — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.
  • data — bytes. Opaque ABI or protocol-packed bytes; the function/type-specific codec defines its fields.

Returns

  • No return value.

Access and behavior

  • Who can call: Contract owner through the active ERC-1967 proxy.
  • Requirements: UUPS proxy context, compatible proxiableUUID, owner authorization; migration calldata executes atomically.
  • State effects: Changes the proxy implementation and optionally delegatecalls migration data.
  • Units and rounding: Raw calldata; no protocol arithmetic.
  • Event families: ERC-1967 Upgraded; optional migration data may emit any events of the explicitly invoked implementation selector, which cannot be statically narrowed from arbitrary bytes.
  • Expected errors: Unauthorized, UUPS call-context/UUID errors, zero-code/invalid implementation, and delegated migration errors.

Exact call data

upgradeToAndCall(address,bytes)
  • Selector: 0x4f1ef286
  • Mutability: payable
  • Semantic rule: upgrade.uups
  • Call path: owner-upgrade

whitelistSpotToken(address,bool)

state-changing ABI callable governance 0x6d39a138

Whitelists or removes a spot token from future market deployment eligibility.

Parameters and behavior

Inputs

  • token — address. EVM asset address; address(0) denotes native MON only on explicitly native-aware AccountCore/periphery paths.
  • status — bool. Boolean flag named status.

Returns

  • No return value.

Access and behavior

  • Who can call: Governance role.
  • Requirements: Valid authority; no token metadata check is performed here.
  • State effects: Changes eligibility for future Spot market deployment only.
  • Units and rounding: Address/boolean only.
  • Event families: SpotTokenWhitelisted.
  • Expected errors: Unauthorized, InvalidAuthority.

Exact call data

whitelistSpotToken(address,bool)
  • Selector: 0x6d39a138
  • Mutability: nonpayable
  • Semantic rule: spot-router.token-whitelist
  • Call path: governance

Read-only functions

These view and pure calls expose configuration or protocol state without mutating it.

authority()

view ABI callable public-read 0xbf7e214f

Returns the shared protocol-authority contract.

Parameters and behavior

Inputs

  • None.

Returns

  • result0 — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Access and behavior

  • Who can call: Any caller; no state mutation.
  • Requirements: No caller authorization unless stated in NatSpec; input-dependent existence/configuration validation may revert.
  • State effects: Returns _: address — EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.
  • Units and rounding: Return/input units follow ABI names, tuple definitions, constants, and NatSpec; no state-changing rounding occurs.
  • Event families: None; view/pure call.
  • Expected errors: Input, missing entity, invalid configuration, arithmetic, or delegated read errors declared in the error catalog.

Exact call data

authority()
  • Selector: 0xbf7e214f
  • Mutability: view
  • Semantic rule: read.public
  • Call path: public-read

computeAddress(address,address,uint96,uint32,uint32,uint32,uint96,uint96,uint256,uint256)

view ABI callable public-read 0x50d75b86

Computes the deterministic proxy address for a spot market configuration.

Parameters and behavior

Inputs

  • baseToken — address. EVM asset address; address(0) denotes native MON only on explicitly native-aware AccountCore/periphery paths.
  • quoteToken — address. EVM asset address; address(0) denotes native MON only on explicitly native-aware AccountCore/periphery paths.
  • sizePrecision — uint96. Base-size scaling denominator; human base quantity = integer base size or lots / sizePrecision.
  • pricePrecision — uint32. Price scaling denominator; human quote/base price = integer price / pricePrecision.
  • tickSize — uint32. Minimum price increment in integer price units; valid order prices are multiples of this value.
  • passiveSpreadTicks — uint32. Count of discrete market ticks (unitless integer count).
  • minQuoteNotional — uint96. Raw atomic units of the applicable quote/token asset; human amount = value / that asset's decimal scale.
  • maxQuoteNotional — uint96. Raw atomic units of the applicable quote/token asset; human amount = value / that asset's decimal scale.
  • takerFeePps — uint256. Parts per 10,000,000 (PPS); 1 bp = 1,000 PPS and 1% = 100,000 PPS.
  • makerFeePps — uint256. Parts per 10,000,000 (PPS); 1 bp = 1,000 PPS and 1% = 100,000 PPS.

Returns

  • result0 — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Access and behavior

  • Who can call: Any caller; no state mutation.
  • Requirements: No caller authorization unless stated in NatSpec; input-dependent existence/configuration validation may revert.
  • State effects: Returns _: address — EVM address; zero-address allowance/sentinel meaning is stated by the function semantics. Computes the deterministic proxy address for a spot market configuration.
  • Units and rounding: Return/input units follow ABI names, tuple definitions, constants, and NatSpec; no state-changing rounding occurs.
  • Event families: None; view/pure call.
  • Expected errors: Input, missing entity, invalid configuration, arithmetic, or delegated read errors declared in the error catalog.

Exact call data

computeAddress(address,address,uint96,uint32,uint32,uint32,uint96,uint96,uint256,uint256)
  • Selector: 0x50d75b86
  • Mutability: view
  • Semantic rule: read.public
  • Call path: public-read

owner()

view ABI callable public-read 0x8da5cb5b

Returns the contract owner.

Parameters and behavior

Inputs

  • None.

Returns

  • result — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Access and behavior

  • Who can call: Any caller; no state mutation.
  • Requirements: No caller authorization unless stated in NatSpec; input-dependent existence/configuration validation may revert.
  • State effects: Returns result: address — EVM address; zero-address allowance/sentinel meaning is stated by the function semantics. Returns the owner of the contract.
  • Units and rounding: Return/input units follow ABI names, tuple definitions, constants, and NatSpec; no state-changing rounding occurs.
  • Event families: None; view/pure call.
  • Expected errors: Input, missing entity, invalid configuration, arithmetic, or delegated read errors declared in the error catalog.

Exact call data

owner()
  • Selector: 0x8da5cb5b
  • Mutability: view
  • Semantic rule: read.public
  • Call path: public-read

ownershipHandoverExpiresAt(address)

view ABI callable public-read 0xfee81cf4

Returns when a pending ownership handover expires.

Parameters and behavior

Inputs

  • pendingOwner — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Returns

  • result — uint256. Unix timestamp in seconds; zero-sentinel behavior is function-specific.

Access and behavior

  • Who can call: Any caller; no state mutation.
  • Requirements: No caller authorization unless stated in NatSpec; input-dependent existence/configuration validation may revert.
  • State effects: Returns result: uint256 — Unix timestamp in seconds; zero-sentinel behavior is function-specific. Returns the expiry timestamp for the two-step ownership handover to pendingOwner.
  • Units and rounding: Return/input units follow ABI names, tuple definitions, constants, and NatSpec; no state-changing rounding occurs.
  • Event families: None; view/pure call.
  • Expected errors: Input, missing entity, invalid configuration, arithmetic, or delegated read errors declared in the error catalog.

Exact call data

ownershipHandoverExpiresAt(address)
  • Selector: 0xfee81cf4
  • Mutability: view
  • Semantic rule: read.public
  • Call path: public-read

proxiableUUID()

view ABI callable implementation-read 0x52d1902d

Returns the ERC-1822 implementation-slot identifier.

Parameters and behavior

Inputs

  • None.

Returns

  • result0 — bytes32. bytes32 opaque binary value.

Access and behavior

  • Who can call: Any caller on the implementation contract, not through the active proxy.
  • Requirements: UUPS notDelegated; intentionally reverts when delegatecalled through a proxy.
  • State effects: No state mutation. Returns the ERC-1967 implementation storage slot UUID. Returns the storage slot used by the implementation, as specified in ERC1822. Note: The notDelegated modifier prevents accidental upgrades to an implementation that is a proxy contract.
  • Units and rounding: Return/input units follow the ABI names, tuple definitions, constants, and NatSpec in this reference.
  • Event families: None; view/pure call.
  • Expected errors: Input/existence/configuration errors declared by the contract may still revert.

Exact call data

proxiableUUID()
  • Selector: 0x52d1902d
  • Mutability: view
  • Semantic rule: read.SpotRouter.proxiableUUID
  • Call path: implementation-read

spotBalanceAccountAddress()

view ABI callable public-read 0x23681a9a

Returns the configured Spot balance-account address.

Parameters and behavior

Inputs

  • None.

Returns

  • result0 — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Access and behavior

  • Who can call: Any caller; no state mutation.
  • Requirements: No caller authorization unless stated in NatSpec; input-dependent existence/configuration validation may revert.
  • State effects: Returns _: address — EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.
  • Units and rounding: Return/input units follow ABI names, tuple definitions, constants, and NatSpec; no state-changing rounding occurs.
  • Event families: None; view/pure call.
  • Expected errors: Input, missing entity, invalid configuration, arithmetic, or delegated read errors declared in the error catalog.

Exact call data

spotBalanceAccountAddress()
  • Selector: 0x23681a9a
  • Mutability: view
  • Semantic rule: read.public
  • Call path: public-read

spotEngineAddress()

view ABI callable public-read 0x31dacfca

Returns the configured SpotEngine address.

Parameters and behavior

Inputs

  • None.

Returns

  • result0 — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Access and behavior

  • Who can call: Any caller; no state mutation.
  • Requirements: No caller authorization unless stated in NatSpec; input-dependent existence/configuration validation may revert.
  • State effects: Returns _: address — EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.
  • Units and rounding: Return/input units follow ABI names, tuple definitions, constants, and NatSpec; no state-changing rounding occurs.
  • Event families: None; view/pure call.
  • Expected errors: Input, missing entity, invalid configuration, arithmetic, or delegated read errors declared in the error catalog.

Exact call data

spotEngineAddress()
  • Selector: 0x31dacfca
  • Mutability: view
  • Semantic rule: read.public
  • Call path: public-read

spotOrderBookImplementation()

view ABI callable public-read 0xd623ef0b

Returns the Spot order-book implementation used for new markets.

Parameters and behavior

Inputs

  • None.

Returns

  • result0 — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Access and behavior

  • Who can call: Any caller; no state mutation.
  • Requirements: No caller authorization unless stated in NatSpec; input-dependent existence/configuration validation may revert.
  • State effects: Returns _: address — EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.
  • Units and rounding: Return/input units follow ABI names, tuple definitions, constants, and NatSpec; no state-changing rounding occurs.
  • Event families: None; view/pure call.
  • Expected errors: Input, missing entity, invalid configuration, arithmetic, or delegated read errors declared in the error catalog.

Exact call data

spotOrderBookImplementation()
  • Selector: 0xd623ef0b
  • Mutability: view
  • Semantic rule: read.public
  • Call path: public-read

verifiedMarket(address)

view ABI callable public-read 0x5f71a07c

Returns the registered configuration for a verified Spot market.

Parameters and behavior

Inputs

  • arg0 — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Returns

  • baseToken — address. EVM asset address; address(0) denotes native MON only on explicitly native-aware AccountCore/periphery paths.
  • quoteToken — address. EVM asset address; address(0) denotes native MON only on explicitly native-aware AccountCore/periphery paths.
  • pricePrecision — uint32. Price scaling denominator; human quote/base price = integer price / pricePrecision.
  • sizePrecision — uint96. Base-size scaling denominator; human base quantity = integer base size or lots / sizePrecision.
  • tickSize — uint32. Minimum price increment in integer price units; valid order prices are multiples of this value.
  • passiveSpreadTicks — uint32. Count of discrete market ticks (unitless integer count).
  • minQuoteNotional — uint96. Raw atomic units of the applicable quote/token asset; human amount = value / that asset's decimal scale.
  • maxQuoteNotional — uint96. Raw atomic units of the applicable quote/token asset; human amount = value / that asset's decimal scale.
  • takerFeePps — uint256. Parts per 10,000,000 (PPS); 1 bp = 1,000 PPS and 1% = 100,000 PPS.
  • makerFeePps — uint256. Parts per 10,000,000 (PPS); 1 bp = 1,000 PPS and 1% = 100,000 PPS.

Access and behavior

  • Who can call: Any caller; no state mutation.
  • Requirements: No caller authorization unless stated in NatSpec; input-dependent existence/configuration validation may revert.
  • State effects: Returns baseToken: address — EVM asset address; address(0) denotes native MON only on explicitly native-aware AccountCore/periphery paths.; quoteToken: address — EVM asset address; address(0) denotes native MON only on explicitly native-aware AccountCore/periphery paths.; pricePrecision: uint32 — Price scaling denominator; human quote/base price = integer price / pricePrecision.; sizePrecision: uint96 — Base-size scaling denominator; human base quantity = integer base size or lots / sizePrecision.; tickSize: uint32 — Minimum price increment in integer price units; valid order prices are multiples of this value.; passiveSpreadTicks: uint32 — Count of discrete market ticks (unitless integer count).; minQuoteNotional: uint96 — Raw atomic units of the applicable quote/token asset; human amount = value / that asset's decimal scale.; maxQuoteNotional: uint96 — Raw atomic units of the applicable quote/token asset; human amount = value / that asset's decimal scale.; takerFeePps: uint256 — Parts per 10,000,000 (PPS); 1 bp = 1,000 PPS and 1% = 100,000 PPS.; makerFeePps: uint256 — Parts per 10,000,000 (PPS); 1 bp = 1,000 PPS and 1% = 100,000 PPS.
  • Units and rounding: Return/input units follow ABI names, tuple definitions, constants, and NatSpec; no state-changing rounding occurs.
  • Event families: None; view/pure call.
  • Expected errors: Input, missing entity, invalid configuration, arithmetic, or delegated read errors declared in the error catalog.

Exact call data

verifiedMarket(address)
  • Selector: 0x5f71a07c
  • Mutability: view
  • Semantic rule: read.public
  • Call path: public-read

verifiedSpotMarket(address)

view ABI callable public-read 0xb724101d

Returns whether an address is a verified Spot market.

Parameters and behavior

Inputs

  • arg0 — address. EVM address; zero-address allowance/sentinel meaning is stated by the function semantics.

Returns

  • result0 — bool. Boolean flag named value.

Access and behavior

  • Who can call: Any caller; no state mutation.
  • Requirements: No caller authorization unless stated in NatSpec; input-dependent existence/configuration validation may revert.
  • State effects: Returns _: bool — Boolean flag named value.
  • Units and rounding: Return/input units follow ABI names, tuple definitions, constants, and NatSpec; no state-changing rounding occurs.
  • Event families: None; view/pure call.
  • Expected errors: Input, missing entity, invalid configuration, arithmetic, or delegated read errors declared in the error catalog.

Exact call data

verifiedSpotMarket(address)
  • Selector: 0xb724101d
  • Mutability: view
  • Semantic rule: read.public
  • Call path: public-read

whitelistedSpotTokens(address)

view ABI callable public-read 0xe1866ca1

Returns whether an asset is whitelisted for Spot market deployment.

Parameters and behavior

Inputs

  • arg0 — address. EVM asset address; address(0) denotes native MON only on explicitly native-aware AccountCore/periphery paths.

Returns

  • result0 — bool. Boolean flag named value.

Access and behavior

  • Who can call: Any caller; no state mutation.
  • Requirements: No caller authorization unless stated in NatSpec; input-dependent existence/configuration validation may revert.
  • State effects: Returns _: bool — Boolean flag named value.
  • Units and rounding: Return/input units follow ABI names, tuple definitions, constants, and NatSpec; no state-changing rounding occurs.
  • Event families: None; view/pure call.
  • Expected errors: Input, missing entity, invalid configuration, arithmetic, or delegated read errors declared in the error catalog.

Exact call data

whitelistedSpotTokens(address)
  • Selector: 0xe1866ca1
  • Mutability: view
  • Semantic rule: read.public
  • Call path: public-read