dsa-governance/deployments/mainnet_1/PayloadIGP8.json

1 line
64 KiB
JSON
Raw Permalink Normal View History

2024-03-03 05:10:34 +00:00
{"metadata":"{\"defaultCompiler\":{\"version\":\"0.7.3\"},\"sources\":{\"contracts/payloads/IGP8/PayloadIGP8.sol\":{\"content\":\"pragma solidity ^0.7.0;\\npragma experimental ABIEncoderV2;\\n\\ninterface IGovernorBravo {\\n function _acceptAdmin() external;\\n\\n function _setVotingDelay(uint newVotingDelay) external;\\n\\n function _setVotingPeriod(uint newVotingPeriod) external;\\n\\n function _acceptAdminOnTimelock() external;\\n\\n function _setImplementation(address implementation_) external;\\n\\n function propose(\\n address[] memory targets,\\n uint[] memory values,\\n string[] memory signatures,\\n bytes[] memory calldatas,\\n string memory description\\n ) external returns (uint);\\n\\n function admin() external view returns (address);\\n\\n function pendingAdmin() external view returns (address);\\n\\n function timelock() external view returns (address);\\n\\n function votingDelay() external view returns (uint256);\\n\\n function votingPeriod() external view returns (uint256);\\n}\\n\\ninterface ITimelock {\\n function acceptAdmin() external;\\n\\n function setDelay(uint delay_) external;\\n\\n function setPendingAdmin(address pendingAdmin_) external;\\n\\n function queueTransaction(\\n address target,\\n uint value,\\n string memory signature,\\n bytes memory data,\\n uint eta\\n ) external returns (bytes32);\\n\\n function executeTransaction(\\n address target,\\n uint value,\\n string memory signature,\\n bytes memory data,\\n uint eta\\n ) external payable returns (bytes memory);\\n\\n function pendingAdmin() external view returns (address);\\n\\n function admin() external view returns (address);\\n\\n function delay() external view returns (uint256);\\n}\\n\\ninterface IInstaIndex {\\n function changeMaster(address _newMaster) external;\\n\\n function updateMaster() external;\\n\\n function master() external view returns (address);\\n}\\n\\ninterface ILite {\\n function setAdmin(address newAdmin) external;\\n\\n function getAdmin() external view returns (address);\\n\\n function removeImplementation(address implementation_) external;\\n\\n function addImplementation(\\n address implementation_,\\n bytes4[] calldata sigs_\\n ) external;\\n\\n function setDummyImplementation(address newDummyImplementation_) external;\\n\\n function updateMaxRiskRatio(\\n uint8[] memory protocolId_,\\n uint256[] memory newRiskRatio_\\n ) external;\\n\\n function updateAggrMaxVaultRatio(uint256 newAggrMaxVaultRatio_) external;\\n}\\n\\ninterface IDSAV2 {\\n function cast(\\n string[] memory _targetNames,\\n bytes[] memory _datas,\\n address _origin\\n ) external payable returns (bytes32);\\n\\n function isAuth(address user) external view returns (bool);\\n}\\n\\ncontract PayloadIGP8 {\\n uint256 public constant PROPOSAL_ID = 8;\\n\\n address public constant PROPOSER =\\n 0xA45f7bD6A5Ff45D31aaCE6bCD3d426D9328cea01;\\n\\n IGovernorBravo public constant GOVERNOR =\\n IGovernorBravo(0x0204Cd037B2ec03605CFdFe482D8e257C765fA1B);\\n ITimelock public immutable TIMELOCK =\\n ITimelock(0x2386DC45AdDed673317eF068992F19421B481F4c);\\n\\n address public immutable ADDRESS_THIS;\\n\\n ILite public constant LITE =\\n ILite(0xA0D3707c569ff8C87FA923d3823eC5D81c98Be78);\\n\\n address internal constant OLD_USER_MODULE =\\n 0xFF93C10FB34f7069071D0679c45ed77A98f37f21;\\n address internal constant OLD_ADMIN_MODULE =\\n 0x06feaa505193e987B12f161F1dB73b1D4d604001;\\n address internal constant OLD_LEVERAGE_MODULE =\\n 0xA18519a6bb1282954e933DA0A775924E4CcE6019;\\n address internal constant OLD_REBALANCER_MODULE =\\n 0xc6639CE123d779fE6eA545B70CbDc1dCA421740d;\\n address internal constant OLD_REFINANCE_MODULE =\\n 0x390936658cB9B73ca75c6c02D5EF88b958D38241;\\n address internal constant OLD_DSA