From 721600059f3cb68b7f6d6f07b7095c5d4c552d0a Mon Sep 17 00:00:00 2001 From: anson Date: Wed, 29 Oct 2025 15:05:53 +0000 Subject: [PATCH 1/3] feat(contracts): update staking address --- packages/contracts/dist/dev/develop.cjs | 456 +++++------ packages/contracts/dist/dev/develop.js | 456 +++++------ packages/contracts/dist/dev/develop.json | 456 +++++------ packages/contracts/dist/dev/develop.ts | 456 +++++------ packages/contracts/dist/prod/naga-dev.cjs | 709 ++++++++++++------ packages/contracts/dist/prod/naga-dev.js | 709 ++++++++++++------ packages/contracts/dist/prod/naga-dev.json | 709 ++++++++++++------ packages/contracts/dist/prod/naga-dev.ts | 709 ++++++++++++------ .../contracts/dist/signatures/develop.cjs | 34 +- .../contracts/dist/signatures/develop.d.ts | 34 +- packages/contracts/dist/signatures/develop.js | 34 +- .../contracts/dist/signatures/naga-dev.cjs | 34 +- .../contracts/dist/signatures/naga-dev.d.ts | 34 +- .../contracts/dist/signatures/naga-dev.js | 34 +- 14 files changed, 3100 insertions(+), 1764 deletions(-) diff --git a/packages/contracts/dist/dev/develop.cjs b/packages/contracts/dist/dev/develop.cjs index a94c15d8b..b6b6c35e5 100644 --- a/packages/contracts/dist/dev/develop.cjs +++ b/packages/contracts/dist/dev/develop.cjs @@ -7,8 +7,8 @@ module.exports = { "contracts": [ { "network": "develop", - "address_hash": "0xDf6939412875982977F510D8aA3401D6f3a8d646", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -716,6 +716,11 @@ module.exports = { "name": "CannotModifyUnfrozen", "type": "error" }, + { + "inputs": [], + "name": "CannotMoveToLockedValidatorStateBeforeEpochEnds", + "type": "error" + }, { "inputs": [], "name": "CannotStakeZero", @@ -1433,6 +1438,11 @@ module.exports = { "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -2633,6 +2643,132 @@ module.exports = { "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + } + ], + "name": "getKeySet", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "keySets", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -2693,6 +2829,47 @@ module.exports = { "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "components": [ + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "keyType", + "type": "uint256" + } + ], + "internalType": "struct IPubkeyRouter.RootKey[]", + "name": "newRootKeys", + "type": "tuple[]" + } + ], + "name": "verifyKeySetCounts", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "ActiveValidatorsCannotLeave", @@ -3309,6 +3486,19 @@ module.exports = { "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -3373,25 +3563,6 @@ module.exports = { "stateMutability": "pure", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "attestedAddress", - "type": "address" - } - ], - "name": "getAttestedPubKey", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -4094,6 +4265,11 @@ module.exports = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4285,6 +4461,11 @@ module.exports = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4442,6 +4623,25 @@ module.exports = { "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "attestedAddress", + "type": "address" + } + ], + "name": "getAttestedPubKey", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -4490,72 +4690,6 @@ module.exports = { "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - } - ], - "name": "getKeySet", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getKeyTypes", @@ -5962,6 +6096,11 @@ module.exports = { "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -6154,66 +6293,6 @@ module.exports = { "stateMutability": "view", "type": "function" }, - { - "inputs": [], - "name": "keySets", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig[]", - "name": "", - "type": "tuple[]" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -6784,47 +6863,6 @@ module.exports = { ], "stateMutability": "view", "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "components": [ - { - "internalType": "bytes", - "name": "pubkey", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - } - ], - "internalType": "struct IPubkeyRouter.RootKey[]", - "name": "newRootKeys", - "type": "tuple[]" - } - ], - "name": "verifyKeySetCounts", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" } ] } @@ -6835,8 +6873,8 @@ module.exports = { "contracts": [ { "network": "develop", - "address_hash": "0xdb65DEa689e55e62f5265505b84bC9c3e69204f8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDE14A0ae0a230F6593064Cc3Beb55BbB324C5A39", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "anonymous": false, @@ -6974,7 +7012,7 @@ module.exports = { { "network": "develop", "address_hash": "0x5E8db2E7af793f4095c4843C8cBD87C5D8604838", - "inserted_at": "2025-08-27T16:05:03Z", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -8027,8 +8065,8 @@ module.exports = { "contracts": [ { "network": "develop", - "address_hash": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -9161,8 +9199,8 @@ module.exports = { "contracts": [ { "network": "develop", - "address_hash": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -10589,8 +10627,8 @@ module.exports = { "contracts": [ { "network": "develop", - "address_hash": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -11604,8 +11642,8 @@ module.exports = { "contracts": [ { "network": "develop", - "address_hash": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -12939,8 +12977,8 @@ module.exports = { "contracts": [ { "network": "develop", - "address_hash": "0x3451a55c12Cb511137C2F048b4E02F1b718Fc5D5", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x59702788e7C72dc221880337447657d19508682f", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -13103,8 +13141,8 @@ module.exports = { "contracts": [ { "network": "develop", - "address_hash": "0x4d2C916AE6d8947246126546a7FdF43fca87905C", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9DE9c6Ef842faC3Dd52c38BC9B6c0EC48482358d", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [], @@ -13340,8 +13378,8 @@ module.exports = { "contracts": [ { "network": "develop", - "address_hash": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -13976,8 +14014,8 @@ module.exports = { "contracts": [ { "network": "develop", - "address_hash": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -15032,8 +15070,8 @@ module.exports = { "contracts": [ { "network": "develop", - "address_hash": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ diff --git a/packages/contracts/dist/dev/develop.js b/packages/contracts/dist/dev/develop.js index 8f5c6d742..83a009190 100644 --- a/packages/contracts/dist/dev/develop.js +++ b/packages/contracts/dist/dev/develop.js @@ -5,8 +5,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0xDf6939412875982977F510D8aA3401D6f3a8d646", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -714,6 +714,11 @@ export const develop = { "name": "CannotModifyUnfrozen", "type": "error" }, + { + "inputs": [], + "name": "CannotMoveToLockedValidatorStateBeforeEpochEnds", + "type": "error" + }, { "inputs": [], "name": "CannotStakeZero", @@ -1431,6 +1436,11 @@ export const develop = { "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -2631,6 +2641,132 @@ export const develop = { "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + } + ], + "name": "getKeySet", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "keySets", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -2691,6 +2827,47 @@ export const develop = { "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "components": [ + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "keyType", + "type": "uint256" + } + ], + "internalType": "struct IPubkeyRouter.RootKey[]", + "name": "newRootKeys", + "type": "tuple[]" + } + ], + "name": "verifyKeySetCounts", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "ActiveValidatorsCannotLeave", @@ -3307,6 +3484,19 @@ export const develop = { "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -3371,25 +3561,6 @@ export const develop = { "stateMutability": "pure", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "attestedAddress", - "type": "address" - } - ], - "name": "getAttestedPubKey", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -4092,6 +4263,11 @@ export const develop = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4283,6 +4459,11 @@ export const develop = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4440,6 +4621,25 @@ export const develop = { "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "attestedAddress", + "type": "address" + } + ], + "name": "getAttestedPubKey", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -4488,72 +4688,6 @@ export const develop = { "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - } - ], - "name": "getKeySet", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getKeyTypes", @@ -5960,6 +6094,11 @@ export const develop = { "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -6152,66 +6291,6 @@ export const develop = { "stateMutability": "view", "type": "function" }, - { - "inputs": [], - "name": "keySets", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig[]", - "name": "", - "type": "tuple[]" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -6782,47 +6861,6 @@ export const develop = { ], "stateMutability": "view", "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "components": [ - { - "internalType": "bytes", - "name": "pubkey", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - } - ], - "internalType": "struct IPubkeyRouter.RootKey[]", - "name": "newRootKeys", - "type": "tuple[]" - } - ], - "name": "verifyKeySetCounts", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" } ] } @@ -6833,8 +6871,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0xdb65DEa689e55e62f5265505b84bC9c3e69204f8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDE14A0ae0a230F6593064Cc3Beb55BbB324C5A39", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "anonymous": false, @@ -6972,7 +7010,7 @@ export const develop = { { "network": "develop", "address_hash": "0x5E8db2E7af793f4095c4843C8cBD87C5D8604838", - "inserted_at": "2025-08-27T16:05:03Z", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -8025,8 +8063,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -9159,8 +9197,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -10587,8 +10625,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -11602,8 +11640,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -12937,8 +12975,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0x3451a55c12Cb511137C2F048b4E02F1b718Fc5D5", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x59702788e7C72dc221880337447657d19508682f", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -13101,8 +13139,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0x4d2C916AE6d8947246126546a7FdF43fca87905C", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9DE9c6Ef842faC3Dd52c38BC9B6c0EC48482358d", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [], @@ -13338,8 +13376,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -13974,8 +14012,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -15030,8 +15068,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ diff --git a/packages/contracts/dist/dev/develop.json b/packages/contracts/dist/dev/develop.json index edb5c53df..2264c9e2a 100644 --- a/packages/contracts/dist/dev/develop.json +++ b/packages/contracts/dist/dev/develop.json @@ -5,8 +5,8 @@ "contracts": [ { "network": "develop", - "address_hash": "0xDf6939412875982977F510D8aA3401D6f3a8d646", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -714,6 +714,11 @@ "name": "CannotModifyUnfrozen", "type": "error" }, + { + "inputs": [], + "name": "CannotMoveToLockedValidatorStateBeforeEpochEnds", + "type": "error" + }, { "inputs": [], "name": "CannotStakeZero", @@ -1431,6 +1436,11 @@ "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -2631,6 +2641,132 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + } + ], + "name": "getKeySet", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "keySets", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -2691,6 +2827,47 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "components": [ + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "keyType", + "type": "uint256" + } + ], + "internalType": "struct IPubkeyRouter.RootKey[]", + "name": "newRootKeys", + "type": "tuple[]" + } + ], + "name": "verifyKeySetCounts", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "ActiveValidatorsCannotLeave", @@ -3307,6 +3484,19 @@ "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -3371,25 +3561,6 @@ "stateMutability": "pure", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "attestedAddress", - "type": "address" - } - ], - "name": "getAttestedPubKey", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -4092,6 +4263,11 @@ "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4283,6 +4459,11 @@ "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4440,6 +4621,25 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "attestedAddress", + "type": "address" + } + ], + "name": "getAttestedPubKey", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -4488,72 +4688,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - } - ], - "name": "getKeySet", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getKeyTypes", @@ -5960,6 +6094,11 @@ "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -6152,66 +6291,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [], - "name": "keySets", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig[]", - "name": "", - "type": "tuple[]" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -6782,47 +6861,6 @@ ], "stateMutability": "view", "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "components": [ - { - "internalType": "bytes", - "name": "pubkey", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - } - ], - "internalType": "struct IPubkeyRouter.RootKey[]", - "name": "newRootKeys", - "type": "tuple[]" - } - ], - "name": "verifyKeySetCounts", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" } ] } @@ -6833,8 +6871,8 @@ "contracts": [ { "network": "develop", - "address_hash": "0xdb65DEa689e55e62f5265505b84bC9c3e69204f8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDE14A0ae0a230F6593064Cc3Beb55BbB324C5A39", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "anonymous": false, @@ -6972,7 +7010,7 @@ { "network": "develop", "address_hash": "0x5E8db2E7af793f4095c4843C8cBD87C5D8604838", - "inserted_at": "2025-08-27T16:05:03Z", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -8025,8 +8063,8 @@ "contracts": [ { "network": "develop", - "address_hash": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -9159,8 +9197,8 @@ "contracts": [ { "network": "develop", - "address_hash": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -10587,8 +10625,8 @@ "contracts": [ { "network": "develop", - "address_hash": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -11602,8 +11640,8 @@ "contracts": [ { "network": "develop", - "address_hash": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -12937,8 +12975,8 @@ "contracts": [ { "network": "develop", - "address_hash": "0x3451a55c12Cb511137C2F048b4E02F1b718Fc5D5", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x59702788e7C72dc221880337447657d19508682f", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -13101,8 +13139,8 @@ "contracts": [ { "network": "develop", - "address_hash": "0x4d2C916AE6d8947246126546a7FdF43fca87905C", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9DE9c6Ef842faC3Dd52c38BC9B6c0EC48482358d", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [], @@ -13338,8 +13376,8 @@ "contracts": [ { "network": "develop", - "address_hash": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -13974,8 +14012,8 @@ "contracts": [ { "network": "develop", - "address_hash": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -15030,8 +15068,8 @@ "contracts": [ { "network": "develop", - "address_hash": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ diff --git a/packages/contracts/dist/dev/develop.ts b/packages/contracts/dist/dev/develop.ts index a7c4b1936..1bff61a74 100644 --- a/packages/contracts/dist/dev/develop.ts +++ b/packages/contracts/dist/dev/develop.ts @@ -5,8 +5,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0xDf6939412875982977F510D8aA3401D6f3a8d646", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -714,6 +714,11 @@ export const develop = { "name": "CannotModifyUnfrozen", "type": "error" }, + { + "inputs": [], + "name": "CannotMoveToLockedValidatorStateBeforeEpochEnds", + "type": "error" + }, { "inputs": [], "name": "CannotStakeZero", @@ -1431,6 +1436,11 @@ export const develop = { "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -2631,6 +2641,132 @@ export const develop = { "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + } + ], + "name": "getKeySet", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "keySets", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -2691,6 +2827,47 @@ export const develop = { "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "components": [ + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "keyType", + "type": "uint256" + } + ], + "internalType": "struct IPubkeyRouter.RootKey[]", + "name": "newRootKeys", + "type": "tuple[]" + } + ], + "name": "verifyKeySetCounts", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "ActiveValidatorsCannotLeave", @@ -3307,6 +3484,19 @@ export const develop = { "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -3371,25 +3561,6 @@ export const develop = { "stateMutability": "pure", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "attestedAddress", - "type": "address" - } - ], - "name": "getAttestedPubKey", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -4092,6 +4263,11 @@ export const develop = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4283,6 +4459,11 @@ export const develop = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4440,6 +4621,25 @@ export const develop = { "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "attestedAddress", + "type": "address" + } + ], + "name": "getAttestedPubKey", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -4488,72 +4688,6 @@ export const develop = { "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - } - ], - "name": "getKeySet", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getKeyTypes", @@ -5960,6 +6094,11 @@ export const develop = { "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -6152,66 +6291,6 @@ export const develop = { "stateMutability": "view", "type": "function" }, - { - "inputs": [], - "name": "keySets", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig[]", - "name": "", - "type": "tuple[]" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -6782,47 +6861,6 @@ export const develop = { ], "stateMutability": "view", "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "components": [ - { - "internalType": "bytes", - "name": "pubkey", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - } - ], - "internalType": "struct IPubkeyRouter.RootKey[]", - "name": "newRootKeys", - "type": "tuple[]" - } - ], - "name": "verifyKeySetCounts", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" } ] } @@ -6833,8 +6871,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0xdb65DEa689e55e62f5265505b84bC9c3e69204f8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDE14A0ae0a230F6593064Cc3Beb55BbB324C5A39", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "anonymous": false, @@ -6972,7 +7010,7 @@ export const develop = { { "network": "develop", "address_hash": "0x5E8db2E7af793f4095c4843C8cBD87C5D8604838", - "inserted_at": "2025-08-27T16:05:03Z", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -8025,8 +8063,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -9159,8 +9197,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -10587,8 +10625,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -11602,8 +11640,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -12937,8 +12975,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0x3451a55c12Cb511137C2F048b4E02F1b718Fc5D5", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x59702788e7C72dc221880337447657d19508682f", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -13101,8 +13139,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0x4d2C916AE6d8947246126546a7FdF43fca87905C", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9DE9c6Ef842faC3Dd52c38BC9B6c0EC48482358d", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [], @@ -13338,8 +13376,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -13974,8 +14012,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -15030,8 +15068,8 @@ export const develop = { "contracts": [ { "network": "develop", - "address_hash": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ diff --git a/packages/contracts/dist/prod/naga-dev.cjs b/packages/contracts/dist/prod/naga-dev.cjs index bdf617c85..31a70bbe8 100644 --- a/packages/contracts/dist/prod/naga-dev.cjs +++ b/packages/contracts/dist/prod/naga-dev.cjs @@ -7,8 +7,8 @@ module.exports = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xDf6939412875982977F510D8aA3401D6f3a8d646", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -716,6 +716,11 @@ module.exports = { "name": "CannotModifyUnfrozen", "type": "error" }, + { + "inputs": [], + "name": "CannotMoveToLockedValidatorStateBeforeEpochEnds", + "type": "error" + }, { "inputs": [], "name": "CannotStakeZero", @@ -1433,6 +1438,11 @@ module.exports = { "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -2633,6 +2643,132 @@ module.exports = { "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + } + ], + "name": "getKeySet", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "keySets", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -2693,6 +2829,47 @@ module.exports = { "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "components": [ + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "keyType", + "type": "uint256" + } + ], + "internalType": "struct IPubkeyRouter.RootKey[]", + "name": "newRootKeys", + "type": "tuple[]" + } + ], + "name": "verifyKeySetCounts", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "ActiveValidatorsCannotLeave", @@ -3309,6 +3486,19 @@ module.exports = { "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -3373,25 +3563,6 @@ module.exports = { "stateMutability": "pure", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "attestedAddress", - "type": "address" - } - ], - "name": "getAttestedPubKey", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -4094,6 +4265,11 @@ module.exports = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4285,6 +4461,11 @@ module.exports = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4442,6 +4623,25 @@ module.exports = { "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "attestedAddress", + "type": "address" + } + ], + "name": "getAttestedPubKey", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -4490,72 +4690,6 @@ module.exports = { "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - } - ], - "name": "getKeySet", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getKeyTypes", @@ -5962,6 +6096,11 @@ module.exports = { "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -6142,73 +6281,13 @@ module.exports = { "name": "validator", "type": "address" } - ], - "name": "isValidatorBanned", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "keySets", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig[]", + ], + "name": "isValidatorBanned", + "outputs": [ + { + "internalType": "bool", "name": "", - "type": "tuple[]" + "type": "bool" } ], "stateMutability": "view", @@ -6784,47 +6863,6 @@ module.exports = { ], "stateMutability": "view", "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "components": [ - { - "internalType": "bytes", - "name": "pubkey", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - } - ], - "internalType": "struct IPubkeyRouter.RootKey[]", - "name": "newRootKeys", - "type": "tuple[]" - } - ], - "name": "verifyKeySetCounts", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" } ] } @@ -6835,8 +6873,8 @@ module.exports = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xdb65DEa689e55e62f5265505b84bC9c3e69204f8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDE14A0ae0a230F6593064Cc3Beb55BbB324C5A39", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "anonymous": false, @@ -6974,7 +7012,7 @@ module.exports = { { "network": "naga-dev", "address_hash": "0x5E8db2E7af793f4095c4843C8cBD87C5D8604838", - "inserted_at": "2025-08-27T16:05:03Z", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -8027,8 +8065,8 @@ module.exports = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -8781,6 +8819,78 @@ module.exports = { "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "ethAddresses", + "type": "address[]" + } + ], + "name": "getPkpInfoFromEthAddresses", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "tokenIds", + "type": "uint256[]" + } + ], + "name": "getPkpInfoFromTokenIds", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "getPkpNftAddress", @@ -9089,8 +9199,8 @@ module.exports = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -9835,6 +9945,170 @@ module.exports = { "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "ethAddresses", + "type": "address[]" + } + ], + "name": "getPkpInfoFromEthAddresses", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "pageSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pageIndex", + "type": "uint256" + } + ], + "name": "getPkpInfoFromOwnerAddress", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pageSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pageIndex", + "type": "uint256" + } + ], + "name": "getPkpInfoFromOwnerTokenId", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "tokenIds", + "type": "uint256[]" + } + ], + "name": "getPkpInfoFromTokenIds", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "getPkpNftMetadataAddress", @@ -10353,8 +10627,8 @@ module.exports = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -11368,8 +11642,8 @@ module.exports = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -12703,8 +12977,8 @@ module.exports = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x3451a55c12Cb511137C2F048b4E02F1b718Fc5D5", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x59702788e7C72dc221880337447657d19508682f", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -12867,8 +13141,8 @@ module.exports = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x4d2C916AE6d8947246126546a7FdF43fca87905C", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9DE9c6Ef842faC3Dd52c38BC9B6c0EC48482358d", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [], @@ -13104,8 +13378,8 @@ module.exports = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -13740,8 +14014,8 @@ module.exports = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -14796,8 +15070,8 @@ module.exports = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -15195,11 +15469,6 @@ module.exports = { "name": "CallerNotOwner", "type": "error" }, - { - "inputs": [], - "name": "MustBeLessThan100", - "type": "error" - }, { "inputs": [], "name": "MustBeNonzero", diff --git a/packages/contracts/dist/prod/naga-dev.js b/packages/contracts/dist/prod/naga-dev.js index 9b99b3b69..85f04e637 100644 --- a/packages/contracts/dist/prod/naga-dev.js +++ b/packages/contracts/dist/prod/naga-dev.js @@ -5,8 +5,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xDf6939412875982977F510D8aA3401D6f3a8d646", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -714,6 +714,11 @@ export const nagaDev = { "name": "CannotModifyUnfrozen", "type": "error" }, + { + "inputs": [], + "name": "CannotMoveToLockedValidatorStateBeforeEpochEnds", + "type": "error" + }, { "inputs": [], "name": "CannotStakeZero", @@ -1431,6 +1436,11 @@ export const nagaDev = { "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -2631,6 +2641,132 @@ export const nagaDev = { "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + } + ], + "name": "getKeySet", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "keySets", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -2691,6 +2827,47 @@ export const nagaDev = { "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "components": [ + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "keyType", + "type": "uint256" + } + ], + "internalType": "struct IPubkeyRouter.RootKey[]", + "name": "newRootKeys", + "type": "tuple[]" + } + ], + "name": "verifyKeySetCounts", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "ActiveValidatorsCannotLeave", @@ -3307,6 +3484,19 @@ export const nagaDev = { "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -3371,25 +3561,6 @@ export const nagaDev = { "stateMutability": "pure", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "attestedAddress", - "type": "address" - } - ], - "name": "getAttestedPubKey", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -4092,6 +4263,11 @@ export const nagaDev = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4283,6 +4459,11 @@ export const nagaDev = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4440,6 +4621,25 @@ export const nagaDev = { "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "attestedAddress", + "type": "address" + } + ], + "name": "getAttestedPubKey", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -4488,72 +4688,6 @@ export const nagaDev = { "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - } - ], - "name": "getKeySet", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getKeyTypes", @@ -5960,6 +6094,11 @@ export const nagaDev = { "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -6140,73 +6279,13 @@ export const nagaDev = { "name": "validator", "type": "address" } - ], - "name": "isValidatorBanned", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "keySets", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig[]", + ], + "name": "isValidatorBanned", + "outputs": [ + { + "internalType": "bool", "name": "", - "type": "tuple[]" + "type": "bool" } ], "stateMutability": "view", @@ -6782,47 +6861,6 @@ export const nagaDev = { ], "stateMutability": "view", "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "components": [ - { - "internalType": "bytes", - "name": "pubkey", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - } - ], - "internalType": "struct IPubkeyRouter.RootKey[]", - "name": "newRootKeys", - "type": "tuple[]" - } - ], - "name": "verifyKeySetCounts", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" } ] } @@ -6833,8 +6871,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xdb65DEa689e55e62f5265505b84bC9c3e69204f8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDE14A0ae0a230F6593064Cc3Beb55BbB324C5A39", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "anonymous": false, @@ -6972,7 +7010,7 @@ export const nagaDev = { { "network": "naga-dev", "address_hash": "0x5E8db2E7af793f4095c4843C8cBD87C5D8604838", - "inserted_at": "2025-08-27T16:05:03Z", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -8025,8 +8063,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -8779,6 +8817,78 @@ export const nagaDev = { "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "ethAddresses", + "type": "address[]" + } + ], + "name": "getPkpInfoFromEthAddresses", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "tokenIds", + "type": "uint256[]" + } + ], + "name": "getPkpInfoFromTokenIds", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "getPkpNftAddress", @@ -9087,8 +9197,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -9833,6 +9943,170 @@ export const nagaDev = { "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "ethAddresses", + "type": "address[]" + } + ], + "name": "getPkpInfoFromEthAddresses", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "pageSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pageIndex", + "type": "uint256" + } + ], + "name": "getPkpInfoFromOwnerAddress", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pageSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pageIndex", + "type": "uint256" + } + ], + "name": "getPkpInfoFromOwnerTokenId", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "tokenIds", + "type": "uint256[]" + } + ], + "name": "getPkpInfoFromTokenIds", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "getPkpNftMetadataAddress", @@ -10351,8 +10625,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -11366,8 +11640,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -12701,8 +12975,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x3451a55c12Cb511137C2F048b4E02F1b718Fc5D5", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x59702788e7C72dc221880337447657d19508682f", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -12865,8 +13139,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x4d2C916AE6d8947246126546a7FdF43fca87905C", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9DE9c6Ef842faC3Dd52c38BC9B6c0EC48482358d", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [], @@ -13102,8 +13376,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -13738,8 +14012,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -14794,8 +15068,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -15193,11 +15467,6 @@ export const nagaDev = { "name": "CallerNotOwner", "type": "error" }, - { - "inputs": [], - "name": "MustBeLessThan100", - "type": "error" - }, { "inputs": [], "name": "MustBeNonzero", diff --git a/packages/contracts/dist/prod/naga-dev.json b/packages/contracts/dist/prod/naga-dev.json index 4ecc1c76a..a96f99f8f 100644 --- a/packages/contracts/dist/prod/naga-dev.json +++ b/packages/contracts/dist/prod/naga-dev.json @@ -5,8 +5,8 @@ "contracts": [ { "network": "naga-dev", - "address_hash": "0xDf6939412875982977F510D8aA3401D6f3a8d646", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -714,6 +714,11 @@ "name": "CannotModifyUnfrozen", "type": "error" }, + { + "inputs": [], + "name": "CannotMoveToLockedValidatorStateBeforeEpochEnds", + "type": "error" + }, { "inputs": [], "name": "CannotStakeZero", @@ -1431,6 +1436,11 @@ "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -2631,6 +2641,132 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + } + ], + "name": "getKeySet", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "keySets", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -2691,6 +2827,47 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "components": [ + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "keyType", + "type": "uint256" + } + ], + "internalType": "struct IPubkeyRouter.RootKey[]", + "name": "newRootKeys", + "type": "tuple[]" + } + ], + "name": "verifyKeySetCounts", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "ActiveValidatorsCannotLeave", @@ -3307,6 +3484,19 @@ "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -3371,25 +3561,6 @@ "stateMutability": "pure", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "attestedAddress", - "type": "address" - } - ], - "name": "getAttestedPubKey", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -4092,6 +4263,11 @@ "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4283,6 +4459,11 @@ "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4440,6 +4621,25 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "attestedAddress", + "type": "address" + } + ], + "name": "getAttestedPubKey", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -4488,72 +4688,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - } - ], - "name": "getKeySet", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getKeyTypes", @@ -5960,6 +6094,11 @@ "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -6140,73 +6279,13 @@ "name": "validator", "type": "address" } - ], - "name": "isValidatorBanned", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "keySets", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig[]", + ], + "name": "isValidatorBanned", + "outputs": [ + { + "internalType": "bool", "name": "", - "type": "tuple[]" + "type": "bool" } ], "stateMutability": "view", @@ -6782,47 +6861,6 @@ ], "stateMutability": "view", "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "components": [ - { - "internalType": "bytes", - "name": "pubkey", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - } - ], - "internalType": "struct IPubkeyRouter.RootKey[]", - "name": "newRootKeys", - "type": "tuple[]" - } - ], - "name": "verifyKeySetCounts", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" } ] } @@ -6833,8 +6871,8 @@ "contracts": [ { "network": "naga-dev", - "address_hash": "0xdb65DEa689e55e62f5265505b84bC9c3e69204f8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDE14A0ae0a230F6593064Cc3Beb55BbB324C5A39", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "anonymous": false, @@ -6972,7 +7010,7 @@ { "network": "naga-dev", "address_hash": "0x5E8db2E7af793f4095c4843C8cBD87C5D8604838", - "inserted_at": "2025-08-27T16:05:03Z", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -8025,8 +8063,8 @@ "contracts": [ { "network": "naga-dev", - "address_hash": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -8779,6 +8817,78 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "ethAddresses", + "type": "address[]" + } + ], + "name": "getPkpInfoFromEthAddresses", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "tokenIds", + "type": "uint256[]" + } + ], + "name": "getPkpInfoFromTokenIds", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "getPkpNftAddress", @@ -9087,8 +9197,8 @@ "contracts": [ { "network": "naga-dev", - "address_hash": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -9833,6 +9943,170 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "ethAddresses", + "type": "address[]" + } + ], + "name": "getPkpInfoFromEthAddresses", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "pageSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pageIndex", + "type": "uint256" + } + ], + "name": "getPkpInfoFromOwnerAddress", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pageSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pageIndex", + "type": "uint256" + } + ], + "name": "getPkpInfoFromOwnerTokenId", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "tokenIds", + "type": "uint256[]" + } + ], + "name": "getPkpInfoFromTokenIds", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "getPkpNftMetadataAddress", @@ -10351,8 +10625,8 @@ "contracts": [ { "network": "naga-dev", - "address_hash": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -11366,8 +11640,8 @@ "contracts": [ { "network": "naga-dev", - "address_hash": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -12701,8 +12975,8 @@ "contracts": [ { "network": "naga-dev", - "address_hash": "0x3451a55c12Cb511137C2F048b4E02F1b718Fc5D5", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x59702788e7C72dc221880337447657d19508682f", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -12865,8 +13139,8 @@ "contracts": [ { "network": "naga-dev", - "address_hash": "0x4d2C916AE6d8947246126546a7FdF43fca87905C", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9DE9c6Ef842faC3Dd52c38BC9B6c0EC48482358d", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [], @@ -13102,8 +13376,8 @@ "contracts": [ { "network": "naga-dev", - "address_hash": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -13738,8 +14012,8 @@ "contracts": [ { "network": "naga-dev", - "address_hash": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -14794,8 +15068,8 @@ "contracts": [ { "network": "naga-dev", - "address_hash": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -15193,11 +15467,6 @@ "name": "CallerNotOwner", "type": "error" }, - { - "inputs": [], - "name": "MustBeLessThan100", - "type": "error" - }, { "inputs": [], "name": "MustBeNonzero", diff --git a/packages/contracts/dist/prod/naga-dev.ts b/packages/contracts/dist/prod/naga-dev.ts index c70742a5f..b4cfee8e9 100644 --- a/packages/contracts/dist/prod/naga-dev.ts +++ b/packages/contracts/dist/prod/naga-dev.ts @@ -5,8 +5,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xDf6939412875982977F510D8aA3401D6f3a8d646", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -714,6 +714,11 @@ export const nagaDev = { "name": "CannotModifyUnfrozen", "type": "error" }, + { + "inputs": [], + "name": "CannotMoveToLockedValidatorStateBeforeEpochEnds", + "type": "error" + }, { "inputs": [], "name": "CannotStakeZero", @@ -1431,6 +1436,11 @@ export const nagaDev = { "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -2631,6 +2641,132 @@ export const nagaDev = { "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + } + ], + "name": "getKeySet", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "keySets", + "outputs": [ + { + "components": [ + { + "internalType": "uint32", + "name": "minimumThreshold", + "type": "uint32" + }, + { + "internalType": "uint32", + "name": "monetaryValue", + "type": "uint32" + }, + { + "internalType": "bool", + "name": "completeIsolation", + "type": "bool" + }, + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "internalType": "string", + "name": "description", + "type": "string" + }, + { + "internalType": "uint256[]", + "name": "realms", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "curves", + "type": "uint256[]" + }, + { + "internalType": "uint256[]", + "name": "counts", + "type": "uint256[]" + }, + { + "internalType": "address[]", + "name": "recoveryPartyMembers", + "type": "address[]" + } + ], + "internalType": "struct LibStakingStorage.KeySetConfig[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -2691,6 +2827,47 @@ export const nagaDev = { "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "string", + "name": "identifier", + "type": "string" + }, + { + "components": [ + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "keyType", + "type": "uint256" + } + ], + "internalType": "struct IPubkeyRouter.RootKey[]", + "name": "newRootKeys", + "type": "tuple[]" + } + ], + "name": "verifyKeySetCounts", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "ActiveValidatorsCannotLeave", @@ -3307,6 +3484,19 @@ export const nagaDev = { "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -3371,25 +3561,6 @@ export const nagaDev = { "stateMutability": "pure", "type": "function" }, - { - "inputs": [ - { - "internalType": "address", - "name": "attestedAddress", - "type": "address" - } - ], - "name": "getAttestedPubKey", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [ { @@ -4092,6 +4263,11 @@ export const nagaDev = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4283,6 +4459,11 @@ export const nagaDev = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -4440,6 +4621,25 @@ export const nagaDev = { "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address", + "name": "attestedAddress", + "type": "address" + } + ], + "name": "getAttestedPubKey", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -4488,72 +4688,6 @@ export const nagaDev = { "stateMutability": "view", "type": "function" }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - } - ], - "name": "getKeySet", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig", - "name": "", - "type": "tuple" - } - ], - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "name": "getKeyTypes", @@ -5960,6 +6094,11 @@ export const nagaDev = { "internalType": "uint256", "name": "minThresholdToClampAt", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "voteToAdvanceTimeOut", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.GlobalConfig", @@ -6140,73 +6279,13 @@ export const nagaDev = { "name": "validator", "type": "address" } - ], - "name": "isValidatorBanned", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "keySets", - "outputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minimumThreshold", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "monetaryValue", - "type": "uint32" - }, - { - "internalType": "bool", - "name": "completeIsolation", - "type": "bool" - }, - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "internalType": "string", - "name": "description", - "type": "string" - }, - { - "internalType": "uint256[]", - "name": "realms", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "curves", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "counts", - "type": "uint256[]" - }, - { - "internalType": "address[]", - "name": "recoveryPartyMembers", - "type": "address[]" - } - ], - "internalType": "struct LibStakingStorage.KeySetConfig[]", + ], + "name": "isValidatorBanned", + "outputs": [ + { + "internalType": "bool", "name": "", - "type": "tuple[]" + "type": "bool" } ], "stateMutability": "view", @@ -6782,47 +6861,6 @@ export const nagaDev = { ], "stateMutability": "view", "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "identifier", - "type": "string" - }, - { - "components": [ - { - "internalType": "bytes", - "name": "pubkey", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "keyType", - "type": "uint256" - } - ], - "internalType": "struct IPubkeyRouter.RootKey[]", - "name": "newRootKeys", - "type": "tuple[]" - } - ], - "name": "verifyKeySetCounts", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" } ] } @@ -6833,8 +6871,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xdb65DEa689e55e62f5265505b84bC9c3e69204f8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDE14A0ae0a230F6593064Cc3Beb55BbB324C5A39", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "anonymous": false, @@ -6972,7 +7010,7 @@ export const nagaDev = { { "network": "naga-dev", "address_hash": "0x5E8db2E7af793f4095c4843C8cBD87C5D8604838", - "inserted_at": "2025-08-27T16:05:03Z", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -8025,8 +8063,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -8779,6 +8817,78 @@ export const nagaDev = { "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "ethAddresses", + "type": "address[]" + } + ], + "name": "getPkpInfoFromEthAddresses", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "tokenIds", + "type": "uint256[]" + } + ], + "name": "getPkpInfoFromTokenIds", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "getPkpNftAddress", @@ -9087,8 +9197,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -9833,6 +9943,170 @@ export const nagaDev = { "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "ethAddresses", + "type": "address[]" + } + ], + "name": "getPkpInfoFromEthAddresses", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "pageSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pageIndex", + "type": "uint256" + } + ], + "name": "getPkpInfoFromOwnerAddress", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pageSize", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "pageIndex", + "type": "uint256" + } + ], + "name": "getPkpInfoFromOwnerTokenId", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[]", + "name": "tokenIds", + "type": "uint256[]" + } + ], + "name": "getPkpInfoFromTokenIds", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "pubkey", + "type": "bytes" + }, + { + "internalType": "address", + "name": "ethAddress", + "type": "address" + } + ], + "internalType": "struct LibPubkeyRouterStorage.PkpInfo[]", + "name": "", + "type": "tuple[]" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "getPkpNftMetadataAddress", @@ -10351,8 +10625,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -11366,8 +11640,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -12701,8 +12975,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x3451a55c12Cb511137C2F048b4E02F1b718Fc5D5", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x59702788e7C72dc221880337447657d19508682f", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -12865,8 +13139,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x4d2C916AE6d8947246126546a7FdF43fca87905C", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x9DE9c6Ef842faC3Dd52c38BC9B6c0EC48482358d", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [], @@ -13102,8 +13376,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -13738,8 +14012,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -14794,8 +15068,8 @@ export const nagaDev = { "contracts": [ { "network": "naga-dev", - "address_hash": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", - "inserted_at": "2025-08-27T16:05:03Z", + "address_hash": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", + "inserted_at": "2025-10-29T15:03:21Z", "ABI": [ { "inputs": [ @@ -15193,11 +15467,6 @@ export const nagaDev = { "name": "CallerNotOwner", "type": "error" }, - { - "inputs": [], - "name": "MustBeLessThan100", - "type": "error" - }, { "inputs": [], "name": "MustBeNonzero", diff --git a/packages/contracts/dist/signatures/develop.cjs b/packages/contracts/dist/signatures/develop.cjs index c0ae731dd..bef9bc466 100644 --- a/packages/contracts/dist/signatures/develop.cjs +++ b/packages/contracts/dist/signatures/develop.cjs @@ -5,7 +5,7 @@ const signatures = { "Staking": { - "address": "0xDf6939412875982977F510D8aA3401D6f3a8d646", + "address": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", "methods": { "getActiveUnkickedValidatorStructsAndCounts": { "inputs": [ @@ -58,6 +58,11 @@ const signatures = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -956,6 +961,19 @@ const signatures = { "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -1032,7 +1050,7 @@ const signatures = { ] }, "PubkeyRouter": { - "address": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", + "address": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", "methods": { "deriveEthAddressFromPubkey": { "inputs": [ @@ -1343,7 +1361,7 @@ const signatures = { ] }, "PKPNFT": { - "address": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", + "address": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", "methods": { "claimAndMint": { "inputs": [ @@ -1733,7 +1751,7 @@ const signatures = { ] }, "PKPHelper": { - "address": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", + "address": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", "methods": { "claimAndMintNextAndAddAuthMethodsWithTypes": { "inputs": [ @@ -2016,7 +2034,7 @@ const signatures = { ] }, "PKPPermissions": { - "address": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", + "address": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", "methods": { "addPermittedAction": { "inputs": [ @@ -2634,7 +2652,7 @@ const signatures = { ] }, "PaymentDelegation": { - "address": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", + "address": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", "methods": { "delegatePayments": { "inputs": [ @@ -2935,7 +2953,7 @@ const signatures = { ] }, "Ledger": { - "address": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", + "address": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", "methods": { "withdraw": { "inputs": [ @@ -3354,7 +3372,7 @@ const signatures = { ] }, "PriceFeed": { - "address": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", + "address": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", "methods": { "getNodesForRequest": { "inputs": [ diff --git a/packages/contracts/dist/signatures/develop.d.ts b/packages/contracts/dist/signatures/develop.d.ts index d1a353046..f6fcdda00 100644 --- a/packages/contracts/dist/signatures/develop.d.ts +++ b/packages/contracts/dist/signatures/develop.d.ts @@ -5,7 +5,7 @@ export const signatures = { "Staking": { - "address": "0xDf6939412875982977F510D8aA3401D6f3a8d646", + "address": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", "methods": { "getActiveUnkickedValidatorStructsAndCounts": { "inputs": [ @@ -58,6 +58,11 @@ export const signatures = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -956,6 +961,19 @@ export const signatures = { "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -1032,7 +1050,7 @@ export const signatures = { ] }, "PubkeyRouter": { - "address": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", + "address": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", "methods": { "deriveEthAddressFromPubkey": { "inputs": [ @@ -1343,7 +1361,7 @@ export const signatures = { ] }, "PKPNFT": { - "address": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", + "address": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", "methods": { "claimAndMint": { "inputs": [ @@ -1733,7 +1751,7 @@ export const signatures = { ] }, "PKPHelper": { - "address": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", + "address": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", "methods": { "claimAndMintNextAndAddAuthMethodsWithTypes": { "inputs": [ @@ -2016,7 +2034,7 @@ export const signatures = { ] }, "PKPPermissions": { - "address": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", + "address": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", "methods": { "addPermittedAction": { "inputs": [ @@ -2634,7 +2652,7 @@ export const signatures = { ] }, "PaymentDelegation": { - "address": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", + "address": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", "methods": { "delegatePayments": { "inputs": [ @@ -2935,7 +2953,7 @@ export const signatures = { ] }, "Ledger": { - "address": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", + "address": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", "methods": { "withdraw": { "inputs": [ @@ -3354,7 +3372,7 @@ export const signatures = { ] }, "PriceFeed": { - "address": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", + "address": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", "methods": { "getNodesForRequest": { "inputs": [ diff --git a/packages/contracts/dist/signatures/develop.js b/packages/contracts/dist/signatures/develop.js index 5cbc839ee..809348626 100644 --- a/packages/contracts/dist/signatures/develop.js +++ b/packages/contracts/dist/signatures/develop.js @@ -5,7 +5,7 @@ export const signatures = { "Staking": { - "address": "0xDf6939412875982977F510D8aA3401D6f3a8d646", + "address": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", "methods": { "getActiveUnkickedValidatorStructsAndCounts": { "inputs": [ @@ -58,6 +58,11 @@ export const signatures = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -956,6 +961,19 @@ export const signatures = { "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -1032,7 +1050,7 @@ export const signatures = { ] }, "PubkeyRouter": { - "address": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", + "address": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", "methods": { "deriveEthAddressFromPubkey": { "inputs": [ @@ -1343,7 +1361,7 @@ export const signatures = { ] }, "PKPNFT": { - "address": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", + "address": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", "methods": { "claimAndMint": { "inputs": [ @@ -1733,7 +1751,7 @@ export const signatures = { ] }, "PKPHelper": { - "address": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", + "address": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", "methods": { "claimAndMintNextAndAddAuthMethodsWithTypes": { "inputs": [ @@ -2016,7 +2034,7 @@ export const signatures = { ] }, "PKPPermissions": { - "address": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", + "address": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", "methods": { "addPermittedAction": { "inputs": [ @@ -2634,7 +2652,7 @@ export const signatures = { ] }, "PaymentDelegation": { - "address": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", + "address": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", "methods": { "delegatePayments": { "inputs": [ @@ -2935,7 +2953,7 @@ export const signatures = { ] }, "Ledger": { - "address": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", + "address": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", "methods": { "withdraw": { "inputs": [ @@ -3354,7 +3372,7 @@ export const signatures = { ] }, "PriceFeed": { - "address": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", + "address": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", "methods": { "getNodesForRequest": { "inputs": [ diff --git a/packages/contracts/dist/signatures/naga-dev.cjs b/packages/contracts/dist/signatures/naga-dev.cjs index 7a686724e..aa261e34e 100644 --- a/packages/contracts/dist/signatures/naga-dev.cjs +++ b/packages/contracts/dist/signatures/naga-dev.cjs @@ -5,7 +5,7 @@ const signatures = { "Staking": { - "address": "0xDf6939412875982977F510D8aA3401D6f3a8d646", + "address": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", "methods": { "getActiveUnkickedValidatorStructsAndCounts": { "inputs": [ @@ -58,6 +58,11 @@ const signatures = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -956,6 +961,19 @@ const signatures = { "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -1032,7 +1050,7 @@ const signatures = { ] }, "PubkeyRouter": { - "address": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", + "address": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", "methods": { "deriveEthAddressFromPubkey": { "inputs": [ @@ -1343,7 +1361,7 @@ const signatures = { ] }, "PKPNFT": { - "address": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", + "address": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", "methods": { "claimAndMint": { "inputs": [ @@ -1733,7 +1751,7 @@ const signatures = { ] }, "PKPHelper": { - "address": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", + "address": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", "methods": { "claimAndMintNextAndAddAuthMethodsWithTypes": { "inputs": [ @@ -2016,7 +2034,7 @@ const signatures = { ] }, "PKPPermissions": { - "address": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", + "address": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", "methods": { "addPermittedAction": { "inputs": [ @@ -2634,7 +2652,7 @@ const signatures = { ] }, "PaymentDelegation": { - "address": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", + "address": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", "methods": { "delegatePayments": { "inputs": [ @@ -2935,7 +2953,7 @@ const signatures = { ] }, "Ledger": { - "address": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", + "address": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", "methods": { "withdraw": { "inputs": [ @@ -3354,7 +3372,7 @@ const signatures = { ] }, "PriceFeed": { - "address": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", + "address": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", "methods": { "getNodesForRequest": { "inputs": [ diff --git a/packages/contracts/dist/signatures/naga-dev.d.ts b/packages/contracts/dist/signatures/naga-dev.d.ts index d3fc0190f..ae642fa3d 100644 --- a/packages/contracts/dist/signatures/naga-dev.d.ts +++ b/packages/contracts/dist/signatures/naga-dev.d.ts @@ -5,7 +5,7 @@ export const signatures = { "Staking": { - "address": "0xDf6939412875982977F510D8aA3401D6f3a8d646", + "address": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", "methods": { "getActiveUnkickedValidatorStructsAndCounts": { "inputs": [ @@ -58,6 +58,11 @@ export const signatures = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -956,6 +961,19 @@ export const signatures = { "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -1032,7 +1050,7 @@ export const signatures = { ] }, "PubkeyRouter": { - "address": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", + "address": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", "methods": { "deriveEthAddressFromPubkey": { "inputs": [ @@ -1343,7 +1361,7 @@ export const signatures = { ] }, "PKPNFT": { - "address": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", + "address": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", "methods": { "claimAndMint": { "inputs": [ @@ -1733,7 +1751,7 @@ export const signatures = { ] }, "PKPHelper": { - "address": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", + "address": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", "methods": { "claimAndMintNextAndAddAuthMethodsWithTypes": { "inputs": [ @@ -2016,7 +2034,7 @@ export const signatures = { ] }, "PKPPermissions": { - "address": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", + "address": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", "methods": { "addPermittedAction": { "inputs": [ @@ -2634,7 +2652,7 @@ export const signatures = { ] }, "PaymentDelegation": { - "address": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", + "address": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", "methods": { "delegatePayments": { "inputs": [ @@ -2935,7 +2953,7 @@ export const signatures = { ] }, "Ledger": { - "address": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", + "address": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", "methods": { "withdraw": { "inputs": [ @@ -3354,7 +3372,7 @@ export const signatures = { ] }, "PriceFeed": { - "address": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", + "address": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", "methods": { "getNodesForRequest": { "inputs": [ diff --git a/packages/contracts/dist/signatures/naga-dev.js b/packages/contracts/dist/signatures/naga-dev.js index ce8337944..8b231adf7 100644 --- a/packages/contracts/dist/signatures/naga-dev.js +++ b/packages/contracts/dist/signatures/naga-dev.js @@ -5,7 +5,7 @@ export const signatures = { "Staking": { - "address": "0xDf6939412875982977F510D8aA3401D6f3a8d646", + "address": "0x544ac098670a266d3598B543aefBEbAb0A2C86C6", "methods": { "getActiveUnkickedValidatorStructsAndCounts": { "inputs": [ @@ -58,6 +58,11 @@ export const signatures = { "internalType": "uint256", "name": "startTime", "type": "uint256" + }, + { + "internalType": "uint256", + "name": "lastAdvanceVoteTime", + "type": "uint256" } ], "internalType": "struct LibStakingStorage.Epoch", @@ -956,6 +961,19 @@ export const signatures = { "name": "StakingTokenSet", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "realmId", + "type": "uint256" + } + ], + "name": "VoteToAdvanceTimeOutElapsed", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -1032,7 +1050,7 @@ export const signatures = { ] }, "PubkeyRouter": { - "address": "0xF6D2F7b57FC5914d05cf75486567a9fDC689F4a1", + "address": "0x9067d809df0CF7DaF6a9f20E39d572fee1564c8E", "methods": { "deriveEthAddressFromPubkey": { "inputs": [ @@ -1343,7 +1361,7 @@ export const signatures = { ] }, "PKPNFT": { - "address": "0x2b46C57b409F761fb1Ed9EfecA19f97C11FA6d15", + "address": "0xB144B88514316a2f155D22937C76795b8fC9aDCd", "methods": { "claimAndMint": { "inputs": [ @@ -1733,7 +1751,7 @@ export const signatures = { ] }, "PKPHelper": { - "address": "0xca141587f46f003fdf5eD1d504B3Afc2212111b8", + "address": "0xDC62fcb77554229FF2d9857B25f5BB824d33aE71", "methods": { "claimAndMintNextAndAddAuthMethodsWithTypes": { "inputs": [ @@ -2016,7 +2034,7 @@ export const signatures = { ] }, "PKPPermissions": { - "address": "0x10Ab76aB4A1351cE7FBFBaf6431E5732037DFCF6", + "address": "0x85Fa92469Ed765791818b17C926d29fA824E25Ca", "methods": { "addPermittedAction": { "inputs": [ @@ -2634,7 +2652,7 @@ export const signatures = { ] }, "PaymentDelegation": { - "address": "0x910dab0c9C035319db2958CCfAA9e7C85f380Ab2", + "address": "0x2F202f846CBB27Aa5EbE6b9cfad50D65c49c01FF", "methods": { "delegatePayments": { "inputs": [ @@ -2935,7 +2953,7 @@ export const signatures = { ] }, "Ledger": { - "address": "0xCed2087d0ABA6900e19F09718b8D36Bc91bF07BA", + "address": "0x81061b50a66EBB3E7F9CEbeF2b1C1A961aE858F4", "methods": { "withdraw": { "inputs": [ @@ -3354,7 +3372,7 @@ export const signatures = { ] }, "PriceFeed": { - "address": "0xa5c2B33E8eaa1B51d45C4dEa77A9d77FD50E0fA3", + "address": "0xa997f8DE767d59ecb47A76B421E0C5a1764dD945", "methods": { "getNodesForRequest": { "inputs": [ From eb5fd25755c8d938e389c943940376d68133bb80 Mon Sep 17 00:00:00 2001 From: anson Date: Wed, 29 Oct 2025 15:40:19 +0000 Subject: [PATCH 2/3] fix(e2e): always connect the client first before funding, so we can throw early --- packages/e2e/src/e2e.spec.ts | 5 ++--- packages/e2e/src/init.ts | 20 ++++++++++++-------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/packages/e2e/src/e2e.spec.ts b/packages/e2e/src/e2e.spec.ts index bd425633f..bf8387355 100644 --- a/packages/e2e/src/e2e.spec.ts +++ b/packages/e2e/src/e2e.spec.ts @@ -43,9 +43,8 @@ describe('all', () => { // alicePkpAuthContext = await createPkpAuthContext(ctx); eveCustomAuthContext = await createCustomAuthContext(ctx); } catch (e) { - console.error('❌ Failed to initialise E2E test context'); - console.error(e); - throw e; + console.error('❌ Failed to initialise E2E test context', e); + process.exit(1); } }); diff --git a/packages/e2e/src/init.ts b/packages/e2e/src/init.ts index 4ffe403c7..97f20c34e 100644 --- a/packages/e2e/src/init.ts +++ b/packages/e2e/src/init.ts @@ -141,7 +141,18 @@ export const init = async ( ); } - // Fund accounts based on network type + /** + * ==================================== + * Initialise the LitClient + * ==================================== + */ + const litClient = await createLitClient({ network: _networkModule }); + + /** + * ==================================== + * Fund accounts based on network type + * ==================================== + */ const isLocal = config.type === 'local'; const masterAccount = isLocal ? localMasterAccount : liveMasterAccount; const fundingAmount = isLocal @@ -164,13 +175,6 @@ export const init = async ( thenFundWith: fundingAmount, }); - /** - * ==================================== - * Initialise the LitClient - * ==================================== - */ - const litClient = await createLitClient({ network: _networkModule }); - /** * ==================================== * (Master) Initialise Payment Manager From 6bd3394f0fd77bdc4029f89bd29831c897be76d1 Mon Sep 17 00:00:00 2001 From: anson Date: Wed, 29 Oct 2025 22:46:36 +0000 Subject: [PATCH 3/3] chore(release): add `patch` changeset --- .changeset/giant-adults-wonder.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .changeset/giant-adults-wonder.md diff --git a/.changeset/giant-adults-wonder.md b/.changeset/giant-adults-wonder.md new file mode 100644 index 000000000..afd202014 --- /dev/null +++ b/.changeset/giant-adults-wonder.md @@ -0,0 +1,12 @@ +--- +'@lit-protocol/contracts': patch +'@lit-protocol/e2e': patch +'@lit-protocol/auth': patch +'@lit-protocol/auth-helpers': patch +'@lit-protocol/auth-services': patch +'@lit-protocol/constants': patch +'@lit-protocol/lit-client': patch +'@lit-protocol/networks': patch +--- + +Update the naga-dev staking address. users are expected to reinstall the SDK to apply this patch to continue using the naga-dev network.