Skip to content

Conversation

@TakaYuPP
Copy link
Contributor

@TakaYuPP TakaYuPP commented Oct 6, 2025

Qraffle Smart Contract Design

Core logic

1.1 Raffle System

∆ Standard Raffle

This raffle will be opened every epoch automatically.

The registers need to submit the amount of entry every epoch. So the average amount of an entry should be set as the entry next epoch. Initial amount of entry is 1M.

Prize = number of entries * amount of an entry * 0.8(80%)

Fee: 10% burn
3% Shareholders
5% Registers
1% Fees
1% Charity (@Kimz300)
Total: 20%
Fee(20%) + Prize(80%) = 100%

The raffle will be opened at the beginning of epoch and closed at the end of epoch.
The winner will receive the 80% prize.

∆ Token Raffle

This raffle will be opened by the registers. Any register can submit a proposal with following parameters.

Params: Token name, Token issuer Id, Amount of an Entry

If the proposal is passed by voting, it will be opened next epoch. The voting will be closed at the end of epoch. So Qraffle will open a raffle for a token. This raffle also will be opened at the beginning of epoch and closed at the end of epoch.
The winner will receive 80% in the raffle token.

Prize = number of entries * amount of an entry * 0.8(80%)

Fee: 10% burn
3% Shareholders
5% Registers
1% Fees
1% Charity (@Kimz300)
Total: 20%
Fee(20%) + Prize(80%) = 100%

1.2 DAO System

Anyone can register in the Qraffle System and receive the revenue(5%) whenever the raffle is ended. And also the registers need to submit the amount($qu) of entry for the next epoch standard raffle every epoch. So the amount of entry for the next epoch will be decided as the average amount at the end of epoch. The registers can submit a proposal for a token raffle. If the raffle is passed by voting, it will be opened at the beginning of the next epoch.
The register can use the 1B $qubic or 100M $QXMR token to register in the system. the logout fee is 5%. this fee will be distributed to the Shareholders of QRaffle whenever the epoch is finished.

******We set the 5 initial registers to the system for dev team. it can not be logout permanently.

@Franziska-Mueller Franziska-Mueller self-requested a review November 11, 2025 19:24
@TakaYuPP TakaYuPP changed the base branch from main to develop November 20, 2025 08:53
@Franziska-Mueller
Copy link
Collaborator

please address my comment and resolve the conflict in contract_def.h

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants