Skip to content

Funds

Your Coffer’s ETH sits in two places, your validator’s balance on the beacon chain and the contract’s own balance. Bonds are paid from the contract balance, and keeping it sufficient for every matured bond is your one duty. This page covers the three moves the app offers, the plain transfer that needs no control at all, and the rows on the terms card that show where the ETH is.

MoveWhere the ETH goesWhen it landsThe issue sizeThe versionIn a default
Send ETH to your Coffer’s addressthe contract balanceat oncegrows by the full amountunchangedworks, and funds the holders’ claims
Add Fundsyour validator’s beacon balanceonce the beacon chain processes the depositgrows by the amount at the buffer discountunchangedheld
Withdraw · Consensus, or Exitfrom the beacon balance into the contract balancea withdrawal after the exit queue, about 28 hours when it is empty. An exit after the exit queue, 256 epochs more and the sweep, which can take daysunchangedunchangedheld
Withdraw · Executionfrom the contract balance to your walletat oncefalls by the amount while bonds are outstandingbumpedheld

Send ETH to your Coffer’s address from any wallet. It lands at once, and the contract raises its balance and the issue size by the full amount, because ETH in the contract is fully available to pay bonds. The transfer works while your Coffer is in default, and it is how a looming default is cured. Once the balance covers a matured bond, its holder’s redeem pays it in full and no one can declare a default on it. Anyone can send, and a top up from a third party counts the same. This is the fastest way to fund a maturity, a consensus withdrawal takes days.

In the Owner Controls card, under Funds, press Add Funds. The ETH comes from your wallet with the transaction and goes to the beacon deposit contract in your validator’s name. The contract raises the issue size by the amount at the buffer discount the Coffer has when you send it, the same discount your starting balance got unless you have changed the buffer since. The minimum is 1 ETH, and the amount has to be a whole number of gwei, because the deposit contract counts in gwei. The beacon chain counts at most 2048 ETH for one validator.

A deposit from the Coffer carries no valid signature, so the beacon chain adds it only to a validator that exists by the time it is processed, and drops it otherwise. The app offers Add Funds only once the validator is on the beacon chain, in the statuses Activating, Activation Queue and Active.

While the beacon chain processes the deposit, at least two epochs and longer when the churn cap bites, the terms card shows a Pending Deposit row and already counts the amount in the backing. Apart from the issue size, Add Funds changes no term and does not bump the version, and it is held while your Coffer is in default.

A deposit you send straight to the beacon deposit contract, your first deposit among them, adds to the validator’s balance but not to the issue size, because it does not pass through the Coffer.

Press Withdraw · Consensus in the same section to request a partial withdrawal from your validator’s beacon balance into the Coffer contract. The amount is a whole number of gwei again. A request that would take the balance below 32 ETH is cut down by the beacon chain itself. A partial withdrawal needs 0x02 credentials, see Point your validator at the Coffer.

The request goes through the network’s withdrawal request contract, which charges a small request fee. The contract forwards the exact fee, and any surplus sent with the request stays in your Coffer’s balance without raising the issue size, since the network refunds nothing. Withdraw · Execution reaches it in full once no bond is outstanding. The request waits in the beacon chain’s exit queue and then 256 epochs more. So the ETH arrives in the contract about 28 hours after the request when the queue is empty, and later when it is congested, days at times. Count a request as funding only once the ETH has arrived, and read a queued request as scheduled inflow rather than money in hand, slashing or a balance collapse before the payout voids it.

The beacon chain drops a request it rejects without a word, a wrong credential type for example. The request changes no term and does not bump the version, and the control is held in a default.

The Withdraw · Consensus control carries an Exit switch, which requests your validator’s full exit and cannot be undone. The validator’s full balance leaves the beacon chain and lands in the Coffer contract once the exit completes, the 32 ETH minimum stake included. An exit waits in the beacon chain’s exit queue, then 256 epochs more, and the stake lands when the sweep reaches the validator. The sweep visits every validator by index number and pays at most 16 withdrawals per block, so that last wait depends on the number of validators and on where yours stands in the sequence. A congested exit queue adds its length to the wait. The exit works from 0x01 credentials as well as 0x02. The beacon chain ignores an exit request while a partial withdrawal is still pending, so an exit becomes possible once that withdrawal is paid out.

With no bond outstanding the stake is then yours to take out through Withdraw · Execution. With bonds outstanding, Withdraw · Execution takes out at most the issue size, and the rest of the stake stays in the contract behind the bonds. Your Coffer’s pill reads Exiting from the moment the beacon chain has the request, and in a default the same exit is anyone’s to request, see Default. The beacon chain also exits a slashed validator by itself, and what is left of its stake lands in the contract the same way, through the sweep.

Press Withdraw · Execution to take ETH from the contract’s balance to your wallet. While bonds are outstanding the contract lets you take at most the issue size and never more than it holds. But the balance also holds the funding of the matured bonds whose holders have not redeemed yet, and a withdrawal that spends it lets the next of them to redeem declare a default. Available leaves that funding out. The withdrawal lowers the issue size by the same amount, so what you take out is capacity you no longer promise. With no bond outstanding the whole balance is yours. Every withdrawal here bumps the version, see Terms and what can change, and the ETH reaches your wallet in the same transaction. The control is held in a default, because from then on the balance backs the holders’ claims.

The Terms card on your Coffer has a Coverage section with the rows this page moves. Validator Balance is your validator’s balance on the beacon chain, C in the whitepaper. Pending Deposit is a top-up made through Add Funds that still waits in the beacon queue. Issue Size is what you can still issue, S in the whitepaper. Issue Size Buffer is your buffer as a percentage, R in the whitepaper. The bar under them reads Issue Size against Backing, where the backing is the contract balance plus the beacon balance plus any pending deposit, and its colour is the coverage band, the same mark the lists show. The beacon balance and the pending deposit count only once the validator is on the beacon chain and while the credentials point to the Coffer. Contract Balance is the contract’s own balance, E in the whitepaper, the money that pays bonds.