@keep-network/tbtc-v2 1.6.0-dev.5 → 1.6.0-dev.7
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 +6 -6
- package/artifacts/Bank.json +17 -17
- package/artifacts/BeaconAuthorization.json +6 -6
- package/artifacts/BeaconDkg.json +6 -6
- package/artifacts/BeaconDkgValidator.json +9 -9
- package/artifacts/BeaconInactivity.json +6 -6
- package/artifacts/BeaconSortitionPool.json +16 -16
- package/artifacts/Bridge.json +32 -32
- package/artifacts/BridgeGovernance.json +14 -14
- package/artifacts/BridgeGovernanceParameters.json +7 -7
- package/artifacts/Deposit.json +7 -7
- package/artifacts/DepositSweep.json +7 -7
- package/artifacts/DonationVault.json +11 -11
- package/artifacts/EcdsaDkgValidator.json +7 -7
- package/artifacts/EcdsaInactivity.json +6 -6
- package/artifacts/EcdsaSortitionPool.json +16 -16
- package/artifacts/Fraud.json +7 -7
- package/artifacts/LightRelay.json +28 -28
- package/artifacts/LightRelayMaintainerProxy.json +24 -24
- package/artifacts/MaintainerProxy.json +37 -37
- package/artifacts/MovingFunds.json +7 -7
- package/artifacts/NuCypherToken.json +11 -11
- package/artifacts/RandomBeacon.json +23 -23
- package/artifacts/RandomBeaconChaosnet.json +11 -11
- package/artifacts/RandomBeaconGovernance.json +12 -12
- package/artifacts/Redemption.json +7 -7
- package/artifacts/ReimbursementPool.json +11 -11
- package/artifacts/T.json +11 -11
- package/artifacts/TBTC.json +19 -19
- package/artifacts/TBTCToken.json +19 -19
- package/artifacts/TBTCVault.json +36 -36
- package/artifacts/TokenStaking.json +156 -308
- package/artifacts/TokenholderGovernor.json +47 -47
- package/artifacts/TokenholderTimelock.json +36 -36
- package/artifacts/VendingMachine.json +22 -22
- package/artifacts/VendingMachineNuCypher.json +9 -9
- package/artifacts/VendingMachineV2.json +15 -15
- package/artifacts/VendingMachineV3.json +15 -15
- package/artifacts/WalletProposalValidator.json +437 -0
- package/artifacts/WalletRegistry.json +31 -31
- package/artifacts/WalletRegistryGovernance.json +56 -56
- package/artifacts/Wallets.json +7 -7
- package/artifacts/solcInputs/{d2d7e276da75d7184610fe11a4a103b7.json → b4e1c442421284b256fcad9f86102ecc.json} +4 -4
- package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
- package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
- package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
- package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
- package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
- package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
- package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
- package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
- package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
- package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
- package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
- package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
- package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
- package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
- package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
- package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.dbg.json +4 -0
- package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +323 -0
- package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
- package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/IWormholeTokenBridge.dbg.json +1 -1
- package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
- package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
- package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
- package/build/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.dbg.json +1 -1
- package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
- package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
- package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
- package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
- package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
- package/contracts/bridge/{WalletCoordinator.sol → WalletProposalValidator.sol} +129 -447
- package/deploy/39_deploy_wallet_proposal_validator.ts +33 -0
- package/export/artifacts/@keep-network/ecdsa/contracts/EcdsaDkgValidator.sol/EcdsaDkgValidator.json +24 -24
- package/export/artifacts/@keep-network/ecdsa/contracts/WalletRegistry.sol/WalletRegistry.json +4999 -4814
- package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaDkg.sol/EcdsaDkg.json +2 -2
- package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaInactivity.sol/EcdsaInactivity.json +23 -23
- package/export/artifacts/@keep-network/random-beacon/contracts/ReimbursementPool.sol/ReimbursementPool.json +53 -53
- package/export/artifacts/@keep-network/sortition-pools/contracts/Chaosnet.sol/Chaosnet.json +21 -21
- package/export/artifacts/@keep-network/sortition-pools/contracts/Rewards.sol/Rewards.json +16 -16
- package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionPool.sol/SortitionPool.json +206 -206
- package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionTree.sol/SortitionTree.json +26 -26
- package/export/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +46 -46
- package/export/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +36 -36
- package/export/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +78 -78
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +68 -68
- package/export/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol/ERC20Upgradeable.json +43 -43
- package/export/artifacts/@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol/ERC20WithPermit.json +79 -79
- package/export/artifacts/@thesis/solidity-contracts/contracts/token/MisfundRecovery.sol/MisfundRecovery.json +42 -42
- package/export/artifacts/contracts/bank/Bank.sol/Bank.json +77 -77
- package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +320 -320
- package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +108 -108
- package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +63 -63
- package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +65 -65
- package/export/artifacts/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +25381 -0
- package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +194 -194
- package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +98 -98
- package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +149 -149
- package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +76 -76
- package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +62 -62
- package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +79 -79
- package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +358 -358
- package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +78 -78
- package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +4 -4
- package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +78 -78
- package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
- package/export/artifacts/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +78 -78
- package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +14 -14
- package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +85 -85
- package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +78 -78
- package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +4 -4
- package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +37 -37
- package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +104 -104
- package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +19 -19
- package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +184 -184
- package/export/deploy/39_deploy_wallet_proposal_validator.js +82 -0
- package/export/hardhat.config.js +0 -6
- package/export/typechain/factories/EcdsaAuthorization__factory.js +1 -1
- package/export/typechain/factories/IStaking__factory.js +24 -103
- package/export/typechain/factories/WalletProposalValidator__factory.js +402 -0
- package/export/typechain/factories/WalletRegistry__factory.js +1 -1
- package/export/typechain/index.js +3 -3
- package/package.json +2 -2
- package/artifacts/KeepRegistry.json +0 -99
- package/artifacts/KeepStake.json +0 -286
- package/artifacts/KeepToken.json +0 -711
- package/artifacts/KeepTokenStaking.json +0 -483
- package/artifacts/NuCypherStakingEscrow.json +0 -287
- package/artifacts/VendingMachineKeep.json +0 -400
- package/artifacts/WalletCoordinator.json +0 -1107
- package/build/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.dbg.json +0 -4
- package/build/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.json +0 -1042
- package/deploy/34_deploy_wallet_coordinator.ts +0 -43
- package/deploy/35_add_coordinator_address.ts +0 -20
- package/deploy/36_transfer_wallet_coordinator_ownership.ts +0 -19
- package/deploy/81_upgrade_wallet_coordinator_v2.ts +0 -99
- package/export/artifacts/contracts/bridge/WalletCoordinator.sol/WalletCoordinator.json +0 -33310
- package/export/deploy/34_deploy_wallet_coordinator.js +0 -115
- package/export/deploy/35_add_coordinator_address.js +0 -60
- package/export/deploy/36_transfer_wallet_coordinator_ownership.js +0 -60
- package/export/deploy/81_upgrade_wallet_coordinator_v2.js +0 -140
- package/export/typechain/factories/WalletCoordinator__factory.js +0 -1121
- /package/deploy/{37_deploy_light_relay_maintainer_proxy.ts → 34_deploy_light_relay_maintainer_proxy.ts} +0 -0
- /package/deploy/{38_authorize_maintainer_in_light_relay_maintainer_proxy.ts → 35_authorize_maintainer_in_light_relay_maintainer_proxy.ts} +0 -0
- /package/deploy/{39_transfer_light_relay_maintainer_proxy_ownership.ts → 36_transfer_light_relay_maintainer_proxy_ownership.ts} +0 -0
- /package/deploy/{40_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.ts → 37_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.ts} +0 -0
- /package/deploy/{41_authorize_light_relay_maintainer_proxy_in_light_relay.ts → 38_authorize_light_relay_maintainer_proxy_in_light_relay.ts} +0 -0
- /package/export/deploy/{37_deploy_light_relay_maintainer_proxy.js → 34_deploy_light_relay_maintainer_proxy.js} +0 -0
- /package/export/deploy/{38_authorize_maintainer_in_light_relay_maintainer_proxy.js → 35_authorize_maintainer_in_light_relay_maintainer_proxy.js} +0 -0
- /package/export/deploy/{39_transfer_light_relay_maintainer_proxy_ownership.js → 36_transfer_light_relay_maintainer_proxy_ownership.js} +0 -0
- /package/export/deploy/{40_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js → 37_authorize_light_relay_maintainer_proxy_in_reimbursement_pool.js} +0 -0
- /package/export/deploy/{41_authorize_light_relay_maintainer_proxy_in_light_relay.js → 38_authorize_light_relay_maintainer_proxy_in_light_relay.js} +0 -0
- /package/export/typechain/{WalletCoordinator.js → WalletProposalValidator.js} +0 -0
|
@@ -0,0 +1,82 @@
|
|
|
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 deployments, helpers, getNamedAccounts, deploy, deployer, Bridge, walletProposalValidator;
|
|
42
|
+
return __generator(this, function (_a) {
|
|
43
|
+
switch (_a.label) {
|
|
44
|
+
case 0:
|
|
45
|
+
deployments = hre.deployments, helpers = hre.helpers, getNamedAccounts = hre.getNamedAccounts;
|
|
46
|
+
deploy = deployments.deploy;
|
|
47
|
+
return [4 /*yield*/, getNamedAccounts()];
|
|
48
|
+
case 1:
|
|
49
|
+
deployer = (_a.sent()).deployer;
|
|
50
|
+
return [4 /*yield*/, deployments.get("Bridge")];
|
|
51
|
+
case 2:
|
|
52
|
+
Bridge = _a.sent();
|
|
53
|
+
return [4 /*yield*/, deploy("WalletProposalValidator", {
|
|
54
|
+
from: deployer,
|
|
55
|
+
args: [Bridge.address],
|
|
56
|
+
log: true,
|
|
57
|
+
waitConfirmations: 1,
|
|
58
|
+
})];
|
|
59
|
+
case 3:
|
|
60
|
+
walletProposalValidator = _a.sent();
|
|
61
|
+
if (!hre.network.tags.etherscan) return [3 /*break*/, 5];
|
|
62
|
+
return [4 /*yield*/, helpers.etherscan.verify(walletProposalValidator)];
|
|
63
|
+
case 4:
|
|
64
|
+
_a.sent();
|
|
65
|
+
_a.label = 5;
|
|
66
|
+
case 5:
|
|
67
|
+
if (!hre.network.tags.tenderly) return [3 /*break*/, 7];
|
|
68
|
+
return [4 /*yield*/, hre.tenderly.verify({
|
|
69
|
+
name: "WalletProposalValidator",
|
|
70
|
+
address: walletProposalValidator.address,
|
|
71
|
+
})];
|
|
72
|
+
case 6:
|
|
73
|
+
_a.sent();
|
|
74
|
+
_a.label = 7;
|
|
75
|
+
case 7: return [2 /*return*/];
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
exports.default = func;
|
|
81
|
+
func.tags = ["WalletProposalValidator"];
|
|
82
|
+
func.dependencies = ["Bridge"];
|
package/export/hardhat.config.js
CHANGED
|
@@ -222,12 +222,6 @@ var config = {
|
|
|
222
222
|
sepolia: 0,
|
|
223
223
|
// We are not setting SPV maintainer for mainnet in deployment scripts.
|
|
224
224
|
},
|
|
225
|
-
coordinator: {
|
|
226
|
-
default: 9,
|
|
227
|
-
goerli: "0x4815cd81fFc21039a25aCFbD97CE75cCE8579042",
|
|
228
|
-
sepolia: "0x4815cd81fFc21039a25aCFbD97CE75cCE8579042",
|
|
229
|
-
mainnet: "0x0595acCca29654c43Bd67E18578b30a405265234",
|
|
230
|
-
},
|
|
231
225
|
v1Redeemer: {
|
|
232
226
|
default: 10,
|
|
233
227
|
goerli: 0,
|
|
@@ -216,7 +216,7 @@ var _abi = [
|
|
|
216
216
|
type: "event",
|
|
217
217
|
},
|
|
218
218
|
];
|
|
219
|
-
var _bytecode = "
|
|
219
|
+
var _bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206f647ea212e74a91596721d9a2189532dcdfb40671860387fb2c3cd1e4d4bdb464736f6c63430008110033";
|
|
220
220
|
var isSuperArgs = function (xs) { return xs.length > 1; };
|
|
221
221
|
var EcdsaAuthorization__factory = /** @class */ (function (_super) {
|
|
222
222
|
__extends(EcdsaAuthorization__factory, _super);
|
|
@@ -106,6 +106,25 @@ var _abi = [
|
|
|
106
106
|
stateMutability: "view",
|
|
107
107
|
type: "function",
|
|
108
108
|
},
|
|
109
|
+
{
|
|
110
|
+
inputs: [
|
|
111
|
+
{
|
|
112
|
+
internalType: "address",
|
|
113
|
+
name: "stakingProvider",
|
|
114
|
+
type: "address",
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
name: "getAutoIncreaseFlag",
|
|
118
|
+
outputs: [
|
|
119
|
+
{
|
|
120
|
+
internalType: "bool",
|
|
121
|
+
name: "",
|
|
122
|
+
type: "bool",
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
stateMutability: "view",
|
|
126
|
+
type: "function",
|
|
127
|
+
},
|
|
109
128
|
{
|
|
110
129
|
inputs: [
|
|
111
130
|
{
|
|
@@ -209,32 +228,6 @@ var _abi = [
|
|
|
209
228
|
stateMutability: "nonpayable",
|
|
210
229
|
type: "function",
|
|
211
230
|
},
|
|
212
|
-
{
|
|
213
|
-
inputs: [
|
|
214
|
-
{
|
|
215
|
-
internalType: "address",
|
|
216
|
-
name: "stakingProvider",
|
|
217
|
-
type: "address",
|
|
218
|
-
},
|
|
219
|
-
],
|
|
220
|
-
name: "notifyKeepStakeDiscrepancy",
|
|
221
|
-
outputs: [],
|
|
222
|
-
stateMutability: "nonpayable",
|
|
223
|
-
type: "function",
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
inputs: [
|
|
227
|
-
{
|
|
228
|
-
internalType: "address",
|
|
229
|
-
name: "stakingProvider",
|
|
230
|
-
type: "address",
|
|
231
|
-
},
|
|
232
|
-
],
|
|
233
|
-
name: "notifyNuStakeDiscrepancy",
|
|
234
|
-
outputs: [],
|
|
235
|
-
stateMutability: "nonpayable",
|
|
236
|
-
type: "function",
|
|
237
|
-
},
|
|
238
231
|
{
|
|
239
232
|
inputs: [
|
|
240
233
|
{
|
|
@@ -424,24 +417,6 @@ var _abi = [
|
|
|
424
417
|
stateMutability: "nonpayable",
|
|
425
418
|
type: "function",
|
|
426
419
|
},
|
|
427
|
-
{
|
|
428
|
-
inputs: [
|
|
429
|
-
{
|
|
430
|
-
internalType: "uint96",
|
|
431
|
-
name: "penalty",
|
|
432
|
-
type: "uint96",
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
internalType: "uint256",
|
|
436
|
-
name: "rewardMultiplier",
|
|
437
|
-
type: "uint256",
|
|
438
|
-
},
|
|
439
|
-
],
|
|
440
|
-
name: "setStakeDiscrepancyPenalty",
|
|
441
|
-
outputs: [],
|
|
442
|
-
stateMutability: "nonpayable",
|
|
443
|
-
type: "function",
|
|
444
|
-
},
|
|
445
420
|
{
|
|
446
421
|
inputs: [
|
|
447
422
|
{
|
|
@@ -488,42 +463,6 @@ var _abi = [
|
|
|
488
463
|
stateMutability: "nonpayable",
|
|
489
464
|
type: "function",
|
|
490
465
|
},
|
|
491
|
-
{
|
|
492
|
-
inputs: [
|
|
493
|
-
{
|
|
494
|
-
internalType: "address",
|
|
495
|
-
name: "stakingProvider",
|
|
496
|
-
type: "address",
|
|
497
|
-
},
|
|
498
|
-
],
|
|
499
|
-
name: "stakeKeep",
|
|
500
|
-
outputs: [],
|
|
501
|
-
stateMutability: "nonpayable",
|
|
502
|
-
type: "function",
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
inputs: [
|
|
506
|
-
{
|
|
507
|
-
internalType: "address",
|
|
508
|
-
name: "stakingProvider",
|
|
509
|
-
type: "address",
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
internalType: "address payable",
|
|
513
|
-
name: "beneficiary",
|
|
514
|
-
type: "address",
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
internalType: "address",
|
|
518
|
-
name: "authorizer",
|
|
519
|
-
type: "address",
|
|
520
|
-
},
|
|
521
|
-
],
|
|
522
|
-
name: "stakeNu",
|
|
523
|
-
outputs: [],
|
|
524
|
-
stateMutability: "nonpayable",
|
|
525
|
-
type: "function",
|
|
526
|
-
},
|
|
527
466
|
{
|
|
528
467
|
inputs: [
|
|
529
468
|
{
|
|
@@ -579,13 +518,8 @@ var _abi = [
|
|
|
579
518
|
name: "stakingProvider",
|
|
580
519
|
type: "address",
|
|
581
520
|
},
|
|
582
|
-
{
|
|
583
|
-
internalType: "uint96",
|
|
584
|
-
name: "amount",
|
|
585
|
-
type: "uint96",
|
|
586
|
-
},
|
|
587
521
|
],
|
|
588
|
-
name: "
|
|
522
|
+
name: "toggleAutoAuthorizationIncrease",
|
|
589
523
|
outputs: [],
|
|
590
524
|
stateMutability: "nonpayable",
|
|
591
525
|
type: "function",
|
|
@@ -597,21 +531,13 @@ var _abi = [
|
|
|
597
531
|
name: "stakingProvider",
|
|
598
532
|
type: "address",
|
|
599
533
|
},
|
|
600
|
-
],
|
|
601
|
-
name: "topUpKeep",
|
|
602
|
-
outputs: [],
|
|
603
|
-
stateMutability: "nonpayable",
|
|
604
|
-
type: "function",
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
inputs: [
|
|
608
534
|
{
|
|
609
|
-
internalType: "
|
|
610
|
-
name: "
|
|
611
|
-
type: "
|
|
535
|
+
internalType: "uint96",
|
|
536
|
+
name: "amount",
|
|
537
|
+
type: "uint96",
|
|
612
538
|
},
|
|
613
539
|
],
|
|
614
|
-
name: "
|
|
540
|
+
name: "topUp",
|
|
615
541
|
outputs: [],
|
|
616
542
|
stateMutability: "nonpayable",
|
|
617
543
|
type: "function",
|
|
@@ -649,11 +575,6 @@ var _abi = [
|
|
|
649
575
|
name: "stakingProvider",
|
|
650
576
|
type: "address",
|
|
651
577
|
},
|
|
652
|
-
{
|
|
653
|
-
internalType: "uint96",
|
|
654
|
-
name: "amount",
|
|
655
|
-
type: "uint96",
|
|
656
|
-
},
|
|
657
578
|
],
|
|
658
579
|
name: "unstakeNu",
|
|
659
580
|
outputs: [],
|