Skip to content

Commit

Permalink
chore: add fps audit, add mainnet safe addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
jparklev committed Apr 25, 2024
1 parent 473ee76 commit e757804
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Binary file added audits/2024.04.25 FPS Points Tokenization.pdf
Binary file not shown.
12 changes: 8 additions & 4 deletions contracts/script/PointTokenVault.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,20 @@ contract PointTokenVaultScripts is BatchScript {

address public SEOPLIA_MERKLE_BOT_SAFE = 0xec48011b60be299A2684F36Bdb3B498a61A6CbF3;
address public SEPOLIA_OPERATOR_SAFE = 0xec48011b60be299A2684F36Bdb3B498a61A6CbF3;
address public SEOPLIA_ADMIN_SAFE = 0xec48011b60be299A2684F36Bdb3B498a61A6CbF3; // todo: change to actual admin safe
address public SEOPLIA_ADMIN_SAFE = 0xec48011b60be299A2684F36Bdb3B498a61A6CbF3;

address public MAINNET_MERKLE_UPDATER = 0xfDE9f367c933A7D7E7348D4a3e6e096d814F5828;
address public MAINNET_OPERATOR = 0x0c0264Ba7799dA7aF0fd141ba5Ba976E6DcC6C17;
address public MAINNET_ADMIN = 0x9D89745fD63Af482ce93a9AdB8B0BbDbb98D3e06;

string public VERSION = "0.0.1";

function run() public returns (address) {
uint256 deployerPrivateKey = vm.envUint("DEPLOYER_PRIVATE_KEY");

string memory version = vm.prompt("Enter PointTokenVault version:");

vm.startBroadcast(deployerPrivateKey);

PointTokenVault pointTokenVault = run(version);
PointTokenVault pointTokenVault = run(VERSION);

// Set roles
pointTokenVault.grantRole(pointTokenVault.MERKLE_UPDATER_ROLE(), SEOPLIA_MERKLE_BOT_SAFE);
Expand Down

0 comments on commit e757804

Please sign in to comment.