Skip to content

Commit

Permalink
renames rollout script
Browse files Browse the repository at this point in the history
updates new addresses

Signed-off-by: stadolf <[email protected]>
  • Loading branch information
elmariachi111 committed Jan 16, 2024
1 parent 77f960f commit dd56cac
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

import "forge-std/Script.sol";
import {Tokenizer} from '../../src/Tokenizer.sol';
import { Tokenizer } from "../../src/Tokenizer.sol";
import { IPToken } from "../../src/IPToken.sol";
import { console } from "forge-std/console.sol";

contract UpgradeTokenizer11_12 is Script {

contract RolloutTokenizerV12 is Script {
function run() public {
vm.startBroadcast();

IPToken newIpTokenImplementation = new IPToken();
Tokenizer newTokenizerImplementation = new Tokenizer();

bytes memory upgradeCallData = abi.encodeWithSelector(Tokenizer.setIPTokenImplementation.selector, address(newIpTokenImplementation));

console.log("NEWTOKENIMPLEMENTATION=%s", address(newIpTokenImplementation));
console.log("NEWTOKENIZER=%s", address(newTokenizerImplementation));
console.logBytes(upgradeCallData);

vm.stopBroadcast();
}
}
}

0 comments on commit dd56cac

Please sign in to comment.