> For the complete documentation index, see [llms.txt](https://flippin.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flippin.gitbook.io/docs/guide/dyor-guide.md).

# DYOR Guide

### How to check project fairness

#### Raffle

<https://codepen.io/FlipnLabs/pen/bGKPmza?editors=0010>

```
// Raffle Provably Fair Algo

const ticketsAmount = 1000; // 1000 tickets
const public_seed =
    "5faeebc06078ed03979a9efc914f4af458919f118848d6403445f8ba4caf6b1f";

// secret
const eos_block_id =
    "082332b803efcd4df8578f2f23e7141353074b31a6c7af77ea05293e91bc9faf"; 

// https://cryptojs.gitbook.io/docs/#hmac
const hmac = CryptoJS.HmacSHA256(eos_block_id, public_seed); 

const outcomeHash = hmac.toString(CryptoJS.enc.Hex);
// => ee8bc8151d4348590fc5cdbb4c1b0be02fa2d4c92bcf0d3e4aec4ac82b1a138f

const slice = outcomeHash.substr(0, 8);
// => ee8bc815

const random = parseInt(slice, 16) / 0xffffffff;
// => 0.9318203977150424

const result = Math.floor(random * ticketsAmount) + 1;

const outcome = Math.min(maxTickets, result);

```

#### Coinflip

<https://codepen.io/FlipnLabs/pen/QWxXZZm?editors=0010>

#### Duel

<https://codepen.io/FlipnLabs/pen/YzvoJjw?editors=0010>

### How to check buybacks and burn

On flippin.money - Go to Fairness Tab - FLIP Buybacks.

<figure><img src="/files/NBel78HTQoRWpFcTRGNs" alt=""><figcaption><p>FLIP Buybacks/Treasury</p></figcaption></figure>

Before coin launch - Treasury Address: 0x4A0eE640239741EAd1f051C4acf784722C9989Ed

After coin launch - Buyback contract: TBA&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://flippin.gitbook.io/docs/guide/dyor-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
