π Smart Contracts β Infraestructura BaaS
EspecificaciΓ³n tΓ©cnica completa de los 15 contratos de producciΓ³n que alimentan la plataforma Business as a Service de SEAL360 (v4.1.0 β live en Fuji Testnet).
Estos contratos gestionan membresΓas, compensaciones a Founders, gobernanza del protocolo y el token S360. No son contratos DeFi genΓ©ricos β estΓ‘n diseΓ±ados especΓficamente para el ecosistema BaaS de SEAL360.
Last Updated: March 16, 2026
Deployment: Avalanche Fuji Testnet
Version: v4.1.0 β Fuji Final Sync
Security Audit: OMEGA Audit 100% (8/8 findings fixed)
Test Coverage: 2,460 tests passing (1,484 Hardhat + 976 Foundry β 100%)
Core Contracts
SEAL360Token_DIAMOND.sol
The heart of the ecosystem - Diamond-grade security
| Property | Value |
|---|---|
| Location | contracts/core/SEAL360Token_v3_DIAMOND.sol |
| Lines of Code | 792 |
| Inherits | ERC20, ERC20Permit, ERC20Votes, ERC20FlashMint, AccessControl, Pausable, ReentrancyGuard |
| Functions | 35+ public/external |
| Security Score | OMEGA Audit 100% (8/8 findings fixed) β |
| Contract Address | 0xe6b3FB013dFA6BBC5930Ed32E5B71AAc89E45f31 (opens in a new tab) |
Key Features:
- β Immutable Supply: 1,296,360,012 S360 (no minting after deployment)
- β AccessControl: 7 roles (granular permissions)
- β Flash Loans: ERC-3156 standard with 0.09% fee
- β Governance: ERC-20Votes for on-chain voting
- β Pausable + Circuit Breakers: Emergency controls
- β Anti-bot + Anti-whale: Max TX / Max Wallet limits
Critical Functions (Role-Based):
// AccessControl (not Ownable)
setTradingEnabled(bool) // DEFAULT_ADMIN_ROLE
setExemptFromLimits(address) // LIMITS_MANAGER_ROLE
setSwapFees(uint256,uint256) // FEE_MANAGER_ROLE
pause()/unpause() // PAUSER_ROLE
blacklist()/unblacklist() // BLACKLIST_MANAGER_ROLES360StakingRewardsWithLock_v2_4_0.sol
Motor de recompensas por staking con perΓodos de lock y penalizaciones
| Property | Value |
|---|---|
| Location | contracts/core/S360StakingRewardsWithLock_v2_4_0.sol |
| Lines of Code | 895 |
| Security | ReentrancyGuard, Pausable, Ownable2Step |
| APY | 4% β 16% (4 tiers) |
| Locks | 3M / 6M / 9M / 12M |
Key Features:
- β APY tiers: EXPLORER(4%) / PIONEER(8%) / VISIONARY(12%) / CATALYST(16%)
- β SEAL Points: Bound SP earned via lock multipliers
- β Early Withdraw: Penalty (10%β30%) sent to FeeDistributor
- β Protocol Fee: 0.3 S360 per stake (33/33/34 split)
S360FeeDistribution.sol
Automated 3-way revenue splitter
| Property | Value |
|---|---|
| Location | contracts/core/S360FeeDistribution.sol |
| Lines of Code | 332 |
| Distribution | 33.33% / 33.33% / 33.34% |
| Security | Ownable2Step, ReentrancyGuard |
Distribution Logic:
// fees β treasury / liquidity pool / growth
// sums to exactly 10000 bps (no loss)
// 33.33% Treasury / 33.33% Liquidity Pool / 33.34% GrowthGovernance Contracts
S360Governor.sol
On-chain governance system
| Parameter | Value |
|---|---|
| Voting Delay | 1 day |
| Voting Period | 7 days |
| Quorum | 4% of total supply |
| Proposal Threshold | 100,000 S360 |
| Timelock | Risk-tiered: 1d / 2d / 3d / 7d |
S360TimelockController.sol
Timelock with emergency multisig bypass (4/7)
| Property | Value |
|---|---|
| Location | contracts/governance/S360TimelockController.sol |
| Lines of Code | 468 |
| Security | ReentrancyGuard, Whitelisted emergency actions |
| Risk Delays | 1d / 2d / 3d / 7d |
Emergency Flow:
Propose β 4/7 approvals β Execute (bypass timelock)S360MultiSigTimelock_v1_1.sol
Emergency multisig (β₯60% signers)
| Property | Value |
|---|---|
| Location | contracts/governance/S360MultiSigTimelock_v1_1.sol |
| Lines of Code | 606 |
| Threshold | 3-of-7 (emergency bypass: 4-of-7) |
| Timelock | 1β7 days (by operation type) |
Periphery Contracts
S360BondingCurve.sol
Automated market maker with dynamic pricing
| Property | Value |
|---|---|
| Location | contracts/periphery/S360BondingCurve.sol |
| Lines of Code | 737 |
| Security | ReentrancyGuard, Pausable, Ownable2Step |
S360LiquidityManager.sol
Liquidity management + automated rebalancing
| Property | Value |
|---|---|
| Location | contracts/periphery/S360LiquidityManager.sol |
| Lines of Code | 599 |
| Security | ReentrancyGuard, Ownable2Step |
S360RewardDistributor.sol
Airdrops + campaign rewards
| Property | Value |
|---|---|
| Location | contracts/periphery/S360RewardDistributor.sol |
| Lines of Code | 509 |
| Security | ReentrancyGuard, Pausable |
S360EcosystemFund.sol
DAO-controlled ecosystem grants
| Property | Value |
|---|---|
| Location | contracts/periphery/S360EcosystemFund.sol |
| Lines of Code | 490 |
| Security | ReentrancyGuard, Pausable |
S360Vesting.sol (Founder)
Linear vesting with cliff
| Property | Value |
|---|---|
| Location | contracts/periphery/S360Vesting.sol |
| Lines of Code | 279 |
| Cliff | 1 year |
| Duration | 4 years |
S360TeamVesting.sol
Team vesting (multi-beneficiary)
| Property | Value |
|---|---|
| Location | contracts/periphery/S360TeamVesting.sol |
| Lines of Code | 465 |
| Cliff | 6 months |
| Duration | 2 years |
S360TimeVaultRND.sol
5-year R&D lockup vault
| Property | Value |
|---|---|
| Location | contracts/periphery/S360TimeVaultRND.sol |
| Lines of Code | 263 |
| Lock | 5 years |
S360BondingCurveRegistry.sol
Registry for bonding curve templates
| Property | Value |
|---|---|
| Location | contracts/periphery/S360BondingCurveRegistry.sol |
| Lines of Code | 70 |
Compensation Tier Contracts (v4.0.0 - NEW)
Tier1_DirectCommissions.sol
Direct referral commission engine
| Property | Value |
|---|---|
| Location | contracts/compensation/Tier1_DirectCommissions.sol |
| Lines of Code | 450+ |
| Security | ReentrancyGuard, Pausable, AccessControl |
| Commission Range | 6% - 16% (MEMBER=6% β DIAMOND_III=16%) |
| Contract Address | 0xeDF243010242B52870b2425EEA2c73a2f9Bf2593 (opens in a new tab) |
Key Features:
- β Direct Commissions: 6-16% segΓΊn rank en referral purchases (con vesting 18-28 meses)
- β Automated Payouts: Real-time payment processing
- β Activity Validation: Ensures referrer is active
- β Audit Status: OMEGA 8/8 findings fixed β
Tier2_BinaryBonus.sol
Binary tree bonus system with dynamic cycling
| Property | Value |
|---|---|
| Location | contracts/compensation/Tier2_BinaryBonus.sol |
| Lines of Code | 680+ |
| Security | ReentrancyGuard, Pausable, Chainlink Oracle Integration |
| Bonus per Cycle | 50 SP Bound per ciclo de 500 BV (pierna dΓ©bil) |
| Matching Bonus | 10% de ciclos de tus directs |
| BV Rate | 30% del monto de compra califica como BV |
| Threshold | 500 S360-equiv. dinΓ‘mico vΓa Chainlink ($500 USD) |
| Contract Address | 0xf8145469fADFB3802824bd078B2a70b2358dCe6b (opens in a new tab) |
Key Features:
- β Binary Structure: 2-leg (left/right) tree
- β Spillover Logic: Dynamic placement when legs full
- β Chainlink Oracle: S360/USD price feed for threshold calculation
- β Anti-Sybil: weeklyBVCap + 30-day cooldown
- β Growth Insolvency Protection: pendingCommissions queue
- β Audit Status: OMEGA 8/8 findings fixed β
Tier3_MatrixCycles.sol
5Γ5 Matrix with automatic cycling
| Property | Value |
|---|---|
| Location | contracts/compensation/Tier3_MatrixCycles.sol |
| Lines of Code | 720+ |
| Security | ReentrancyGuard, Pausable, Anti-griefing checks |
| Matrix Size | 5Γ5 (5 niveles, 3,905 posiciones totales) |
| SP por ciclo completo | 1,500 SP Bound (L1=100, L2=200, L3=300, L4=400, L5=500) |
| Contract Address | 0xefa37A46a6f0bF4EfAd8551c497b9F7A87036a8d (opens in a new tab) |
Key Features:
- β 5Γ5 Matrix Layout: 25-position grid auto-cycling
- β Auto-Cycling: Automatic trigger on full matrix
- β Placement Griefing Protection: NotYourDirect validation
- β Manual Placement: TEAM SEAL feature (after 6 referrals)
- β Audit Status: OMEGA 8/8 findings fixed β
Tier4_UnilevelResiduals.sol
Unilevel residual commissions with activity tracking
| Property | Value |
|---|---|
| Location | contracts/compensation/Tier4_UnilevelResiduals.sol |
| Lines of Code | 480+ |
| Security | ReentrancyGuard, Pausable, Activity Signal validation |
| Commission Range | L1=5%, L2=3%, L3=2%, L4=1.5%, L5=1%, L6-L10=0.5% |
| Max Depth | 10 niveles (MAX_LEVELS = 10) |
| Pagado en | S360 lΓquido (NO SP Bound) |
| Contract Address | 0x429E8f0b5F9299337eE58Cf06b00EEbA93329931 (opens in a new tab) |
Key Features:
- β Unilevel Structure: Linear downline (10 niveles)
- β Activity Signal: lastActivityTime validation on all pay paths
- β Residual Commissions: 5% L1 β 0.5% L6-L10 (en S360 lΓquido)
- β Real-Time Updates: Activity tracked across all tiers
- β Audit Status: OMEGA 8/8 findings fixed β
CompensationOrchestratorV2.sol
Central orchestration and management hub
| Property | Value |
|---|---|
| Location | contracts/compensation/CompensationOrchestratorV2.sol |
| Lines of Code | 850+ |
| Security | AccessControl, ReentrancyGuard, Pausable |
| Contract Address | 0x41Ac2e03abfff462D46EC07a54b672aC1fDDeF95 (opens in a new tab) |
Key Functions:
// Member Management
registerMember(address, address sponsor, uint8 side)
activateMember(address)
deactivateMember(address)
// Compensation Processing
calculateDirectCommission(address member)
calculateBinaryBonus(address member)
calculateMatrixCycle(address member)
calculateUnilevelResidual(address member)
// Payments
claimCommissions(uint8[] tierIds)
distributePoolFunds()
// Admin
setTierContract(uint8 tierId, address contract)
setCommissionRate(uint8 tierId, uint256 rate)
pause()/unpause()Support Contracts (v4.0.0)
SEAL360Token Diamond
Diamond proxy implementation for token
| Property | Value |
|---|---|
| Location | contracts/core/SEAL360Token_Diamond.sol |
| Pattern | ERC2535 Diamond (multi-facet upgradeable) |
| Total Supply | 1,296,360,012 S360 |
| Contract Address | 0xe6b3FB013dFA6BBC5930Ed32E5B71AAc89E45f31 (opens in a new tab) |
Features:
- β Diamond Facets: Modular upgrades without data loss
- β ERC-20 Standard: Full token functionality
- β Voting Rights: ERC-20Votes integration
- β Flash Loans: ERC-3156 with 0.09% fee
- β Anti-whale: Max transaction + max wallet limits
LiquidityReserveFund.sol
Liquidity reserve and ecosystem stability
| Property | Value |
|---|---|
| Location | contracts/core/LiquidityReserveFund.sol |
| Lines of Code | 380+ |
| Security | ReentrancyGuard, AccessControl |
| Contract Address | 0x96b46D40dd9CBF29122fa41418b6069b8585C582 (opens in a new tab) |
Functions:
- β Deposit & Withdraw: Manage liquidity reserves
- β Rebalancing: Automatic reserve management
- β Emergency Access: Multi-sig controlled
SPBound (SEAL Points - Bound).sol
Non-transferible SEAL Points for loyalty
| Property | Value |
|---|---|
| Location | contracts/core/SPBound.sol |
| Lines of Code | 320+ |
| Security | AccessControl, Pausable |
| Contract Address | 0x742BF1e45D5CF2Dc7F78469f01d806E29F056362 (opens in a new tab) |
Features:
- β Non-Transferible: Loyalty points cannot be traded
- β Earned Via: Staking locks, activity rewards
- β Reputation System: Tracks member engagement
- β Tier Unlocks: Required for premium features
Contract Addresses
Fuji Testnet (ACTIVE β )
Network: Avalanche Fuji Testnet
Chain ID: 43113
Deployed: 2026-03-18 / 2026-03-20 UTC
Version: v5.0-omega β Fuji Active
Verified Contracts: Core + Governance + LaunchPad verified on Snowtrace
Security: OMEGA Audit 100% (8/8 findings fixed)
Core & Support Contracts
| Contract | Address | Status |
|---|---|---|
| SEAL360Token (Diamond) | 0x60Cd92A6A10Bd2f12c2992713E6Eb12c271C695D | β Verified (opens in a new tab) |
| S360StakingRewards | 0xb46D12294127b7AC6d3B2175dA78654338ac4365 | β Active (opens in a new tab) |
| S360Vesting (Founder) | 0x079e3Ec7F51823055Ddd5F6fAc1aE6c0B255D46D | β Verified (opens in a new tab) |
| R&D Vault | 0x0dcfe7B3D7e762EDbb4E19992aA840541aB65d96 | β Active (opens in a new tab) |
| LiquidityReserveFund | 0xf79617244F594022263E47786Dd2A2931f524354 | β Active (opens in a new tab) |
| SPBound | 0xE6c0eB8115da915Ab88e8C0E118a43F827BFC99F | β Active (opens in a new tab) |
Governance Contracts
| Contract | Address | Status |
|---|---|---|
| S360Governor | 0x3f2c4656Ef4E6F9EdB65129fd4582944d944E264 | β Verified (opens in a new tab) |
| S360TimelockController | 0x57f8248c8Aa05aF7d7762845F72B33bE294281D2 | β Verified (opens in a new tab) |
| MultiSig Admin | 0xd77F0080FEEFa8cB033437ea431f3206001B63C9 | β Active (opens in a new tab) |
Economic & Periphery Contracts
| Contract | Address | Status |
|---|---|---|
| S360BondingCurve | 0xd863D33F2ad92d4df84EC2F095733f8EA1108842 | β Verified (opens in a new tab) |
| FeeRouter | 0xaf0C9A744F687F6252ca65627CB34b55256a663c | β Verified (opens in a new tab) |
Compensation Tier Contracts (v5.0-omega)
| Contract | Address | Status |
|---|---|---|
| Tier1_DirectCommissions | 0x71dcCFDbe4733bDccfc8716dAAc3608109A1Ddac | β Active (opens in a new tab) |
| Tier2_BinaryBonus | 0x3CD5618B6C49B5Ac11E84981Ed2fB56eDD1cb6C3 | β Active (opens in a new tab) |
| Tier3_MatrixCycles | 0x7E1a0c7357FA5a88a4E060cF5C7D1b071e8f8928 | β Active (opens in a new tab) |
| Tier4_UnilevelResiduals | 0x41558172D2bC548cc980b29206B898a642Fe080B | β Active (opens in a new tab) |
| CompensationOrchestratorV2 | 0x025cc000Bf33B8143250799201AeA685346dC519 | β Active (opens in a new tab) |
LaunchPad v2 Contracts (2026-03-20)
| Contract | Address | Plan |
|---|---|---|
| TokenFactoryS360 v2 | 0x660ef5e4277C27B8912cBC81C0eBe064cd5c973f | β Verified (opens in a new tab) |
| SEALTokenStarter (template) | 0xEce2D641c5ed1f545B473748F467C755c38F54D9 | 100 S360 |
| SEALTokenBusiness (template) | 0x5E77fe648c7E17a051660644a1B95125d6Fb6837 | 1,500 S360 |
| SEALTokenPremium (template) | 0x3E671f65b1AC583eaDc26FFAfAE8305178B7De80 | 5,000 S360 |
Quick Copy (TypeScript):
// v5.0-omega β Fuji deployment (2026-03-18 / 2026-03-20)
export const SEAL360_FUJI_V5 = {
// Core
token: "0x60Cd92A6A10Bd2f12c2992713E6Eb12c271C695D",
staking: "0xb46D12294127b7AC6d3B2175dA78654338ac4365",
vesting_founder: "0x079e3Ec7F51823055Ddd5F6fAc1aE6c0B255D46D",
rnd_vault: "0x0dcfe7B3D7e762EDbb4E19992aA840541aB65d96",
bondingCurve: "0xd863D33F2ad92d4df84EC2F095733f8EA1108842",
// Governance
governor: "0x3f2c4656Ef4E6F9EdB65129fd4582944d944E264",
timelockCtrl: "0x57f8248c8Aa05aF7d7762845F72B33bE294281D2",
multisig: "0xd77F0080FEEFa8cB033437ea431f3206001B63C9",
// Compensation
orchestrator: "0x025cc000Bf33B8143250799201AeA685346dC519",
lrf: "0xf79617244F594022263E47786Dd2A2931f524354",
spBound: "0xE6c0eB8115da915Ab88e8C0E118a43F827BFC99F",
tier1: "0x71dcCFDbe4733bDccfc8716dAAc3608109A1Ddac",
tier2: "0x3CD5618B6C49B5Ac11E84981Ed2fB56eDD1cb6C3",
tier3: "0x7E1a0c7357FA5a88a4E060cF5C7D1b071e8f8928",
tier4: "0x41558172D2bC548cc980b29206B898a642Fe080B",
feeRouter: "0xaf0C9A744F687F6252ca65627CB34b55256a663c",
// LaunchPad v2
tokenFactory: "0x660ef5e4277C27B8912cBC81C0eBe064cd5c973f",
templateStarter: "0xEce2D641c5ed1f545B473748F467C755c38F54D9",
templateBusiness: "0x5E77fe648c7E17a051660644a1B95125d6Fb6837",
templatePremium: "0x3E671f65b1AC583eaDc26FFAfAE8305178B7De80",
};Mainnet (Avalanche C-Chain)
π§ Coming Q2 2026 β Target May 15, 2026 β After final external auditABIs
All contract ABIs are exported to /abi-exports/:
SEAL360Token.json
S360StakingRewards.json
S360FeeDistribution.json
... (15 files total)