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 ab49b7e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ IP-NFTs allow their users to tokenize intellectual property. This repo contains

- Subgraph: <https://api.thegraph.com/subgraphs/name/moleculeprotocol/ip-nft-mainnet>

tokenizer implementation 2: 0x9C70FA8c87D7e94Fd63eeCCcA657D5c4224a36f3
tokenizer implementation 1.2: 0xE8701330F196FeFe415b28dAA767AB076F42557A
tokenizer implementation 1.1: 0x9C70FA8c87D7e94Fd63eeCCcA657D5c4224a36f3
iptoken implementation: 0x0d6866f3369e4825CE07F226A424F1c11861AdD1
ipnft implementation 2.4: 0x6B179Dffac5E190c670176606f552cB792847f80

Defender Relayer that signs off minting requests from our side:
Expand Down
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 ab49b7e

Please sign in to comment.