The below function is throwing an error.
balance_of(contract_id(), BASE_ASSET_ID)
}```
![Screenshot from 2023-01-30 17-37-14|600x500](upload://oRf5vorJm5Za0PZEgODAYxAcjfC.png)
The below function is throwing an error.
balance_of(contract_id(), BASE_ASSET_ID)
}```
![Screenshot from 2023-01-30 17-37-14|600x500](upload://oRf5vorJm5Za0PZEgODAYxAcjfC.png)
Hi!
It’s a bit difficult to work out what’s going on from your code snippet, and the image you uploaded isn’t rendering.
Could you post the full code and the error?