@keep-network/tbtc-v2 1.3.0-dev.1 → 1.3.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/BLS.json +1 -1
- package/artifacts/Bank.json +2 -2
- package/artifacts/BeaconAuthorization.json +1 -1
- package/artifacts/BeaconDkg.json +1 -1
- package/artifacts/BeaconDkgValidator.json +1 -1
- package/artifacts/BeaconInactivity.json +1 -1
- package/artifacts/BeaconSortitionPool.json +3 -3
- package/artifacts/Bridge.json +5 -5
- package/artifacts/BridgeGovernance.json +2 -2
- package/artifacts/BridgeGovernanceParameters.json +1 -1
- package/artifacts/Deposit.json +1 -1
- package/artifacts/DepositSweep.json +1 -1
- package/artifacts/DonationVault.json +1 -1
- package/artifacts/EcdsaDkgValidator.json +1 -1
- package/artifacts/EcdsaInactivity.json +1 -1
- package/artifacts/EcdsaSortitionPool.json +3 -3
- package/artifacts/Fraud.json +1 -1
- package/artifacts/KeepRegistry.json +1 -1
- package/artifacts/KeepStake.json +2 -2
- package/artifacts/KeepToken.json +2 -2
- package/artifacts/KeepTokenStaking.json +1 -1
- package/artifacts/LightRelay.json +2 -2
- package/artifacts/MaintainerProxy.json +2 -2
- package/artifacts/MovingFunds.json +1 -1
- package/artifacts/NuCypherStakingEscrow.json +1 -1
- package/artifacts/NuCypherToken.json +2 -2
- package/artifacts/RandomBeacon.json +2 -2
- package/artifacts/RandomBeaconChaosnet.json +2 -2
- package/artifacts/RandomBeaconGovernance.json +2 -2
- package/artifacts/Redemption.json +1 -1
- package/artifacts/ReimbursementPool.json +2 -2
- package/artifacts/T.json +2 -2
- package/artifacts/TBTC.json +2 -2
- package/artifacts/TBTCToken.json +2 -2
- package/artifacts/TBTCVault.json +2 -2
- package/artifacts/TokenStaking.json +1 -1
- package/artifacts/TokenholderGovernor.json +9 -9
- package/artifacts/TokenholderTimelock.json +8 -8
- package/artifacts/VendingMachine.json +2 -2
- package/artifacts/VendingMachineKeep.json +1 -1
- package/artifacts/VendingMachineNuCypher.json +1 -1
- package/artifacts/VendingMachineV2.json +2 -2
- package/artifacts/VendingMachineV3.json +2 -2
- package/artifacts/WalletCoordinator.json +792 -0
- package/artifacts/WalletRegistry.json +5 -5
- package/artifacts/WalletRegistryGovernance.json +2 -2
- package/artifacts/Wallets.json +1 -1
- package/deploy/34_deploy_wallet_coordinator.ts +43 -0
- package/deploy/35_transfer_wallet_coordinator_ownership.ts +19 -0
- package/export/deploy/34_deploy_wallet_coordinator.js +115 -0
- package/export/deploy/35_transfer_wallet_coordinator_ownership.js +60 -0
- package/package.json +1 -1
|
@@ -1891,7 +1891,7 @@
|
|
|
1891
1891
|
"transactionIndex": 0,
|
|
1892
1892
|
"gasUsed": "1047188",
|
|
1893
1893
|
"logsBloom": "0x00000000000000000000000000000000400000004040000000000000000000200040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000800000000000000000000000000000000000000000000000000000000800000000008000008000000000000000000000000000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000000000000000020000000020000000000040000000000000400000000000000000000000000000000000000000800000000000000000000000000000000000000000000",
|
|
1894
|
-
"blockHash": "
|
|
1894
|
+
"blockHash": "0xe0f07efe249e22c8d579619c361429433a8d8ac9a52a0c1b2abcf67ebad4dbe3",
|
|
1895
1895
|
"transactionHash": "0xa9307cf26c3c11c7cb31375b57517ed4cd0da1f2e9c49492b4339d577f36026d",
|
|
1896
1896
|
"logs": [
|
|
1897
1897
|
{
|
|
@@ -1905,7 +1905,7 @@
|
|
|
1905
1905
|
],
|
|
1906
1906
|
"data": "0x",
|
|
1907
1907
|
"logIndex": 0,
|
|
1908
|
-
"blockHash": "
|
|
1908
|
+
"blockHash": "0xe0f07efe249e22c8d579619c361429433a8d8ac9a52a0c1b2abcf67ebad4dbe3"
|
|
1909
1909
|
},
|
|
1910
1910
|
{
|
|
1911
1911
|
"transactionIndex": 0,
|
|
@@ -1917,7 +1917,7 @@
|
|
|
1917
1917
|
],
|
|
1918
1918
|
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8",
|
|
1919
1919
|
"logIndex": 1,
|
|
1920
|
-
"blockHash": "
|
|
1920
|
+
"blockHash": "0xe0f07efe249e22c8d579619c361429433a8d8ac9a52a0c1b2abcf67ebad4dbe3"
|
|
1921
1921
|
},
|
|
1922
1922
|
{
|
|
1923
1923
|
"transactionIndex": 0,
|
|
@@ -1929,7 +1929,7 @@
|
|
|
1929
1929
|
],
|
|
1930
1930
|
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
1931
1931
|
"logIndex": 2,
|
|
1932
|
-
"blockHash": "
|
|
1932
|
+
"blockHash": "0xe0f07efe249e22c8d579619c361429433a8d8ac9a52a0c1b2abcf67ebad4dbe3"
|
|
1933
1933
|
},
|
|
1934
1934
|
{
|
|
1935
1935
|
"transactionIndex": 0,
|
|
@@ -1941,7 +1941,7 @@
|
|
|
1941
1941
|
],
|
|
1942
1942
|
"data": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000afdacd509e73115ea1654b1a770f1a807e7c9c0",
|
|
1943
1943
|
"logIndex": 3,
|
|
1944
|
-
"blockHash": "
|
|
1944
|
+
"blockHash": "0xe0f07efe249e22c8d579619c361429433a8d8ac9a52a0c1b2abcf67ebad4dbe3"
|
|
1945
1945
|
}
|
|
1946
1946
|
],
|
|
1947
1947
|
"blockNumber": 44,
|
|
@@ -1963,7 +1963,7 @@
|
|
|
1963
1963
|
"transactionIndex": 0,
|
|
1964
1964
|
"gasUsed": "3938527",
|
|
1965
1965
|
"logsBloom": "0x00000000000000000002000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000002000800020000000000000000000800000000000000000000000000000000400000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000001000002000000000000000000000000",
|
|
1966
|
-
"blockHash": "
|
|
1966
|
+
"blockHash": "0x6c43f55b5f1f98b11e68b8944e55203d6c5be17641307b664cfe82ffe97cb58f",
|
|
1967
1967
|
"transactionHash": "0xd74f80e4f5e2effb2c65d08d07dd067de2196118911bc5019a89b375ffeac7c7",
|
|
1968
1968
|
"logs": [
|
|
1969
1969
|
{
|
|
@@ -1978,7 +1978,7 @@
|
|
|
1978
1978
|
],
|
|
1979
1979
|
"data": "0x",
|
|
1980
1980
|
"logIndex": 0,
|
|
1981
|
-
"blockHash": "
|
|
1981
|
+
"blockHash": "0x6c43f55b5f1f98b11e68b8944e55203d6c5be17641307b664cfe82ffe97cb58f"
|
|
1982
1982
|
}
|
|
1983
1983
|
],
|
|
1984
1984
|
"blockNumber": 48,
|
package/artifacts/Wallets.json
CHANGED
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"transactionIndex": 0,
|
|
112
112
|
"gasUsed": "911756",
|
|
113
113
|
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
114
|
-
"blockHash": "
|
|
114
|
+
"blockHash": "0x9342eb7510b10c1f36a309996f29aa66f8c2fdae3516e1bbe640e6ce0eb2823a",
|
|
115
115
|
"transactionHash": "0x87143fb9b08dfed311857a19256235b907381438c075ddf8f6b8f49a0221c3b3",
|
|
116
116
|
"logs": [],
|
|
117
117
|
"blockNumber": 62,
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { HardhatRuntimeEnvironment } from "hardhat/types"
|
|
2
|
+
import { DeployFunction } from "hardhat-deploy/types"
|
|
3
|
+
|
|
4
|
+
const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
|
|
5
|
+
const { deployments, ethers, getNamedAccounts, helpers } = hre
|
|
6
|
+
const { deployer } = await getNamedAccounts()
|
|
7
|
+
|
|
8
|
+
const Bridge = await deployments.get("Bridge")
|
|
9
|
+
|
|
10
|
+
const [walletCoordinator, proxyDeployment] =
|
|
11
|
+
await helpers.upgrades.deployProxy("WalletCoordinator", {
|
|
12
|
+
contractName: "WalletCoordinator",
|
|
13
|
+
initializerArgs: [Bridge.address],
|
|
14
|
+
factoryOpts: {
|
|
15
|
+
signer: await ethers.getSigner(deployer),
|
|
16
|
+
},
|
|
17
|
+
proxyOpts: {
|
|
18
|
+
kind: "transparent",
|
|
19
|
+
},
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
if (hre.network.tags.etherscan) {
|
|
23
|
+
// We use `verify` instead of `verify:verify` as the `verify` task is defined
|
|
24
|
+
// in "@openzeppelin/hardhat-upgrades" to perform Etherscan verification
|
|
25
|
+
// of Proxy and Implementation contracts.
|
|
26
|
+
await hre.run("verify", {
|
|
27
|
+
address: proxyDeployment.address,
|
|
28
|
+
constructorArgsParams: proxyDeployment.args,
|
|
29
|
+
})
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
if (hre.network.tags.tenderly) {
|
|
33
|
+
await hre.tenderly.verify({
|
|
34
|
+
name: "WalletCoordinator",
|
|
35
|
+
address: walletCoordinator.address,
|
|
36
|
+
})
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export default func
|
|
41
|
+
|
|
42
|
+
func.tags = ["WalletCoordinator"]
|
|
43
|
+
func.dependencies = ["Bridge"]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HardhatRuntimeEnvironment } from "hardhat/types"
|
|
2
|
+
import { DeployFunction } from "hardhat-deploy/types"
|
|
3
|
+
|
|
4
|
+
const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
|
|
5
|
+
const { getNamedAccounts, helpers } = hre
|
|
6
|
+
const { deployer, governance } = await getNamedAccounts()
|
|
7
|
+
|
|
8
|
+
await helpers.ownable.transferOwnership(
|
|
9
|
+
"WalletCoordinator",
|
|
10
|
+
governance,
|
|
11
|
+
deployer
|
|
12
|
+
)
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default func
|
|
16
|
+
|
|
17
|
+
func.tags = ["TransferWalletCoordinatorOwnership"]
|
|
18
|
+
func.dependencies = ["WalletCoordinator"]
|
|
19
|
+
func.runAtTheEnd = true
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (_) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
39
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
40
|
+
if (!m) return o;
|
|
41
|
+
var i = m.call(o), r, ar = [], e;
|
|
42
|
+
try {
|
|
43
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
44
|
+
}
|
|
45
|
+
catch (error) { e = { error: error }; }
|
|
46
|
+
finally {
|
|
47
|
+
try {
|
|
48
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
49
|
+
}
|
|
50
|
+
finally { if (e) throw e.error; }
|
|
51
|
+
}
|
|
52
|
+
return ar;
|
|
53
|
+
};
|
|
54
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55
|
+
var func = function (hre) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
57
|
+
var deployments, ethers, getNamedAccounts, helpers, deployer, Bridge, _a, walletCoordinator, proxyDeployment, _b, _c, _d;
|
|
58
|
+
var _e, _f;
|
|
59
|
+
return __generator(this, function (_g) {
|
|
60
|
+
switch (_g.label) {
|
|
61
|
+
case 0:
|
|
62
|
+
deployments = hre.deployments, ethers = hre.ethers, getNamedAccounts = hre.getNamedAccounts, helpers = hre.helpers;
|
|
63
|
+
return [4 /*yield*/, getNamedAccounts()];
|
|
64
|
+
case 1:
|
|
65
|
+
deployer = (_g.sent()).deployer;
|
|
66
|
+
return [4 /*yield*/, deployments.get("Bridge")];
|
|
67
|
+
case 2:
|
|
68
|
+
Bridge = _g.sent();
|
|
69
|
+
_c = (_b = helpers.upgrades).deployProxy;
|
|
70
|
+
_d = ["WalletCoordinator"];
|
|
71
|
+
_e = {
|
|
72
|
+
contractName: "WalletCoordinator",
|
|
73
|
+
initializerArgs: [Bridge.address]
|
|
74
|
+
};
|
|
75
|
+
_f = {};
|
|
76
|
+
return [4 /*yield*/, ethers.getSigner(deployer)];
|
|
77
|
+
case 3: return [4 /*yield*/, _c.apply(_b, _d.concat([(_e.factoryOpts = (_f.signer = _g.sent(),
|
|
78
|
+
_f),
|
|
79
|
+
_e.proxyOpts = {
|
|
80
|
+
kind: "transparent",
|
|
81
|
+
},
|
|
82
|
+
_e)]))];
|
|
83
|
+
case 4:
|
|
84
|
+
_a = __read.apply(void 0, [_g.sent(), 2]), walletCoordinator = _a[0], proxyDeployment = _a[1];
|
|
85
|
+
if (!hre.network.tags.etherscan) return [3 /*break*/, 6];
|
|
86
|
+
// We use `verify` instead of `verify:verify` as the `verify` task is defined
|
|
87
|
+
// in "@openzeppelin/hardhat-upgrades" to perform Etherscan verification
|
|
88
|
+
// of Proxy and Implementation contracts.
|
|
89
|
+
return [4 /*yield*/, hre.run("verify", {
|
|
90
|
+
address: proxyDeployment.address,
|
|
91
|
+
constructorArgsParams: proxyDeployment.args,
|
|
92
|
+
})];
|
|
93
|
+
case 5:
|
|
94
|
+
// We use `verify` instead of `verify:verify` as the `verify` task is defined
|
|
95
|
+
// in "@openzeppelin/hardhat-upgrades" to perform Etherscan verification
|
|
96
|
+
// of Proxy and Implementation contracts.
|
|
97
|
+
_g.sent();
|
|
98
|
+
_g.label = 6;
|
|
99
|
+
case 6:
|
|
100
|
+
if (!hre.network.tags.tenderly) return [3 /*break*/, 8];
|
|
101
|
+
return [4 /*yield*/, hre.tenderly.verify({
|
|
102
|
+
name: "WalletCoordinator",
|
|
103
|
+
address: walletCoordinator.address,
|
|
104
|
+
})];
|
|
105
|
+
case 7:
|
|
106
|
+
_g.sent();
|
|
107
|
+
_g.label = 8;
|
|
108
|
+
case 8: return [2 /*return*/];
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
};
|
|
113
|
+
exports.default = func;
|
|
114
|
+
func.tags = ["WalletCoordinator"];
|
|
115
|
+
func.dependencies = ["Bridge"];
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (_) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
var func = function (hre) {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
41
|
+
var getNamedAccounts, helpers, _a, deployer, governance;
|
|
42
|
+
return __generator(this, function (_b) {
|
|
43
|
+
switch (_b.label) {
|
|
44
|
+
case 0:
|
|
45
|
+
getNamedAccounts = hre.getNamedAccounts, helpers = hre.helpers;
|
|
46
|
+
return [4 /*yield*/, getNamedAccounts()];
|
|
47
|
+
case 1:
|
|
48
|
+
_a = _b.sent(), deployer = _a.deployer, governance = _a.governance;
|
|
49
|
+
return [4 /*yield*/, helpers.ownable.transferOwnership("WalletCoordinator", governance, deployer)];
|
|
50
|
+
case 2:
|
|
51
|
+
_b.sent();
|
|
52
|
+
return [2 /*return*/];
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
exports.default = func;
|
|
58
|
+
func.tags = ["TransferWalletCoordinatorOwnership"];
|
|
59
|
+
func.dependencies = ["WalletCoordinator"];
|
|
60
|
+
func.runAtTheEnd = true;
|
package/package.json
CHANGED