@evvm/testnet-contracts 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,7 +59,7 @@ abstract contract StakingServiceHooks {
59
59
  * @dev CRITICAL: This function ensures atomicity - if any step fails, the entire transaction reverts
60
60
  * preventing the loss of Principal Tokens that could occur with manual step-by-step execution
61
61
  */
62
- function makeStakeService(uint256 amountToStake) public {
62
+ function _makeStakeService(uint256 amountToStake) internal {
63
63
  Staking(stakingHookAddress).prepareServiceStaking(amountToStake);
64
64
  Evvm(evvmHookAddress).caPay(
65
65
  address(stakingHookAddress),
@@ -84,7 +84,7 @@ abstract contract StakingServiceHooks {
84
84
  *
85
85
  * @dev Unstaking is subject to the same time locks as regular user unstaking
86
86
  */
87
- function makeUnstakeService(uint256 amountToUnstake) public {
87
+ function _makeUnstakeService(uint256 amountToUnstake) internal {
88
88
  Staking(stakingHookAddress).serviceUnstaking(amountToUnstake);
89
89
  }
90
90
 
@@ -110,7 +110,7 @@ abstract contract StakingServiceHooks {
110
110
  * is upgraded but the staking contract remains the same. In most cases, prefer
111
111
  * using _changeStakingHookAddress which updates both addresses automatically.
112
112
  */
113
- function changeEvvmHookAddress(address newEvvmAddress) internal {
113
+ function _changeEvvmHookAddress(address newEvvmAddress) internal {
114
114
  evvmHookAddress = newEvvmAddress;
115
115
  }
116
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evvm/testnet-contracts",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "EVVM Testnet Contracts - Smart contracts and tools for scalable, modular, and cross-chain EVM virtualization",
5
5
  "files": [
6
6
  "contracts/**/*.sol",