Comment on page

Switching Your Fee

Changing your fee doesn't affect the previously created validators!

Learn more about the Validator Lifecycle:

Changing Your Fee

You can charge up to 10% of the pooled rewards for your new validators.
const new_fee = Math.floor(x * 10**10 /100) // x%
await Portal.switchMaintenanceFee(id, new_fee)

3 Day Rule

When a Operator's fee is changed, it takes 3 days for new fee to take effect.
Within this period of 3 days, the fee can not be changed again.
This applies to Pool Fees as well, and prevents misleading behavior within our marketplace.
However, you can stop proposing new validators before your cool-down period ends.

Claiming Your Fees

Internal Wallet

Every ID has an Internal Wallet, which makes transferring Ether easier for both Geode's Portal, and it's users.
The Internal Wallet is the place where your fees will accrue over time.
const wallet_balance = Portal.readUintForId(id, getBytes("wallet"));
await Portal.decreaseWalletBalance(id, wallet_balance);