Fair-Squares / fair-squares

Fair housing for all
http://www.fair-squares.nl
Apache License 2.0
16 stars 8 forks source link

Bidding pallet - Intergrate Share distributor pallet #176

Closed letodunc closed 2 years ago

letodunc commented 2 years ago

Motivation

The bidding pallet check for houses with FINALISED status on the onboarding pallet to complete the purchase by the share distributo pallet.

Suggested Solution

The bidding pallet should integrate the share distributor pallet. It must check periodically houses with FINALISED status, at the same frequency as for the ONBOARDED houses.

Implementation

Add a new function process_finalised_asset that is called each epoch time. It will check for houses with FINALISED status and call share distributor pallet to transfer ownserhip of the house.