摘要: const { ethers, deployments, upgrades } = require("hardhat"); const { expect } = require("chai"); describe("Test upgrade", async function () { it("Sho 阅读全文
posted @ 2025-08-26 23:53 Lucas_coming 阅读(9) 评论(0) 推荐(0)
摘要: const { ethers, deployments } = require("hardhat") const { expect } = require("chai") describe("Test auction", async function () { it("Should be ok", 阅读全文
posted @ 2025-08-26 23:53 Lucas_coming 阅读(5) 评论(0) 推荐(0)
摘要: const { ethers, upgrades } = require("hardhat") const fs = require("fs") const path = require("path") module.exports = async function ({ getNamedAccou 阅读全文
posted @ 2025-08-26 23:52 Lucas_coming 阅读(5) 评论(0) 推荐(0)
摘要: const { deployments, upgrades, ethers } = require("hardhat"); const fs = require("fs"); const path = require("path"); module.exports = async ({ getNam 阅读全文
posted @ 2025-08-26 23:50 Lucas_coming 阅读(8) 评论(0) 推荐(0)
摘要: // SPDX-License-Identifier: SEE LICENSE IN LICENSE pragma solidity ^0.8; import "./NftAuction.sol"; contract NftAuctionV2 is NftAuction { function tes 阅读全文
posted @ 2025-08-26 23:48 Lucas_coming 阅读(8) 评论(0) 推荐(0)
摘要: // SPDX-License-Identifier: MIT pragma solidity ^0.8; import "./NftAuction.sol"; contract NftAuctionFactory { address[] public auctions; mapping (uint 阅读全文
posted @ 2025-08-26 23:47 Lucas_coming 阅读(5) 评论(0) 推荐(0)
摘要: // SPDX-License-Identifier: SEE LICENSE IN LICENSE pragma solidity ^0.8; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; i 阅读全文
posted @ 2025-08-26 23:46 Lucas_coming 阅读(10) 评论(0) 推荐(0)