Skip to content
Docs · Developers

Documentation

Developers

Contract addresses and the notes you need to integrate with Reisa.

Contracts#

Robinhood Chain, chain id 4663. Every address opens in the explorer.

Token#

DEX#

Farms#

Launchpad#

Lending#

RESD#

External tokens#

Pair addresses#

Pairs are deployed with CREATE2 by the ReisaFactory. Init code hash:

0x8f548e6ee60ef3a249ce16ce2a8f9ac1e426d432fc70fbb2845f2dd70f300a73

Router notes#

  • getAmountsOut and getAmountsIn include the swap fee and the creator tax of every hop. netOut(tokenIn, tokenOut, grossOut) returns what a gross output delivers after the cuts.
  • pair.swapParams() returns reserve0, reserve1, swapFeeBps, taxBps, quoteIsToken0 in one call.
  • Fee and tax are taken on the quote side of each pair: off your input when you pay in the quote token, off your output when you receive it.
  • Every router call takes a deadline. Set it a few minutes ahead.
  • Tokens with a transfer fee use the ...SupportingFeeOnTransferTokens functions.
  • Flash swaps: when you borrow the quote side, you receive the amount minus fee and tax, while uniswapV2Call reports the gross amount.