Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

staker state

Back to all declarations

Counter

type

Value

staker.Counter

NewCounter

func() *staker.Counter
Open
OID
083f77…1fdf:3
NewCounter details

Inspect func

DelegationType

type

DelegationType represents the type of delegation operation

Value

staker.DelegationType

DelegateType

staker.DelegationType

Value

<gnolang.StringValue>

UnDelegateType

staker.DelegationType

Value

<gnolang.StringValue>

Delegation

type

Delegation represents a delegation between two addresses

Value

staker.Delegation

NewDelegation

func(id int64, delegateFrom .uverse.address, delegateTo .uverse.address, delegateAmount int64, createdHeight int64, createdAt int64) *staker.Delegation

NewDelegation creates a new delegation

Open
OID
083f77…1fdf:5
NewDelegation details

Inspect func

NewDelegationTree

func() *v0.BPTree
Open
OID
083f77…1fdf:7
NewDelegationTree details

Inspect func

NewUserDelegationTree

func() *v0.BPTree
Open
OID
083f77…1fdf:8
NewUserDelegationTree details

Inspect func

DelegationManager

type

DelegationManager manages the mapping between users and their delegation IDs. It provides efficient lookup and management of user delegations organized by delegator and delegatee addresses.

Value

staker.DelegationManager

NewDelegationManager

func() *staker.DelegationManager

NewDelegationManager creates a new instance of DelegationManager. This factory function initializes the BPTree structure for tracking user delegations.

Open
OID
083f77…1fdf:9
NewDelegationManager details

Inspect func

DelegationWithdraw

type

DelegationWithdraw represents a pending withdrawal from a delegation. This struct tracks undelegated amounts that are subject to lockup periods and manages the collection process once the lockup period expires.

Value

staker.DelegationWithdraw

NewDelegationWithdraw

func(delegationID int64, unDelegateAmount int64, createdHeight int64, createdAt int64, unDelegationLockupPeriod int64) staker.DelegationWithdraw

NewDelegationWithdraw creates a new delegation withdrawal with lockup period. The withdrawal will be collectable after the lockup period expires. Parameters: - delegationID: unique identifier of the associated delegation - unDelegateAmount: amount being withdrawn - createdAt: timestamp when the withdrawal was created - unDelegationLockupPeriod: duration of the lockup period in seconds Returns: - \*DelegationWithdraw: new withdrawal instance with lockup

Open
OID
083f77…1fdf:11
NewDelegationWithdraw details

Inspect func

NewDelegationWithdrawWithoutLockup

func(delegationID int64, unDelegateAmount int64, createdHeight int64, createdAt int64) staker.DelegationWithdraw

NewDelegationWithdrawWithoutLockup creates a new delegation withdrawal that is immediately collectable. This is used for special cases like redelegation where no lockup period is required. Parameters: - delegationID: unique identifier of the associated delegation - unDelegateAmount: amount being withdrawn - createdAt: timestamp when the withdrawal was created Returns: - \*DelegationWithdraw: new withdrawal instance that is immediately collected

Open
OID
083f77…1fdf:13
NewDelegationWithdrawWithoutLockup details

Inspect func

errFailedToCastRewardState

untyped string

Value

"failed to cast rewardStates's element to *EmissionRewardState: %T"

EmissionRewardManager

type

EmissionRewardManager manages the distribution of emission rewards to stakers.

Value

staker.EmissionRewardManager

NewEmissionRewardManager

func() *staker.EmissionRewardManager

NewEmissionRewardManager creates a new instance of EmissionRewardManager. This factory function initializes all tracking structures for emission reward management. NewEmissionRewardManager creates new emission reward manager instance.

Open
OID
083f77…1fdf:14
NewEmissionRewardManager details

Inspect func

EmissionRewardState

type

EmissionRewardState tracks emission reward information for an individual staker. This struct maintains reward debt, accumulated rewards, and claiming history to ensure accurate reward calculations and prevent double-claiming.

Value

staker.EmissionRewardState

NewEmissionRewardState

func(accumulatedRewardX128PerStake *uint256.Uint) *staker.EmissionRewardState

