Skip to content

Commit

Permalink
Merge pull request #106 from OpenZeppelin/plat-2795-backend-rename-al…
Browse files Browse the repository at this point in the history
…l-occurrences-from-gnosis-safe-safe

Replace Gnosis viaTypes by Safe
  • Loading branch information
MCarlomagno authored Sep 27, 2023
2 parents 2ec8a84 + 850fe81 commit 897675c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/create-batch-proposal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async function main() {
description: 'Mint, transfer and modify access control',
type: 'batch',
via: safeAddress,
viaType: 'Gnosis Safe',
viaType: 'Safe',
metadata: {}, // Required field but empty
steps,
},
Expand Down
2 changes: 1 addition & 1 deletion examples/create-proposal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function main() {
functionInterface: { name: 'setNumber', inputs: [{ name: 'value', type: 'uint256' }] },
functionInputs: ['42'],
via: '0x534Fba01B138915C9F6D2b58bCF5C4712852cfE8',
viaType: 'Gnosis Safe',
viaType: 'Safe',
},
});

Expand Down
2 changes: 1 addition & 1 deletion packages/deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ There are a number of optional fields, these include:
- `proxyAdminAddress` - The Proxy Admin address in case you are upgrading with a transparent proxy.
- `newImplementationABI` - The ABI of the new implementation address. This will be required if the implementation contract does not exist in OpenZeppelin Defender.
- `approvalProcessId` - The approval process ID in case you wish to override the default global approval process.
- `senderAddress` - The address you wish to create the Gnosis proposal with. When creating an upgrade proposal, we provide you with an external link to the Gnosis Safe UI. This will lead you to a proposal ready to be signed. This proposal will contain information about what upgrade to execute, as well as who initiated the proposal. The `senderAddress` property lets you customise define which address this is.
- `senderAddress` - The address you wish to create the Safe proposal with. When creating an upgrade proposal, we provide you with an external link to the Safe UI. This will lead you to a proposal ready to be signed. This proposal will contain information about what upgrade to execute, as well as who initiated the proposal. The `senderAddress` property lets you customise define which address this is.

Below is an example of a contract upgrade request which responds with a `UpgradeContractResponse`

Expand Down
2 changes: 1 addition & 1 deletion packages/deploy/src/models/approval-process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface ApprovalProcessResponse {
| 'EOA'
| 'Contract'
| 'Multisig'
| 'Gnosis Safe'
| 'Safe'
| 'Gnosis Multisig'
| 'Relayer'
| 'Unknown'
Expand Down
2 changes: 1 addition & 1 deletion packages/proposal/src/models/proposal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface ExternalApiCreateProposalRequest {
type: ProposalType;
metadata?: ProposalMetadata;
via?: Address;
viaType?: 'EOA' | 'Gnosis Safe' | 'Gnosis Multisig' | 'Relayer';
viaType?: 'EOA' | 'Safe' | 'Gnosis Multisig' | 'Relayer';
functionInterface?: ProposalTargetFunction;
functionInputs?: ProposalFunctionInputs;
steps?: ProposalStep[];
Expand Down

0 comments on commit 897675c

Please sign in to comment.