AstarNetwork / astar-frame

Core frame modules for Astar & Shiden network.
Other
58 stars 38 forks source link

Dapps-staking precompile: read staked amount on the contract #48

Closed Maar-io closed 2 years ago

Maar-io commented 2 years ago

Pull Request Summary

This functionality is an improvement. It adds possibility to read staked amount on the contract for the user (staker). Until now it was only possible to read if user (staker) is staking in general terms.

Check list

This pull request makes the following changes:

Adds

Fixes

Changes

To-dos

*Feel free to remove this section if it's not applicable