Snapshot
Qearn @ epoch 138
contractIndex 9 · effective e137 – e139
JAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVKHO
Procedures
2proclock#1
in 0Bout 4B
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
procunlock#2
in 12Bout 4B
→input2 fields · 12B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint64 | 0 | 8 | |
| lockedEpoch | uint32 | 8 | 4 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | sint32 | 0 | 4 |
Functions
5funcgetLockInfoPerEpoch#1
in 4Bout 40B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| Epoch | uint32 | 0 | 4 |
←output5 fields · 40B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| lockedAmount | uint64 | 0 | 8 | |
| bonusAmount | uint64 | 8 | 8 | |
| currentLockedAmount | uint64 | 16 | 8 | |
| currentBonusAmount | uint64 | 24 | 8 | |
| yield | uint64 | 32 | 8 |
funcgetUserLockedInfo#2
in 36Bout 8B
→input2 fields · 36B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| user | id | 0 | 32 | |
| epoch | uint32 | 32 | 4 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| lockedAmount | uint64 | 0 | 8 |
funcgetStateOfRound#3
in 4Bout 4B
→input1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| epoch | uint32 | 0 | 4 |
←output1 field · 4B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| state | uint32 | 0 | 4 |
funcgetUserLockStatus#4
in 32Bout 8B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| user | id | 0 | 32 |
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint64 | 0 | 8 |
funcgetEndedStatus#5
in 32Bout 32B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| user | id | 0 | 32 |
←output4 fields · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| fullyUnlockedAmount | uint64 | 0 | 8 | |
| fullyRewardedAmount | uint64 | 8 | 8 | |
| earlyUnlockedAmount | uint64 | 16 | 8 | |
| earlyRewardedAmount | uint64 | 24 | 8 |