Full build: Vite/React acid-terminal frontend (BEARER design system, Panchang/Sentient/Fragment Mono, neon layer, palette audit script), HoodquidityVaults Foundry contracts (single+dual deposits via Chainlink-style feeds, hybrid exit, 10% platform fee, boost, Genesis LP), Reown AppKit wallet connect with Robinhood Chain testnet (46630), live data from Dexscreener and onchain reads, partner portal, design-sync setup for claude.ai/design. Deploy: static via Forgejo Actions platform, BUILD_DIR=apps/web/dist (.env). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
44 lines
1.3 KiB
Solidity
44 lines
1.3 KiB
Solidity
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
pragma solidity >=0.8.13 <0.9.0;
|
|
|
|
import {CommonBase} from "../src/Base.sol";
|
|
import {StdConstants} from "../src/StdConstants.sol";
|
|
import {Test} from "../src/Test.sol";
|
|
|
|
contract CommonBaseTest is Test {
|
|
function testVmAddressValue() public pure {
|
|
assertEq(VM_ADDRESS, address(StdConstants.VM));
|
|
}
|
|
|
|
function testConsoleValue() public pure {
|
|
assertEq(CONSOLE, StdConstants.CONSOLE);
|
|
}
|
|
|
|
function testCreate2FactoryValue() public pure {
|
|
assertEq(CREATE2_FACTORY, StdConstants.CREATE2_FACTORY);
|
|
}
|
|
|
|
function testDefaultSenderValue() public pure {
|
|
assertEq(DEFAULT_SENDER, StdConstants.DEFAULT_SENDER);
|
|
}
|
|
|
|
function testDefaultTestContractValue() public pure {
|
|
assertEq(DEFAULT_TEST_CONTRACT, StdConstants.DEFAULT_TEST_CONTRACT);
|
|
}
|
|
|
|
function testMulticall3AddressValue() public pure {
|
|
assertEq(MULTICALL3_ADDRESS, address(StdConstants.MULTICALL3_ADDRESS));
|
|
}
|
|
|
|
function testSecp256k1OrderValue() public pure {
|
|
assertEq(SECP256K1_ORDER, StdConstants.SECP256K1_ORDER);
|
|
}
|
|
|
|
function testUint256MaxValue() public pure {
|
|
assertEq(UINT256_MAX, type(uint256).max);
|
|
}
|
|
|
|
function testVmValue() public pure {
|
|
assertEq(address(vm), address(StdConstants.VM));
|
|
}
|
|
}
|