OriginProtocol / origin-dollar

OUSD and OETH are stablecoins that passively accrue yield while you are holding it
https://originprotocol.com
MIT License
122 stars 79 forks source link

Aerodrome swap fees 20 deploy files #2294

Closed sparrowDom closed 1 month ago

sparrowDom commented 1 month ago

Contracts

Contract Address
AerodromeAMOStrategy (implementation) 0x8bb67820E8aC1a775DA25E50391718C1457d07ac

Governance

Check attachments for generated JSON files 1730157451105-scheduleBatch-gov-tx.json 1730157451106-executeBatch-gov-tx.json

Important! I had to deploy the contract twice, because the first time I accidentally deleted the schedule transaction files. The second deployed contract doesn't show constructor arguments on Base. But it exactly matches the code deployed on this address: 0xfc96Ab53Dd1864B26C0DbC8534154B32ad434335. You can use this one to verify the constructor arguments (the Basescan also notices that the deployed bytecode of the contracts match)

Deploy checklist

Two reviewers complete the following checklist:

- [ ] All deployed contracts are listed in the deploy PR's description
- [ ] Deployed contract's verified code (and all dependencies) match the code in master
- [ ] The transactions that interacted with the newly deployed contract match the deploy script.
- [ ] Governance proposal matches the deploy script
- [ ] Smoke tests pass after fork test execution of the governance proposal
naddison36 commented 1 month ago

I've verified the deployment

sol2uml diff 0x8bb67820E8aC1a775DA25E50391718C1457d07ac .,node_modules -n base
Compared the "AerodromeAMOStrategy" contract with address 0x8bb67820E8aC1a775DA25E50391718C1457d07ac on base
to local files under folders ".,node_modules"

match   @openzeppelin/contracts/token/ERC20/IERC20.sol
match   @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol
match   @openzeppelin/contracts/utils/Address.sol
match   @openzeppelin/contracts/utils/math/Math.sol
match   @openzeppelin/contracts/utils/math/SafeCast.sol
match   @openzeppelin/contracts/utils/math/SafeMath.sol
match   contracts/governance/Governable.sol
match   contracts/interfaces/aerodrome/ICLGauge.sol
match   contracts/interfaces/aerodrome/ICLPool.sol
match   contracts/interfaces/aerodrome/INonfungiblePositionManager.sol
match   contracts/interfaces/aerodrome/ISugarHelper.sol
match   contracts/interfaces/aerodrome/ISwapRouter.sol
match   contracts/interfaces/IBasicToken.sol
match   contracts/interfaces/IStrategy.sol
match   contracts/interfaces/IVault.sol
match   contracts/strategies/aerodrome/AerodromeAMOStrategy.sol
match   contracts/token/OUSD.sol
match   contracts/utils/Helpers.sol
match   contracts/utils/Initializable.sol
match   contracts/utils/InitializableAbstractStrategy.sol
match   contracts/utils/InitializableERC20Detailed.sol
match   contracts/utils/StableMath.sol
match   contracts/vault/VaultStorage.sol