Back to leaderboard
Season 1 · DeFi & Open Finance

OPN Mini Locker

A simple time-lock DeFi primitive for locking funds on OPN Chain.

Stage 1, ReviewDeFi & Open Finance

by bugor_top · submitted May 29, 2026

Community votes

0

Voting opens when this submission reaches the Top 10 stage.

Overall score

/ 100

Weighted average across the 5 judging criteria.

Description

01/03

What the builder said.

Written by the team, rendered as the markdown they typed in the submission wizard.

What we built

OPN Mini Locker is a simple DeFi time-lock contract deployed on OPN Chain. It lets a user lock native OPN funds until a chosen unlock time. After the time expires, the same user can withdraw the locked amount.

The goal is to create a small but useful DeFi primitive that can later be expanded into vesting tools, community reward locks, savings mechanics, treasury locks, or simple commitment-based financial products.

Why

Many DeFi products start from basic primitives: deposits, locks, withdrawals, unlock rules, and transparent on-chain records. This project focuses on that foundation.

Instead of building a large app at once, OPN Mini Locker keeps the logic easy to inspect and easy to test. Every lock is recorded on-chain with the user address, amount, unlock time, and withdrawal status.

How it works

  • The user calls lock() and sends native OPN with a future unlock timestamp.
  • The contract stores the lock data under the user's address.
  • The user can check their lock count and lock details through read functions.
  • When the unlock time has passed, the user calls withdraw() to receive the locked funds back.
  • The contract prevents early withdrawal and prevents the same lock from being withdrawn twice.

OPN Chain usage

The contract was deployed directly on OPN Chain during the Season 1 submission window. A live lock() transaction was also executed, so the build has both deployment proof and interaction proof on-chain.

Future direction

This can be expanded into a small DeFi tool with a frontend, multiple lock types, token support, fixed-term vaults, team vesting, community campaign locks, and public lock pages for better transparency.

Roadmap

02/03

What ships next.

The builder's own next-quarter plan. Use it to gauge follow-through and ambition.

Phase 1 - Current build

  • Deploy the OPN Mini Locker smart contract on OPN Chain.
  • Test basic native OPN locking through the lock() function.
  • Confirm that locked funds are stored with amount, unlock time, and withdrawal status.
  • Execute at least one live interaction transaction to prove the contract works on-chain.
  • Submit the build for Season 1 review.

Phase 2 - Frontend and UX

  • Build a simple web interface where users can create a lock without using Remix.
  • Add fields for amount, unlock date, and wallet-based lock history.
  • Display active and completed locks in a clear dashboard.
  • Add basic warnings for early withdrawal attempts and invalid unlock times.

Phase 3 - Expanded DeFi features

  • Add ERC-20 token locking support.
  • Add named locks for use cases such as vesting, savings, community rewards, and treasury reserves.
  • Add public lock pages so teams or users can share transparent lock records.
  • Improve event indexing for easier analytics and explorer tracking.

Beyond

  • Explore fixed-term vaults and campaign-based locks.
  • Add multi-lock templates for teams, contributors, and reward campaigns.
  • Connect the locker with other OPN Chain DeFi tools where locked liquidity or scheduled unlocks can be useful.

On-chain proof

03/03

1 contract on OPN Chain.

The chain itself confirmed every deployment is valid, signed by the builder's wallet, and inside the season's window.

  • 01OPNMiniLockerPrimary

    0xF0aFB18390Eaefb04155E322e46C64997a0D01fc

    tx 0xedf1120dec3682a75dbfeb88a0156174b6ab39529ab9afd174aa330735b1a0c0

    deployed May 29, 2026 · block 17491370