diff --git a/contracts/Artgene721Base.sol b/contracts/Artgene721Base.sol index b740bcda..3b01ab83 100644 --- a/contracts/Artgene721Base.sol +++ b/contracts/Artgene721Base.sol @@ -97,7 +97,7 @@ contract Artgene721Base is 0x1E0049783F008A0085193E00003D00cd54003c71; uint256 public PLATFORM_FEE; // of 10,000 - address payable PLATFORM_ADDRESS; + address payable PLATFORM_TREASURY; uint256 public startTimestamp = SALE_STARTS_AT_INFINITY; @@ -167,7 +167,7 @@ contract Artgene721Base is maxPerMint = MAX_PER_MINT_LIMIT; isOpenSeaProxyActive = true; - (PLATFORM_FEE, PLATFORM_ADDRESS) = IArtgenePlatform(ARTGENE_PLATFORM_ADDRESS).getPlatformInfo(); + (PLATFORM_FEE, PLATFORM_TREASURY) = IArtgenePlatform(ARTGENE_PLATFORM_ADDRESS).getPlatformInfo(); _configure( _config.publicPrice, @@ -575,7 +575,7 @@ contract Artgene721Base is modifier onlyDeveloper() { require( - payable(msg.sender) == PLATFORM_ADDRESS, + payable(msg.sender) == PLATFORM_TREASURY, "Caller is not developer" ); _; @@ -586,7 +586,7 @@ contract Artgene721Base is uint256 amount = (balance * (10000 - PLATFORM_FEE)) / 10000; address payable receiver = getPayoutReceiver(); - address payable dev = PLATFORM_ADDRESS; + address payable dev = PLATFORM_TREASURY; Address.sendValue(receiver, amount); Address.sendValue(dev, balance - amount); @@ -606,7 +606,7 @@ contract Artgene721Base is uint256 amount = (balance * (10000 - PLATFORM_FEE)) / 10000; address payable receiver = getPayoutReceiver(); - address payable dev = PLATFORM_ADDRESS; + address payable dev = PLATFORM_TREASURY; token.safeTransfer(receiver, amount); token.safeTransfer(dev, balance - amount); diff --git a/contracts/Artgene721Implementation.sol b/contracts/Artgene721Implementation.sol index acabd9bd..afefd131 100644 --- a/contracts/Artgene721Implementation.sol +++ b/contracts/Artgene721Implementation.sol @@ -103,7 +103,7 @@ contract Artgene721Implementation is uint256 public startTimestamp; uint256 public PLATFORM_FEE; // of 10,000 - address payable PLATFORM_ADDRESS; + address payable PLATFORM_TREASURY; uint256 public reserved; uint256 public maxSupply; @@ -168,7 +168,7 @@ contract Artgene721Implementation is isOpenSeaProxyActive = true; isOpenSeaTransferFilterEnabled = true; - (PLATFORM_FEE, PLATFORM_ADDRESS) = IArtgenePlatform(ARTGENE_PLATFORM_ADDRESS).getPlatformInfo(); + (PLATFORM_FEE, PLATFORM_TREASURY) = IArtgenePlatform(ARTGENE_PLATFORM_ADDRESS).getPlatformInfo(); __ERC721A_init(_name, _symbol); __ReentrancyGuard_init(); @@ -596,7 +596,7 @@ contract Artgene721Implementation is modifier onlyDeveloper() { require( - payable(msg.sender) == PLATFORM_ADDRESS, + payable(msg.sender) == PLATFORM_TREASURY, "Caller is not developer" ); _; @@ -607,7 +607,7 @@ contract Artgene721Implementation is uint256 amount = (balance * (10000 - PLATFORM_FEE)) / 10000; address payable receiver = getPayoutReceiver(); - address payable platform = PLATFORM_ADDRESS; + address payable platform = PLATFORM_TREASURY; Address.sendValue(receiver, amount); Address.sendValue(platform, balance - amount); @@ -627,7 +627,7 @@ contract Artgene721Implementation is uint256 amount = (balance * (10000 - PLATFORM_FEE)) / 10000; address payable receiver = getPayoutReceiver(); - address payable platform = PLATFORM_ADDRESS; + address payable platform = PLATFORM_TREASURY; token.safeTransfer(receiver, amount); token.safeTransfer(platform, balance - amount); diff --git a/scripts/deploy-proxy.ts b/scripts/deploy-proxy.ts index 0d704692..9177e059 100644 --- a/scripts/deploy-proxy.ts +++ b/scripts/deploy-proxy.ts @@ -166,6 +166,7 @@ export async function main() { // skip waiting if running on hardhat network if (hre.network.name == "hardhat") { + console.log("Skipping verification on hardhat network"); return; }