# Crowdsale wiki

Contents:

#### Quick Start

###### Learn how to participate, fast

• Add Evil Morty token to your ethereum wallet, check here if you don’t know how
• Send eth fund to this address: 0xd967acb1fb0d9e3ed6991590de6f373abd75d0b7
• The minimal amount to buy is 10 Morty tokens, transactions below this amount will fail
• Once the transaction is finished, you Morty token balance should be increased

To become a birdman,

• Make sure you have at least 5 million Morty tokens in your wallet address
• Apply to become a birdman by sending 0 eth to this address: 0xd967acb1fb0d9e3ed6991590de6f373abd75d0b7
• Wait for 15 days and you will be eligible for sharing 10% of total ETH funds this crowdsale received with other birdmen.
• Once you've become a valid birdman, claiming your eth by sending 0 morty to this address: 0xd967acb1fb0d9e3ed6991590de6f373abd75d0b7

To participate the lottery,

• Add Rick C137 and Flurbo tokens to your ethereum wallet, check here if you don’t know how
• Make sure Phase II is started
• Make sure the Portal Gun status is on, check it here
• Send Morty tokens to this address: 0xd967acb1fb0d9e3ed6991590de6f373abd75d0b7
• The minimal amount Morty tokens required to participate the lottery is 100, transactions below this amount will fail
• Once the transaction is finished, you will get either double amount Morty tokens, or same amount of Rick tokens, or same amount of Flurbo token.

#### TL;DR

###### Understand everything under 5 minutes

Keep in mind that,
There are two stages, Microverse Crowdsale stage and Microverse Mainnet stage;
During each stage, the tokens used are different.

In Crowdsale stage, tokens used,

• Token name: Evil Morty
• Token symbol: Morty
• Type: ERC20
• Total supply: 1 billion
• Info: View on etherscan

You can buy this token by sending ETH to address: 0xd967acb1fb0d9e3ed6991590de6f373abd75d0b7
The price changes based on a pricing algorithm.

Once you have Morty token, you can send it to the same address: 0xd967acb1fb0d9e3ed6991590de6f373abd75d0b7
And you will go through a lottery-like process, and for every 100 Morty tokens sent, you will,

• Have 20% chance to get 200 Morty tokens back;
• Have 30% chance to get 100 Rick tokens;
• Have 50% chance to get 100 Flurbo tokens;

Then, what is Rick and Flurbo tokens?

• Token name: Rick C137
• Token symbol: Rick
• Type: ERC20
• Total supply: on demand, it depends on how many Morty tokens will be sent to this address, however, in the end, the total supply will be zero, read on to get more details.
• Info: Rick token is a very special token. Rick token holders can share 40% of the total ETH fund this crowdsale raised. And the balance of Rick tokens will be reset to zero every week. On the details about Rick C137 token and the dividends (40% of the crowdsale fund), please read Portol Gun.
• Token name: Flurbo
• Token symbol: FLB
• Type: ERC20
• Total supply: on demand, it depends on how many Morty tokens will be sent to this address
• Info: Flurbo tokens are eligible for claiming system rewards when the crowdsale ends. The system rewards can be either or all of the following:
• The unsold Morty tokens, which can be shared by all Flurbo token holders;
• X percent of total crowdsale fund, shared by TOP X Flurbo token holders.
• Convert into Battery tokens (see details below) with the prevailing market ratio by then

In the Crowdsale stage, there is a supporting role, named Birdman, which can share 10% of the total ETH fund this crowdsale raised. To become a Birdman, one needs to collect 5 million Morty tokens.

When Crowdsale stage ends, we enter Mainnet stage, once the mainnet launched, all Evil Morty tokens and Flurbo tokens will be converted into Battery tokens.

• Token name: Battery
• Token symbol : BAT
• Total supply: theoretically, the total supply won’t exceed 1 billion. The actual supply is determined by the prevailing market condition of Morty and Flurbo tokens.
• Info: There are two ways to use Battery tokens,
• Burn. Burning a Battery token means it will be destroyed forever. The common scenario that you needs to burn a Battery token is to exchange for new identities, i.e., becoming a Microverser or becoming a Mutual Constructor.
• Consume. There are several scenarios that requires consuming/draining a Battery token.
• In mining. Blemflarck is used as the circulating currency in Microverse (see details below). To mint Blemflarck, miners need to consume Battery tokens.
• In voting.
• In initializing a new factory.
• Token name: Blemflarck
• Token symbol: BFK
• Total supply: theoretically, the total supply won’t exceed 1 billion. The actual supply comes from mining, in which the miners will consume Battery tokens, thus a market rate between Battery and Blemflarck will be created. This rate changes overtime, and is determined by the Citadel.
By now, you should have a brief understanding of what is crowdsale is about. To get details, please read the description below.

