Skip to content
LogoLogo

machineTokenDeployments

Canonical MACH funding contracts

Provides the canonical MACH token and swapper addresses for Tempo mainnet and Moderato testnet.

Usage

import {  } from 'mppx/tempo'
 
const  = [4217] 
 
.(.)
0x20c000000000000000000000f37de3740ADec032

Use these addresses to inspect or allowlist the contracts used by machineTokenEnabled. Continue to advertise the stablecoin you want to receive as the charge currency—servers can't advertise MACH as the settlement currency.

Replace mach(chainId).address from earlier releases with machineTokenDeployments[chainId].token.

Return type

type ReturnType = Readonly<
  Record<
    4217 | 42431,
    Readonly<{
      swap: `0x${string}`
      token: `0x${string}`
    }>
  >
>

Parameters

None.