Portfolio Identifiers

RAY allows you to create a custom portfolio. Each portfolio has a unique identifier represented as a `bytes32` value that needs to be referenced for certain actions

These are used for RAY direct contract integration.

To dynamically generate these, the template used is as follows:

keccak256( {CamelCase Coin Type Ticker} + {CamelCase Opportunities in Alphabetical Order} ); Example: The result ofkeccak256(EthCompoundDydx) is the portfolio id of a RAY that rebalances ETH between Compound and dY/dX.

0x needs to be pre-pended to the result, some keccak256() generators don't automatically add it.

Valid Values for Opportunities

  • Bzx

  • Compound

  • Dydx

  • Dsr (exclusive to the coin "MCD")

Valid Values for Coins

  • Eth

  • Mcd (Multi-collateral Dai, commonly known as Dai)

  • Dai (Single-collateral Dai, commonly known as Sai)

  • Usdc

Portfolio Id's

Below you'll find the actual values for every portfolio currently possible.

Opportunities: bZx, Compound, DSR, dY/dX

MCD0x810522b60dd90f9263d4e301357c9db1e75e63e814939ae109ccb964c96a93d3

Opportunities: bZx, Compound, dY/dX

ETH0xbe72e724d4b9326428f7faca782d2dcc9e3e10824e8cf48a6499f23d695fd018

MCD0x5511fa880353535668e2ba60b8800f49aecb527b143c19b933173d617dc4aea6

DAI0x87e3990b15e1e64e3a17b0e4ebfcc4c03cc5ec64a33b442ae01ef15d9dadb575

USDC0x7c80b0e3ce0d2cabe1a3dfc888fca469bab09beccc3496f88cba8613d159a65b

--

Opportunities: bZx, Compound

ETH 0x89bdc287eca0056552bd2979865efb44e5f19fdc962accefb49f7eefc0e55ea9

MCD0xea493a2b306e3c3f7548c41cac3b9d360cb7d46e1563bd9346f7e398d03e45fd

DAI0xe51a4786828f3cbbdd643cd0d415c0f45bdbf7ec739dbdb2e64d6ac97bf103f1

USDC0x1e868d302424cfebaf2b757c06fdd1a32411fd445ebb51ffc433cc15bacfe3e3

--

Opportunities: bZx, dY/dX

ETH0xe1d9f3a90e5d350eec05cd47282029fcf71c7c09c29c032f198eeffc936975b6

MCD0x5eea78fbdb7992da6f036e65ddb403b29aa15ba18be856f1e0ede3b1657d9b02

DAI 0xae52c5b4d809b421d746d3a7bde807ea6ec242ae13ae1b2bc6434493acf26d8b

USDC0x978274153eec4f3c072b45a6268ae86c0e61033c7a817328b407954972369b1d

--

Opportunities: Compound, dY/dX

ETH0xf26c69dbf25f9fb2bf793e4847f7c619cbc3323cb4ff988fb0ce4c5ea45affa1

MCD0xcd55522e8f4c89017906f06cb11574a4cb79176b18a2a208e08780d079453c79

DAI0xd33be800bb630e1ae95562a75be01b1b77a96386f99b3faa97a828b28c92dbb9

USDC0xf904b00f34beab1e77301f192a7fe866c4936fb9ea30e65543df5dc2d9176c69

--

Opportunities: bZx

ETH0x21590982edcc6d2c9b986dd8174fda53c28d1a919c8bf9b58ead7d441b306439

Coin: DAI 0x165de3655459c6088f957bdb2877779c94aa17af570340349630726914a826fa

Coin: USDC0xb6cb9e19cd1b048a65dffcccc3a071c8d2d89ad070a0dca6f7efdf4ee7ab9e51

--

Opportunities: Compound

ETH0x5870955881b5219ec3d880e8ad25206c312127210a5695618971c47541982994

DAI0xcd93cf275bcc8c600887dc587ea0a16e8f0a87fa7f99560f72186069c8d3b3df

USDC0x839de554365a548fbb6bf9b32952a781e00390bb8454a2bb8f4f3bbed40bc92c

--

Opportunities: dY/dX

ETH0xa49d129cd260862e8226f232c7d2ab0dd7302e2bcb49847810392625b7dbf3f6

DAI0xf21acfdd065ab7839f3b0c66c441c6366b2240db1c3fa7c7da134c9be316fcd0

USDC0x4672ce0a5532a592a953596e6c19fc1cb1bd89cdaf2f6d6b4c71d5f8b6f7f58a