Skip to content

feat: Automatic Transfer with dynamic gas estimation - #163

Closed
brainzhangdh wants to merge 3 commits into
ubiquity-os:mainfrom
brainzhangdh:feat/automatic-transfer
Closed

feat: Automatic Transfer with dynamic gas estimation#163
brainzhangdh wants to merge 3 commits into
ubiquity-os:mainfrom
brainzhangdh:feat/automatic-transfer

Conversation

@brainzhangdh

Copy link
Copy Markdown

Automatic Transfer

Implements optional automatic token transfer to beneficiaries after permit generation.

Changes

  • transfer: true config option in org/repo settings
  • Dynamic gas estimation using ethers.Contract.estimateGas
  • Operator fee via operatorFeePercent (default 10%)
  • Automatic transfer after ERC20 permit generation

Configuration

{
  "transfer": true,
  "operatorFeePercent": 10
}

Closes #6

Brain Agent added 3 commits May 18, 2026 15:45
… fee

- Added transfer and operatorFeePercent to PermitGenerationSettings schema
- Created automatic-transfer.ts with gas estimation and executeAutomaticTransfer
- Updated generatePayoutPermit to trigger automatic transfer after ERC20 permit
- Operator fee configurable (default 10%), goes to ubq.eth
- Dynamic gas estimation via ethers.Contract.estimateGas

Closes ubiquity-os#6
@ubiquity-os-beta

Copy link
Copy Markdown
Contributor

Warning

@brainzhangdh this pull request must be linked to an open issue and target the repository's default branch, or it will get automatically closed.

@ubiquity-os-beta ubiquity-os-beta Bot closed this May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant