fetch_yield_basis_amm

Documentation for eth_defi.yield_basis.contracts.fetch_yield_basis_amm function.

fetch_yield_basis_amm(web3, address)

Bind a YieldBasis AMM contract to address.

Parameters
  • web3 (web3.main.Web3) – Ethereum connection used by the contract binding.

  • address (eth_typing.evm.HexAddress) – Factory-reported AMM component address.

Returns

AMM contract proxy backed by the stored minimal ABI.

Return type

web3.contract.contract.Contract