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

15 lines
385 B
JavaScript

require('dotenv').config({ path: "../.env" });
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();
}