You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[`Morpho.sol`](./src/examples/Morpho.sol) - Contracts that allow you to drive
20
+
Morpho lending market positions using Signet Orders. This allows you to
21
+
supply, borrow, and lend Morpho positions on Ethereum from Signet instantly
22
+
and atomically.
19
23
20
-
## Main Examples
24
+
## Orders Examples
21
25
22
26
-[`SignetStd.sol`](./src/SignetStd.sol) - A simple contract that
23
27
auto-configures Signet system parameters, based on the chain id.
24
28
-[`Flash.sol`](./src/examples/Flash.sol) - Allows your contract to flash borrow
25
-
any asset (provided some searcher will provide it). Flash loans work by having an input and output of the same asset. The Output is then used as the Input to its own Order. This is pretty neat 🎀
29
+
any asset (provided some searcher will provide it). Flash loans work by
30
+
having an input and output of the same asset. The Output is then used as the
31
+
Input to its own Order. This is pretty neat 🎀
26
32
-[`GetOut.sol`](./src/examples/GetOut.sol) - A shortcut contract for
27
33
exiting Signet (by offering searchers a 50 bps fee).
28
34
-[`PayMe.sol`](./src/examples/PayMe.sol) - Payment gating for smart contracts,
29
-
using a Signet Order with no inputs. These ensures that contract execution is invalid unless SOMEONE has filled the Order. Unlike traditional payment gates that check `msg.value`, this does NOT require the calling contract to manage cash flow. Instead _any third party_ can fill the order. The calling contract can be blind to the payment. This greatly simplifies contract logic required
35
+
using a Signet Order with no inputs. These ensures that contract execution is
36
+
invalid unless SOMEONE has filled the Order. Unlike traditional payment gates
37
+
that check `msg.value`, this does NOT require the calling contract to manage
38
+
cash flow. Instead _any third party_ can fill the order. The calling contract
39
+
can be blind to the payment. This greatly simplifies contract logic required
30
40
to implement payment gates.
31
41
-[`PayYou.sol`](./src/examples/PayYou.sol) - The opposite of payment gating,
32
-
this allows a contract to generate MEV by offering a Signet Order with no outputs. This payment becomes a bounty for calling the contract, and functions as an incentivized scheduling system.
42
+
this allows a contract to generate MEV by offering a Signet Order with no
43
+
outputs. This payment becomes a bounty for calling the contract, and
0 commit comments