Skip to content
Logo

Contracts

Every Blocks contract. Robinhood and Base are live home chains, and each contract has the same address on both.

The source code is on GitHub: blocksprotocol/core-v1.

Chains

ChainChain idExplorer
Robinhood4663robin.etherscan.io
Base8453basescan.org

Both are home chains: blocks, vaults and markets live on each.

On every chain

These are deployed at the same address on every chain the protocol supports.

ContractWhat it doesAddress
ProtocolSettingsThe chain's settings the Safe controls: fee rates, the swap split, listed factories, endpoints. Holds no funds0xD7A1d89cfC0D20723175077d5179dfEeA262fCa4
BUXThe protocol's dollar and the reserve behind it. Swap 1 for 10xbBbB223bc293BF18C1d3A2c94a90A88fbbBbBbBb
BuxWrapperHookA zero-fee Uniswap v4 pool that swaps the dollar behind BUX and BUX 1 for 1, for routers and aggregators0x41a39f3b09651A49e04B6EcaC2584bA0E453A888
FeePoolWhere every protocol fee lands. Anyone can distribute it to the two Safe-set recipients0x4bd35d369b0ff0411C52Ce4f8Be62AfCb59934bB
JarFactoryCreates each block's Jar at a deterministic address. Anyone may call it0x2d1EA8Fa81ceb23707802EbAa44bF8391f07C1f7
ForwarderFactoryCreates immutable Forwarders at deterministic addresses. Anyone may call it0x6A7012794011cF0CE2300F83cDe3879eA62b80c3
ReleaserSells Jar inventory for BUX in a falling-price auction0x090741d0362f36c298f148086Fc6d52B876b4f84
SafeThe multisig that holds every Safe power0x7E474bBb417dbF6CB1D2779aB4E65A301D62E5C7

On the home chain

These run blocks, sales, markets, vaults and coins.

ContractWhat it doesAddress
BlockFactoryLaunches blocks through a sale and keeps the registry of tokens, vaults, admins and creator payouts0x184191F4F681311E69C61c9F27347288a4C86543
BlockHookThe canonical block/BUX market: holds launch liquidity and splits every swap fee0xD01805Fac286906Dd6Ca888aE7288F3C7175e8fc
BlockVaultThe vault code. One immutable clone per block launched through a sale holds its backing and pays redemptions0xF91a99389355B377ab9ad337469cB9DBa6dc1E9F
BlockBatchSaleThe sale code. One clone per sale holds commitments and settles at one clearing price0x069114FF8bE52FA8C23Fc2349b00bC6d8745F114
VestingEscrowThe escrow code. One clone per locked creator allocation releases tokens to the block's creator payout0xE39dB6AEe6f315fB09FD59212f5fDf2812264801
CreatorPayoutThe splitter code behind weighted creator payouts and Forwarders0xd814C2231d295F74968d12c11483401F95691c60
HookMigrationRegistry (blocks)The list of allowed paths for moving a block's market to a newer hook0xb8e868031b0b0126307F4bD61765f46892976edC
HookMigrationRegistry (coins)The list of allowed paths for moving a coin's market to a newer hook0x7b5a3749E139C4d74eE6E8BFe2EACc040fc7a1d4
StakingFactoryLaunches staking blocks and keeps their admins and creator payouts0xA6F1702286B7F69382877363A12CB34a5e466f98
BuybackConfigThe shared pointer to the auction factory every buyback and Reserve Policy uses0xE6702487776CE6d69ddB4E175839Ee6483cAD47E
AuctionFactoryBuilds each Policy's falling-price auction0x58Aa62FefD0afB113a452Bd47e0Bd0C9A20011CA
CoinFactoryInstant coin launches under a parent block0x453e6EF5806676DC5727Bac12C12E6272119bc0d
CoinHookCoin markets: the anti-snipe window and the coin fee split0x48a43678fAaa9A7874809434D297A0f71A17A8fc
ReservePolicyFactoryCreates reference Reserve Policies bound to one vault0xb3ae6c9E6fff9bE0343AB4e92658c5A9556C5a32

Helpers

Contracts that make the protocol easier to use.