NewEmissionRewardState creates a new emission reward state for a staker. This factory function initializes the state with the current system reward debt. Parameters: - accumulatedRewardX128PerStake: current system-wide accumulated reward per stake Returns: - \*EmissionRewardState: new emission reward state instance

Open
OID
083f77…1fdf:16
NewEmissionRewardState details

Inspect func

ErrSpoofedRealm

untyped string

ErrSpoofedRealm is returned by store Set\* methods when the supplied realm token does not match the current crossing frame (rlm.IsCurrent() is false), rejecting spoofed or stale realm tokens before any write is performed.

Value

"rlm does not match the current crossing frame"

cloneInt64Slice

func(src []int64) []int64
Open
OID
083f77…1fdf:18
cloneInt64Slice details

Inspect func

cloneAddressSlice

func(src [].uverse.address) [].uverse.address
Open
OID
083f77…1fdf:20
cloneAddressSlice details

Inspect func

cloneStringInt64Map

func(src map[string]int64) map[string]int64
Open
OID
083f77…1fdf:21
cloneStringInt64Map details

Inspect func

cloneDelegationWithdraws

func(src []staker.DelegationWithdraw) []staker.DelegationWithdraw
Open
OID
083f77…1fdf:22
cloneDelegationWithdraws details

Inspect func

GetTotalxGnsSupply

func() int64

GetTotalxGnsSupply returns the total supply of xGNS tokens.

Open
OID
083f77…1fdf:23
GetTotalxGnsSupply details

Inspect func

GetTotalDelegated

func() int64

GetTotalDelegated returns the total amount of GNS delegated.

Open
OID
083f77…1fdf:25
GetTotalDelegated details

Inspect func

GetTotalLockedAmount

func() int64

GetTotalLockedAmount returns the total amount of GNS locked in undelegation.

Open
OID
083f77…1fdf:26
GetTotalLockedAmount details

Inspect func

GetUnDelegationLockupPeriod

func() int64

GetUnDelegationLockupPeriod returns the undelegation lockup period in seconds.

Open
OID
083f77…1fdf:27
GetUnDelegationLockupPeriod details

Inspect func

GetDelegationCount

func() int

GetDelegationCount returns the total number of delegations.

Open
OID
083f77…1fdf:28
GetDelegationCount details

Inspect func

GetDelegationIDs

func(offset int, count int) []int64

GetDelegationIDs returns all delegation IDs for a specific delegator-delegatee pair.

Open
OID
083f77…1fdf:29
GetDelegationIDs details

Inspect func

ExistsDelegation

func(delegationID int64) bool

ExistsDelegation checks if a delegation exists.

Open
OID
083f77…1fdf:30
ExistsDelegation details

Inspect func

GetDelegation

func(delegationID int64) (*staker.Delegation, .uverse.error)

GetDelegation returns the delegation for the given ID.

Open
OID
083f77…1fdf:31
GetDelegation details

Inspect func

GetDelegatorDelegateeCount

func(delegator .uverse.address) int

GetDelegatorDelegateeCount returns the number of delegatees for a specific delegator.

Open
OID
083f77…1fdf:32
GetDelegatorDelegateeCount details

Inspect func

GetDelegatorDelegateeAddresses

func(delegator .uverse.address, offset int, count int) [].uverse.address
Open
OID
083f77…1fdf:33
GetDelegatorDelegateeAddresses details

Inspect func

GetUserDelegationCount

func(delegator .uverse.address, delegatee .uverse.address) int

GetUserDelegationCount returns the number of delegations for a specific delegator-delegatee pair.

Open
OID
083f77…1fdf:34
GetUserDelegationCount details

Inspect func

GetUserDelegationIDs

func(delegator .uverse.address, delegatee .uverse.address) []int64

GetUserDelegationIDs returns a list of delegation IDs for a specific delegator-delegatee pair.

Open
OID
083f77…1fdf:35
GetUserDelegationIDs details

Inspect func

HasDelegationSnapshotsKey

func() bool

HasDelegationSnapshotsKey returns true if delegation history exists.

Open
OID
083f77…1fdf:36
HasDelegationSnapshotsKey details

Inspect func

