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

Object 02d577b5…1fffec:2 state

Back to all declarations

0

int64

Value

7776000

1

int64

Value

15552000

2

int64

Value

31536000

3

time.Duration

Value

<zero>

4

untyped bigint

Value

(253402300799 <untyped> bigint)

5

uint64

Value

1000

8

func(s *v1.stakerV1, caller .uverse.address, positionId uint64)
Open
OID
02d577…ffec:6
8 details

Inspect func

9

func(s *v1.stakerV1, poolPath string, positionId uint64, incentiveId string)
Open
OID
02d577…ffec:7
9 details

Inspect func

10

func(s *v1.stakerV1, positionId uint64)
Open
OID
02d577…ffec:8
10 details

Inspect func

11

func(s *v1.stakerV1, incentiveId string)
Open
OID
02d577…ffec:9
11 details

Inspect func

12

func(s *v1.stakerV1, positionId uint64)
Open
OID
02d577…ffec:10
12 details

Inspect func

13

func(s *v1.stakerV1, poolPath string)
Open
OID
02d577…ffec:11
13 details

Inspect func

15

func(currentTier uint64, tier1Count uint64)
Open
OID
02d577…ffec:13
15 details

Inspect func

16

func(s *v1.stakerV1, rewardToken string, rewardAmount int64)
Open
OID
02d577…ffec:14
16 details

Inspect func

17

func(s *v1.stakerV1, poolPath string, tokenPath string)
Open
OID
02d577…ffec:15
17 details

Inspect func

18

func(s *v1.stakerV1, poolPath string, tokenPath string, currentTime int64)
Open
OID
02d577…ffec:16
18 details

Inspect func

21

func(caller .uverse.address, creator .uverse.address)
Open
OID
02d577…ffec:19
21 details

Inspect func

22

func(incentiveResolver *v1.ExternalIncentiveResolver, currentTime int64)
Open
OID
02d577…ffec:20
22 details

Inspect func

29

func(owner .uverse.address, caller .uverse.address)
Open
OID
02d577…ffec:27
29 details

Inspect func

30

type

Value

v1.Reward

31

func(rewards []v1.Reward) v1.Reward
Open
OID
02d577…ffec:28
31 details

Inspect func

32

type

Value

v1.calculatePositionRewardParam

33

type

Value

v1.positionRewardUpdate

34

type

Value

v1.positionRewardContext

35

type

Value

v1.internalRewardSegment

36

func(segments []v1.internalRewardSegment, poolTier *v1.PoolTier, poolPath string, startTime int64, endTime int64, baseReward int64, exit *staker.UnstakedPosition) ([]v1.internalRewardSegment, .uverse.error)
Open
OID
02d577…ffec:30
36 details

Inspect func

37

func(deposit *staker.Deposit, incentive *staker.ExternalIncentive) int64
Open
OID
02d577…ffec:31
37 details

Inspect func

38

string

Value

"gno.land/r/gnoswap/gns.GNS"

39

string

Value

"gno.land/r/gnoland/wugnot.wugnot"

40

func(prevAddr string, prevRealm string, poolPath string, tier uint64, rewardPerSecond int64, tierRewards map[uint64]int64, counts [4]uint64, currentTime int64)
Open
OID
02d577…ffec:32
40 details

Inspect func

41

untyped string

Value

"[GNOSWAP-STAKER-001] caller has no permission"

42

untyped string

Value

"[GNOSWAP-STAKER-002] pool not found"

43

untyped string

Value

"[GNOSWAP-STAKER-003] not available to update collect time"

44

untyped string

Value

"[GNOSWAP-STAKER-004] invalid input data"

45

untyped string

Value

"[GNOSWAP-STAKER-005] invalid unstaking fee"

46

untyped string

Value

"[GNOSWAP-STAKER-006] already staked position"

47

untyped string

Value

"[GNOSWAP-STAKER-007] pool is not incentivized"

48

untyped string

Value

"[GNOSWAP-STAKER-008] cannot end incentive"

49

untyped string

Value

"[GNOSWAP-STAKER-009] invalid incentive start time"

50

untyped string

Value

"[GNOSWAP-STAKER-010] cannot delete default external token"

51

untyped string

Value

"[GNOSWAP-STAKER-011] invalid pool path"

52

untyped string

Value

"[GNOSWAP-STAKER-012] invalid pool tier"

53

untyped string

Value

"[GNOSWAP-STAKER-013] requested data not found"

54

untyped string

Value

"[GNOSWAP-STAKER-014] unexpected calculation error"

55

untyped string

Value

