Chain and addresses
Everything you need to point a wallet or a script at Rentday.
Network
| Setting | Value |
|---|---|
| Chain | Robinhood Chain |
| Chain ID | 4663 (hex 0x1237) |
| RPC | https://rpc.mainnet.chain.robinhood.com |
| Explorer | robinhoodchain.blockscout.com |
| Gas token | ETH, 18 decimals |
Addresses
| Contract | Address | Notes |
|---|---|---|
| RentdayVault | 0x468f84eADC6deAf7E5af2619bd1D8Ecb78515f06 | ERC-4626 vault. Its share token is vRENT. Deposit cap 100,000 USDG, which the owner can raise. Deployed at block 70,660,295. |
| RollRegistry | 0xC4C3E3Ddf5a9E383a88cdbE481fF7CBE0ff98E73 | Append-only record of Roll hashes and closing prices. Deployed at block 70,660,505. |
| Owner of both | 0x5b015d333EcB54aeA2e60Bd8AE8A96742Df14Ae3 | The wallet that receives the claimed creator fee, settles it into the vault and publishes Rolls. |
| USDG | 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 | Token name Global Dollar, 6 decimals. The vault's only asset. |
| $RENT | 0x9dfa488509330CC428FD7462c8732A96c5B164A0 | The project's token on Pons 2. Every trade pays the creator fee that funds the vault. |
Take addresses from this page, from site/js/config.js or from the explorer. Do not use an address someone sends you in a message.
Decimals
| Quantity | Decimals | One whole unit in base units |
|---|---|---|
| USDG | 6 | 1,000,000 |
| vRENT | 18 | 10^18 |
Prices (navPerShare and the Roll's price rows) | 12 | 10^12, which reads as 1.000000000000 USDG per vRENT |
| ETH (the creator fee, and gas) | 18 | 10^18 wei |
vRENT has 12 more decimals than USDG because the vault uses an OpenZeppelin decimals offset of 12 as a defence against inflation attacks. At the opening price, one USDG base unit buys 10^12 vRENT base units.
Adding the network to a wallet
When you connect, the site asks your wallet to switch to chain 4663. If the wallet does not know the chain, the site asks it to add Robinhood Chain with the values in the network table. You approve both requests in the wallet. To add the network by hand, use the same values.
Configuration
The site takes every address from one file, site/js/config.js: the addresses in ADDR, outside links in LINKS and the fee rates in RULES. ADDR.vault and ADDR.registry hold the live addresses above, so the vault pages read from the contracts.
ADDR.rentToken holds the $RENT address above, and every place on the site that shows the token's address reads it from there. LINKS.pons holds the token's Pons page once it is set.
Identity check
Before it shows any vault figure, the site asks the contract at the configured address what it is. It calls asset(), decimals() and symbol(). The asset must be the USDG address above, and the share must have 18 decimals. If either check fails, or the contract does not answer, the site reports the problem and holds back the vault's figures. The check guards against a wrong or mistyped address in the configuration.