GetTotalDelegationAmountAtSnapshot

func(snapshotTime int64) (int64, bool)

GetTotalDelegationAmountAtSnapshot returns the total delegation amount at a specific snapshot time.

Open
OID
083f77…1fdf:37
GetTotalDelegationAmountAtSnapshot details

Inspect func

GetUserDelegationAmountAtSnapshot

func(userAddr .uverse.address, snapshotTime int64) (int64, bool)

GetUserDelegationAmountAtSnapshot returns the user delegation amount at a specific snapshot time.

Open
OID
083f77…1fdf:38
GetUserDelegationAmountAtSnapshot details

Inspect func

GetClaimableRewardByAddress

func(addr .uverse.address) (int64, map[string]int64, .uverse.error)

GetClaimableRewardByAddress returns claimable rewards for an address. Returns: - int64: emission reward amount - map\[string]int64: protocol fee rewards by token path

Open
OID
083f77…1fdf:39
GetClaimableRewardByAddress details

Inspect func

GetClaimableRewardByLaunchpad

func(addr .uverse.address) (int64, map[string]int64, .uverse.error)

GetClaimableRewardByLaunchpad returns claimable launchpad rewards for an address. Returns: - int64: emission reward amount - map\[string]int64: protocol fee rewards by token path

Open
OID
083f77…1fdf:40
GetClaimableRewardByLaunchpad details

Inspect func

GetClaimableRewardByRewardID

func(rewardID string) (int64, map[string]int64, .uverse.error)

GetClaimableRewardByRewardID returns claimable reward details by reward ID. Returns: - int64: emission reward amount - map\[string]int64: protocol fee rewards by token path

Open
OID
083f77…1fdf:41
GetClaimableRewardByRewardID details

Inspect func

GetLaunchpadProjectDeposit

func(projectAddr string) (int64, bool)

GetLaunchpadProjectDeposit returns the deposit amount for a launchpad project.

Open
OID
083f77…1fdf:42
GetLaunchpadProjectDeposit details

Inspect func

GetDelegationWithdrawCount

func(delegationID int64) int

GetDelegationWithdrawCount returns the total number of delegation withdraws for a specific delegation.

Open
OID
083f77…1fdf:43
GetDelegationWithdrawCount details

Inspect func

GetDelegationWithdraws

func(delegationID int64, offset int, count int) ([]staker.DelegationWithdraw, .uverse.error)

GetDelegationWithdraws returns a paginated list of delegation withdraws for a specific delegation.

Open
OID
083f77…1fdf:44
GetDelegationWithdraws details

Inspect func

GetCollectableWithdrawAmount

func(delegationID int64) int64

GetCollectableWithdrawAmount returns the collectable withdraw amount for a specific delegation.

Open
OID
083f77…1fdf:45
GetCollectableWithdrawAmount details

Inspect func

GetProtocolFeeAccumulatedX128PerStake

func(tokenPath string) *uint256.Uint

GetProtocolFeeAccumulatedX128PerStake returns the accumulated protocol fee per stake (Q128) for a token path.

Open
OID
083f77…1fdf:46
GetProtocolFeeAccumulatedX128PerStake details

Inspect func

GetProtocolFeeAmount

func(tokenPath string) int64

GetProtocolFeeAmount returns the protocol fee amount for a specific token

Open
OID
083f77…1fdf:47
GetProtocolFeeAmount details

Inspect func

GetProtocolFeeAccumulatedTimestamp

func() int64

GetProtocolFeeAccumulatedTimestamp returns the accumulated timestamp for protocol fee rewards.

Open
OID
083f77…1fdf:48
GetProtocolFeeAccumulatedTimestamp details

Inspect func

GetEmissionAccumulatedX128PerStake

func() *uint256.Uint

GetEmissionAccumulatedX128PerStake returns the accumulated emission per stake (Q128).

Open
OID
083f77…1fdf:49
GetEmissionAccumulatedX128PerStake details

Inspect func

GetEmissionDistributedAmount

func() int64

GetEmissionDistributedAmount returns the total distributed emission amount.

Open
OID
083f77…1fdf:50
GetEmissionDistributedAmount details