#### Timestamp in Blockchain

###### Things are different here

Due to the way people reaches consensus in blockchain, time is represented by block height, and the timestamp expressed in common ways in each block (i.e. in seconds) is just a little attachment from miners, thus its accuracy cannot be guaranteed. Given these facts, all the smart contracts living in Microverse use block height to track time.

By design, it generally takes 15 seconds to mine one block in ethereum, while the actual time taken always varies because of conditions like increase/decrease in mining power. This needs to be emphasized since most people are more comfortable with common datetimes instead of block heights, we put an estimation over timestamp in Microverse to represent time in common ways, but the accuracy cannot be guaranteed.

Enough been said, so next time when you meet someone in Microverse and heard things like
“see you in 40 blocks”, what it really means is,
“see you in roughly (40 multiplied by 15 seconds) later”, which is to say,
“see you in roughly 10 minutes, but exactly 40 blocks, later”.

View latest blocks

#### Morty Town - the Crowdsale

###### Learn how things work in Microverse

Morty town handles all the exchanges of Morty tokens. A few concepts to be clarified,

##### Round

The crowdsale is divided into rounds.

A round is a piece of time lasting around 10 minutes, or, exactly 40 blocks. Events in morty town are happened on round basis. For example, in each round, there is a limit on how many Morty tokens you can buy, and price for Morty tokens are fixed in each round.

##### Morty Amount Control and Phases

In each round, the maximum and minimal amount of Morty tokens can be purchased are preset, and the price fluctuates based on a pricing algorithm embedded in this contract.

The whole crowdsale is made of two phases,

Phase I
• Start time: 2018-08-25
• End time: 2018-12-31, or, 100 million tokens sold
• Morty tokens supplied: 200 million
• Max amount of Morty tokens sold per round: 300,000
• Min amount of Morty tokens sold per round: 10 (your transaction will fail if the amount bought is below this number)
• Price increase rate: 0.0001%
• Price decrease rate: 0.0001%
• Minimal price: 0.0000137 eth

Phase II
• Start time: Phase I ended
• End time: Jackpot released
• Morty tokens supplied: 200 million
• Max amount of Morty tokens sold per round: 30,000
• Min amount of Morty tokens sold per round: 10 (your transaction will fail if the amount bought is below this number)
• Price increase rate: 0.0003%
• Price decrease rate: 0.0003%
• Minimal price: 0.0000137 eth

##### Pricing Algorithm

During each round, an amount of 1,000 Morty tokens is set to be a trigger point. If the amount of Morty tokens sold is greater than the trigger point, the price will increase in NEXT round, otherwise, the price will decrease in NEXT round.

The price increase and decrease rates are preset in Phase I and Phase II.

The starting price is 0.0000137 eth, and this is the system’s minimal price, which means the future price cannot drop below this value.

###### Calculating the price

From the last round, if,
The amount sold, $$N$$, is less or equal than 1,000 Morty tokens, the price will decrease using the following equation,
$$Price Last Round * (1 - Price Decrease Rate)$$
The amount sold, $$N$$, is greater than 1,000 Morty tokens, the price will increase using the following equation,
$$Price Last Round * (1 + Price Increase Rate) ^ {(Math.floor(N / 1000))}$$

Examples

From the last round, Phase I,

if the amount Morty tokens sold is 32,000, and the price is 0.0000137 eth, then the price this round will be update as,
$$0.0000137 * (1 + 0.0001) ^ {Math.floor(32000 / 1000)} =$$ $$0.0000137 * (1 + 0.0001) ^ 32 =$$ $$0.00001374390802$$
if the amount Morty tokens sold is 189,000, and the price is 0.0000137 eth, then the price this round will be update as, $$0.0000137 * (1 + 0.0001) ^ {Math.floor(189000 / 1000)} =$$ $$0.0000137 * (1 + 0.0001) ^ 189 =$$ $$0.00001396137918$$
if the amount Morty tokens sold is 900, and the price is 0.0000140 eth, then the price this round will be update as, $$0.0000140 * (1 - 0.0001) =$$ $$0.0000139986$$ However, if the price drops below the minimal price (0.0000137 eth), the price will remain as 0.0000137 eth.

