Skip to content
Merged
Changes from all commits
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
20 changes: 10 additions & 10 deletions script/universal/MultisigScript.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {Signatures} from "./Signatures.sol";
import {Simulation} from "./Simulation.sol";

/**
* @title MultisigBuilder
* @title MultisigScript
* @notice Script builder for Forge scripts that require signatures from Safes. Supports both non-nested
* Safes, as well as nested Safes of arbitrary depth (Safes where the signers are other Safes).
*
Expand All @@ -30,9 +30,9 @@ import {Simulation} from "./Simulation.sol";
* └──────────┘
*
* Sequence:
* ┌───────┐┌───────┐┌───────────┐┌──────────────
* │Signer1││Signer2││Facilitator││MultisigBuilder
* └───┬───┘└───┬───┘└─────┬─────┘└───────┬──────
* ┌───────┐┌───────┐┌───────────┐┌──────────────┐
* │Signer1││Signer2││Facilitator││MultisigScript
* └───┬───┘└───┬───┘└─────┬─────┘└───────┬──────┘
* │ │ sign() │
* │─────────────────────────────────>│
* │ <sig1> │ │
Expand Down Expand Up @@ -62,9 +62,9 @@ import {Simulation} from "./Simulation.sol";
* └──────────┘
*
* Sequence:
* ┌───────┐┌───────┐┌───────┐┌───────┐┌───────────┐ ┌──────────────
* │Signer1││Signer2││Signer3││Signer4││Facilitator│ │MultisigBuilder
* └───┬───┘└───┬───┘└───┬───┘└───┬───┘└─────┬─────┘ └───────┬──────
* ┌───────┐┌───────┐┌───────┐┌───────┐┌───────────┐ ┌──────────────┐
* │Signer1││Signer2││Signer3││Signer4││Facilitator│ │MultisigScript
* └───┬───┘└───┬───┘└───┬───┘└───┬───┘└─────┬─────┘ └───────┬──────┘
* │ │ │ sign(Safe1) │ │
* │─────────────────────────────────────────────────────────────>│
* │ │ <sig1> │ │ │
Expand Down Expand Up @@ -109,9 +109,9 @@ import {Simulation} from "./Simulation.sol";
* └──────────┘
*
* Sequence:
* ┌───────┐┌───────┐┌───────┐┌───────┐┌───────┐┌───────┐┌───────────┐ ┌──────────────
* │Signer1││Signer2││Signer3││Signer4││Signer5││Signer6││Facilitator│ │MultisigBuilder
* └───┬───┘└───┬───┘└───┬───┘└───┬───┘└───┬───┘└───┬───┘└─────┬─────┘ └───────┬──────
* ┌───────┐┌───────┐┌───────┐┌───────┐┌───────┐┌───────┐┌───────────┐ ┌──────────────┐
* │Signer1││Signer2││Signer3││Signer4││Signer5││Signer6││Facilitator│ │MultisigScript
* └───┬───┘└───┬───┘└───┬───┘└───┬───┘└───┬───┘└───┬───┘└─────┬─────┘ └───────┬──────┘
* │ │ │ │ sign(Safe1,Safe4) │ │
* │─────────────────────────────────────────────────────────────────────────────────────>│
* │ │ │ <sig1> │ │ │ │
Expand Down
Loading