supported contracts

Flap Bundle interacts with the following Flap.sh smart contracts.

BSC Mainnet

Contract
Address
Purpose

Portal

0xe2cE6ab80874Fa9Fa2aAE65D277Dd6B8e65C9De0

Token deploy, buy, sell

VaultPortal

0x90497450f2a706f1951b5bdda52B4E5d16f34C06

Deploy tax tokens with vault

Standard Token Impl

0x8b4329947e34b6d56d71a3385cac122bade7d78d

EIP-1167 proxy implementation

Tax Token V1 Impl

0x29e6383F0ce68507b5A72a53c2B118a118332aA8

Marketing-only tax tokens

Tax Token V2 Impl

0xae562c6A05b798499507c6276C6Ed796027807BA

Multi-split tax tokens

Split Vault Factory

0xfab75Dc774cB9B38b91749B8833360B46a52345F

Creates revenue-sharing vaults

Gift Vault Factory

0x025549F52B03cF36f9e1a337c02d3AA7Af66ab32

Creates gift/giveaway vaults

BSC Testnet

Contract
Address
Purpose

Portal

0x5bEacaF7ABCbB3aB280e80D007FD31fcE26510e9

Token deploy, buy, sell

VaultPortal

0x027e3704fC5C16522e9393d04C60A3ac5c0d775f

Deploy tax tokens with vault

Standard Token Impl

0x87D5f292ba33011997641C7a7Bd2b17799aaA814

EIP-1167 proxy implementation

Tax Token V1 Impl

0x87d8D03d0c3E064ACdb48E42fecbE8a8538dE6Fc

Marketing-only tax tokens

Tax Token V2 Impl

0x2486e3ff5502bac48D2D86457e7c24B2bB0dDDb5

Multi-split tax tokens

Split Vault Factory

0x1ae091F75D593eb7dC6539600a185C8A6076A424

Creates revenue-sharing vaults

Gift Vault Factory

0xa02DA44D67DB6D692efa7f751b5952bd670d5326

Creates gift/giveaway vaults

Key Functions

Portal.swapExactInput

Used for buying and selling tokens on the bonding curve.

Buy (BNB → Token):

  • inputToken: 0x0000...0000 (native BNB)

  • outputToken: token address

  • inputAmount: BNB amount in wei

  • msg.value: must match inputAmount

Sell (Token → BNB):

  • inputToken: token address

  • outputToken: 0x0000...0000 (native BNB)

  • inputAmount: token amount

  • Requires token approval or EIP-2612 permit data

Portal.newTokenV5

Deploys a new token (standard or tax, without vault).

VaultPortal.newTaxTokenWithVault

Deploys a tax token with a vault configuration (Split or Gift vault).

Vanity Addresses

Tokens deployed through Flap use CREATE2 for deterministic addresses:

Token Type
Address Suffix

Standard

...8888

Tax

...7777

The salt is computed by iterating random values until the predicted CREATE2 address ends with the required suffix.