Skip to content

augmintedlabs/kaiju-p2e-bug-bounty

Repository files navigation

KaijuKingz P2E Bug Bounty

Bug Bounty Details: https://medium.com/@AugmintedLabs/kaijukingz-p2e-bug-bounty-864f7fe9e9c

P2E announcement: https://medium.com/@AugmintedLabs/kaijukingz-p2e-ecosystem-dc9577ff8773

Community-built infographic (Credit: @HelmiMastuki)

Simulator

Community-built P2E Simulator (Credit: @chouapo) can be used to get a better understanding of the flow of resources in the P2E ecosystem. Simulator does not demonstrate batch extraction mechanic.

Contracts

The ecosystem is made up of a total of 8 contracts:

  1. KaijuKingz (Deployed) - The core ERC-721 contract. These are "Genesis" and "Baby" Kaijus.
  2. RWaste (Deployed) - ERC-20 token passively earned by Genesis tokens at a rate of 5/day.
  3. Scales - ERC-20 token earned by staking Genesis and Baby tokens at a rate of 15/day and 5/day respectively. Staked Genesis generate RWaste tokens for the staking contract, with uses [REDACTED].
  4. Mutants (Deployed) - A supplemental ERC-721 collection. These are "Mutant" Kaijus that are able to be experimented on.
  5. MutantScales - An auxiliary contract to the "Scales" contract that adds passive earning functionality for Mutant tokens at a rate of 2/day.
  6. DNA - An ERC-1155 collection. There are 5 elemental types of DNA, each having 5 categories of rarity (common, uncommon, rare, epic, legendary). DNA is earned by running experiments on Mutants, paid for in Scales.
  7. Scientists - A supplemental ERC-721 collection. Scientists earn rewards (currently Scales and DNA) when experiments fail.

Hardhat Commands

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
npx hardhat help
REPORT_GAS=true npx hardhat test
npx hardhat coverage
npx hardhat run scripts/deploy.js
node scripts/deploy.js
npx eslint '**/*.js'
npx eslint '**/*.js' --fix
npx prettier '**/*.{json,sol,md}' --check
npx prettier '**/*.{json,sol,md}' --write
npx solhint 'contracts/**/*.sol'
npx solhint 'contracts/**/*.sol' --fix