pyth-crosschain/ethereum/migrations/prod/11_pyth_renounce_ownership.js

16 lines
407 B
JavaScript

const loadEnv = require("../../scripts/loadEnv");
loadEnv("../../");
const PythUpgradable = artifacts.require("PythUpgradable");
/**
* Version 1.0.0 - 2nd step
*
* This change:
* - Renounce single ownership, the contract will be managed by only the governance
*/
module.exports = async function (_deployer) {
const proxy = await PythUpgradable.deployed();
await proxy.renounceOwnership();
}