"[GNOSWAP-STAKER-015] zero liquidity"

56

untyped string

Value

"[GNOSWAP-STAKER-016] invalid incentive duration"

57

untyped string

Value

"[GNOSWAP-STAKER-017] not allowed for external reward"

58

untyped string

Value

"[GNOSWAP-STAKER-018] incentive already exists"

59

untyped string

Value

"[GNOSWAP-STAKER-019] overflow"

60

untyped string

Value

"[GNOSWAP-STAKER-020] cannot add existing token"

61

untyped string

Value

"[GNOSWAP-STAKER-021] invalid address"

62

untyped string

Value

"[GNOSWAP-STAKER-022] incentive is not ended yet"

63

untyped string

Value

"[GNOSWAP-STAKER-023] cannot cancel incentive"

64

untyped string

Value

"[GNOSWAP-STAKER-024] position has uncollected rewards"

65

untyped string

Value

"[GNOSWAP-STAKER-025] denied reward token"

66

untyped string

Value

"[GNOSWAP-STAKER-026] cannot deny default token"

67

untyped string

Value

"[GNOSWAP-STAKER-027] insufficient reward token balance"

68

func(message string, details string) .uverse.error
Open
OID
02d577…ffec:34
68 details

Inspect func

69

type

Value

v1.tickCrossEventInfo

70

func(tickID int32, stakedLiquidityGross *v1.Uint, stakedLiquidityDelta *v1.Int, outsideAccumulation *v1.Uint) *v1.tickCrossEventInfo
Open
OID
02d577…ffec:36
70 details

Inspect func

71

func(tokenPath string) .uverse.error
Open
OID
02d577…ffec:38
71 details

Inspect func

72

func(tokenPath string) .uverse.error
Open
OID
02d577…ffec:40
72 details

Inspect func

73

func(tokenPath string) .uverse.error
Open
OID
02d577…ffec:41
73 details

Inspect func

74

func(value interface{...}) interface{...}
Open
OID
02d577…ffec:42
74 details

Inspect func

75

func(value interface{...}) interface{...}
Open
OID
02d577…ffec:44
75 details

Inspect func

76

func(value interface{...}) interface{...}
Open
OID
02d577…ffec:45
76 details

Inspect func

77

func(value interface{...}) interface{...}
Open
OID
02d577…ffec:46
77 details

Inspect func

78

int64

Value

100000000000

79

int64

Value

1000000000

80

uint64

Value

100

83

func(int, rlm .uverse.realm, stakerStore staker.IStakerStore, emissionAccessor staker.EmissionAccessor) .uverse.error
Open
OID
02d577…ffec:50
83 details

Inspect func

84

func(stakerStore staker.IStakerStore) (*v1.PoolTier, *v1.Pools, int64, map[uint64]int64)
Open
OID
02d577…ffec:51
84 details

Inspect func

85

type

Value

v1.stakerV1

86

func(stakerStore staker.IStakerStore, poolAccessor staker.PoolAccessor, emissionAccessor staker.EmissionAccessor, nftAccessor staker.NFTAccessor) *v1.stakerV1
Open
OID
02d577…ffec:52
86 details

Inspect func

87

uint64

Value

0

89

type

Value

v1.IncentivesResolver

90

func(incentives *staker.Incentives) *v1.IncentivesResolver
Open
OID
02d577…ffec:56
90 details

Inspect func

91

func(tree *v0.BPTree, id string) (*staker.ExternalIncentive, bool)
Open
OID
02d577…ffec:58
91 details

Inspect func

92

func(unclaimableStart int64, unclaimableEnd int64, incentiveStartTimestamp int64, incentiveEndTimestamp int64) int64
Open
OID
02d577…ffec:59
92 details

Inspect func

94

type

Value

v1.Pools

96

type

Value

v1.PoolResolver

97

func(pool *staker.Pool) *v1.PoolResolver
Open
OID
02d577…ffec:65
97 details

Inspect func

98

func(pool *staker.Pool, exit *staker.UnstakedPosition) *v1.PoolResolver
Open
OID
02d577…ffec:66
98 details

Inspect func

99

type

Value

v1.RewardState

100

untyped bigint

Value

(4 <untyped> bigint)

101

untyped bigint

Value

(1 <untyped> bigint)

102

untyped bigint

Value

(2 <untyped> bigint)

103

untyped bigint

Value

(3 <untyped> bigint)

104

func(tier1Count uint64, tier2Count uint64, tier3Count uint64) staker.TierRatio
Open
OID
02d577…ffec:67
104 details

Inspect func

105

type

Value

v1.PoolTier

