LogoLogo
  • 👋Introduction
  • Products and Services
    • Governance as a Service (GaaS)
    • Proof of Existence (PoE)
      • PoE Enrollment User Guide
      • Passport Portal / PoE Dispenser
      • PoE Integration Overview
      • How to Integrate PoE to Snapshot
      • Governor DAO Proof of Existence Use Cases
      • Finnovant Q & A on their Say-Tec tech
      • PoE Sign-up - One Page Flyer
      • PoE VIP Process - 4 Stages
    • NFT Launchpad - Provably Fair Mints with PoE
      • 🎨PoE for NFT Artists
      • Permissioned NFT Sale Scope
      • 🤝NFT Artist requirements discovery form
    • Liquidity Generation Event (LGE)
    • Governance Vault
      • Governance Vault User Guide
      • FAQ Governance Vault
      • Governance Vault Deployment Variables
  • Sub-DAOs
    • GDAO Ambassadors (GAMBs)
    • Finance Committee
  • 📰Media (Work in Progress)
    • Articles
      • GDAO Leveling the Voting Landscape
      • Project Voting Challenges & PoE Solutions
      • Provably Human: a glimpse into the world of Sybil resistance.
      • Sybil Resistance Within the Metaverse & P2E Gaming
  • 💡Additional Resources
    • GDAO Links
      • Proof of Existence Landing Page
      • Official Announcements Telegram
      • Official Telegram Group
      • GDAO Trading / Unofficial
      • YouTube
      • Discord
      • Twitter
      • Main Website
      • Blog Website
      • Forum Website
      • NFT LanchPad
      • CoinGecko GDAO
    • Where to Purchase GDAO
      • 1Inch Exchange ETH/GDAO
      • GDAO V3 Uniswap Pool
      • GDAO V2 Uniswap Pool
      • Gate.io GDAO/USDT
      • Gate.io GDAO/ETH
    • Governor DAO Litepaper v2.1
  • 👋How to Section
    • PoE Enrollment User Guide
    • Governance Vault User Guide
    • FAQ Governance Vault
    • Get Some MATIC (Buy/Bridge)
    • Polygon Chain - MATIC Management
    • Polygon NFT Bridge Guide
  • Hiring
    • 👨‍👦‍👦Can I offer help to the team ?
    • Frontend Developer Role
  • Smart Contracts
    • Smart Contracts Hub
  • Support
    • 🙋Email Support Form
  • Glossary of Terms
    • 📓Glossary of Terms
  • Archived_Documents
    • Creating LP & stake in Geyser Fountain Pool
    • Geyser Fountain ETH/GDAO LP Staking
    • MDAO LGE Guide [ Muse DAO]
    • Governor DAO Post Mortem BEAN Governance Exploit
    • Proof of Existence Snapshots
Powered by GitBook
On this page
  • Building Authenticated Logic
  • Contract List

Was this helpful?

  1. Products and Services
  2. Proof of Existence (PoE)

PoE Integration Overview

The universal Proof-of-Existence whitelist can be integrated permissionlessly into any smart contract.

Developers can "authenticate" contract calls by requiring the addresses executing those calls to hold the ERC20 POE token.

The base integration of "only authenticated users can call this function" can be achieved by pasting the following requirement statement into the desired write function:

require(IERC20(0x5945bAF9272e0808165aDea61b932eC1604FB161).balanceOf(msg.sender) == 1, "Need to authenticate first!");

The 'require' syntax asserts that a logic statement resolves true in order for a contract call to execute. This line requires that the address calling the contract <msg.sender> holds exactly 1 POE.

POE balance of an address is binary, they can only ever be 1 (authenticated) or 0 (non-authenticated).

NOTE: For cleaner code, initialize the POE token address as a global variable and reference that variable in the 'require' statement in place of the address itself.

Building Authenticated Logic

With a POE balance requirement in place, developers can easily add gamification to their contracts and platform mechanics.

Some of the (otherwise not possible) gamification/logic improvements could include...

Token Sale/NFT Mint

  • Individual "cap" on mints or size of purchase

  • Anti-Whale price curve: each additional purchase is more expensive than the last

  • One-claim-per-person with a free or fixed rate

  • Pre-sale phase where authenticated users get a grace period to interact without competing for gas

Token Contracts

  • Max/Minimum allowed balance per user (ie: NFT that is limited to one-per-person)

  • "Bot-Free" Trading

DeFi Games

  • Capped or anti-whale yield farming/liquidity providing

  • Modified weight-based pools (minimum and maximum weight)

Governance

  • Democratic voting (one-vote-per-person)

  • Logarithmic voting (unlike quadratic, token-based weight is not linear. Min/max voting weights based on token ownership + POE)

Contract List

Network

Proof-of-Existence Token Contract

Kava

Mainnet

Polygon (new)

Polygon (old)

Rinkeby

Network
Merkle Minter

Kava

Mainnet

Polygon

PreviousPassport Portal / PoE DispenserNextHow to Integrate PoE to Snapshot

Last updated 2 years ago

Was this helpful?

0x968354437FDBc3E5b209e363988715c36E5fF10E
0x5945bAF9272e0808165aDea61b932eC1604FB161
0x523b6CD6191C45B0134B175fD36b82586EaeC41D
0x15a84e83e039a63a230ba786231dfb99544f7acb
0x36c81cef9d311dcf46391e9cf8a776e9991946a3
0x4784855c2802132d1dc3212111Ae70613CA7A1D0
0xc4f97fcf045c0bfb9faa19515446eb0c7ffde8bf
0xb17e1062F89Dff41197F1f6d82De4Bff2d0db29D