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

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

Commands:

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.

1 Like

Hi @pkr,

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

There are two 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?

1 Like

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

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.

1 Like

Thank you @abcoathup for this further clarification.

1 Like