Add configurable transfer fee on TFT→SPORE conversion #6
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_tfspores!6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_transfer_fees"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Adds a transfer fee that the bridge retains on each TFT→SPORE conversion, matching the existing refund fee
pattern. Configurable via
TRANSFER_FEE_PLANCKenv var (default: 100,000 planck / 0.01 TFT).Changes
transfer_fee_planckfield toConfigstruct, loaded fromTRANSFER_FEE_PLANCKenv varTftToSporeHandler::handle()before SPORE amount calculationInvalidEventerrortest_config()helpers across the codebaseRelated Issues