OneDeltaDeployment
Documentation for eth_defi.one_delta.deployment.OneDeltaDeployment Python class.
- class OneDeltaDeployment[source]
Describe 1delta deployment.
This contains all smart contracts needed to interact with 1delta procotol.
See
fetch_deployment()
.Attributes summary
The Web3 instance for which all the contracts here are bound
FlashAggregator contract proxy
broker_proxy
OneDeltaQuoter contract proxy
Methods summary
__init__
(web3, flash_aggregator, ...)- web3: web3.main.Web3
The Web3 instance for which all the contracts here are bound
- flash_aggregator: web3.contract.contract.Contract
FlashAggregator contract proxy
- quoter: web3.contract.contract.Contract
OneDeltaQuoter contract proxy
- __init__(web3, flash_aggregator, broker_proxy, quoter)
- Parameters
web3 (web3.main.Web3) –
flash_aggregator (web3.contract.contract.Contract) –
broker_proxy (web3.contract.contract.Contract) –
quoter (web3.contract.contract.Contract) –
- Return type
None