Skip to content

Commit e483100

Browse files
Update working-with-libraries.md
1 parent ae6c91f commit e483100

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

program-analysis/echidna/advanced/working-with-libraries.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@
1010

1111
## Introduction
1212

13-
Solidity introduced a the concept of a smart contract library. Before continue, it is very recommended to review [the official Solidity documentation](https://docs.soliditylang.org/en/v0.8.19/contracts.html#libraries) to make sure
14-
you understand how libraries are created and deployed. When a user creates a library, Solidity will do one of these two options:
13+
Solidity support two types of libraries ([see the documentation](https://docs.soliditylang.org/en/v0.8.19/contracts.html#libraries)):
1514

1615
- If all the functions are internal, the library is compiled into bytecode and added into the contracts that use it.
1716
- If there are some external functions, the library should be deployed into some address. Finally, the bytecode calling the library should be linked.
1817

19-
The following is only needed if your codebase uses libraries that need to be linked. However, if you need to use libraries that needed to be deployed (and the bytecode needs to be linked), then you will need this tutorial.
18+
The following is only needed if your codebase uses libraries that need to be linked.
2019

2120
## Example code
2221

0 commit comments

Comments
 (0)