Skip to content

Commit 4b356fa

Browse files
authored
Update types-of-precompiled-contracts.md
1 parent f8f55ee commit 4b356fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

precompiled-contracts/types-of-precompiled-contracts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: How AppLayer differentiates precompiled contracts.
66

77
AppLayer frequently references precompiled contracts in three ways: *1st-party*, *3rd-party*, and *AppChains/AppLayers*.
88

9-
**1st-party** contracts are basically the contracts provided by AppLayer itself as ready-to-use templates in the `src/contract/templates` subfolder (e.g. ERC20, ERC721, etc.), officially supported and leveraging all the features of the blockchain. Those contracts are also available in the AppLayer EVM chain.
9+
**1st-party** contracts are contracts provided by AppLayer itself as ready-to-use templates in the `src/contract/templates` subfolder (e.g. ERC20, ERC721, etc.), officially supported and leveraging all the features of the blockchain. Those contracts are also available in the AppLayer EVM chain.
1010

1111
**3rd-party** contracts act like a "slim Layer 2", in the sense that they are only processed, but have no concepts of consensus, blocks, transactions, etc. like a normal contract would. They essentially act like a "daemon" of sorts, running atop the main chain (just like a Layer 2), reading transactions made on it and reacting accordingly if said transaction happens to call it. The transaction is executed and the contract publishes the results back on the main chain (e.g. a user sent tokens to a 3rd-party exchange contract, once the transaction is confirmed on the main chain the contract will read the data field and execute its own logic, then send the exchanged tokens back on the main chain as its own transaction).
1212

0 commit comments

Comments
 (0)