106

func(pools *v1.Pools, currentTime int64, initialPoolPath string, getEmission func(...), getHalvingBlocksInRange func(...)) *v1.PoolTier
Open
OID
02d577…ffec:69
106 details

Inspect func

107

func(membership *v0.BPTree, tierRatio staker.TierRatio, counts [4]uint64, lastRewardCacheTimestamp int64, currentEmission int64, getEmission func(...), getHalvingBlocksInRange func(...)) *v1.PoolTier
Open
OID
02d577…ffec:70
107 details

Inspect func

108

func(emission int64, tierRatio int64, tierCount int64) (int64, .uverse.error)
Open
OID
02d577…ffec:71
108 details

Inspect func

109

type

Value

v1.TickResolver

110

func(tick *staker.Tick) *v1.TickResolver
Open
OID
02d577…ffec:72
110 details

Inspect func

111

int64

Value

31536000

112

func(warmupTemplate []staker.Warmup, index int, timeDuration int64) []staker.Warmup
Open
OID
02d577…ffec:74
112 details

Inspect func

113

func(warmupTemplate []staker.Warmup, currentTime int64) []staker.Warmup
Open
OID
02d577…ffec:76
113 details

Inspect func

114

func(warmup staker.Warmup, poolReward int64, positionLiquidity *v1.Uint, stakedLiquidity *v1.Uint) (int64, int64)
Open
OID
02d577…ffec:77
114 details

Inspect func

115

func(currentTime int64, duration int64) int64
Open
OID
02d577…ffec:78
115 details

Inspect func

116

.uverse.address

Value

<gnolang.StringValue>

117

type

Value

v1.Deposits

119

func(data interface{...}) *staker.Deposit
Open
OID
02d577…ffec:81
119 details

Inspect func

120

type

Value

v1.ExternalIncentives

123

type

Value

v1.collectContext

124

type

Value

v1.externalDeliveryOutcome

125

v1.externalDeliveryOutcome

Value

<zero>

126

v1.externalDeliveryOutcome

Value

<zero>

127

v1.externalDeliveryOutcome

Value

<zero>

128

v1.externalDeliveryOutcome

Value

<zero>

129

v1.externalDeliveryOutcome

Value

<zero>

130

type

Value

v1.collectTarget

131

func(positionId uint64) .uverse.error
Open
OID
02d577…ffec:84
131 details

Inspect func

133

func(positionId uint64) (int32, int32)
Open
OID
02d577…ffec:86
133 details

Inspect func

134

type

Value

v1.ExternalIncentiveResolver

135

func(externalIncentive *staker.ExternalIncentive) *v1.ExternalIncentiveResolver
Open
OID
02d577…ffec:87
135 details

Inspect func

136

type

Value

v1.DepositResolver

137

func(deposit *staker.Deposit) *v1.DepositResolver
Open
OID
02d577…ffec:89
137 details

Inspect func

138

type

Value

v1.UnstakedPositions

140

func(counts *v0.BPTree, incentiveId string, delta int64)
Open
OID
02d577…ffec:92
140 details

Inspect func

141

func(poolPath string) (string, string, string)
Open
OID
02d577…ffec:93
141 details

Inspect func

142

func(positionId uint64) v0.TokenID
Open
OID
02d577…ffec:95
142 details

Inspect func

143

func(slice []string, item string) bool
Open
OID
02d577…ffec:96
143 details

