We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssetId API feedback:
Passing in AssetId in different places in the SDK is inconsistent. eg.:
const assetId = '0x123123123.....23232';
// forwarding to a contract call contract.functions.deposit().callParams({ amount: 100, assetId }); // passed directly as a string here
// as an input to a contract function contraact.functions.deposit({ bits: assetId }) // cannot be passed in directly as a string here
We need to make this consistent across the SDK. The { bits: assetId } syntax is highly unintuitive. Let's abstract it away.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
AssetId API feedback:
Passing in AssetId in different places in the SDK is inconsistent. eg.:
const assetId = '0x123123123.....23232';
// forwarding to a contract call
contract.functions.deposit().callParams({ amount: 100, assetId }); // passed directly as a string here
// as an input to a contract function
contraact.functions.deposit({ bits: assetId }) // cannot be passed in directly as a string here
We need to make this consistent across the SDK. The { bits: assetId } syntax is highly unintuitive. Let's abstract it away.
The text was updated successfully, but these errors were encountered: