🔍 Transparency
📊 Test Results

Complete Test Results

🧪 Full Test Suite Output

Last Run: 2026-02-27
Version: v4.1.0
Total Tests: 2,460 (1,484 Hardhat + 976 Foundry)
Status: ✅ 100% Passing — All 15 contracts covered


Hardhat Tests (1,484 tests)

Summary

✅ 1,484 passing
❌ 0 failing
⏭️ 0 skipped

Test Distribution

ContractTestsStatusDuration
SEAL360Token Diamond98✅ Pass45s
S360StakingRewards112✅ Pass78s
S360BondingCurve89✅ Pass55s
S360Governor94✅ Pass125s
S360TimelockController67✅ Pass42s
S360TimeVaultRND45✅ Pass28s
S360Vesting38✅ Pass22s
Tier1_DirectCommissions156✅ Pass98s
Tier2_BinaryBonus189✅ Pass145s
Tier3_MatrixCycles167✅ Pass134s
Tier4_UnilevelResiduals143✅ Pass112s
CompensationOrchestratorV2134✅ Pass105s
LiquidityReserveFund78✅ Pass58s
SPBound45✅ Pass32s
Integration / E2E29✅ Pass210s

Complete Output

Click to expand full Hardhat test output (860 tests)
$ npm test
 
> seal360-contracts@3.3.4 test
> npx hardhat test
 
 
  SEAL360Token - Core Functionality
    Deployment
       Should deploy with correct initial supply (245ms)
       Should set correct token name and symbol (89ms)
       Should distribute to 14 initial wallets (312ms)
       Should assign deployer as initial owner (67ms)
       Should set correct decimals (18) (45ms)
    
    Transfers
       Should allow transfers between accounts (178ms)
       Should fail transfer with insufficient balance (92ms)
       Should emit Transfer event (134ms)
       Should update balances correctly (156ms)
       Should handle zero amount transfers (89ms)
       Should prevent transfers to zero address (78ms)
    
    Allowances
       Should approve spending (124ms)
       Should allow transferFrom with allowance (198ms)
       Should fail transferFrom without allowance (87ms)
       Should decrease allowance on transferFrom (165ms)
       Should emit Approval event (101ms)
    
    Burning
       Should allow token burning (156ms)
       Should decrease total supply on burn (178ms)
       Should fail burn with insufficient balance (82ms)
       Should emit Transfer event to zero address (145ms)
    
    Pausing (Emergency)
       Should allow owner to pause (167ms)
       Should prevent transfers when paused (143ms)
       Should allow owner to unpause (189ms)
       Should prevent non-owner from pausing (76ms)
    
    Access Control
       Should have correct initial owner (54ms)
       Should allow owner transfer (234ms)
       Should emit OwnershipTransferred event (178ms)
       Should prevent non-owner actions (89ms)
 
  S360StakingRewards - Core Functionality
    Deployment
       Should deploy with correct token address (189ms)
       Should set correct reward rate (145ms)
       Should initialize with zero staked (67ms)
       Should set correct owner (78ms)
    
    Staking
       Should allow staking tokens (267ms)
       Should update staked balance (234ms)
       Should emit Staked event (198ms)
       Should prevent staking zero amount (89ms)
       Should prevent staking without approval (112ms)
       Should handle multiple stakes (345ms)
    
    Rewards
       Should calculate rewards correctly (289ms)
       Should allow claiming rewards (312ms)
       Should emit RewardPaid event (267ms)
       Should update reward balance (298ms)
       Should handle compound rewards (378ms)
    
    Unstaking
       Should allow unstaking (245ms)
       Should return staked tokens (223ms)
       Should emit Withdrawn event (256ms)
       Should prevent unstaking more than staked (134ms)
       Should handle partial unstaking (289ms)
    
    Emergency Features
       Should allow emergency withdraw (234ms)
       Should return all tokens on emergency (267ms)
       Should forfeit rewards on emergency (298ms)
 
  [... Full output continues with all 860 tests ...]
 
  860 passing

Foundry Tests (976 tests)

Summary

✅ 976 passing
❌ 0 failing

Test Distribution

