The Engine Room

The engine room is a set of smart contracts making Poopooville possible. The Island, or what the user sees on Poopooville.io, interacts with The Engine Room through different call functions.

The Lottery (NFT and ERC-20 Token Lottery with Chainlink Integration)

The Lottery smart contract is meticulously crafted to oversee a lottery system involving both non-fungible tokens (NFTs) and ERC-20 tokens on the Ethereum blockchain. Utilizing the Chainlink decentralized oracle network, the Lottery contract ensures a secure and tamper-resistant process of randomization for each draw, enhancing the fairness and transparency of the draws. In the event of an unsuccessful outcome or insufficient participance, the Lottery contract integrates a robust refund mechanism for participants to reclaim their contributions. Winners of the lottery are rewarded directly with the prize.

The Shit Tank (Vault & Paycheck distribution)

The Shit Tank smart contract operates as a secure vault, holding funds dedicated to the Shit Shack, The Lottery, and Poopoints rewards. Designed with multiple functionalities, including fund management, withdrawals, and a transparent accounting system. An additional noteworthy feature of the Shit Tank contract is its ability to facilitate the monthly earnings distribution, Poos who claim their Paycheck at The Gas Station receive a share in The Lottery earnings.

The Poocoin (ERC20)

The Poocoin smart contract implements a standard ERC20 token, leveraging OpenZeppelin libraries for enhanced security and reliability. It features essential functions for token transfers, approvals, and maintains balances for users within the Ethereum ecosystem. The utilization of OpenZeppelin libraries ensures industry-standard practices and robustness in the implementation of ERC20 functionality.

The Shit Shack (Staking)

The Shit Shack smart contract is the core component of Poopooville's staking infrastructure. Designed explicitly for staking Poopass and Multipliers, users can initiate staking by depositing their NFT assets within the Shit Shack, assets which can be withdrawn at anytime. The contract employs a set of predefined algorithms to govern the staking process and subsequent reward distribution. The smart contract ensures transparency and fairness in reward distribution and serves as a critical element in Poopooville's decentralized finance (DeFi) architecture, providing users with a technical yet accessible means to stake assets and participate in the broader Ethereum economy.

The PooPass (Whitelist with Enhanced Features)

The PooPass smart contract operates as a whitelist NFT gateway, providing users with exclusive access to enhanced features and functionalities within the ecosystem. It incorporates whitelist management, granting holders additional privileges and benefits as they engage with the platform, such as minting a free Poo. Users holding PooPass NFTs can unlock special features and participate in unique opportunities within The Island.

The Poos (ERC721-A)

The Poos smart contract is implemented as an ERC721-A standard, utilizing OpenZeppelin libraries to manage non-fungible tokens (NFTs) representing Poos. This contract includes essential functionalities such as NFT mint, ownership tracking, and secure transfers. For PooPass holders, the contract incorporates a free minting option.

The Registry (Authentication)

The Registry smart contract operates as a decentralized registry for The Island. Specifically tailored to track the names and corresponding wallet addresses of non-fungible tokens (NFTs), this functionality extends to the Poos NFT collection or any other collections whitelisted in the contract. Beyond its fundamental purpose, the Registry assures user authentication within Poopooville. Notably, the Registry introduces a flexible feature that allows other NFT contract to be whitelisted, enabling them to login & register their NFT names within our system. This collaborative approach enhances the inclusivity to the Poopooville ecosystem, providing a central on chain database for NFT identification.

Last updated