##### Funds Distribution

For all the eth this contract received,

• 10% will be used as jackpot. The jackpot is the final prize for the user who made the total available amount of Morty tokens below 137,000. see Jackpot.
• 40% will be used as dividends. This is the eth shared among all token holders whose Rick token balance is at least 137. See Space Cruise.
• 10% will be used as shares taken by birdman. See Birdman.
• 40% will be used to build Microverse. See Microverse.
• #### Birdman

###### Birdman rocks!

A birdman is a Morty token holder, and is considered to be the premature version of Mutual Constructor in Microverse. To become a birdman, one needs to hold at least 5 million Morty tokens at hand, then the holder is eligible for sharing 10% of crowdsale funds among other birdmen.

Birth Control
A maximum of 20 birdmen are allowed to be applied and coexist. Once applied, the applicant needs to wait for roughly 15 days, or, exactly 86,400 blocks before becoming a valid birdman.

Share Time
The 10% fund is shared every 86,400 blocks, or, roughly 15 days. If the shares were not collected, it will be added into the next share round.

#### Portal Gun

###### A random process

Portal gun gives a lottery-like process to this crowdsale. If a user sends Morty tokens to Microverse address, it will give back one of the three tokens, either morty, rick, or flurbo. To ensure fairness, there is a PRNG encoded in the contract to guide the process.

Probabilities
For each 100 Morty tokens, the chances and rewards are,

• 20% chance to get 200 Morty tokens
• 30% chance to get 100 Rick tokens
• 50% chance to get 100 Flurbo tokens

PRNG
To ensure no one can cheat in this random process, we each grab some elements from the player, the miner, and the owner, to make sure it’s a fair game.

• From the player, we have the ordering index from their participations.
• From the miner, we have the block hash and timestamp.
• From the owner, we provide a random number as a seed.
The seed is a UUID4 number, hash of the seed will be revealed prior to the lottery, and the seed itself will be revealed thereafter.

#### Space Cruise

###### Come and get the rewards

Space cruise moves stuffs. And here in Microverse, it moves all the dividends to qualified Rick holders on daily basis.

Dividends
Everyday, from 00:00:00 to 01:00:00 UTC time, all the dividends collected in the past 24 hours will be sent to all Rick holders whose amount is greater or equal than 137, the equation is, $$ETH Reward = 24 Hour Dividend * Number of Rick tokens / Total Rick tokens$$

Example
In the last 24 hour, the dividend fund is 20 eth, there are total of 10,000 Rick tokens alive, and you have 1,000 Rick tokens, then you will get, $$20 * 1000 / 10000 = 2 eth$$ However, if you only have 1 rick, you won’t receive anything since the minimal requirement is to have at least 137 Rick tokens.

When sending dividends,

• Portal gun will be ceased, which means you cannot send Morty tokens to the Microverse address.
• Transferring of Rick tokens is not allowed
• Buying Morty tokens is NOT affected.

#### Ricklaxation

###### It's purging time!

Every Sunday UTC time, from 00:00:00 to 01:00:00, we enter a period called Ricklaxation. During which time, Rick will be dead, and portal gun cannot be used, all Rick C137 tokens will be destroyed, which means, when Ricklaxation happens,

• All Rick C137 token holders’ balances will be set to zero
• Portal Gun is ceased, which means you cannot send Morty tokens to the Microverse address.
• No transferring of Rick tokens, in fact, there won’t be any Rick tokens to be transferred since they are all destroyed
• Buying Morty tokens is NOT affected.

#### Jackpot

###### Win the final prize!

Starting from Phase II, whoever makes the Morty balance in Microverse less than 137,000 wins the jackpot, which is 10% of all funds collected during Phase II.

The final prize will be given in a gradient, backward flavor, shared with five senders, by checking the block timestamp,

• the sender of the last transaction which triggers the Jackpot wins 50% of it;
• the sender of the second last transaction which triggers it wins 30% of it;
• the sender of the third last transaction wins 10%;
• the sender of the fourth and fifth last transaction each wins 5%.