Skip to content

Release 2.2.4

Compare
Choose a tag to compare
@naddison36 naddison36 released this 21 Jul 12:25

Solidity upgrade and Hardhat task refactor

  • Upgraded Solidity from 0.8.2 to 0.8.6
  • Fixes to the over-boost and rewards tasks
  • Refactor of Hardhat tasks
    • getSigner factory that will work against Defender Relay of the DEFENDER_API_KEY and DEFENDER_API_SECRET environment variables
    • have been set, else uses the IMPERSONATE environment variable if set, otherwise uses a random account.
    • getChain will resolve a Chain enum from hardhat network and config.
    • getNetworkAddress will resolve a contract name to an address across different chains
    • resolveAddress will resolve a contract name or token symbol to an address across different chains
    • resolveToken will resolve a token symbol and type to a Token object