Skip to content

Commit

Permalink
👷✅ update SYNTHETIX_TREASURY
Browse files Browse the repository at this point in the history
  • Loading branch information
cmontecoding committed Nov 26, 2024
1 parent 6a012df commit ea0806d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Conversion.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ contract Conversion is IConversion {

/// @notice Address of the Synthetix treasury
address public constant SYNTHETIX_TREASURY =
0xa5f7a39E55D7878bC5bd754eE5d6BD7a7662355b; //todo: change to actual address
0xD25215758734dd3aDE497CE04De1c35820964126;

/// @notice Time at which the lock ends
/// @dev VESTING_START_TIME + VESTING_LOCK_DURATION
Expand Down
2 changes: 1 addition & 1 deletion test/utils/Bootstrap.sol
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ contract Bootstrap is Test, Constants {
conversion = Conversion(conversionAddress);
KWENTA = IERC20(kwenta);
SNX = IERC20(snx);
vm.prank(SYNTHETIX_TREASURY);
vm.prank(LARGEST_SNX_HOLDER);
SNX.transfer(conversionAddress, MINT_AMOUNT);
}
}
Expand Down
5 changes: 4 additions & 1 deletion test/utils/Constants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ pragma solidity 0.8.25;
/// @title Contract for defining constants used in testing
contract Constants {
address internal constant SYNTHETIX_TREASURY =
0xa5f7a39E55D7878bC5bd754eE5d6BD7a7662355b; //todo: change to actual address
0xD25215758734dd3aDE497CE04De1c35820964126;
/// @dev this is for testing setup purposes
address public constant LARGEST_SNX_HOLDER =
0xa5f7a39E55D7878bC5bd754eE5d6BD7a7662355b;
address internal constant KWENTA_TREASURY =
0x82d2242257115351899894eF384f779b5ba8c695;
address internal constant TEST_USER_1 = address(0x2);
Expand Down

0 comments on commit ea0806d

Please sign in to comment.