Comment on page

# Parcel Merging

Merging in Heavenland is a mechanism allowing everyone to create a block of parcels to support more significant buildings.

After connecting your wallet, the dapp shows you possible actions you can perform. Each action comes with its price and takes some time to execute since many things happen in the backend.

Heavenland defines Treasury address for merging and dividing, which collects all the Parcels included in any Parcel Bucket. If you perform a merge operation with a Parcel, you send the Parcel to the Treasury.

All merging operations create the Parcel Bucket, which happens automatically. The operation comes with a cost comprised of flat and margin parts. The flat part is to cover expenses for the related blockchain transactions, margin part to underscore the increase in the Parcel Bucket value compared to the values of Parcels it contains. Everything that is paid goes to Heavenland's Treasury Pool.

Flat and margin fees are subject to change in the future, and all the changes will be announced in advance so everyone can act accordingly before any change comes into force.

This operation takes two adjacent Parcels and merges them into a single Parcel Bucket. Both Parcels are sent to the Treasury, and a new Parcel Bucket is created. Fee for this operation is derived from Parcel’s

$\langle height_{max} \rangle$

(their average $height_{max}$

) and $\langle depth_{max} \rangle$

(their average $depth_{max}$

)$\text{fee [HTO]} = 50 + 5 \cdot (\langle height_{max} \rangle + \langle depth_{max} \rangle)$

This operation takes a Parcel adjacent to a Parcel Bucket to include it in the Bucket. Both Parcel and Parcel Bucket are sent to Treasury, and a new Parcel Bucket is created. The fee for this operation is derived from

$\langle height_{max} \rangle$

(average $height_{max}$

of all parcels engaged), $\langle depth_{max} \rangle$

(average $depth_{max}$

of all parcels engaged) and *M*(number of parcels in the Parcel Bucket)$\text{fee [HTO]} = 50 + 5 \cdot M \cdot (\langle height_{max} \rangle + \langle depth_{max} \rangle)$

This operation takes two adjacent Parcel Buckets and merges them into a single Parcel Bucket. Both Parcel Buckets are sent to the treasury, and a new Parcel Bucket is created. The fee for this operation is derived from

$\langle height_{max} \rangle$

(average $height_{max}$

of all parcels engaged), $\langle depth_{max} \rangle$

(average $depth_{max}$

of all parcels engaged), *M*(number of parcels in the first Parcel Bucket) and*N*(number of parcels in the second Parcel Bucket).$\text{fee [HTO]} = 50 + 5 \cdot M \cdot N \cdot (\langle height_{max} \rangle + \langle depth_{max} \rangle)$

This can be done only manually on demand.

Last modified 1yr ago