Skip to content

Repository files navigation

Elixir <> RabbitX Contracts • CI

Background

This project contains the smart contracts for the Elixir Protocol integration on top of Rabbitx.

See the documentation, the Elixir Protocol documentation, and the RabbitX documentation for more information.

Deployments

NetworkRabbitManagerDistributorRouter BTC (ID 1)Router ETH (ID 2)Router SOL (ID 3)Router ARB (ID 4)Router DOGE (ID 5)Router LDO (ID 6)Router SUI (ID 7)Router PEPE (ID 8)Router BCH (ID 9)Router XRP (ID 10)Router WLD (ID 11)Router TON (ID 12)Router STX (ID 13)Router MATC (ID 14)Router TRB (ID 15)Router APT (ID 16)Router INJ (ID 17)Router AAVE (ID 18)Router LINK (ID 19)Router BNB (ID 20)Router RNDR (ID 21)Router MKR (ID 22)Router RLB (ID 23)Router ORDI (ID 24)Router STG (ID 25)Router SATS (ID 26)Router TIA (ID 27)Router BLUR (ID 28)Router JTO (ID 29)Router MEME (ID 30)Router SEI (ID 31)
Ethereum Sepolia0x82dF40dea5E618725E7C7fB702b80224A1BB771F0x37102727dFB93410D90d446b19E736E1136469b80x393c45709968382Ee52dFf31aafeDeCA3B9654fC0x58c66f107A1C129A4865c2f1EDc33eFd38A2f0200xf5b2C3A4eb7Fd59F5FBE512EEb1aa98358242FD50xa13a4b97aB259808b10ffA58f08589063eD999430x738163cE85274b7599B91D1dA0E2798cAdc289d10x67B748B2B1c54809140Ebb12766c31480c3DE1210x3b4D5D2319dB8d4Ce49eF32241fF447F57EDFb070x56ee545A30FeaC520cf0adCEA289481aB0A945180xD051B4886241feE6E03a32Ce86Ad3DeF77C6fC040x91110A59d41A8b659cb2AA4EFcf2B4C553eDf6140x68Fade385055055c4b625E4C0f4e848D976732740x1e4887f4B32A3C758db71375A5c034E445101fBe0x782855A9F6678F77Fe4CAbF5FB52C31Bef3545350xE11644ac68D93C4E8730fC5Fb94A311211Cb43090x533485094d08399c99b670A241219A5d197C794d0xa248740E945c8a6FeE4fB1aA677D2FfD3a8F41620xa15DD3100C9D09aC84310e7A31c7242608F445E70x7dE89198dbC097eb3731F297d18806Dab8e27A720x4B1a9AaC8D05B2f13b8212677aA03bDaa7d8A1850x6Ba6435B47a36adCB3cca90189F20AA995e096f70xbf541F7bE0DCE645455698636cf7b354CF4a97d30xFAbc2efACa0177472164713579e344D2d90329f90x7BF188bD474Eab7836DCA232d2bA7B28efcb39790x91801ae692B95cC423B894550c1935BE2C7817100xad5e71f7F25baCa4Db93845738b79c03a36330730x626e1C5651b437799d8ecB86921b1FceadE17f710x6b8459FE536843f744A815D6425D4Fa97298287f0xF372b308e06e44CAa3F08706AaC20d54Ac9f98680xA094B884E495e4564dCc48b553a4a25453e366840x0AF3B74E5368f08a88c8563EF6a52BF157058DC10x3595a9bf16CdC8b07c68E7908EA075aD2377636c
Ethereum Mainnet0x82dF40dea5E618725E7C7fB702b80224A1BB771F0x37102727dFB93410D90d446b19E736E1136469b80x393c45709968382Ee52dFf31aafeDeCA3B9654fC0x58c66f107A1C129A4865c2f1EDc33eFd38A2f0200xf5b2C3A4eb7Fd59F5FBE512EEb1aa98358242FD50xa13a4b97aB259808b10ffA58f08589063eD999430x738163cE85274b7599B91D1dA0E2798cAdc289d10x67B748B2B1c54809140Ebb12766c31480c3DE1210x3b4D5D2319dB8d4Ce49eF32241fF447F57EDFb070x56ee545A30FeaC520cf0adCEA289481aB0A945180xD051B4886241feE6E03a32Ce86Ad3DeF77C6fC040x91110A59d41A8b659cb2AA4EFcf2B4C553eDf6140x68Fade385055055c4b625E4C0f4e848D976732740x1e4887f4B32A3C758db71375A5c034E445101fBe0x782855A9F6678F77Fe4CAbF5FB52C31Bef3545350xE11644ac68D93C4E8730fC5Fb94A311211Cb43090x533485094d08399c99b670A241219A5d197C794d0xa248740E945c8a6FeE4fB1aA677D2FfD3a8F41620xa15DD3100C9D09aC84310e7A31c7242608F445E70x7dE89198dbC097eb3731F297d18806Dab8e27A720x4B1a9AaC8D05B2f13b8212677aA03bDaa7d8A1850x6Ba6435B47a36adCB3cca90189F20AA995e096f70xbf541F7bE0DCE645455698636cf7b354CF4a97d30xFAbc2efACa0177472164713579e344D2d90329f90x7BF188bD474Eab7836DCA232d2bA7B28efcb39790x91801ae692B95cC423B894550c1935BE2C7817100xad5e71f7F25baCa4Db93845738b79c03a36330730x626e1C5651b437799d8ecB86921b1FceadE17f710x6b8459FE536843f744A815D6425D4Fa97298287f0xF372b308e06e44CAa3F08706AaC20d54Ac9f98680xA094B884E495e4564dCc48b553a4a25453e366840x0AF3B74E5368f08a88c8563EF6a52BF157058DC10x3595a9bf16CdC8b07c68E7908EA075aD2377636c

Documentation

You can find the technical documentation and references of the smart contracts here.

Usage

You will need a copy of Foundry installed before proceeding. See the installation guide for details.

To build the contracts:

git clone https://github.com/ElixirProtocol/rabbitx-contracts.git
cd rabbitx-contracts
forge install
forge build

Run Tests

In order to run unit tests, run:

forge test

For longer fuzz campaigns, run:

FOUNDRY_PROFILE="deep" forge test

Run Slither

After installing Slither, run:

slither src/

Check coverage

To check the test coverage, run:

forge coverage

Update Gas Snapshots

To update the gas snapshots, run:

forge snapshot

Deploy Contracts

In order to deploy the contracts, set the relevant constants in the respective chain script, and run the following command(s):

forge script script/deploy/DeploySepolia.s.sol:DeploySepolia -vvvv --fork-url RPC --broadcast --slow

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages