package
0.0.7-alphanet
Repository: https://github.com/zenon-network/go-zenon.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
CanPerformEpochUpdate checks if embedded contract can perform an epoch update, used most commonly to give rewards - returns util.EpochUpdateNotDue if not due.
CanPerformUpdate checks if embedded contract can be updated - returns util.ErrUpdateTooRecent if not due.
No description provided by the author
No description provided by the author
No description provided by the author
CheckNetworkAndPairExist for unwrapping we return the associated zts for wrapping we return the associated tokenAddress.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Neither the DenyProxyUnlock nor the AllowProxyUnlock methods delete the HtlcProxyUnlockInfo in storage This means there are really 3 states: Default, ExplicitDeny, ExplicitAllow And once an address has explicitly denied/allowed proxy unlock, it can no longer go back to using the default This is to ensure that if we ever change the default to deny, addresses that have called the Allow method will still work as expected.
No description provided by the author
GetQsrCostForNextPillar returns PillarQsrStakeBaseAmount * PillarQsrStakeIncreaseAmount * len(definition.NormalPillarType).
GetSentinelRevokeStatus returns true, timeWhileCanRevoke if sentinel *can* be revoked GetSentinelRevokeStatus returns false, timeUntilCanRevoke if sentinel *can't* be revoked.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PillarGetRevokeStatus returns status and cooldown.
No description provided by the author
No description provided by the author
SignLegacyPillarMessage is used for in contract tests.
SignRetrieveAssetsMessage is used for in contract tests.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CollectRewardMethod is a common embedded.method used to issue tokens to users based on RewardDeposit object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author