Skip to content

Releases: wannabet-cc/wannabet

1.1.0 - Add farcaster names & deploy bot

14 Jul 19:54
13ca9a6
Compare
Choose a tag to compare

Added

  • Farcaster names and pfps in the app
  • A status dialog for the bet creation flow
  • USDC balance and allowance check in bet creation to make the flow significantly more seamless

Changed

  • Small UI tweaks to improve mobile experience and signing transactions

Fixed

  • Several breaking bot bugs; Repaired and re-deployed

1.0.0 - Web app

05 Jul 19:59
Compare
Choose a tag to compare

Added

  • Major feature: Web app for more reliable performance & faster updates
    • Explore bets you are a party in
    • Explore all recent bets
    • Accept/decline/retrieve funds/settle bets in app
    • Form for creating new bets
  • Major feature: Ponder indexer
  • Add contract fees and ownership

Changed

  • Rename "arbitrator" to "judge"
  • Use ReentrancyGuard and SafeERC20 libraries to improve contract security and flexibility
  • Improve frame usability

0.6.0 - Build bot and deploy frame

16 Jun 00:27
e76f5a2
Compare
Choose a tag to compare
Pre-release

Added

  • Bot casting and webhook logic

Changed

  • Improve frame usability
  • Smart contract: change some var names to improve naming consistency
  • Smart contract: change event topics to make it easy to find the new bet contracts

Fixed

  • Frame transactions work now
  • Prep frame to deploy (e.g. set env vars correctly, clean up code, and other small fixes)

0.5.0 - Add contract status (& other small changes)

07 Jun 19:18
cff7ba1
Compare
Choose a tag to compare

Added

  • Status enum & getStatus function
  • Function for getting all bet details at once, 'getBetDetails'
  • Custom errors for gas efficiency
  • Bet id state to each contract

Changed

  • Immutable contract vars changed from public to private for gas efficiency and simplicity; data can be fetched from 'getBetDetails' function
  • 'require' statements changed to 'if / revert' for gas efficiency
  • 'isOfferExpired' changed to 'isExpired'

Removed

  • Status boolean variables & return functions (i.e. 'accepted', 'settled', and 'isBetActive'); replaced with one 'getStatus' function

0.4.0 - Frame bet info and transactions

07 Jun 01:05
6260363
Compare
Choose a tag to compare
Pre-release

Added

  • Bet homepage
  • Frame transactions for creating, accepting, declining, and settling a bet
  • Frame transaction for authorizing a transfer of tokens to the bet contract
  • Frame transaction for recovering your funds if a bet offer expires

0.3.0 - Expanded contract logic for app usage

04 Jun 04:20
2e0407e
Compare
Choose a tag to compare

Added

  • Bet expiration contract logic
  • Function for retrieving funds if the bet expires
  • Function for checking if the bet is currently active
  • Custom error for when attempting to run a function where you aren't the designated party

Changed

  • BetFactory state now has 3 main functions: one for getting contract addresses, one for getting a bet id from a contract address, and one for getting all bets related to a specific user
  • Improve readability of some function requirements

Removed

  • Redundant state in BetFactory (i.e. bet creator, participant, amount, etc.)

0.2.0 - Added user input and usdc auth in frame

03 Jun 18:11
770f50b
Compare
Choose a tag to compare

Added

  • Frog frame that...
    • takes essential user input required for creating a new bet
    • validates that input
    • allows users to authorize the bet factory contract to transfer the bet amount

0.1.0 - Added base smart contract functionality

01 Jun 16:01
579fc00
Compare
Choose a tag to compare

Added

  • Readme, license, and changelog
  • Created BetFactory.sol... key features:
    • can read all bets based on chronological creation or based on user address'
    • can create new instances of Bet.sol
  • Created Bet.sol... key features:
    • can read all relevant details of the bet, including the bet creator, participant, arbitrator, bet amount, attached message stating the bet terms, whether it has been accepted or settled yet, and if there is a winner, who it is
    • can accept or decline a bet as the bet participant
    • can settle a bet, selecting a winner or tie, as the bet arbitrator