Skip to content

Before you buy

A bond is only as good as the validator behind it, and the protocol checks none of what follows. The contract verifies the issue size capacity when you buy, nothing else. The contracts README says it without decoration, “The condition is an off-chain evaluation tool, not an on-chain rule. No contract function reads the consensus balance, so the condition is never checked by code.”

The Review Bond modal will not let you buy until you tick two statements, and it links here under them. The first is what you verified on chain yourself, the second is what you accept. Each section below is one box, the sentence word for word, then what it means and how to verify it. A listed bond and an offer ask for the same things in their own words, which On the marketplace sets out at the end.

“I have verified on chain myself that this validator’s withdrawal credentials point to this Coffer, and that the Coffer’s backing covers everything it owes and can still sell.”

Two checks, and the protocol makes neither. The row Verify on chain in the review opens the two pages they are read on, Coffer on the block explorer and Validator on the beacon explorer.

The credentials. Withdrawals authenticate against the address inside the validator’s withdrawal credentials, so credentials that point anywhere but this Coffer make the stake unreachable and the bonds unbacked. Open the validator through Validator in the review, or through the Public key link on the terms card, and read the credentials on the beacon explorer. The type is 0x01 or 0x02 and the address is the Coffer’s, the one the Coffer link opens. If the beacon chain has not created the validator yet, the key has only deposits waiting in the queue, and a queued deposit’s credentials become the validator’s only if it is the key’s first deposit with a valid signature. Until the validator exists, the beacon chain drops every deposit whose signature is invalid. Once it exists, the beacon chain adds every later deposit to the validator’s balance, whatever signature and credentials that deposit carries. On 0x00 a validator has committed to nothing yet, and anyone can create a Coffer against any public key, so a mismatch is not a corner case. The app reads the credentials too. A Coffer whose validator is on 0x00, or whose credentials name another address, shows the pill Missing Credentials or Key/Address Mismatch. A key still in the queue is judged the same way, by its first deposit with a valid signature.

The backing. What stands behind a bond is the Coffer’s backing, the ETH in the Coffer contract on the execution layer plus its validator’s balance on the beacon chain. It must cover everything the Coffer owes, the maturity value of every bond not yet paid, and everything it can still sell, the remaining issue size. The terms card shows the parts. Validator Balance is the beacon balance, Pending Deposit is an Add Funds deposit still waiting in the beacon queue, and Contract Balance is the contract balance. Issue Size is what the Coffer can still issue, and the bar reads Issue Size against Backing in the coverage colour. That colour is the check in one glance. Promised is the remaining issue size plus everything owed, and buying moves your maturity value from the first into the second. A green or amber bar before you buy therefore already covers your bond, every bond outstanding and everything the validator could still sell. Red means the Coffer promises more than it holds, and grey means the band is unknown. The app counts the beacon balance and the pending deposit only once the validator is on the beacon chain with credentials that name the Coffer. A new Coffer therefore reads red until its validator is on the beacon chain.

To redo it on chain, take five figures from the two explorers.

  • The contract balance is the ETH balance on the Coffer’s page on the block explorer, the page Coffer opens.
  • The validator’s balance is on its page on the beacon explorer, the page Validator opens. An Add Funds deposit still in the queue is the Pending Deposit row on the terms card.
  • The remaining issue size is issueSize in sValidatorConditions, on the Coffer’s contract tab of the block explorer. On Etherscan that tab is Read as Proxy, because every Coffer is a copy of one contract. Press Query under the function to read it.
  • How many bonds are owed is outstandingBonds in the same answer. It counts every bond not yet paid, a matured one included.
  • What each bond is owed is bondMaturityValue in sHolderConditions, which takes the bond’s number. The contract keeps no list of its bonds and no total, so take the list from the Coffer’s bond table in the app with Active and Matured selected. It has as many rows as outstandingBonds, and each Value matches that bond’s bondMaturityValue to the four decimals the table shows.

An amount on the contract tab is in wei, and 1 ETH is 1,000,000,000,000,000,000 wei, so 1050000000000000000 reads as 1.05 ETH. Count the beacon balance and the pending deposit only if the validator is on the beacon chain and its credentials are 0x01 or 0x02 at the Coffer’s address. Contract plus beacon plus pending must be at least the issue size plus the sum of what the bonds are owed.

