Explore this module further in the Mover Registry: @sage/admin
Structs
Royalties
Holds the configuration for how royalties may be paid out when fees are collected within the protocol.
Constants
Upper limit of what percentage can be collected by partner and protocol treasuries from a royalty payment, equivalent to 98%.
Scale used to determine the percentage for the FEE_LIMIT.
Error encountered when attempting to set fee ranges within royalty payments that are out of bounds.
Functions
collect_payment
Transfers collected payments to the protocol treasury.
distribute_payment
Transfers collected payments to the protocol treasury.