ContractWhat it doesAddress
BlockLensReads a block's kind, its Jar and its redemption address on the home chain. Holds no funds0x4b73FEf43f43d226BA288C707A228156688CD3B8
PolicySweeperSyncs a block's Jar and pulls every waiting Policy row in one call. Holds no funds0x1f6C79EfDDC05Df746e38d517657D5500EC924D4
JarSweeperBuys many Jar lots in one call with per-purchase limits. Holds the buyer's BUX only during the call0xEdbA62112e2c7Cd5B403f5ECe10B323D2E44562e
StandardPolicyAn example Policy for authors to copy. Not the default; the default is no contract. An instance holds revenue until someone forwards itNot deployed. Copy it from GitHub

Implementations and libraries

The code behind the clones, and shared libraries. Useful when verifying contracts on the explorer.

ContractWhat it doesAddress
JarImplementationThe code every Jar clone runs0x727947ff531776ddbC18CC963E1C78B7518aEe1e
ForwarderImplementationThe code every Forwarder clone runs0x9cB81f373f84686c9b7278c2b3C34f891A27119c
AuctionImplementationThe code every Policy auction runs0x8C2ca343c0dC68c1390e29Dc175aFAe8817A9Ea6
ReservePolicyImplementationThe code every Reserve Policy clone runs0xc2043ff4A030bB90d629B038B4C8049a6b9F62E6
FloorMathLibrary: floor and backing maths0xDc862731bde6d13BBE609A5aefeE0Bcf6732Dd50
FeeSplitLibrary: swap fee splits0x6d359429CfedCda5577f3ef444e59BF567a49507
SwapChargeMathLibrary: swap fee and tax maths0xcBBFe5a8AB85546583435837b38e4A4f8F8aA74f
MarketLiquidityLibrary: block market liquidity0xc57008d617969f0AfFA7388b6489483F7a919309
CoinLiquidityLibrary: coin market liquidity0x8945F784D262ECa166060730565E97cd078064c4
LaunchSettlementLibrary: sale settlement0x222C75fb086fCb8BbA1c9e605DBB01B6cCF759Fd
ERC4626AdapterA BUX reserve adapter. None is enabled. Robinhood only0xDEcDe9121CF0c69e46e27939FD038F8b587b4948

Bridge (closed)

The CCIP bridge contracts that will move BUX between chains. They are deployed and owned by the Safe, but no lane is open, so they accept no transfers. They are not payment addresses: never send funds to them. Read Bridging.

Robinhood

ContractWhat it doesAddress
ERC20LockBoxWill hold the BUX that crosses between chains0xB2d6992A8b089FBC76C6276bfA1958829825a0bA
LockReleaseTokenPoolThe CCIP pool that locks BUX on one chain and releases it on the other0xf968B2444Dc93faFAeF089164F5984B819F5d671

Base

ContractWhat it doesAddress
ERC20LockBoxWill hold the BUX that crosses between chains0x0dFfD0C75339a8f9556CC3122E8eA9f9a09bA8F0
LockReleaseTokenPoolThe CCIP pool that locks BUX on one chain and releases it on the other0xF34ee89F6d47AAc1BDCE8470184C6Eed522afcc5

More chains

More networks are coming. Each new chain is added to the chains table above.

  • A chain that collects revenue for blocks elsewhere gets the "On every chain" contracts, at the same addresses as above.
  • A chain that becomes a home chain also gets its own "On the home chain" contracts and helpers.

Read Bridging for how home chains and multi-chain Jars work.

Contracts created per block

These are created by a launch and have no fixed address. Find them through the factories and the lens on the block's home chain.

ContractCreated forHow to find it
BlockTokenEach block launched through a saleBlockFactory.launches(token)
BlockVault cloneEach block launched through a saleBlockFactory.vaultOf(token) or BlockLens.redemptionOf(token)
BlockBatchSale cloneEach block launched through a saleBlockFactory.saleOf(token)
JarEach block, each chainJarFactory.predict(homeChainId, token) or BlockLens.jarOf(token)
VestingEscrow cloneEach locked creator allocationBlockFactory.launches(token).escrow
CreatorPayout cloneEach weighted creator payoutBlockFactory.payoutOf(token)
StakingVaultEach staking block. This is the bTokenThe block's token address
StakingBlockConfigEach staking blockStakingFactory.vaultOf(token). Not a payment address
BuybackPolicyEach staking blockStakingBlockConfig.policy()

Next