add view function
This commit is contained in:
@@ -12,7 +12,7 @@ contract TestFun is Script {
|
||||
function run() external {
|
||||
|
||||
address from = 0xa013422A5918CD099C63c8CC35283EACa99a705d;
|
||||
address to = 0x7f9eEA491eE53045594ee4669327f0355aCd0e58;
|
||||
address to = 0x20B94C5E5b7361552E0548161a58696aA6FeDBd4;
|
||||
|
||||
bytes memory data = hex"7229bc3c0000000000000000000000000000000000000000000000000de0b6b3a7640000";
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ async function main() {
|
||||
console.log("🔄 Phase 2: 验证升级结果");
|
||||
|
||||
console.log(" YTPoolManager Proxy (不变):", upgradedYTPoolManagerAddress);
|
||||
console.log(" Owner:", await upgradedYTPoolManager.owner());
|
||||
console.log(" Gov:", await upgradedYTPoolManager.gov());
|
||||
console.log("");
|
||||
|
||||
// ========== 保存更新的部署信息 ==========
|
||||
|
||||
Reference in New Issue
Block a user