Skip to content

Create deploy script for Funding contracts  #194

@dapp-whisperer

Description

@dapp-whisperer

Funding Contract Deploys

  • a single Funding logic contract should be deployed
  • deploy each funding contract as a TransparentUpgradeableProxy with the logic contract the Funding contract from above
  • the proxyAdmin should be 0x8074Db4de0018b2E9E6866ea02c1eb608F751cCB

Oracle Deploys

  • deploy the oracle logic as per the test setup
  • This includes a MedianOracle and one of the oracle adapter variants (CtdlWbtcCurveV2Provider, CtdlAssetChainlinkProvider) for each Funding instance as per the test setup. These should not be proxies, just the contract.
  • Each oracle adapter should be added as a provider to the respective MedianOracle via addProvider()
  • Each MedianOracle should be added as

(This only needs to work in a forked environment / mainnet, not on a fresh local deploy)

You can find all deployed mainnet addresses here

This issue can be built off of this branch

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions