var img = document.createElement('img'); img.src = "https://terradocs.matomo.cloud//piwik.php?idsite=2&rec=1&url=https://alliance.money" + location.pathname; img.style = "border:0"; img.alt = "tracker"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(img,s);
Skip to main content

Module Parameters

The Alliance module has three parameters set at genesis or following a successful governance proposal. These parameters are critical for a well-functioning integration.

RewardDelayTime

Defines the delay between the time an Alliance is created and the time users can earn rewards for their Alliance delegations.

params.go
Copy

_5
RewardDelayTime
_5
_5
Types: int64 (`time.Duration` in nanos)
_5
_5
Default: 1 week

TakeRateClaimInterval

The interval of time on each EndBlocker when the module claims the take rate from all Alliance assets with a positive take rate. For more information on the TakeRate, visit the rewards page.

params.go
Copy

_5
TakeRate ClaimInterval
_5
_5
Types: int64 (`time.Duration` in nanos)
_5
_5
Default: 5 mins

LastTakeRateClaimTime

The timestamp of the last successful attempt at claiming the TakeRate from Alliance assets. This timestamp is used to determine when the next TakeRate claim can occur.

params.go
Copy

_5
LastTakeRateClaimTime
_5
_5
Types: int64 (`time.Time` in nanos)
_5
_5
Default: Genesis timestamp

RewardDelayTime

Defines the delay between the time an Alliance is created and the time users can earn rewards for their Alliance delegations.

TakeRateClaimInterval

The interval of time on each EndBlocker when the module claims the take rate from all Alliance assets with a positive take rate. For more information on the TakeRate, visit the rewards page.

LastTakeRateClaimTime

The timestamp of the last successful attempt at claiming the TakeRate from Alliance assets. This timestamp is used to determine when the next TakeRate claim can occur.

params.go
CopyExpandClose

_5
RewardDelayTime
_5
_5
Types: int64 (`time.Duration` in nanos)
_5
_5
Default: 1 week

The Alliance module also supports bootstrapping an Alliance-enabled chain by adding Alliances to the assets list in the genesis file under the Alliance property.