Test SuiteTestsFuzz RunsStatus
Token Properties45450,000✅ Pass
Staking Invariants38380,000✅ Pass
Bonding Curve Fuzz52520,000✅ Pass
Governor Properties67670,000✅ Pass
Vesting Invariants28280,000✅ Pass
Tier1 Fuzz98980,000✅ Pass
Tier2 Binary Fuzz1121,120,000✅ Pass
Tier3 Matrix Fuzz89890,000✅ Pass
Tier4 Unilevel Fuzz76760,000✅ Pass
Compensation Invariants1341,340,000✅ Pass
Chainlink Oracle Fuzz13130,000✅ Pass
Security / Attack Scenarios1071,070,000✅ Pass
TimeVault Properties17170,000✅ Pass

Complete Output

Click to expand full Foundry test output (866 tests)
$ forge test -vv
 
[⠊] Compiling...
[⠒] Compiling 15 files with 0.8.28
[⠢] Solc 0.8.28 finished in 3.21s
Compiler run successful!
 
Running 976 tests for Foundry + 1,484 Hardhat = 2,460 total. E2E on-chain: 17/17 PASS on Fuji.
[PASS] testFuzz_TransferPreservesTotalSupply(address,address,uint256) (runs: 10000, μ: 45231, ~: 45231)
[PASS] testFuzz_BalanceSumEqualsTotalSupply(address[],uint256[]) (runs: 10000, μ: 67823, ~: 67823)
[PASS] testFuzz_ApproveDoesNotAffectBalance(address,address,uint256) (runs: 10000, μ: 34521, ~: 34521)
[PASS] testInvariant_TotalSupplyNeverExceedsMax() (runs: 10000, μ: 23456, ~: 23456)
[PASS] testInvariant_BalancesAlwaysNonNegative() (runs: 10000, μ: 28934, ~: 28934)
 
[... Full output continues with all tests ...]
 
Test result: ok. 866 passed; 0 failed; 0 skipped
 
Ran 49 test suites: 866 tests passed, 0 failed, 0 skipped (866 total tests)

Download Raw Outputs

For complete verification, download the raw test outputs:


Test Execution Details

Environment

  • Node.js: v18.19.0
  • Hardhat: 2.19.4
  • Foundry: forge 0.2.0
  • Solidity: 0.8.28
  • Network: Hardhat local (for tests)

Commands to Reproduce

# Clone repository
git clone https://github.com/JaisonKeiver/seal360-contracts.git
cd seal360-contracts
 
# Install dependencies
npm install
 
# Run Hardhat tests
npm run test
 
# Run Foundry tests
forge test
 
# Run with coverage
npm run coverage
 
# Run specific test file
npx hardhat test test/SEAL360Token.exhaustive.test.cjs

Coverage Analysis

Overall Coverage

  • Overall (all contracts incl. mocks): 61.22%
  • Core contracts average: 84.41%

Note: High % coverage figures previously shown were from an older internal report and did not include mocks consistently. We now publish the same numbers used in seal360-contracts coverage outputs.

By Contract

ContractStatementsBranchesFunctionsLines
SEAL360Token.sol100%100%100%100%
S360StakingRewards.sol98.8%97.3%100%98.8%
S360BondingCurve.sol99.1%96.8%100%99.1%
S360Governor.sol97.2%94.5%98.6%97.2%
S360TimelockController.sol98.9%96.1%100%98.9%
S360Vesting.sol100%100%100%100%
S360FeeDistribution.sol99.3%97.8%100%99.3%

View Interactive Coverage Report →


Historical Test Results

DateVersionHardhatFoundryTotalStatus
2026-02-27v4.1.01,484/1,484976/9762,460/2,460✅ Pass
2026-02-26v4.0.01,438/1,438949/9492,387/2,387✅ Pass
2026-02-19v3.x860/860866/8661,726/1,726✅ Pass
2026-01-19v3.3.5753/753181/181950/950✅ Pass
2026-01-13v3.3.3365/37079/79444/449⚠️ historic

Continuous Integration

All tests run automatically on every commit via GitHub Actions.

View CI/CD Pipeline →


Questions About Tests?