“I accept the terms above, and I accept the validator’s buffer as adequate for this bond’s duration. Only the Coffer’s contract balance and its validator’s balance back my bond. I am aware of the risks in the Risk Disclosure, and that carelessly checked data can also lead to losing real ETH.”

The estimate card in the modal shows the figures you accept. The headline is the maturity value, principal plus interest less the protocol fee, and it is a net figure, there is nothing further to subtract. The fee is taken from the interest at the rate of the day the purchase lands, which is the rate on the card unless your transaction waits past a day boundary. It stays at that rate for this bond however the schedule moves later. Maturity Date is the date of the bond’s maturity. Once the purchase lands these three are written into the bond and no one can change them, a validator’s later changes to the Coffer’s terms apply to future bonds only. How a bond works has the formulas and Fees the schedule.

The buffer is different. It is not a promise but the validator’s own estimate, the share of the beacon balance held back from the issue size against penalties, and the protocol neither enforces it nor checks that it is sensible. You do. The whitepaper’s sizing rule, “Choosing the buffer R therefore depends on the bond’s duration, since the holder expects enough reserve on the consensus layer to keep a bond backed even if the validator goes offline for a long period.” A long bond needs a wider buffer than a short one, and a validator that is one of several under common control needs a wider one still, since one cause can slash them together. The buffer you see on one Coffer says nothing about the operator’s other validators. The terms card shows it as Issue Size Buffer. On chain it is issueSizeBufferBps in sValidatorConditions, in basis points, so 500 is 5 percent.

Only the two balances back the bond. Your principal does not stay in the contract. It goes to the Coffer’s owner the moment you buy, net of the fee, and from then on the bond rests on the Coffer’s contract balance and its validator’s balance. Rewards and penalties move the validator’s balance every day, while the issue size does not follow. Penalties inside the buffer leave every bond covered. Penalties beyond it, a validator offline for months or slashed on its own, leave the bond partly or fully uncovered. Two events are beyond any buffer, an inactivity leak, when the chain stops finalising, and a large-scale correlated slashing. Both need a failure the size of the whole network, they stay rare, and a long bond carries them longer. Risks walks through each mechanism.

When a matured bond is not paid, anyone can declare a default, every bond becomes redeemable at once, and anyone can ask the network to exit the validator so the stake is swept into the contract. Claims are then paid first come first served from whatever the contract holds. Whoever claims first is paid in full while the money lasts, and whoever claims last may be paid in part or not at all. When a validator defaults has the steps.

The Risk Disclosure that the box names sets out these risks and the others, and the Terms of Use make it part of the terms. The checks above are yours alone, and a careless one, a credential read on the wrong validator or a sum that misses a bond, can lose real ETH.

A bond bought from another holder, or offered on, is the same claim on the same Coffer, so everything above applies unchanged. The first box of a listed bond and of an offer is one sentence.

“I have verified on chain myself this bond’s maturity value and maturity date, that its validator’s withdrawal credentials point to its Coffer, and that the Coffer’s backing covers everything it owes and can still sell.”

It adds the bond’s own figures, read on chain like the Coffer’s. The first link of Verify on chain carries the bond’s number, Bond #44 data for bond 44, and opens the Coffer’s contract tab at sHolderConditions. Type the bond’s number there and press Query. bondMaturityValue is what the bond still pays, in wei. startTimestamp plus duration is its maturity date as a unix time, the seconds since 1 January 1970 UTC. An answer of zeros means the bond is not this Coffer’s, or it is already paid.

The maturity value that counts is the bond’s remaining value rather than a fresh bond’s. What you pay is the ask or your offer plus the marketplace fee rather than a principal, and no protocol fee is charged, because that one was paid when the bond was minted.

On a listed bond the second box begins with the trade.

“I accept this trade at the seller’s ask, and I accept the validator’s buffer as adequate for the time left.”

On an offer it begins with how long the holder can accept.

“I understand that the holder can accept this offer at any time until it ends, even if the Coffer has become uncovered or has defaulted by then.”

The marketplace checks nothing about the Coffer when the holder accepts, only that the bond’s value is still the one the offer signed. An offer therefore stays acceptable after its Coffer has become uncovered or has defaulted, until it ends or you cancel it on chain. The WETH approval an offer needs has a review of its own, about the approval alone. How trading works has the mechanism.