# Miners of Mars Raffling and Bonus Tokenomics and Functionality gained * Ships and Locations * Cheff Bonus * PM + SF Bonus * Anthem Utility # Example Functionality Unlocked ### Ships / Locations 1. Win Ship Raffle 2. Send NFT to community wallet 3. Submit Google Form with Transaction ID and miners numbers 4. Could pull off locations here. If all miners are Gravity miners apply larger bonus for poles. 5. Team applies ship/location bonus to miners for the a certain amount of time 6. Bonus does not apply after time runs out 7. Unstake NFT and bonus is removed ### Cheff Bonus 1. Win Cheff Ladle Raffle 2. Send NFT to community wallet 3. Submit Google Form with Transaction ID and miner numbers 4. **Miner Must be a Cheff** 5. Team applies cheff bonus to miner for the a certain amount of time 6. Bonus does not apply after time runs out 7. Unstake NFT and bonus is removed ### Dynomite Detonator 1. Win Detonator Raffle 2. Send NFT to community wallet 3. Submit Google Form with Transaction ID and 2 miner numbers 4. **Miners must be Powder Monkey and Shot Firer** 5. Team applies SF + PM bonus to miners with unlimited time 6. Unstake NFT and bonus is removed ### Anthem Boost 1. Send Anthem NFT to community wallet 2. Submit Google Form With Transaction ID and 1 miner number 3. Team applies anthem boost to miner as a permanent boost. # Raffling System ![](https://i.imgur.com/oyjlt79.png) An NFT raffle system will be a developed and hosted by MoM platform. ### Items | Type | Usage | | | -------- | -------- | -------- | | Degen Collection | Kick ass new collection to incentivize new holders | | Ships | Get a trip to the moon to get a bonus. Future Mission capabilities | | Upgrades | Upgrade your miner with new equipment | | Bonuses | Powder Monkey / Shot firer and Cheff Bonus | ## Bonus System A new admin interface will be created to allow the team to increase multipliers. Items like ships will be raffled that provide temporary bonuses for an NFT or group of NFT right now and will be incorporated into the staking at a later time. ## Admin UI * Access Restricted to community wallet address * Input Form * Multiple Miner numbers * Multiplier * Timestamp/Block number deadline * Check box for "make permanent" * MoM / WoM select box ## Contract * Apply bonus in MoM staking contract * Apply bonus in WoM staking contract * If a bonus is permanent it goes on forever * If a bonus is temporary * It is applied until the block/timestamp is reached * It is removed if unstaked ### Functions / Calls ```js // New contract write function function setPermanentBonus(minerId: string, bonus: number) { this.permenantBonus.push({ minerId, bonus }); } // New contract write function function setTemporaryBonus(minerId: string, bonus: number, block: number) { this.temporaryBonus.push({ minerId, bonus, block }) } // New contract write function function removeBonuses(minerId: string) { this.permanentBonus = this.permanentBonus.filter(bonus => bonus.minerId !== minerId); this.temporaryBonus = this.temporaryBonus.filter(bonus => bonus.minerId !== minerId); } // New contract call function function getBonuses(minerId: string) { return this.permanentBonus.concat(this.temporaryBonus) } // Current Staking Contract function stakingContract() { // All the current functionality const minerId = getMinerId(); let reward = getCurrentMiningReward(); // Begin New functionality reward = this.temporaryBonus .filter(bonus => bonus.minerId === minerId && blockChain.blockNumber < bonus.block) .reduce((previousValue, bonus) => previousValue + bonus.bonus, reward) reward = this.permanentBonus .filter(bonus => bonus.minerId === minerId) .reduce((previousValue, bonus) => previousValue + bonus.bonus, reward) applyStakingReward(reward); } // Current Unstaking write functin function unstakeMiner(minerId: string) { // All the current functionality this.temporaryBonus = this.temporaryBonus.filter(bonus => bonus.minerId !== minerId); } ``` ## Staking UI * A badge is applied to the miner with the bonus multiplier. * There can be multiple chips * Just put the multiplier in there * [material design](https://material.io/components/chips#types) # Google Form * We create a google to complete and receive bonus * Solana Transaction ID * MoM / WoM Select box * MoM / WoM ID * Discord tag for communication if necessary To recieve a bonus NFT holders send the NFT (ship, anthem, etc) to the community wallet, and complete the google form, team applies the bonus to the miners