Smart Contracts

Deployed Contracts

All contracts live on Alpha testnet. Verified, compiled, and ready for interaction. Connect your wallet to execute transactions.

Alpha
Network
18
Validators
6
Shards
5
Contracts
<500ms
Finality
AMM DEX v4
Live
syn195fk50708yz0hjujhcuxnmxq0r9xk5x9ndc44z
Type
AMM + Order Book
Functions
24
State Slots
13
Plan Size
131 KB
Fee Tiers
5 / 30 / 100 bps
Status
Verified
create_poolWRITE
(token_a, token_b, fee_bps) -> pool_id
add_liquidityWRITE
(pool_id, amount_a, amount_b) -> shares
swap_exact_inWRITE
(pool_id, amount_in, token_in) -> amount_out
get_pool_countREAD
() -> u64
get_pool_reserve0READ
(pool_id) -> u128
Open Swap UI
Lending Protocol v2
Live
syn1rchr8tmjs0rxk8dedeywau2www7xylu84esls0
Type
Over-Collateralized Lending
Functions
36
State Slots
17
Plan Size
154 KB
LTV
75% Max
Liquidation Bonus
5%
depositWRITE
(token, amount) -> aTokens
borrowWRITE
(token, amount) -> debt
liquidateWRITE
(user, collateral, debt, amount) -> bonus
get_health_factorREAD
(user) -> u128
get_user_borrowREAD
(user, token) -> u128
Perpetuals v1
Live
syn15n3msctncgmtmp2w7jlr7nf0ql5qhpnpha59m8
Type
GMX-Style Perps
Functions
38
State Slots
26
Plan Size
212 KB
Max Leverage
50x
Funding Interval
1 Hour
open_positionWRITE
(market, collateral, size, is_long) -> position
close_positionWRITE
(market, size) -> pnl
liquidateWRITE
(trader, market) -> fee
get_positionREAD
(trader, market) -> Position
get_funding_rateREAD
(market) -> i128
Prediction Market v1
Live
syn1v9sm90jgm8c6j42ktjxgqja25vwafwzdmntv7h
Type
Binary Outcome
Functions
26
State Slots
20
Resolution
VRF Oracle
Fee
2%
Max Bet
10,000 SYN
create_marketWRITE
(question, end_time) -> market_id
buy_sharesWRITE
(market_id, outcome, amount) -> shares
resolve_marketWRITE
(market_id, vrf_proof) -> outcome
claim_payoutWRITE
(market_id) -> payout
get_marketREAD
(market_id) -> Market
NFT Marketplace v1
Live
syn12x0vw0d6cn6wpumwaxd8gxw333edz9hnez3n6z
Type
Fixed Price + Royalty
Functions
39
State Slots
29
Plan Size
135 KB
Royalty
Up to 10%
Max Batch
20 / tx
create_collectionWRITE
(name, symbol, max_supply, royalty) -> collection_id
mintWRITE
(collection_id, metadata) -> token_id
list_for_saleWRITE
(collection_id, token_id, price)
buyWRITE
(collection_id, token_id) -> success
get_listingREAD
(collection_id, token_id) -> Listing
Open NFT Market