Inspect func

GetEmissionAccumulatedTimestamp

func() int64

GetEmissionAccumulatedTimestamp returns the accumulated timestamp for emission rewards.

Open
OID
083f77…1fdf:51
GetEmissionAccumulatedTimestamp details

Inspect func

LaunchpadProjectDeposits

type

LaunchpadProjectDeposits manages deposit amounts for launchpad projects. It tracks the total staked amount for each project identified by owner address.

Value

staker.LaunchpadProjectDeposits

NewLaunchpadProjectDeposits

func() *staker.LaunchpadProjectDeposits

NewLaunchpadProjectDeposits creates a new instance of LaunchpadProjectDeposits.

Open
OID
083f77…1fdf:52
NewLaunchpadProjectDeposits details

Inspect func

ProtocolFeeRewardManager

type

ProtocolFeeRewardManager manages the distribution of protocol fee rewards to stakers. Unlike emission rewards, protocol fees can come from multiple tokens, requiring separate tracking and distribution mechanisms for each token type.

Value

staker.ProtocolFeeRewardManager

NewProtocolFeeRewardManager

func() *staker.ProtocolFeeRewardManager

NewProtocolFeeRewardManager creates a new instance of ProtocolFeeRewardManager. This factory function initializes all tracking structures for multi-token protocol fee reward management. Returns: - \*ProtocolFeeRewardManager: new protocol fee reward manager instance

Open
OID
083f77…1fdf:54
NewProtocolFeeRewardManager details

Inspect func

ProtocolFeeRewardState

type

ProtocolFeeRewardState tracks protocol fee reward information for an individual staker across multiple tokens. Unlike emission rewards which are single-token, protocol fees can come from various trading pairs, requiring separate tracking and calculation for each token type.

Value

staker.ProtocolFeeRewardState

NewProtocolFeeRewardState

func(accumulatedProtocolFeeX128PerStake map[string]*uint256.Uint) *staker.ProtocolFeeRewardState

NewProtocolFeeRewardState creates a new protocol fee reward state for a staker. This factory function initializes the state with the current system reward debt for all tokens.

Open
OID
083f77…1fdf:56
NewProtocolFeeRewardState details

Inspect func

Delegate

func(to .uverse.address, amount int64, referrer string) int64

Delegate stakes GNS tokens to a delegatee address. Parameters: - to: address to delegate to - amount: amount of GNS to delegate - referrer: referrer address for reward tracking Returns: - int64: delegation ID

Open
OID
083f77…1fdf:58
Delegate details

Inspect func

Undelegate

func(from .uverse.address, amount int64) int64

Undelegate initiates the undelegation process for staked GNS. Parameters: - from: delegatee address to undelegate from - amount: amount of GNS to undelegate Returns: - int64: undelegation result code

Open
OID
083f77…1fdf:60
Undelegate details

Inspect func

Redelegate

func(delegatee .uverse.address, newDelegatee .uverse.address, amount int64) int64

Redelegate moves delegation from one delegatee to another. Parameters: - delegatee: current delegatee address - newDelegatee: new delegatee address - amount: amount to redelegate Returns: - int64: redelegation result code

Open
OID
083f77…1fdf:61
Redelegate details

Inspect func

CollectUndelegatedGns

func() int64

CollectUndelegatedGns collects GNS tokens after the undelegation lockup period. Returns: - int64: amount of GNS collected

Open
OID
083f77…1fdf:62
CollectUndelegatedGns details

Inspect func

CollectReward

func()

CollectReward claims accumulated staking rewards.

Open
OID
083f77…1fdf:63
CollectReward details

Inspect func

CollectEmissionReward

func()

CollectEmissionReward claims accumulated GNS emission rewards.

Open
OID
083f77…1fdf:64
CollectEmissionReward details

Inspect func

CollectProtocolFeeReward

func(tokenPath string)

CollectProtocolFeeReward claims accumulated protocol fee rewards for the provided token path.

Open
OID
083f77…1fdf:65
CollectProtocolFeeReward details

Inspect func

CollectRewardFromLaunchPad

func(to .uverse.address)

