Skip to content

Commit

Permalink
Merge pull request #37 from pnetwork-association/chore/upgrade-contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviera9 authored Feb 26, 2024
2 parents 52c0fc3 + eb0b6a5 commit 99c64b0
Show file tree
Hide file tree
Showing 12 changed files with 2,677 additions and 348 deletions.
2,129 changes: 2,113 additions & 16 deletions .openzeppelin/unknown-100.json

Large diffs are not rendered by default.

33 changes: 23 additions & 10 deletions lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,29 @@ module.exports = {
INFINITE: '0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'
},
TASKS: {
PARAM_NAME_ADDRESS: 'address',
PARAM_NAME_ENTITY: 'entity',
PARAM_NAME_FACTORY: 'factory',
PARAM_FLAG_NEW_IMPLEMENTATION: 'implementation',
PARAM_ADDRESS: 'address',
PARAM_DESC_ADDRESS: 'Address',
PARAM_ENTITY: 'entity',
PARAM_DESC_ENTITY: 'Address to which role will be granted/revoked',
PARAM_IMPLEMENTATION: 'implementation',
PARAM_DESC_IMPLEMENTATION: 'New implementation address',
PARAM_FLAG_LEDGER_WALLET: 'ledger',
PARAM_NAME_PROXY_ADDRESS: 'proxy',
PARAM_NAME_ROLE: 'role',
PARAM_NAME_SAFE_ADDRESS: 'safe',
PARAM_NAME_TARGET: 'target',
PARAM_NAME_REVOKE: 'revoke',
PARAM_NAME_GRANT: 'grant'
PARAM_DESC_FLAG_LEDGER_WALLET: 'Use a Ledger wallet',
PARAM_PROXY_ADDRESS: 'proxy',
PARAM_DESC_PROXY_ADDRESS: 'Proxy address',
PARAM_ROLE: 'role',
PARAM_DESC_ROLE: 'Role name to be managed',
PARAM_SAFE_ADDRESS: 'safe',
PARAM_DESC_SAFE_ADDRESS: 'Safe address',
PARAM_TARGET: 'target',
PARAM_DESC_TARGET: 'Target contract address',
PARAM_REVOKE: 'revoke',
PARAM_DESC_REVOKE: 'Revoke a role',
PARAM_GRANT: 'grant',
PARAM_DESC_GRANT: 'Grant a role',
PARAM_METADATA: 'metadata',
PARAM_DESC_METADATA: 'pNetwork metadata',
PARAM_CONTRACT_FACTORY: 'factory',
PARAM_DESC_CONTRACT_FACTORY: "Contract factory name (e.g. 'EpochsManager')"
}
}
Loading

0 comments on commit 99c64b0

Please sign in to comment.