Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
deploy payload, update test, script & .md
Browse files Browse the repository at this point in the history
  • Loading branch information
defijesus committed Sep 26, 2023
1 parent e94ed4a commit dfea1e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {AgdAllowanceModification_20230817} from './AgdAllowanceModification_2023

contract AgdAllowanceModification_20230817_Test is ProtocolV2TestBase {
function setUp() public {
vm.createSelectFork(vm.rpcUrl('mainnet'), 18166945);
vm.createSelectFork(vm.rpcUrl('mainnet'), 18219922);
}

function testpayload() public {
Expand All @@ -33,7 +33,7 @@ contract AgdAllowanceModification_20230817_Test is ProtocolV2TestBase {
uint256 aDaiAllowanceBefore = IERC20(AaveV2EthereumAssets.DAI_A_TOKEN)
.allowance(address(AaveV2Ethereum.COLLECTOR), AGD_MULTISIG);

AgdAllowanceModification_20230817 payload = new AgdAllowanceModification_20230817();
AgdAllowanceModification_20230817 payload = AgdAllowanceModification_20230817(0x7fBA17dA9A96Fb77a86229C975C91dEd11dAFa60);

GovHelpers.executePayload(vm, address(payload), AaveGovernanceV2.SHORT_EXECUTOR);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ A list of relevant links like for this proposal:
* [Snapshot](https://snapshot.org/#/aave.eth/proposal/0x53728c0416a9063bf833f90c3b3169fa4387e66549d5eb2b7ed2747bfe7c23fc)
* [Test Cases](https://github.com/bgd-labs/aave-proposals/tree/main/src/AgdAllowanceModification_20230817/AgdAllowanceModification_20230817.t.sol)
* [Payload Implementation](https://github.com/bgd-labs/aave-proposals/tree/main/src/AgdAllowanceModification_20230817/AgdAllowanceModification_20230817.sol)
* [Deployed Contracts](TODO)
* [Deployed Contracts](https://etherscan.io/address/0x7fba17da9a96fb77a86229c975c91ded11dafa60)

The proposal Payload was reviewed by [Bored Ghost Developing](https://bgdlabs.com/).

Expand Down
2 changes: 1 addition & 1 deletion src/AgdAllowanceModification_20230817/Scripts.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ contract ProposePayload is EthereumScript {
function run() external broadcast {
GovHelpers.Payload[] memory payloads = new GovHelpers.Payload[](1);
payloads[0] = GovHelpers.buildMainnet(
address(0) // TODO
0x7fBA17dA9A96Fb77a86229C975C91dEd11dAFa60
);
GovHelpers.createProposal(
payloads,
Expand Down

0 comments on commit dfea1e7

Please sign in to comment.