Fee Mechanics

There are several fees that an ATS-Pair has. They are discussed below:

RT Fees - Native Fee Redirection <nfr>

Each RT has a parameter, called <nfr>, saved via Autostake.ATS|RewardTokenSchema within the <reward-tokens> parameter of the ATS|Pairs Table. This Parameter dictates how native Fee of a DPTF Token acting as a RT (Reward Token) is to be handled, when the RT is setup with a transfer fee.

Setting it to <true>, means the Fee will be used to increase the Index of the ATS-Pair. A <false> value would by contrast mean the DPTF Token is not used to increase the Index of the ATS-Pair, and would instead follow the Fee Collection Rules said RT is set-up with.

If a given RT is part of multiple ATS-Pairs where this parameters is set to <true>, while the RT is set up with a transfer fee, that transfer fee will be used to increase the Index of all ATS-Pairs the DPTF Token functions as an RT in.

The <nfr> of the Principal RT Token of the ATS Pair is immutable. By contrast the <nfr> of Secondary RTs is mutable, that is can be modified, but only by removing the RT and re-adding it with a different <nfr> value.

C-RBT Fees

There are two type of Fees the Cold-Reward-Bearing-Token (C-RBT), can be set up with, both of which are mutable, that is, can be easily changed later on.

Cold Native Fee Redirection <c-nfr>

Similar to <nfr>, but it applies to the C-RBT Token. When a DPTF functioning as RBT in a given ATS-Pair is set up with a transfer fee, and this parameter is set to true, then that transfer fee will be used to increase the Index of said ATS-Pair.

Similarly, if said DPTF functions as RBT in multiple ATS-Pairs, then multiple ATS-Pair Indices will be increased.

Cold Fee Redirection <c-fr>

When the ATS-Pair is set up with any given fee for the Cold-Recovery, this parameter controls how that fee is handled, and in this regard functions similarly to the previously described functionality for <nfr> and <c-nfr>

H-RBT Fees

By contrast, for a Hot-RBT, which is a DPTF, only the <h-fr> parameter exists, since a DPMF cannot have a transfer fee. Similarly to the <c-fr>, this parameter controls how the redemption fee for a Hot-Recovery is handled, with a <true> value being used to increase the ATS-Pair Index.

Last updated