CollectRewardFromLaunchPad claims rewards from launchpad projects. Parameters: - to: address to collect rewards for

Open
OID
083f77…1fdf:66
CollectRewardFromLaunchPad details

Inspect func

CollectEmissionRewardFromLaunchPad

func(to .uverse.address)

CollectEmissionRewardFromLaunchPad claims accumulated launchpad emission rewards. Parameters: - to: address to collect rewards for

Open
OID
083f77…1fdf:67
CollectEmissionRewardFromLaunchPad details

Inspect func

CollectProtocolFeeRewardFromLaunchPad

func(to .uverse.address, tokenPath string)

CollectProtocolFeeRewardFromLaunchPad claims accumulated launchpad protocol fee rewards for the provided token path. Parameters: - to: address to collect rewards for - tokenPath: token path to collect

Open
OID
083f77…1fdf:68
CollectProtocolFeeRewardFromLaunchPad details

Inspect func

SetAmountByProjectWallet

func(addr .uverse.address, amount int64, add bool)

SetAmountByProjectWallet sets reward amount for a project wallet. Only callable by launchpad contract. Parameters: - addr: project wallet address - amount: reward amount - add: true to add, false to subtract

Open
OID
083f77…1fdf:69
SetAmountByProjectWallet details

Inspect func

CleanStakerDelegationSnapshotByAdmin

func(threshold int64, target .uverse.address)

CleanStakerDelegationSnapshotByAdmin removes old delegation snapshots for the total history and the user history of a single target address. Only callable by admin. Parameters: - threshold: timestamp threshold for cleanup - target: user address whose delegation history to clean

Open
OID
083f77…1fdf:70
CleanStakerDelegationSnapshotByAdmin details

Inspect func

SetUnDelegationLockupPeriodByAdmin

func(period int64)

SetUnDelegationLockupPeriodByAdmin sets the undelegation lockup period. Only callable by admin. Parameters: - period: lockup period in seconds

Open
OID
083f77…1fdf:71
SetUnDelegationLockupPeriodByAdmin details

Inspect func

currentAddress

.uverse.address

Value

<gnolang.StringValue>

domainPath

string

Value

"gno.land/r/gnoswap/gov/staker"

versionManager

*version_manager.versionManager
Open
OID
083f77…1fdf:102
versionManager details

Inspect pointer

initializeDomainStore

func(int, rlm .uverse.realm, kvStore store.KVStore) interface{...}
Open
OID
083f77…1fdf:79
initializeDomainStore details

Inspect func

getImplementation

func() staker.IGovStaker

getImplementation returns the current active implementation

Open
OID
083f77…1fdf:80
getImplementation details

Inspect func

updateImplementation

func() .uverse.error
Open
OID
083f77…1fdf:81
updateImplementation details

Inspect func

StoreKeyUnDelegationLockupPeriod

untyped string

Storage key constants

Value

"unDelegationLockupPeriod"

StoreKeyTotalDelegatedAmount

untyped string

Storage key constants

Value

"totalDelegatedAmount"

StoreKeyTotalLockedAmount

untyped string

Storage key constants

Value

"totalLockedAmount"

StoreKeyDelegationNextID

untyped string

Storage key constants

Value

"delegationNextID"

StoreKeyDelegations

untyped string

// BPTree of delegations

Value

"delegations"

StoreKeyTotalDelegationHistory

untyped string

// UintTree: timestamp -> int64 (cumulative total)

Value

"totalDelegationHistory"

StoreKeyUserDelegationHistory

untyped string

// BPTree: address -> \*UintTree\[timestamp -> int64]

Value

"userDelegationHistory"

StoreKeyEmissionRewardManager

untyped string

Storage key constants

Value

"emissionRewardManager"

StoreKeyProtocolFeeRewardManager

untyped string

Storage key constants

Value

"protocolFeeRewardManager"

StoreKeyDelegationManager

untyped string

Storage key constants

Value

"delegationManager"

StoreKeyLaunchpadProjectDeposits

untyped string

Storage key constants

Value

"launchpadProjectDeposits"

govStakerStore

type

govStakerStore is the concrete implementation of IGovStakerStore

