Skip to content

OneFlow is a lightweight smart contract for auto-forwarding a percentage of incoming native or ERC-20 tokens to a single wallet. Fully customizable rate and wallet address. Ideal for royalty payouts, fee routing, or treasury flows. Multichain-ready.

License

Notifications You must be signed in to change notification settings

althea89sky/Oneflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Oneflow

OneFlow is a lightweight smart contract for auto-forwarding a percentage of incoming native or ERC-20 tokens to a single wallet. Fully customizable rate and wallet address. Ideal for royalty payouts, fee routing, or treasury flows. Multichain-ready.

OneFlow πŸŒ€

Author: althea89sky
License: MIT

Overview

OneFlow is a lightweight, rate-based, single-recipient ETH and ERC-20 token distribution smart contract. It is designed for auto-forwarding a configurable percentage of funds to a designated wallet.


πŸ” Features

  • Set a single payout address (poolWallet)
  • Set a distribution rate (e.g., 7500 = 75%)
  • Automatically distributes native tokens (ETH, BNB, MATIC, etc.)
  • Manually distributes ERC-20 tokens
  • Owner can update wallet, rate, and withdraw remaining funds

πŸ”§ Example Usage

// Deploy
OneFlow oneflow = new OneFlow(poolWallet, 7500); // 75% flow rate

// Update wallet
oneflow.setPoolWallet(newWallet);

// Update rate
oneflow.setRate(5000); // 50% distribution

About

OneFlow is a lightweight smart contract for auto-forwarding a percentage of incoming native or ERC-20 tokens to a single wallet. Fully customizable rate and wallet address. Ideal for royalty payouts, fee routing, or treasury flows. Multichain-ready.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published