Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 695 Bytes

schema.md

File metadata and controls

22 lines (15 loc) · 695 Bytes

Frontend

  • [Text] Challenge description
  • [Number] Wager amount (in MATIC / per person)
  • [Array of Lens profiles] Participants
  • [Array of Lens profiles] Judges
  • [String] Activity (push ups, running, )
  • [String] Completion time unit (hour / day / week / month / year)
  • [Number] Amount of the activy per time unit (e.g. push ups per day)
  • [Number] Duration (in completion time units)

// No start date or end date

// As soon as everyone has funded the contract with the agreed amount, any of the participants can manually start the challenge

// End date is calculated based on the duration and completion time unit

Smart contracts

Factory

Individual Challenge