Auric

Deployment Reference

Current Public Addresses

FieldValue
Auric legacy v10x650b1AdD632D1a3f09168FdF617F65d8D88d88db
TokenVesting v10x5Ae9851eE44175253464C9bb81caB1b5A3b7A9e7
AuricAMM v10x5F651F54fa97DdB2bb9162061D1a22a693b331be
NetworkSepolia
Chain ID11155111
Etherscanhttps://sepolia.etherscan.io/token/0x650b1AdD632D1a3f09168FdF617F65d8D88d88db
StatusLegacy token, unfunded vesting, empty AMM

The token bytecode at the public address is the original v1 token. It does not implement the treasury, taxBps, or taxExempt methods in the current v2 source.

Deploy Commands

Environment variables

DeployStack.s.sol reads these values from the environment:

DEPLOYER_ADDRESS=<owner and initial mint recipient>
TREASURY_ADDRESS=<tax recipient>
VESTING_BENEFICIARY=<address that receives vested tokens>
CLIFF_DURATION_SECONDS=<optional, default 2592000 (30 days)>
VESTING_DURATION_SECONDS=<optional, default 15552000 (180 days)>
VESTING_DEPOSIT_AMOUNT=<optional AUR wei, default 0>
AMM_TOKEN_AMOUNT=<optional AUR wei, default 0>
AMM_ETH_AMOUNT_WEI=<optional ETH wei, default 0>

Deploy the coherent v2 stack

forge script script/DeployStack.s.sol \
  --rpc-url sepolia \
  --broadcast \
  --verify

The script deploys all three contracts, exempts the vesting and AMM contracts from Auric transfer tax, and optionally funds both demo states. The broadcasting account must match DEPLOYER_ADDRESS.

Verify before publishing addresses

export AUR_TOKEN_ADDRESS=<v2 token>
export VESTING_ADDRESS=<v2 vesting>
export AMM_ADDRESS=<v2 amm>
forge script script/VerifyDeployment.s.sol --rpc-url sepolia

The verifier fails if contract references disagree or either protocol contract is not tax exempt.

Publish addresses to the frontend

NEXT_PUBLIC_DEPLOYMENT_VERSION=v2
NEXT_PUBLIC_AUR_ADDRESS=<v2 token>
NEXT_PUBLIC_VESTING_ADDRESS=<v2 vesting>
NEXT_PUBLIC_AMM_ADDRESS=<v2 amm>

Notes

  • Deployment scripts use vm.startBroadcast() with the configured signer.
  • --verify submits to Etherscan; ensure ETHERSCAN_API_KEY is set in .env or the environment.
  • Never commit private keys, RPC credentials, or mnemonic phrases.