Cross-Chain Accounting
For the share price to be correct, the Machine must know the value of every Caliber, including those on other chains. Reading the Hub Caliber is a local call. Reading a Spoke Caliber is the hard part, because it lives on a different chain. Cross-chain accounting is how that value is brought to the Hub without letting the parties that run the strategy report it themselves.
Chainlink Runtime Environment (CRE)
Makina relies on the Chainlink Runtime Environment (CRE), Chainlink's off-chain compute platform, to relay spoke accounting to the Hub:
- Each Caliber Mailbox exposes a view function returning its Caliber's accounting snapshot: net AUM, pending bridge amounts in both directions, and the context it was read in (chain ID, mailbox address, block number and timestamp).
- A CRE workflow reads that view on the spoke chain and produces a report. The Chainlink network delivers it on the Hub through the CRE forwarder contract.
- The forwarder calls the Machine, which checks that the report comes from the forwarder and carries an authorized workflow ID, that each snapshot targets a registered spoke and its expected Mailbox, and that the snapshot is fresh: strictly newer than the one already stored, within the configured staleness threshold, and not dated in the future. Only then is it stored.
Submission is therefore not permissionless: only the CRE forwarder, relaying an authorized workflow, can feed spoke data into the Machine. The set of authorized workflow IDs is managed by protocol governance (see Permissions & Scopes).
From spoke data to total AUM
Once the Machine holds fresh accounting for every enabled spoke, it can compute total AUM (see Share Price):
If any enabled spoke's stored data is stale when an AUM update is attempted, the update reverts rather than using outdated values, so the share price is never computed from stale cross-chain data.
Disabling a spoke
A spoke that has been fully wound down can be disabled, so that its accounting no longer needs relaying. Disabling is only allowed once the spoke is empty by every measure the Machine has: its last reported net AUM is zero, and no bridge transfer is pending in either direction. A disabled spoke is skipped in the AUM sum and can no longer receive transfers from the Machine, though funds it sends back to the Hub are still accepted. It can be re-enabled at any time. Both actions are governance operations (see Permissions & Scopes).
Counting value in transit
The accounting data each Mailbox reports includes pending bridge amounts: capital that has left one side but not yet arrived on the other. The Machine tracks bridge transfers in both directions on both sides, and counts the in-flight difference toward AUM. This is what guarantees value isn't double-counted or dropped while a bridge transfer is in progress, which can take anywhere from minutes to days.