ABI types on the public repositories #21
|
hey, I working with your sandbox repo, and try to understand the best way to typed ABI for your contracts so, the sandbox prefer to use some outdated packages https://github.com/sablier-labs/sandbox/blob/main/examples/evm/src/constants/abi/index.ts#L8C1-L11C4 https://github.com/sablier-labs/v2-periphery – archived so, what is the best why to use ABI? write my own our your have a new place for that? btw, thank you! Sablier contracts is awesome! |
Replies: 3 comments
|
Hi @vvozibic. Thanks for pointing it out. We will fix the comment and update the sandbox code. You can import the ABIs from the Sablier NPM package. Its under Previously References
Let me know if you have more questions. And thank you for the kind words. |
|
great! thank you for the incredibly quick answer! |
|
Thanks for starting this @vvozibic. I have converted it to a discussion so that it can be used as a reference in the future. Have a nice week! |
Hi @vvozibic. Thanks for pointing it out. We will fix the comment and update the sandbox code.
You can import the ABIs from the Sablier NPM package. Its under
dist/abi.Previously
v2-peripheryhad two types of contracts: Batch Lockup and Merkle Factory. The Batch Lockup has been merged intolockuprepo and Merkle Factory is now a separate repo calledairdrops. All of this is available in our docs.References
Let me know if you have more questions. And thank you for the kind words.