Key Events

This contains a list of the most relevant events the RAY smart contracts emit.

Table Of Contents

Mint a RAY Token

Source: PortfolioManager.sol

LogMintRAYT(
bytes32 indexed tokenId,
bytes32 indexed portfolioId,
address indexed beneficiary,
uint value
);
Event Parameters

tokendId: The minted RAY token id

portfolioId: The corresponding id for the basket of opportunities associated with with the minted RAY token - see Customize Your Portfolio

beneficiary: The owner of the minted RAY token

value: The amount in the smallest units of the asset that were credited to the minted RAY token

Deposit into a RAY Token

Source: PortfolioManager.sol

LogDepositToRAYT(
bytes32 indexed tokenId,
uint value,
uint tokenValue
);
Event Parameters

tokendId: The id of the RAY token the deposit was for

value: The amount in the smallest units of the asset that were credited to the minted RAY token

tokenValue: The token value before the deposit

Redeem Funds

Source: PortfolioManager.sol

LogWithdrawFromRAYT(
bytes32 indexed tokenId,
uint value,
uint tokenValue
);
Event Parameters

tokendId: The id of the RAY token being withdrawn from

value: The amount in the smallest units of the asset that was withdrawn from the RAY token

tokenValue: The token value before the withdraw