Skip to content

Instantly share code, notes, and snippets.

@mantleasylum
Last active September 1, 2023 13:07
Show Gist options
  • Save mantleasylum/c6e7d50077df6531bacf0ac2c446d019 to your computer and use it in GitHub Desktop.
Save mantleasylum/c6e7d50077df6531bacf0ac2c446d019 to your computer and use it in GitHub Desktop.
Escape the Mantle Asylum

The Asylum game

Round parameters:

  • Each key purchased adds 30 seconds to the timer (maxed at 24:00:00)
  • Price of a key increases as more keys are purchased
  • Round ends when remaining time hits 00:00:00
  • Winner of the round is the last person who purchased key(s)
  • After the round ends, 10% of the previous round pot is rolled over and a new round begins

Key revenue distribution:

  • 25% to keys holders (buyers) of current round
  • 25% to $WAGMI stakers (lockers)
  • 50% to current round pot
    • 90% to winner of the round
    • 10% rolled over to next round

Dice game

Randomness

We are currently working on publishing proofs for our RNG oracle, thus making it a Chainlink-equivalent VRF service. Work is in progress!

Max payout

  • The max payout is determined dynamically based on this formula:
    uint256 maxWager = (balance * (11000 - 10890)) / (multiplier - 10000);
    

House edge

  • A house edge of 1% is implemented for the dice game.

Deposit to Earn

  • House vaults are implemented as ERC4626-standard vaults.
  • There are no lockup for deposits, you can deposit/withdraw from vaults anytime.
  • There are currently no fees charged for all vaults.

Staking $WAGMI

  • Stakers earn $MNT fees earned from the keys revenue (25% of sale)
  • Stakers are locked for a 7-day period upon staking, after which they have a 2-day window to unstake
  • If Stakers missed the 2-day unstake window, they have to wait another 7-day period before being able to unstake
@Ggcmamun2012
Copy link

0x176ea44e7E80E47AF3BE3348c6f3D96F9F63323C

@Ggcmamun2012
Copy link

0x176ea44e7E80E47AF3BE3348c6f3D96F9F63323C

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment