Funding
Funding is paid to the desk every hour on HyperCore and accrues into the vault's share price the same hour.
Hourly accrual
Every hour the keeper reads the desk's userFunding from HyperCore's info API and calls accrue(hour, fundingE8) on the vault. The amount is booked as a receivable in kHYPE terms, so the share price steps up on the hour. The cash itself arrives with the daily settlement.
Negative hours
When the perp trades under the oracle, shorts pay longs. Those hours are charged the same way, and the share price can step down for an hour. The vault does not pick hours; it holds the short through all of them.
Sources
Funding has no precompile today, so it comes from the info API (fundingHistory, userFunding), signed by the keeper. The hedge size does not depend on the keeper: it is read with L1Read. After the upgrade, positions and prices are read natively on Elysium; funding stays keeper-signed until a chain source lists it.
The Funding Tape
The Funding Tape shows HyperCore's HYPE print for every hour next to the desk's funding received and the vault's share price step, so anyone can check one against the other.