Contracts and addresses

All Flaset contracts and underlying protocol contracts, with direct explorer links.

On this page

Flaset contracts

ContractWhat it doesAddress
FlasetDealsFlash Deals: both parties sign and the vested portion is streamed through a Lockup. All in one transaction.Explorer for 0x2c5224c5e456B9E1CeE0E6F1ffF8106Cd383e449
FlasetRegistryAllowed addresses, permanent blocks and spending limits.Explorer for 0xb41a45AEE32806061DDe1341249170BE3559FB8c

Flash Deals on other chains

FlasetDeals is deployed at the same address on Base, BNB Chain and Ethereum. Each deployment uses its own FlasetRegistry and the chain’s Lockup, with the same owner and pause key as Robinhood Chain.

NetworkContractAddress
BaseFlasetDealsExplorer for 0x0Aed92C2AAc63e8dd1f325a0Ca3EbE78cceb0F58
BaseFlasetRegistryExplorer for 0x8fbB95d5c5f4612B4E8376133508F47BB875Af2A
BaseSablier Lockup, by othersExplorer for 0xc19a09A66887017F603E5dF420ed3Cb9a5c07C0A
BNB ChainFlasetDealsExplorer for 0x0Aed92C2AAc63e8dd1f325a0Ca3EbE78cceb0F58
BNB ChainFlasetRegistryExplorer for 0x8fbB95d5c5f4612B4E8376133508F47BB875Af2A
BNB ChainSablier Lockup, by othersExplorer for 0x6cd06Aaf06506bC3fF382d83023354E2B80EeD22
EthereumFlasetDealsExplorer for 0x0Aed92C2AAc63e8dd1f325a0Ca3EbE78cceb0F58
EthereumFlasetRegistryExplorer for 0x8fbB95d5c5f4612B4E8376133508F47BB875Af2A
EthereumSablier Lockup, by othersExplorer for 0x93b37Bd5B6b278373217333Ac30D7E74c85fBDCB

Calls, events and owner settings

FlasetCredit, FlasetBuilder and FlasetCheckout and more are on the roadmap.

Show codeHide codeFlasetDeals: settle, cancel, reads, events, owner settings, pause and fee.
calls   settle(deal, sellerSig, buyerSig, proof)
        cancel(deal)
reads   hashDeal, quoteFee, consumed, domainSeparator, lockup, registry
events  DealSettled, DealCancelled, FeeSet, FeeRecipientSet, PauserSet
owner   setFeeBps, setFeeRecipient, setPauser, pause, unpause
pause   starts paused; the pause key pauses, the owner unpauses
fee     0.20% of the price, from the seller's side
uses    FlasetRegistry, and Sablier's Lockup, fixed in the constructor
Show codeHide codeFlasetCredit: the five moves, its reads, events and owner settings, pause and fee.
calls   refinance, swapCollateral, leverage, deleverage, moveSupply
reads   healthFactor, quoteFee, isMarketAllowed, dailyCap, healthFloor
events  CreditSettled, MarketSet, DailyCapSet, SwapperSet, FeeSet, FeeRecipientSet,
        PauserSet, HealthFloorSet
owner   setMarket, setDailyCap, setSwapper (only while paused), setFeeBps, setFeeRecipient,
        setHealthFloor (between 1.00 and 3.00), setPauser, pause, unpause
pause   starts paused; positions stay in Morpho and can be managed there
fee     0.20% of the loan amount the move handles
uses    FlasetRegistry, Morpho Blue, and its swap venue on Uniswap v3
Show codeHide codeFlasetBuilder: execute, reads, events, owner settings, pause and fee.
calls   execute(flashToken, flashAssets, steps, lim, auth)
reads   healthFactor, isVenue, isMarketAllowed, dailyCap, healthFloor
events  SetSettled, StepDone, Returned, and an event for every owner setting
owner   setVenue, setMarket, setDailyCap, setFeeBps, setFeeRecipient,
        setHealthFloor (between 1.00 and 3.00), setPauser, pause, unpause
pause   starts paused
fee     0.20% of the flash loan
uses    FlasetRegistry, Morpho Blue, and the swap venues on its list
Show codeHide codeFlasetCheckout: pay, cancel, reads, events, owner settings, pause and fee.
calls   pay(inv, merchantSig, legs, maxFee, deadline)
        cancel(inv)
reads   hashInvoice, quoteFee, paid, cancelled, feesCollected, domainSeparator
events  CheckoutPaid, LegSettled, InvoiceCancelled, FeeSet, FeeRecipientSet, PauserSet
owner   setFeeBps, setFeeRecipient, setPauser, pause, unpause
pause   deployed unpaused, and paused by the mainnet setup before the registry's first flag
fee     0.20% on top of the invoice, paid by the payer
uses    FlasetRegistry, and the adapters on its list
Show codeHide codeFlasetRegistry: flags, reads, events and owner settings.
flags   DEAL_ASSET 1, SETTLEMENT 2, CHECKOUT_SOURCE 4
reads   tokenFlags, hasFlag, isBlocked, txCap, isAdapter
events  TokenFlagsSet, TokenBlocked, TxCapSet, AdapterSet
owner   setTokenFlags, blockToken (for good: it clears the flags and the cap), setTxCap,
        setAdapter

Contracts by others

Flaset uses these existing contracts. Sablier Lockup holds the vested positions of each deal. Morpho Blue provides flash loans and lending markets, while Uniswap’s router handles swaps.

ContractAddress
Sablier LockupExplorer for 0x548129a58bC230549DF7F9e33f27E77F6779ff0f
Morpho BlueExplorer for 0x9D53d5E3bd5E8d4Cbfa6DB1ca238AEA02E651010
Uniswap v3 factoryExplorer for 0x1f7d7550B1b028f7571E69A784071F0205FD2EfA
Uniswap SwapRouter02Explorer for 0xCaf681a66D020601342297493863E78C959E5cb2