Skip to content

Commit

Permalink
activity points contract updated; mainnet deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed Feb 2, 2024
1 parent 89b379e commit f1fddd9
Show file tree
Hide file tree
Showing 47 changed files with 77 additions and 96 deletions.
15 changes: 0 additions & 15 deletions contracts/activity-points/ActivityPoints.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ interface IStats {
contract ActivityPoints is OwnableWithManagers {
address public statsAddress; // stats for NFT launchpad, Friend Keys, Swap etc.
address public mintedPostsStatsAddress;
address public tldStatsAddress;

uint256 public bonusWeiTotal; // total bonus wei (without multiplier)

Expand All @@ -34,15 +33,13 @@ contract ActivityPoints is OwnableWithManagers {
constructor(
address _statsAddress,
address _mintedPostsStatsAddress,
address _tldStatsAddress,
uint256 _multiplier,
address _sfsAddress,
uint256 _tokenId
) {
ISFS(_sfsAddress).assign(_tokenId);
statsAddress = _statsAddress;
mintedPostsStatsAddress = _mintedPostsStatsAddress;
tldStatsAddress = _tldStatsAddress;
multiplier = _multiplier;
}

Expand All @@ -67,10 +64,6 @@ contract ActivityPoints is OwnableWithManagers {
totalWeiSpent += IStats(mintedPostsStatsAddress).getWeiSpent(_user);
}

if (tldStatsAddress != address(0)) {
totalWeiSpent += IStats(tldStatsAddress).getWeiSpent(_user);
}

return totalWeiSpent;
}

Expand All @@ -85,10 +78,6 @@ contract ActivityPoints is OwnableWithManagers {
totalWeiSpent += IStats(mintedPostsStatsAddress).weiSpentTotal();
}

if (tldStatsAddress != address(0)) {
totalWeiSpent += IStats(tldStatsAddress).weiSpentTotal();
}

return totalWeiSpent;
}

Expand Down Expand Up @@ -133,9 +122,5 @@ contract ActivityPoints is OwnableWithManagers {
function setStatsAddress(address _statsAddress) external onlyManagerOrOwner {
statsAddress = _statsAddress;
}

function setTldStatsAddress(address _tldStatsAddress) external onlyManagerOrOwner {
tldStatsAddress = _tldStatsAddress;
}

}
12 changes: 5 additions & 7 deletions scripts/activity-points/activityPoints.deploy.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
// npx hardhat run scripts/activity-points/activityPoints.deploy.js --network modeTestnet
// npx hardhat run scripts/activity-points/activityPoints.deploy.js --network modeMainnet

const contractName = "ActivityPoints";

const statsAddress = ""; // stats contract
const mintedPostsStatsAddress = "";
const tldStatsAddress = "";
const statsAddress = "0x63f8691b048e68E1C3d6E135aDc81291A9bb1987"; // stats contract (not middleware)
const mintedPostsStatsAddress = "0x2D4144B4E00cf1dC1c4DeDa37cb1CaCEda030998";
const multiplier = 100000; // 1 wei = 100000 points

const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 286; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
Expand All @@ -26,7 +25,6 @@ async function main() {
const instance = await contract.deploy(
statsAddress,
mintedPostsStatsAddress,
tldStatsAddress,
multiplier,
sfsAddress,
sfsNftTokenId
Expand All @@ -35,7 +33,7 @@ async function main() {
console.log(contractName + " contract address:", instance.address);

console.log("Wait a minute and then run this command to verify contracts on block explorer:");
console.log("npx hardhat verify --network " + network.name + " " + instance.address + " " + statsAddress + " " + mintedPostsStatsAddress + " " + tldStatsAddress + ' "' + multiplier + '" ' + sfsAddress + ' "' + sfsNftTokenId + '"');
console.log("npx hardhat verify --network " + network.name + " " + instance.address + " " + statsAddress + " " + mintedPostsStatsAddress + ' "' + multiplier + '" ' + sfsAddress + ' "' + sfsNftTokenId + '"');
}

main()
Expand Down
4 changes: 2 additions & 2 deletions scripts/activity-points/activityPointsAlt.deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/activity-points/activityPointsAlt.deploy.js --network modeTestnet
// npx hardhat run scripts/activity-points/activityPointsAlt.deploy.js --network modeMainnet

const contractName = "ActivityPointsAlt";

Expand All @@ -7,7 +7,7 @@ const mintedPostsStatsAddress = "";
const tldStatsAddress = "";
const multiplier = 100000; // 1 wei = 100000 points
const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 286; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
Expand Down
2 changes: 1 addition & 1 deletion scripts/activity-points/apLeaderboardFairchat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/activity-points/apLeaderboardFairchat.js --network modeTestnet
// npx hardhat run scripts/activity-points/apLeaderboardFairchat.js --network modeMainnet

const contractName = "ActivityPoints";

Expand Down
2 changes: 1 addition & 1 deletion scripts/activity-points/calls.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/activity-points/calls.js --network modeTestnet
// npx hardhat run scripts/activity-points/calls.js --network modeMainnet

const contractName = "ActivityPoints";

Expand Down
2 changes: 1 addition & 1 deletion scripts/custom/minterV2ambassadors.deploy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Deploy minter V2 contract
// npx hardhat run scripts/custom/minterV2ambassadors.deploy.js --network modeTestnet
// npx hardhat run scripts/custom/minterV2ambassadors.deploy.js --network modeMainnet
// It will automatically set different fees (if needed) and set the staking contract address (if needed).
// It will also automatically add the minter to the ChatTokenMinter contract and change the minter address in the post contract.
// If any of these actions fail, you must do them manually.
Expand Down
2 changes: 1 addition & 1 deletion scripts/distributor/distributor.deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/distributor/distributor.deploy.js --network modeTestnet
// npx hardhat run scripts/distributor/distributor.deploy.js --network modeMainnet

const contractName = "RevenueDistributor";

Expand Down
4 changes: 2 additions & 2 deletions scripts/distributor/distributorFactory.deploy.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// npx hardhat run scripts/distributor/distributorFactory.deploy.js --network modeTestnet
// npx hardhat run scripts/distributor/distributorFactory.deploy.js --network modeMainnet

const contractName = "RevenueDistributorFactory";

const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 285; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
Expand Down
4 changes: 2 additions & 2 deletions scripts/keys/1_friendKeys.deploy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 1. Deploy FriendKeys contract and automatically add it's address to the Stats middleware contract.
// npx hardhat run scripts/keys/1_friendKeys.deploy.js --network modeTestnet
// npx hardhat run scripts/keys/1_friendKeys.deploy.js --network modeMainnet

const contractName = "FriendKeys";

Expand All @@ -8,7 +8,7 @@ const feeReceiver = "0xf0b0D10BE9fb96D139090cfeD4124b74c4D2217B"; // distributor
const statsAddress = ""; // stats middleware contract address

const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 286; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
Expand Down
4 changes: 2 additions & 2 deletions scripts/launchpad/erc721/1_nftMetadata.deploy.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// 1. Deploy NftMetadata contract.
// npx hardhat run scripts/launchpad/erc721/1_nftMetadata.deploy.js --network modeTestnet
// npx hardhat run scripts/launchpad/erc721/1_nftMetadata.deploy.js --network modeMainnet

const contractName = "NftMetadata";

const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 286; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
Expand Down
4 changes: 2 additions & 2 deletions scripts/launchpad/erc721/2_nftDirectory.deploy.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// 2. Deploy NftDirectory contract.
// npx hardhat run scripts/launchpad/erc721/2_nftDirectory.deploy.js --network modeTestnet
// npx hardhat run scripts/launchpad/erc721/2_nftDirectory.deploy.js --network modeMainnet

const contractName = "NftDirectory";

const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 286; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
Expand Down
4 changes: 2 additions & 2 deletions scripts/launchpad/erc721/3_launchpadBonding.deploy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 3. Deploy IggyLaunchpad721Bonding contract.
// npx hardhat run scripts/launchpad/erc721/3_launchpadBonding.deploy.js --network modeTestnet
// npx hardhat run scripts/launchpad/erc721/3_launchpadBonding.deploy.js --network modeMainnet

const contractName = "IggyLaunchpad721Bonding";

Expand All @@ -11,7 +11,7 @@ const statsMiddlewareAddress = "";
const mintingFeePercentage = ethers.utils.parseEther("0.02");

const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 286; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
Expand Down
2 changes: 1 addition & 1 deletion scripts/launchpad/erc721/4_verifyNftContract.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// TODO:
// 1. Create the first NFT collection through the factory.
// 2. Verify the contract on block explorer using this script (run the command below).
// Run: npx hardhat run scripts/launchpad/erc721/4_verifyNftContract.js --network modeTestnet
// Run: npx hardhat run scripts/launchpad/erc721/4_verifyNftContract.js --network modeMainnet

const contractAddress = "";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Deploy NftMetadata contract for multiple onchain images
// npx hardhat run scripts/launchpad/erc721/other/NftMetadataOnchainMultipleImages.deploy.js --network modeTestnet
// npx hardhat run scripts/launchpad/erc721/other/NftMetadataOnchainMultipleImages.deploy.js --network modeMainnet

const contractName = "NftMetadataOnchainMultipleImages";

Expand All @@ -10,7 +10,7 @@ const image = "https://bafkreihn7v7ugcu4yjnapsha3tij4cq7qatj2wjofpvxlkp6s4sl5nuj
const nftname = "et_puis BK";

const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 286; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
Expand Down
2 changes: 1 addition & 1 deletion scripts/launchpad/erc721/other/addOldNftsToNewLaunchpad.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Add NFTs from the old launchpad to the new one
// npx hardhat run scripts/launchpad/erc721/other/addOldNftsToNewLaunchpad.js --network modeTestnet
// npx hardhat run scripts/launchpad/erc721/other/addOldNftsToNewLaunchpad.js --network modeMainnet

const launchpadContractName = "IggyLaunchpad721Bonding";
const newLaunchpadAddress = "";
Expand Down
2 changes: 1 addition & 1 deletion scripts/launchpad/erc721/other/calls.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/launchpad/erc721/other/calls.js --network modeTestnet
// npx hardhat run scripts/launchpad/erc721/other/calls.js --network modeMainnet

const contractName = "IggyLaunchpad721Bonding";

Expand Down
2 changes: 1 addition & 1 deletion scripts/launchpad/erc721/other/nftRaffle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// script to select 10 random winners from a list of NFT holders and creators
// npx hardhat run scripts/launchpad/erc721/other/nftRaffle.js --network modeTestnet
// npx hardhat run scripts/launchpad/erc721/other/nftRaffle.js --network modeMainnet

const { ethers } = require("hardhat");

Expand Down
4 changes: 2 additions & 2 deletions scripts/merkle/merkleClaimerERC721.deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/merkle/merkleClaimerERC721.deploy.js --network modeTestnet
// npx hardhat run scripts/merkle/merkleClaimerERC721.deploy.js --network modeMainnet

const data = require("./claimers.json");
const { StandardMerkleTree } = require("@openzeppelin/merkle-tree");
Expand All @@ -9,7 +9,7 @@ const nftContractName = "EarlyStakerNft"; // TODO: Update this contract name
const nftAddress = ""; // TODO: address of deployed nft contract

const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 286; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
Expand Down
2 changes: 1 addition & 1 deletion scripts/mock/mockCreateGovernanceProposal.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/mock/mockCreateGovernanceProposal.js --network modeTestnet
// npx hardhat run scripts/mock/mockCreateGovernanceProposal.js --network modeMainnet

const tokenAddress = "0x633Ae857445cF0cd02B21C6a3033C7CE74fB32c2"; // governance token contract address
const governorAddress = "0x06A7Ab7Bb68b0ad6eB7688C5781E60BE6AFc658d"; // governor contract address
Expand Down
2 changes: 1 addition & 1 deletion scripts/mock/mockERC721.deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/mock/mockERC721.deploy.js --network modeTestnet
// npx hardhat run scripts/mock/mockERC721.deploy.js --network modeMainnet

const contractName = "MockErc721WithMinter";

Expand Down
2 changes: 1 addition & 1 deletion scripts/mock/mockGovernorBlock.deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/mock/mockGovernorBlock.deploy.js --network modeTestnet
// npx hardhat run scripts/mock/mockGovernorBlock.deploy.js --network modeMainnet

const contractName = "MockGovernorBlock";

Expand Down
2 changes: 1 addition & 1 deletion scripts/mock/mockToken.deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/mock/mockToken.deploy.js --network modeTestnet
// npx hardhat run scripts/mock/mockToken.deploy.js --network modeMainnet

const contractName = "MockErc20TokenDecimals";

Expand Down
2 changes: 1 addition & 1 deletion scripts/mock/mockTokenVotingBlock.deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/mock/mockTokenVotingBlock.deploy.js --network modeTestnet
// npx hardhat run scripts/mock/mockTokenVotingBlock.deploy.js --network modeMainnet

const contractName = "MockErc20TokenVotingBlock";

Expand Down
2 changes: 1 addition & 1 deletion scripts/mock/mockTokenWithPool.deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/mock/mockTokenWithPool.deploy.js --network modeTestnet
// npx hardhat run scripts/mock/mockTokenWithPool.deploy.js --network modeMainnet

const contractName = "MockErc20TokenDecimals";

Expand Down
4 changes: 2 additions & 2 deletions scripts/nft/early-stakers/earlyStakerNft.deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/nft/early-stakers/earlyStakerNft.deploy.js --network modeTestnet
// npx hardhat run scripts/nft/early-stakers/earlyStakerNft.deploy.js --network modeMainnet

const data = require("./claimers.json");
const { StandardMerkleTree } = require("@openzeppelin/merkle-tree");
Expand All @@ -24,7 +24,7 @@ const merkleRoot = String(tree.root);
console.log("Merkle root: " + merkleRoot);

const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 286; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
Expand Down
2 changes: 1 addition & 1 deletion scripts/nft/early-stakers/onlyMetadata.deploy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/nft/early-stakers/onlyMetadata.deploy.js --network modeTestnet
// npx hardhat run scripts/nft/early-stakers/onlyMetadata.deploy.js --network modeMainnet

const contractName = "EarlyStakerMetadata";

Expand Down
2 changes: 1 addition & 1 deletion scripts/other/manager/addManager.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// npx hardhat run scripts/other/manager/addManager.js --network modeTestnet
// npx hardhat run scripts/other/manager/addManager.js --network modeMainnet

const managerAddress = "";

Expand Down
6 changes: 3 additions & 3 deletions scripts/post/IggyPostNft1155/1_metadata.deploy.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// 1. Deploy metadata contract
// npx hardhat run scripts/post/IggyPostNft1155/1_metadata.deploy.js --network modeTestnet
// npx hardhat run scripts/post/IggyPostNft1155/1_metadata.deploy.js --network modeMainnet

const contractName = "IggyPostMetadata";

const mdName = "ModeChat Post";
const description = "ModeChat.xyz is the first decentralized social network on the Mode Network. Go visit here: https://modechat.xyz/";
const url = "https://modechat.xyz/post/";
const tldAddress = "";
const tldAddress = "0x523a7050df3DC7E96B7faAF4dDECCc244d886a90";

const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 286; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
Expand Down
4 changes: 2 additions & 2 deletions scripts/post/IggyPostNft1155/1_metadataStaticColor.deploy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 1. Deploy metadata contract
// npx hardhat run scripts/post/IggyPostNft1155/1_metadataStaticColor.deploy.js --network modeTestnet
// npx hardhat run scripts/post/IggyPostNft1155/1_metadataStaticColor.deploy.js --network modeMainnet

const contractName = "IggyPostMetadataStaticColor";

Expand All @@ -9,7 +9,7 @@ const description = "ModeChat.xyz is the first decentralized social network on M
const url = "https://modechat.xyz/post/";
const tldAddress = "";
const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 286; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
Expand Down
8 changes: 4 additions & 4 deletions scripts/post/IggyPostNft1155/2_iggyPostNft1155.deploy.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// 2. Deploy NFT contract
// npx hardhat run scripts/post/IggyPostNft1155/2_iggyPostNft1155.deploy.js --network modeTestnet
// npx hardhat run scripts/post/IggyPostNft1155/2_iggyPostNft1155.deploy.js --network modeMainnet

const contractName = "IggyPostNft1155";

const defaultPrice = ethers.utils.parseEther("0.00001"); // TODO: change price!!!
const defaultPrice = ethers.utils.parseEther("0.0003"); // TODO: change price!!!
const sfsAddress = (network.name == "modeTestnet") ? "0xBBd707815a7F7eb6897C7686274AFabd7B579Ff6" : "0x8680CEaBcb9b56913c519c069Add6Bc3494B7020";
const sfsNftTokenId = 0; // TODO: Enter SFS NFT token ID!!!
const sfsNftTokenId = 286; // TODO: Enter SFS NFT token ID!!!

if (sfsNftTokenId == 0) {
console.log("Please enter SFS NFT token ID!!!");
return;
}

const metadataAddress = "";
const metadataAddress = "0x06A7Ab7Bb68b0ad6eB7688C5781E60BE6AFc658d";
const collectionName = "ModeChat Posts";
const collectionSymbol = "MODECHATPOST";

Expand Down
Loading

0 comments on commit f1fddd9

Please sign in to comment.