Snapshot
QDuel @ epoch 200
contractIndex 23 · effective e199 – e200
XAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXNMD
Procedures
6procCreateRoom#1
in 56Bout 1B
→input4 fields · 56B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| allowedPlayer | id | 0 | 32 | |
| stake | sint64 | 32 | 8 | |
| raiseStep | sint64 | 40 | 8 | |
| maxStake | sint64 | 48 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procConnectToRoom#2
in 32Bout 1B
→input1 field · 32B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| roomId | id | 0 | 32 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procSetPercentFees#3
in 3Bout 1B
→input3 fields · 3B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| devFeePercentBps | uint8 | 0 | 1 | |
| burnFeePercentBps | uint8 | 1 | 1 | |
| shareholdersFeePercentBps | uint8 | 2 | 1 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procSetTTLHours#4
in 1Bout 1B
→input1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| ttlHours | uint8 | 0 | 1 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procDeposit#5
in 0Bout 1B
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
procWithdraw#6
in 8Bout 1B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | sint64 | 0 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| returnCode | uint8 | 0 | 1 |
Functions
4funcGetPercentFees#1
in 0Bout 13B
←output5 fields · 13B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| devFeePercentBps | uint8 | 0 | 1 | |
| burnFeePercentBps | uint8 | 1 | 1 | |
| shareholdersFeePercentBps | uint8 | 2 | 1 | |
| percentScale | uint16 | 3 | 2 | |
| returnCode | uint64 | 5 | 8 |
funcGetRooms#2
in 0Bout 61441B
←output2 fields · 61441B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| rooms | RoomInfo[512] | 0 | 61440 | |
| returnCode | uint8 | 61440 | 1 |
funcGetTTLHours#3
in 0Bout 2B
←output2 fields · 2B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| ttlHours | uint8 | 0 | 1 | |
| returnCode | uint8 | 1 | 1 |
funcGetUserProfile#4
in 0Bout 73B
←output7 fields · 73B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| roomId | id | 0 | 32 | |
| depositedAmount | uint64 | 32 | 8 | |
| locked | uint64 | 40 | 8 | |
| stake | uint64 | 48 | 8 | |
| raiseStep | uint64 | 56 | 8 | |
| maxStake | uint64 | 64 | 8 | |
| returnCode | uint8 | 72 | 1 |
Structs
2structRoomInfo
120B6 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| roomId | id | 0 | 32 | |
| owner | id | 32 | 32 | |
| allowedPlayer | id | 64 | 32 | |
| amount | sint64 | 96 | 8 | |
| closeTimer | uint64 | 104 | 8 | |
| lastUpdate | DateAndTime | 112 | 8 |
structDateAndTime
8B1 field
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| value | uint64 | 0 | 8 |