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

Object 02d577b5…1fffec:2 state

Back to all declarations

0

int64

Value

7776000

1

int64

Value

15552000

2

int64

Value

31536000

3

untyped bigint

Value

(253402300799 <untyped> bigint)

6

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

Inspect func

7

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

Inspect func

10

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

Inspect func

11

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

Inspect func

12

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

Inspect func

13

uint64

Value

1000

20

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

Inspect func

21

type

Value

v1.Reward

22

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

Inspect func

23

type

Value

v1.calculatePositionRewardParam

24

type

Value

v1.positionRewardUpdate

25

type

Value

v1.internalRewardSegment

26

func(segments []v1.internalRewardSegment, poolTier *v1.PoolTier, poolPath string, startTime int64, endTime int64, baseReward int64) []v1.internalRewardSegment
Open
OID
02d577…ffec:22
26 details

Inspect func

27

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

Inspect func

28

string

Value

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

29

string

Value

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

30

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

Inspect func

31

untyped string

Value

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

32

untyped string

Value

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

33

untyped string

Value

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

34

untyped string

Value

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

35

untyped string

Value

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

36

untyped string

Value

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

37

untyped string

Value

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

38

untyped string

Value

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

39

untyped string

Value

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

40

untyped string

Value

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

41

untyped string

Value

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

42

untyped string

Value

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

43

untyped string

Value

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

44

untyped string

Value

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

45

untyped string

Value

"[GNOSWAP-STAKER-015] zero liquidity"

46

untyped string

Value

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

47

untyped string

Value

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

48

untyped string

Value

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

49

untyped string

Value

"[GNOSWAP-STAKER-019] overflow"

50

untyped string

Value

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

51

untyped string

Value

"[GNOSWAP-STAKER-021] invalid address"

52

untyped string

Value

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

53

untyped string

Value

"[GNOSWAP-STAKER-023] rlm does not match the current crossing frame"

54

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

Inspect func

55

type

Value

v1.tickCrossEventInfo

56

func(tickID int32, stakedLiquidityGross *uint256.Uint, stakedLiquidityDelta *int256.Int, outsideAccumulation *uint256.Uint) *v1.tickCrossEventInfo
Open
OID
02d577…ffec:28
56 details

Inspect func

57

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

Inspect func

58

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

Inspect func

59

int64

Value

1000000000

60

int64

Value

1000000000

61

uint64

Value

100

64

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

Inspect func

65

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

Inspect func

66

type

Value

v1.stakerV1

67

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

Inspect func

68

uint64

Value

0

70

type

Value

v1.IncentivesResolver

71

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

Inspect func

72

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

Inspect func

73

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

Inspect func

75

type

Value

v1.Pools

77

type

Value

v1.PoolResolver

78

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

Inspect func

79

type

Value

v1.RewardState

80

untyped bigint

Value

(4 <untyped> bigint)

81

untyped bigint

Value

(1 <untyped> bigint)

82

untyped bigint

Value

(2 <untyped> bigint)

83

untyped bigint

Value

(3 <untyped> bigint)

84

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

Inspect func

85

type

Value

v1.PoolTier

86

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

Inspect func

87

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

Inspect func

88

func(emission int64, tierRatio int64, tierCount int64) int64
Open
OID
02d577…ffec:56
88 details

Inspect func

89

type

Value

v1.TickResolver

90

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

Inspect func

95

int64

Value

31536000

96

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

Inspect func

97

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

Inspect func

98

func(warmup staker.Warmup, poolReward int64, positionLiquidity *uint256.Uint, stakedLiquidity *uint256.Uint) (int64, int64)
Open
OID
02d577…ffec:67
98 details

Inspect func

99

func(currentTime int64, duration int64) int64
Open
OID
02d577…ffec:68
99 details

Inspect func

100

.uverse.address

Value

<gnolang.StringValue>

101

type

Value

v1.Deposits

103

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

Inspect func

104

type

Value

v1.ExternalIncentives

107

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

Inspect func

108

func(positionId uint64) *uint256.Uint
Open
OID
02d577…ffec:75
108 details

Inspect func

109

func(positionId uint64) (int32, int32)
Open
OID
02d577…ffec:76
109 details

Inspect func

110

type

Value

v1.ExternalIncentiveResolver

111

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

Inspect func

112

type

Value

v1.DepositResolver

113

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

Inspect func

114

func(poolPath string) (string, string, string)
Open
OID
02d577…ffec:80
114 details

Inspect func

115

func(positionId uint64) grc721.TokenID
Open
OID
02d577…ffec:82
115 details

Inspect func

116

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

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