Value

staker.govStakerStore

NewGovStakerStore

func(kvStore store.KVStore) staker.IGovStakerStore

NewGovStakerStore creates a new governance staker store instance

Open
OID
083f77…1fdf:82
NewGovStakerStore details

Inspect func

UintTree

type

UintTree is a wrapper around a BPTree for storing block timestamps as strings. Since block timestamps are defined as int64, we take int64 and convert it to uint64 for the tree. Methods: - Get: Retrieves a value associated with a uint64 key. - set: Stores a value with a uint64 key. - Has: Checks if a uint64 key exists in the tree. - remove: Removes a uint64 key and its associated value. - Iterate: Iterates over keys and values in a range. - ReverseIterate: Iterates in reverse order over keys and values in a range.

Value

staker.UintTree

NewUintTree

func() *staker.UintTree

NewUintTree creates a new UintTree instance.

Open
OID
083f77…1fdf:84
NewUintTree details

Inspect func

EncodeUint

func(num uint64) string

EncodeUint converts a uint64 number into a zero-padded 20-character string. Parameters: - num (uint64): The number to encode. Returns: - string: A zero-padded string representation of the number. Example: Input: 12345 Output: "00000000000000012345"

Open
OID
083f77…1fdf:86
EncodeUint details

Inspect func

EncodeInt64

func(num int64) string
Open
OID
083f77…1fdf:87
EncodeInt64 details

Inspect func

DecodeUint

func(s string) uint64

DecodeUint converts a zero-padded string back into a uint64 number. Parameters: - s (string): The zero-padded string. Returns: - uint64: The decoded number. Panics: - If the string cannot be parsed into a uint64. Example: Input: "00000000000000012345" Output: 12345

Open
OID
083f77…1fdf:88
DecodeUint details

Inspect func

DecodeInt64

func(s string) int64
Open
OID
083f77…1fdf:89
DecodeInt64 details

Inspect func

IGovStaker

type

Main interface that combines all sub-interfaces

Value

staker.IGovStaker

IGovStakerDelegation

type

