Skip to content

Commit 702763e

Browse files
committed
Fix broken README links to example contracts
Removed stale SignetStd.sol entry and corrected example paths from src/examples/ to src/l2/examples/.
1 parent d6ed845 commit 702763e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,20 @@ are effectively MEV, you can do some really interesting things with them. Like
2323

2424
## Orders Examples
2525

26-
- [`SignetStd.sol`](./src/SignetStd.sol) - A simple contract that
27-
auto-configures Signet system parameters, based on the chain id.
28-
- [`Flash.sol`](./src/examples/Flash.sol) - Allows your contract to flash borrow
26+
- [`Flash.sol`](./src/l2/examples/Flash.sol) - Allows your contract to flash borrow
2927
any asset (provided some searcher will provide it). Flash loans work by
3028
having an input and output of the same asset. The Output is then used as the
3129
Input to its own Order. This is pretty neat 🎀
32-
- [`GetOut.sol`](./src/examples/GetOut.sol) - A shortcut contract for
30+
- [`GetOut.sol`](./src/l2/examples/GetOut.sol) - A shortcut contract for
3331
exiting Signet (by offering searchers a 50 bps fee).
34-
- [`PayMe.sol`](./src/examples/PayMe.sol) - Payment gating for smart contracts,
32+
- [`PayMe.sol`](./src/l2/examples/PayMe.sol) - Payment gating for smart contracts,
3533
using a Signet Order with no inputs. These ensures that contract execution is
3634
invalid unless SOMEONE has filled the Order. Unlike traditional payment gates
3735
that check `msg.value`, this does NOT require the calling contract to manage
3836
cash flow. Instead _any third party_ can fill the order. The calling contract
3937
can be blind to the payment. This greatly simplifies contract logic required
4038
to implement payment gates.
41-
- [`PayYou.sol`](./src/examples/PayYou.sol) - The opposite of payment gating,
39+
- [`PayYou.sol`](./src/l2/examples/PayYou.sol) - The opposite of payment gating,
4240
this allows a contract to generate MEV by offering a Signet Order with no
4341
outputs. This payment becomes a bounty for calling the contract, and
4442
functions as an incentivized scheduling system.

0 commit comments

Comments
 (0)