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/202504-threat-model-stake-holder.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,14 @@ 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 [`67ca971bb214176d8e9481ffb4df33c85f0f6d8a`](https://github.com/immutable/contracts/tree/67ca971bb214176d8e9481ffb4df33c85f0f6d8a/contracts/staking):
16
+
The threat model is limited to the stake holder Solidity files at GitHash [`bf327c7abdadd48fd51ae632500510ac2b07b5f0`](https://github.com/immutable/contracts/tree/bf327c7abdadd48fd51ae632500510ac2b07b5f0/contracts/staking):
*[IStakeHolder.sol](https://github.com/immutable/contracts/blob/67ca971bb214176d8e9481ffb4df33c85f0f6d8a/contracts/staking/IStakeHolder.sol) is the interface that all staking implementations comply with.
21
-
*[StakeHolderBase.sol](https://github.com/immutable/contracts/blob/67ca971bb214176d8e9481ffb4df33c85f0f6d8a/contracts/staking/StakeHolderBase.sol) is the abstract base contract that all staking implementation use.
22
-
*[StakeHolderERC20.sol](https://github.com/immutable/contracts/blob/67ca971bb214176d8e9481ffb4df33c85f0f6d8a/contracts/staking/StakeHolderERC20.sol) allows an ERC20 token to be used as the staking currency.
23
-
*[StakeHolderNative.sol](https://github.com/immutable/contracts/blob/67ca971bb214176d8e9481ffb4df33c85f0f6d8a/contracts/staking/StakeHolderNative.sol) uses the native token, IMX, to be used as the staking currency.
20
+
*[IStakeHolder.sol](https://github.com/immutable/contracts/blob/bf327c7abdadd48fd51ae632500510ac2b07b5f0/contracts/staking/IStakeHolder.sol) is the interface that all staking implementations comply with.
21
+
*[StakeHolderBase.sol](https://github.com/immutable/contracts/blob/bf327c7abdadd48fd51ae632500510ac2b07b5f0/contracts/staking/StakeHolderBase.sol) is the abstract base contract that all staking implementation use.
22
+
*[StakeHolderERC20.sol](https://github.com/immutable/contracts/blob/bf327c7abdadd48fd51ae632500510ac2b07b5f0/contracts/staking/StakeHolderERC20.sol) allows an ERC20 token to be used as the staking currency.
23
+
*[StakeHolderNative.sol](https://github.com/immutable/contracts/blob/bf327c7abdadd48fd51ae632500510ac2b07b5f0/contracts/staking/StakeHolderNative.sol) uses the native token, IMX, to be used as the staking currency.
24
24
25
25
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:
26
26
@@ -29,7 +29,7 @@ Additionally, this threat model analyses whether the documentation for the time
29
29
30
30
## Background
31
31
32
-
See the [README](https://github.com/immutable/contracts/tree/67ca971bb214176d8e9481ffb4df33c85f0f6d8a/contracts/staking/README.md) file for information about the usage and design of the stake holder contract system.
32
+
See the [README](https://github.com/immutable/contracts/tree/bf327c7abdadd48fd51ae632500510ac2b07b5f0/contracts/staking/README.md) file for information about the usage and design of the stake holder contract system.
0 commit comments