Inspect func
0 : int64 =7776000
1 : int64 =15552000
2 : int64 =31536000
3 : time.Duration =<zero>
4 : untyped bigint =(253402300799 <untyped> bigint)
5 : uint64 =1000
6 : func(amount int64) Inspect
7 : func(rewardAmountStr string) Inspect
8 : func(s *v1.stakerV1, caller .uverse.address, positionId uint64) Inspect
9 : func(s *v1.stakerV1, poolPath string, positionId uint64, incentiveId string) Inspect
10 : func(s *v1.stakerV1, positionId uint64) Inspect
11 : func(s *v1.stakerV1, incentiveId string) Inspect
12 : func(s *v1.stakerV1, positionId uint64) Inspect
13 : func(s *v1.stakerV1, poolPath string) Inspect
14 : func(tier uint64) Inspect
15 : func(currentTier uint64, tier1Count uint64) Inspect
16 : func(s *v1.stakerV1, rewardToken string, rewardAmount int64) Inspect
17 : func(s *v1.stakerV1, poolPath string, tokenPath string) Inspect
18 : func(s *v1.stakerV1, poolPath string, tokenPath string, currentTime int64) Inspect
19 : func(fee uint64) Inspect
20 : func(startTimestamp int64) Inspect
21 : func(caller .uverse.address, creator .uverse.address) Inspect
22 : func(incentiveResolver *v1.ExternalIncentiveResolver, currentTime int64) Inspect
23 : func() int64 Inspect
24 : func() int64 Inspect
25 : func(endTimestamp int64) Inspect
26 : func(externalDuration int64) Inspect
27 : func(addr .uverse.address) Inspect
28 : func(startTime time.Time) bool Inspect
29 : func(owner .uverse.address, caller .uverse.address) Inspect
30 : type =v1.Reward
31 : func(rewards []v1.Reward) v1.Reward Inspect
32 : type =v1.calculatePositionRewardParam
33 : type =v1.positionRewardUpdate
34 : type =v1.positionRewardContext
35 : type =v1.internalRewardSegment
36 : func(segments []v1.internalRewardSegment, poolTier *v1.PoolTier, poolPath string, startTime int64, endTime int64, baseReward int64, exit *staker.UnstakedPosition) ([]v1.internalRewardSegment, .uverse.error) Inspect
37 : func(deposit *staker.Deposit, incentive *staker.ExternalIncentive) int64 Inspect
38 : string ="gno.land/r/gnoswap/gns.GNS"
39 : string ="gno.land/r/gnoland/wugnot.wugnot"
40 : func(prevAddr string, prevRealm string, poolPath string, tier uint64, rewardPerSecond int64, tierRewards map[uint64]int64, counts [4]uint64, currentTime int64) Inspect
41 : untyped string ="[GNOSWAP-STAKER-001] caller has no permission"
42 : untyped string ="[GNOSWAP-STAKER-002] pool not found"
43 : untyped string ="[GNOSWAP-STAKER-003] not available to update collect time"
44 : untyped string ="[GNOSWAP-STAKER-004] invalid input data"
45 : untyped string ="[GNOSWAP-STAKER-005] invalid unstaking fee"
46 : untyped string ="[GNOSWAP-STAKER-006] already staked position"
47 : untyped string ="[GNOSWAP-STAKER-007] pool is not incentivized"
48 : untyped string ="[GNOSWAP-STAKER-008] cannot end incentive"
49 : untyped string ="[GNOSWAP-STAKER-009] invalid incentive start time"
50 : untyped string ="[GNOSWAP-STAKER-010] cannot delete default external token"
51 : untyped string ="[GNOSWAP-STAKER-011] invalid pool path"
52 : untyped string ="[GNOSWAP-STAKER-012] invalid pool tier"
53 : untyped string ="[GNOSWAP-STAKER-013] requested data not found"
54 : untyped string ="[GNOSWAP-STAKER-014] unexpected calculation error"
55 : untyped string ="[GNOSWAP-STAKER-015] zero liquidity"
56 : untyped string ="[GNOSWAP-STAKER-016] invalid incentive duration"
57 : untyped string ="[GNOSWAP-STAKER-017] not allowed for external reward"
58 : untyped string ="[GNOSWAP-STAKER-018] incentive already exists"
59 : untyped string ="[GNOSWAP-STAKER-019] overflow"
60 : untyped string ="[GNOSWAP-STAKER-020] cannot add existing token"
61 : untyped string ="[GNOSWAP-STAKER-021] invalid address"
62 : untyped string ="[GNOSWAP-STAKER-022] incentive is not ended yet"
63 : untyped string ="[GNOSWAP-STAKER-023] cannot cancel incentive"
64 : untyped string ="[GNOSWAP-STAKER-024] position has uncollected rewards"
65 : untyped string ="[GNOSWAP-STAKER-025] denied reward token"
66 : untyped string ="[GNOSWAP-STAKER-026] cannot deny default token"
67 : untyped string ="[GNOSWAP-STAKER-027] insufficient reward token balance"
68 : func(message string, details string) .uverse.error Inspect
69 : type =v1.tickCrossEventInfo
70 : func(tickID int32, stakedLiquidityGross *v1.Uint, stakedLiquidityDelta *v1.Int, outsideAccumulation *v1.Uint) *v1.tickCrossEventInfo Inspect
71 : func(tokenPath string) .uverse.error Inspect
72 : func(tokenPath string) .uverse.error Inspect
73 : func(tokenPath string) .uverse.error Inspect
74 : func(value interface{...}) interface{...} Inspect
75 : func(value interface{...}) interface{...} Inspect
76 : func(value interface{...}) interface{...} Inspect
77 : func(value interface{...}) interface{...} Inspect
78 : int64 =100000000000
79 : int64 =1000000000
80 : uint64 =100
81 : func() Inspect
82 : func() Inspect
83 : func(int, rlm .uverse.realm, stakerStore staker.IStakerStore, emissionAccessor staker.EmissionAccessor) .uverse.error Inspect
84 : func(stakerStore staker.IStakerStore) (*v1.PoolTier, *v1.Pools, int64, map[uint64]int64) Inspect
85 : type =v1.stakerV1
86 : func(stakerStore staker.IStakerStore, poolAccessor staker.PoolAccessor, emissionAccessor staker.EmissionAccessor, nftAccessor staker.NFTAccessor) *v1.stakerV1 Inspect
87 : uint64 =0
88 : func(pct int64) int Inspect
89 : type =v1.IncentivesResolver
90 : func(incentives *staker.Incentives) *v1.IncentivesResolver Inspect
91 : func(tree *v0.BPTree, id string) (*staker.ExternalIncentive, bool) Inspect
92 : func(unclaimableStart int64, unclaimableEnd int64, incentiveStartTimestamp int64, incentiveEndTimestamp int64) int64 Inspect
93 : <gnolang.heapItemType> Inspect
94 : type =v1.Pools
95 : func() *v1.Pools Inspect
96 : type =v1.PoolResolver
97 : func(pool *staker.Pool) *v1.PoolResolver Inspect
98 : func(pool *staker.Pool, exit *staker.UnstakedPosition) *v1.PoolResolver Inspect
99 : type =v1.RewardState
100 : untyped bigint =(4 <untyped> bigint)
101 : untyped bigint =(1 <untyped> bigint)
102 : untyped bigint =(2 <untyped> bigint)
103 : untyped bigint =(3 <untyped> bigint)
104 : func(tier1Count uint64, tier2Count uint64, tier3Count uint64) staker.TierRatio Inspect
105 : type =v1.PoolTier
106 : func(pools *v1.Pools, currentTime int64, initialPoolPath string, getEmission func(...), getHalvingBlocksInRange func(...)) *v1.PoolTier Inspect
107 : func(membership *v0.BPTree, tierRatio staker.TierRatio, counts [4]uint64, lastRewardCacheTimestamp int64, currentEmission int64, getEmission func(...), getHalvingBlocksInRange func(...)) *v1.PoolTier Inspect
108 : func(emission int64, tierRatio int64, tierCount int64) (int64, .uverse.error) Inspect
109 : type =v1.TickResolver
110 : func(tick *staker.Tick) *v1.TickResolver Inspect
111 : int64 =31536000
112 : func(warmupTemplate []staker.Warmup, index int, timeDuration int64) []staker.Warmup Inspect
113 : func(warmupTemplate []staker.Warmup, currentTime int64) []staker.Warmup Inspect
114 : func(warmup staker.Warmup, poolReward int64, positionLiquidity *v1.Uint, stakedLiquidity *v1.Uint) (int64, int64) Inspect
115 : func(currentTime int64, duration int64) int64 Inspect
116 : .uverse.address =<gnolang.StringValue>
117 : type =v1.Deposits
118 : func() *v1.Deposits Inspect
119 : func(data interface{...}) *staker.Deposit Inspect
120 : type =v1.ExternalIncentives
121 : func() *v1.ExternalIncentives Inspect
122 : func(currentTime int64) int64 Inspect
123 : type =v1.collectContext
124 : type =v1.externalDeliveryOutcome
125 : v1.externalDeliveryOutcome =<zero>
126 : v1.externalDeliveryOutcome =<zero>
127 : v1.externalDeliveryOutcome =<zero>
128 : v1.externalDeliveryOutcome =<zero>
129 : v1.externalDeliveryOutcome =<zero>
130 : type =v1.collectTarget
131 : func(positionId uint64) .uverse.error Inspect
132 : func(positionId uint64) *v1.Uint Inspect
133 : func(positionId uint64) (int32, int32) Inspect
134 : type =v1.ExternalIncentiveResolver
135 : func(externalIncentive *staker.ExternalIncentive) *v1.ExternalIncentiveResolver Inspect
136 : type =v1.DepositResolver
137 : func(deposit *staker.Deposit) *v1.DepositResolver Inspect
138 : type =v1.UnstakedPositions
139 : func() *v1.UnstakedPositions Inspect
140 : func(counts *v0.BPTree, incentiveId string, delta int64) Inspect
141 : func(poolPath string) (string, string, string) Inspect
142 : func(positionId uint64) v0.TokenID Inspect
143 : func(slice []string, item string) bool Inspect