How to manually check Landowners Allowance (DTAL), average and top land ratings

Article author
Male Nordic #2059
  • Updated

To manually check several numbers related to the Landowners Allowance (DTAL), the state tables "global" and "global2" on the smart contract "awlndratings" can be consulted.

 

These items can be found out there

  • DTAL paid to unboosted lands (land rating 100)
  • Average land rating
  • Top land rating

DTAL paid to unboosted lands can be found in the table "global"

https://waxblock.io/account/awlndratings?code=awlndratings&scope=awlndratings&table=global&lower_bound=&upper_bound=&limit=10#contract-tables 

 

Average and top land rating can be found in the table "global2"

https://waxblock.io/account/awlndratings?code=awlndratings&scope=awlndratings&table=global2&lower_bound=&upper_bound=&limit=10#contract-tables 

 

Please note

The average and top land ratings are stored as integers with 4 decimal places accounted for. This means that 100 will be stored as 1,000,000 and 5,000 will be stored as 50,000,000. In other words, when looking at the stored values in the tables, move the decimal point four places to the left to get the land rating.

Was this article helpful?

1 out of 1 found this helpful

Have more questions? Submit a request