fetch_redstone_feed_contract

Documentation for eth_defi.tokenised_fund.securitize.redstone.fetch_redstone_feed_contract function.

fetch_redstone_feed_contract(web3, feed)

Create a contract proxy for a reviewed RedStone push feed.

Parameters
Returns

Chainlink-compatible feed contract.

Raises

ValueError – If the connection is for a different chain.

Return type

web3.contract.contract.Contract