# How can I identify which oz libraries are used when I run "oz verify"

**URL:** <https://forum.openzeppelin.com/t/how-can-i-identify-which-oz-libraries-are-used-when-i-run-oz-verify/1494>\
**Category:** SDK\
**Tags:** proxies\
**Created:** [October 4, 2019, 4:54am UTC](https://forum.openzeppelin.com/t/how-can-i-identify-which-oz-libraries-are-used-when-i-run-oz-verify/1494 "2019-10-04T04:54:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkr](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/pkr/32/969_2.png) [@pkr](https://forum.openzeppelin.com/u/pkr)\
**Post date:** [October 4, 2019, 4:54am UTC](https://forum.openzeppelin.com/t/how-can-i-identify-which-oz-libraries-are-used-when-i-run-oz-verify/1494/1 "2019-10-04T04:54:55Z")

</div>

**Context:**  
Thank you @abcoathup for helping me with unpacking how to verify a smart contract using `oz verify`

**Commands:**

```auto
oz check
oz compile --optimizer off
oz create
oz verify
oz send-tx 
oz call

```

**Question:**  
How can I identify which oz libraries are used when I run `oz verify`?

The reason being, using `Terminal` to **build, host, use** my APIs for these smart contracts. And to have the same smart contract to show up as verified on Terminal when I upload the source code, it compiles and is unable to find the `oz libraries`.

 ![terminal_web3object_smartcontract](https://us1.discourse-cdn.com/flex022/uploads/zeppelin/original/2X/c/ccb39c25d70ec49a58d45a06b3dde60fbc03d289.png)

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [October 4, 2019, 7:19am UTC](https://forum.openzeppelin.com/t/how-can-i-identify-which-oz-libraries-are-used-when-i-run-oz-verify/1494/2 "2019-10-04T07:19:00Z")

</div>

Hi @pkr,

You could view the contracts in the UML diagram:  
[https://rinkeby.etherscan.io/viewsvg?t=1&a=0x6b5003B6cF30CbD8345aa09586114140399F1792](https://rinkeby.etherscan.io/viewsvg?t=1&a=0x6b5003B6cF30CbD8345aa09586114140399F1792)

There are two [libraries](https://solidity.readthedocs.io/en/latest/contracts.html#libraries), SafeMath and Roles but these have internal functions that are pulled into the calling contract.

Have you tried reaching out to Terminal on their Discord for OpenZeppelin support?

---

<div class="post-metadata">

**Author:** ![pkr](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/pkr/32/969_2.png) [@pkr](https://forum.openzeppelin.com/u/pkr)\
**Post date:** [October 5, 2019, 3:26am UTC](https://forum.openzeppelin.com/t/how-can-i-identify-which-oz-libraries-are-used-when-i-run-oz-verify/1494/3 "2019-10-05T03:26:14Z")

</div>

> [@abcoathup](#):
>
> There are two [libraries](https://solidity.readthedocs.io/en/latest/contracts.html#libraries), SafeMath and Roles but these have internal functions that are pulled into the calling contract.

Thank you, how do I find the deployed contract address for the above two mentioned libraries, so I can add them in Terminal?

---

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [October 5, 2019, 7:53am UTC](https://forum.openzeppelin.com/t/how-can-i-identify-which-oz-libraries-are-used-when-i-run-oz-verify/1494/4 "2019-10-05T07:53:49Z")

</div>

Hi @pkr,

SafeMath and Roles only have internal functions that are pulled into the calling contract, so there isn’t a library contract address for these libraries.

---

<div class="post-metadata">

**Author:** ![pkr](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/pkr/32/969_2.png) [@pkr](https://forum.openzeppelin.com/u/pkr)\
**Post date:** [October 7, 2019, 3:32am UTC](https://forum.openzeppelin.com/t/how-can-i-identify-which-oz-libraries-are-used-when-i-run-oz-verify/1494/5 "2019-10-07T03:32:37Z")

</div>

Thank you @abcoathup for this further clarification.
