You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am curious if ethers.js has any kind of transformer that can transform this into the actual ABI object... or what do you recommend ? storing the whole string abi inside deployABI is something I don't like, but human readable abi would be better, though I don't have function name as I can see in ether's human readable docs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ^_^
I have a function in the smart contract that I want users to override.
When users inherit this, UI has no idea what
data
is, so I am in a need to store the ABI on the smart contract as well, such as:I am curious if ethers.js has any kind of transformer that can transform this into the actual ABI object... or what do you recommend ? storing the whole string abi inside
deployABI
is something I don't like, but human readable abi would be better, though I don't have function name as I can see in ether's human readable docs.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions