You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: audits/staking/202506-threat-model-stake-holder.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,15 +13,15 @@ The StakeHolderERC20 contract can be used for any staking system that uses ERC20
13
13
14
14
## Threat Model Scope
15
15
16
-
The threat model is limited to the stake holder Solidity files at GitHash [`bf327c7abdadd48fd51ae632500510ac2b07b5f0`](https://github.com/immutable/contracts/tree/aee3f35d76117a1a22dab96fd6dfd8e92444757b/contracts/staking):
17
-
18
-
*[IStakeHolder.sol](https://github.com/immutable/contracts/blob/bf327c7abdadd48fd51ae632500510ac2b07b5f0/contracts/staking/IStakeHolder.sol) is the interface that all staking implementations comply with.
19
-
*[IStakeHolderV2.sol](https://github.com/immutable/contracts/blob/bf327c7abdadd48fd51ae632500510ac2b07b5f0/contracts/staking/IStakeHolderV2.sol) is the interface that adds the `stakeFor` function.
20
-
*[StakeHolderBase.sol](https://github.com/immutable/contracts/tree/aee3f35d76117a1a22dab96fd6dfd8e92444757b/contracts/staking/StakeHolderBase.sol) is the abstract base contract that all staking implementations use.
21
-
*[StakeHolderBaseV2.sol](https://github.com/immutable/contracts/tree/aee3f35d76117a1a22dab96fd6dfd8e92444757b/contracts/staking/StakeHolderBase.sol) is the abstract base contract that all V2 staking implementations use.
22
-
*[StakeHolderWIMX.sol](https://github.com/immutable/contracts/tree/aee3f35d76117a1a22dab96fd6dfd8e92444757b/contracts/staking/StakeHolderWIMX.sol) allows the native token, IMX, to be used as the staking currency.
23
-
*[StakeHolderERC20.sol](https://github.com/immutable/contracts/tree/aee3f35d76117a1a22dab96fd6dfd8e92444757b/contracts/staking/StakeHolderERC20.sol) allows an ERC20 token to be used as the staking currency.
24
-
*[StakeHolderNative.sol](https://github.com/immutable/contracts/tree/aee3f35d76117a1a22dab96fd6dfd8e92444757b/contracts/staking/StakeHolderNative.sol) uses the native token, IMX, to be used as the staking currency.
16
+
The threat model is limited to the stake holder Solidity files at GitHash [`11445d246d931100cca3d863d254a18c8160a68e`](https://github.com/immutable/contracts/tree/11445d246d931100cca3d863d254a18c8160a68e/contracts/staking):
17
+
18
+
*[IStakeHolder.sol](https://github.com/immutable/contracts/blob/11445d246d931100cca3d863d254a18c8160a68e/contracts/staking/IStakeHolder.sol) is the interface that all staking implementations comply with.
19
+
*[IStakeHolderV2.sol](https://github.com/immutable/contracts/blob/11445d246d931100cca3d863d254a18c8160a68e/contracts/staking/IStakeHolderV2.sol) is the interface that adds the `stakeFor` function.
20
+
*[StakeHolderBase.sol](https://github.com/immutable/contracts/tree/11445d246d931100cca3d863d254a18c8160a68e/contracts/staking/StakeHolderBase.sol) is the abstract base contract that all staking implementations use.
21
+
*[StakeHolderBaseV2.sol](https://github.com/immutable/contracts/tree/v/contracts/staking/StakeHolderBase.sol) is the abstract base contract that all V2 staking implementations use.
22
+
*[StakeHolderWIMX.sol](https://github.com/immutable/contracts/tree/11445d246d931100cca3d863d254a18c8160a68e/contracts/staking/StakeHolderWIMX.sol) allows the native token, IMX, to be used as the staking currency.
23
+
*[StakeHolderERC20.sol](https://github.com/immutable/contracts/tree/11445d246d931100cca3d863d254a18c8160a68e/contracts/staking/StakeHolderERC20.sol) allows an ERC20 token to be used as the staking currency.
24
+
*[StakeHolderNative.sol](https://github.com/immutable/contracts/tree/11445d246d931100cca3d863d254a18c8160a68e/contracts/staking/StakeHolderNative.sol) uses the native token, IMX, to be used as the staking currency.
25
25
26
26
Additionally, this threat model analyses whether the documentation for the time controller contract correctly advises operators how to achieve the required time delay upgrade functionality:
0 commit comments