Delegation operations interface Mutating methods take \`\_ int, rlm realm\` so the realm token is threaded from the proxy entry points down to the cross-realm token transfers and store writes performed inside each implementation. The \`\_ int\` sentinel surfaces at every call site as a literal \`0\`, making the realm threading visible to readers.

Value

staker.IGovStakerDelegation

IGovStakerReward

type

Reward management interface

Value

staker.IGovStakerReward

IGovStakerGetter

type

Getter interface for read operations

Value

staker.IGovStakerGetter

IGovStakerAdmin

type

Admin interface for administrative functions

Value

staker.IGovStakerAdmin

IGovStakerStore

type

IGovStakerStore mirrors the mutating-method realm-threading convention used by the public IGovStaker\* interfaces above. Setters take \`\_ int, rlm realm\` so KV-store writes execute under the proxy realm — the only address with write access to the shared store.

Value

staker.IGovStakerStore

RegisterInitializer

func(initializer func(...))

RegisterInitializer registers an implementation. This function is called by each implementation version during init. The initializer function creates a new instance of the implementation using the provided IGovStakerStore. It receives a realm value that resolves to the gov/staker proxy realm — the only address with write permission on the shared KV store — so any per-version store bootstrapping performed inside the initializer passes the proxy's authorization check.

Open
OID
083f77…1fdf:90
RegisterInitializer details

Inspect func

UpgradeImpl

func(packagePath string)

UpgradeImpl upgrades the implementation to a new version Only admin or governance can call this function

Open
OID
083f77…1fdf:92
UpgradeImpl details

Inspect func

GetImplementationPackagePath

func() string

GetImplementationPackagePath returns the package path of the currently active implementation.

Open
OID
083f77…1fdf:93
GetImplementationPackagePath details

Inspect func
Counter : type =staker.Counter
NewCounter : func() *staker.Counter Inspect
DelegationType : type =staker.DelegationType
DelegateType : staker.DelegationType =<gnolang.StringValue>
UnDelegateType : staker.DelegationType =<gnolang.StringValue>
Delegation : type =staker.Delegation
NewDelegation : func(id int64, delegateFrom .uverse.address, delegateTo .uverse.address, delegateAmount int64, createdHeight int64, createdAt int64) *staker.Delegation Inspect
NewDelegationTree : func() *v0.BPTree Inspect
NewUserDelegationTree : func() *v0.BPTree Inspect
DelegationManager : type =staker.DelegationManager
NewDelegationManager : func() *staker.DelegationManager Inspect
DelegationWithdraw : type =staker.DelegationWithdraw
NewDelegationWithdraw : func(delegationID int64, unDelegateAmount int64, createdHeight int64, createdAt int64, unDelegationLockupPeriod int64) staker.DelegationWithdraw Inspect
NewDelegationWithdrawWithoutLockup : func(delegationID int64, unDelegateAmount int64, createdHeight int64, createdAt int64) staker.DelegationWithdraw Inspect
errFailedToCastRewardState : untyped string ="failed to cast rewardStates's element to *EmissionRewardState: %T"
EmissionRewardManager : type =staker.EmissionRewardManager
NewEmissionRewardManager : func() *staker.EmissionRewardManager Inspect
EmissionRewardState : type =staker.EmissionRewardState
NewEmissionRewardState : func(accumulatedRewardX128PerStake *uint256.Uint) *staker.EmissionRewardState Inspect
ErrSpoofedRealm : untyped string ="rlm does not match the current crossing frame"
cloneInt64Slice : func(src []int64) []int64 Inspect
cloneAddressSlice : func(src [].uverse.address) [].uverse.address Inspect
cloneStringInt64Map : func(src map[string]int64) map[string]int64 Inspect
cloneDelegationWithdraws : func(src []staker.DelegationWithdraw) []staker.DelegationWithdraw Inspect
GetTotalxGnsSupply : func() int64 Inspect
GetTotalDelegated : func() int64 Inspect
GetTotalLockedAmount : func() int64 Inspect
GetUnDelegationLockupPeriod : func() int64 Inspect
GetDelegationCount : func() int Inspect
GetDelegationIDs : func(offset int, count int) []int64 Inspect
ExistsDelegation : func(delegationID int64) bool Inspect
GetDelegation : func(delegationID int64) (*staker.Delegation, .uverse.error) Inspect
GetDelegatorDelegateeCount : func(delegator .uverse.address) int Inspect
GetDelegatorDelegateeAddresses : func(delegator .uverse.address, offset int, count int) [].uverse.address Inspect
GetUserDelegationCount : func(delegator .uverse.address, delegatee .uverse.address) int Inspect
GetUserDelegationIDs : func(delegator .uverse.address, delegatee .uverse.address) []int64 Inspect
HasDelegationSnapshotsKey : func() bool Inspect
GetTotalDelegationAmountAtSnapshot : func(snapshotTime int64) (int64, bool) Inspect
GetUserDelegationAmountAtSnapshot : func(userAddr .uverse.address, snapshotTime int64) (int64, bool) Inspect
GetClaimableRewardByAddress : func(addr .uverse.address) (int64, map[string]int64, .uverse.error) Inspect
GetClaimableRewardByLaunchpad : func(addr .uverse.address) (int64, map[string]int64, .uverse.error) Inspect
GetClaimableRewardByRewardID : func(rewardID string) (int64, map[string]int64, .uverse.error) Inspect
GetLaunchpadProjectDeposit : func(projectAddr string) (int64, bool) Inspect
GetDelegationWithdrawCount : func(delegationID int64) int Inspect
GetDelegationWithdraws : func(delegationID int64, offset int, count int) ([]staker.DelegationWithdraw, .uverse.error) Inspect
GetCollectableWithdrawAmount : func(delegationID int64) int64 Inspect
GetProtocolFeeAccumulatedX128PerStake : func(tokenPath string) *uint256.Uint Inspect
GetProtocolFeeAmount : func(tokenPath string) int64 Inspect
GetProtocolFeeAccumulatedTimestamp : func() int64 Inspect
GetEmissionAccumulatedX128PerStake : func() *uint256.Uint Inspect
GetEmissionDistributedAmount : func() int64 Inspect
GetEmissionAccumulatedTimestamp : func() int64 Inspect
LaunchpadProjectDeposits : type =staker.LaunchpadProjectDeposits
NewLaunchpadProjectDeposits : func() *staker.LaunchpadProjectDeposits Inspect
ProtocolFeeRewardManager : type =staker.ProtocolFeeRewardManager
NewProtocolFeeRewardManager : func() *staker.ProtocolFeeRewardManager Inspect
ProtocolFeeRewardState : type =staker.ProtocolFeeRewardState
NewProtocolFeeRewardState : func(accumulatedProtocolFeeX128PerStake map[string]*uint256.Uint) *staker.ProtocolFeeRewardState Inspect
Delegate : func(to .uverse.address, amount int64, referrer string) int64 Inspect
Undelegate : func(from .uverse.address, amount int64) int64 Inspect
Redelegate : func(delegatee .uverse.address, newDelegatee .uverse.address, amount int64) int64 Inspect
CollectUndelegatedGns : func() int64 Inspect
CollectReward : func() Inspect
CollectEmissionReward : func() Inspect
CollectProtocolFeeReward : func(tokenPath string) Inspect
CollectRewardFromLaunchPad : func(to .uverse.address) Inspect
CollectEmissionRewardFromLaunchPad : func(to .uverse.address) Inspect
CollectProtocolFeeRewardFromLaunchPad : func(to .uverse.address, tokenPath string) Inspect
SetAmountByProjectWallet : func(addr .uverse.address, amount int64, add bool) Inspect
CleanStakerDelegationSnapshotByAdmin : func(threshold int64, target .uverse.address) Inspect
SetUnDelegationLockupPeriodByAdmin : func(period int64) Inspect
currentAddress : .uverse.address =<gnolang.StringValue>
domainPath : string ="gno.land/r/gnoswap/gov/staker"
kvStore : *store.kvStore Inspect
versionManager : *version_manager.versionManager Inspect
implementation : *v1.govStakerV1 Inspect
init.76 : func() Inspect
initializeDomainStore : func(int, rlm .uverse.realm, kvStore store.KVStore) interface{...} Inspect
getImplementation : func() staker.IGovStaker Inspect
updateImplementation : func() .uverse.error Inspect
StoreKeyUnDelegationLockupPeriod : untyped string ="unDelegationLockupPeriod"
StoreKeyTotalDelegatedAmount : untyped string ="totalDelegatedAmount"
StoreKeyTotalLockedAmount : untyped string ="totalLockedAmount"
StoreKeyDelegationNextID : untyped string ="delegationNextID"
StoreKeyDelegations : untyped string ="delegations"
StoreKeyTotalDelegationHistory : untyped string ="totalDelegationHistory"
StoreKeyUserDelegationHistory : untyped string ="userDelegationHistory"
StoreKeyEmissionRewardManager : untyped string ="emissionRewardManager"
StoreKeyProtocolFeeRewardManager : untyped string ="protocolFeeRewardManager"
StoreKeyDelegationManager : untyped string ="delegationManager"
StoreKeyLaunchpadProjectDeposits : untyped string ="launchpadProjectDeposits"
govStakerStore : type =staker.govStakerStore
NewGovStakerStore : func(kvStore store.KVStore) staker.IGovStakerStore Inspect
UintTree : type =staker.UintTree
NewUintTree : func() *staker.UintTree Inspect
EncodeUint : func(num uint64) string Inspect
EncodeInt64 : func(num int64) string Inspect
DecodeUint : func(s string) uint64 Inspect
DecodeInt64 : func(s string) int64 Inspect
IGovStaker : type =staker.IGovStaker
IGovStakerDelegation : type =staker.IGovStakerDelegation
IGovStakerReward : type =staker.IGovStakerReward
IGovStakerGetter : type =staker.IGovStakerGetter
IGovStakerAdmin : type =staker.IGovStakerAdmin
IGovStakerStore : type =staker.IGovStakerStore
RegisterInitializer : func(initializer func(...)) Inspect
UpgradeImpl : func(packagePath string) Inspect
GetImplementationPackagePath : func() string Inspect