get_royco_tranche_event_contract

Documentation for eth_defi.erc_4626.discovery_base.get_royco_tranche_event_contract function.

get_royco_tranche_event_contract(web3)

Get Royco tranche interface for custom redemption events.

Royco senior/junior tranche vaults use the standard ERC-4626 Deposit event topic, but do not emit the standard ERC-4626 Withdraw event. Instead, redemptions use:

  • Redeem(address indexed sender, address indexed receiver, (uint256,uint256,uint256) claims, uint256 shares)

Etherscan example.