Skip to content

fix(staking): fix typos #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typos
  • Loading branch information
omahs authored Nov 4, 2024
commit a70d0000a5852b02ca610fa9a93afed4a9eb3e66
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import "starkware/solidity/interfaces/ContractInitializer.sol";
/**
This contract contains the code commonly needed for a contract to be deployed behind
an upgradability proxy.
It perform the required semantics of the proxy pattern,
It performs the required semantics of the proxy pattern,
but in a generic manner.
Instantiation of the Governance and of the ContractInitializer, that are the app specific
part of initialization, has to be done by the using contract.
*/
abstract contract ProxySupport is MGovernance, BlockDirectCall, ContractInitializer {
using Addresses for address;

// The two function below (isFrozen & initialize) needed to bind to the Proxy.
// The two functions below (isFrozen & initialize) are needed to bind to the Proxy.
function isFrozen() external view virtual returns (bool) {
return false;
}
Expand All @@ -29,7 +29,7 @@ abstract contract ProxySupport is MGovernance, BlockDirectCall, ContractInitiali
1. This function cannot be called directly on the deployed contract, but only via
delegate call.
2. If an EIC is provided - init is passed onto EIC and the standard init flow is skipped.
This true for both first intialization or a later one.
This is true for both first initialization or a later one.
3. The data passed to this function is as follows:
[sub_contracts addresses, eic address, initData].

Expand Down