Snapshot Current
VottunBridge @ epoch 212
contractIndex 25 · effective e206 → now
ZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZUQI
Procedures
8proccreateOrder#1
in 105Bout 9B
→input4 fields · 105B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| qubicDestination | id | 0 | 32 | |
| amount | uint64 | 32 | 8 | |
| ethAddress | uint8[64] | 40 | 64 | |
| fromQubicToEthereum | uint8 | 104 | 1 |
←output2 fields · 9B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint8 | 0 | 1 | |
| orderId | uint64 | 1 | 8 |
proccompleteOrder#2
in 8Bout 1B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| orderId | uint64 | 0 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint8 | 0 | 1 |
procrefundOrder#3
in 8Bout 1B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| orderId | uint64 | 0 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint8 | 0 | 1 |
proctransferToContract#4
in 16Bout 1B
→input2 fields · 16B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| amount | uint64 | 0 | 8 | |
| orderId | uint64 | 8 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint8 | 0 | 1 |
procaddLiquidity#5
in 0Bout 17B
←output3 fields · 17B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint8 | 0 | 1 | |
| addedAmount | uint64 | 1 | 8 | |
| totalLocked | uint64 | 9 | 8 |
proccreateProposal#6
in 73Bout 9B
→input4 fields · 73B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalType | uint8 | 0 | 1 | |
| targetAddress | id | 1 | 32 | |
| oldAddress | id | 33 | 32 | |
| amount | uint64 | 65 | 8 |
←output2 fields · 9B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint8 | 0 | 1 | |
| proposalId | uint64 | 1 | 8 |
procapproveProposal#7
in 8Bout 2B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint64 | 0 | 8 |
←output2 fields · 2B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint8 | 0 | 1 | |
| executed | uint8 | 1 | 1 |
proccancelProposal#8
in 8Bout 1B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint64 | 0 | 8 |
←output1 field · 1B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint8 | 0 | 1 |
Functions
7funcgetOrder#1
in 8Bout 246B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| orderId | uint64 | 0 | 8 |
←output3 fields · 246B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint8 | 0 | 1 | |
| order | OrderResponse | 1 | 213 | |
| message | uint8[32] | 214 | 32 |
funcgetTotalReceivedTokens#3
in 0Bout 8B
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| totalTokens | uint64 | 0 | 8 |
funcgetTotalLockedTokens#4
in 0Bout 8B
←output1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| totalLockedTokens | uint64 | 0 | 8 |
funcgetOrderByDetails#5
in 73Bout 41B
→input3 fields · 73B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| ethAddress | uint8[64] | 0 | 64 | |
| amount | uint64 | 64 | 8 | |
| status | uint8 | 72 | 1 |
←output3 fields · 41B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint8 | 0 | 1 | |
| orderId | uint64 | 1 | 8 | |
| qubicDestination | id | 9 | 32 |
funcgetContractInfo#6
in 0Bout 3474B
←output14 fields · 3474B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| managers | id[16] | 0 | 512 | |
| nextOrderId | uint64 | 512 | 8 | |
| lockedTokens | uint64 | 520 | 8 | |
| totalReceivedTokens | uint64 | 528 | 8 | |
| earnedFees | uint64 | 536 | 8 | |
| tradeFeeBillionths | uint32 | 544 | 4 | |
| sourceChain | uint32 | 548 | 4 | |
| firstOrders | BridgeOrder[16] | 552 | 2384 | |
| totalOrdersFound | uint64 | 2936 | 8 | |
| emptySlots | uint64 | 2944 | 8 | |
| multisigAdmins | id[16] | 2952 | 512 | |
| numberOfAdmins | uint8 | 3464 | 1 | |
| requiredApprovals | uint8 | 3465 | 1 | |
| totalProposals | uint64 | 3466 | 8 |
funcgetAvailableFees#7
in 0Bout 24B
←output3 fields · 24B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| availableFees | uint64 | 0 | 8 | |
| totalEarnedFees | uint64 | 8 | 8 | |
| totalDistributedFees | uint64 | 16 | 8 |
funcgetProposal#8
in 8Bout 597B
→input1 field · 8B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint64 | 0 | 8 |
←output2 fields · 597B
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| status | uint8 | 0 | 1 | |
| proposal | AdminProposal | 1 | 596 |
Structs
3structOrderResponse
213B8 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| originAccount | id | 0 | 32 | |
| destinationAccount | uint8[64] | 32 | 64 | |
| orderId | uint64 | 96 | 8 | |
| amount | uint64 | 104 | 8 | |
| memo | uint8[64] | 112 | 64 | |
| sourceChain | uint32 | 176 | 4 | |
| qubicDestination | id | 180 | 32 | |
| status | uint8 | 212 | 1 |
structAdminProposal
596B9 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| proposalId | uint64 | 0 | 8 | |
| proposalType | uint8 | 8 | 1 | |
| targetAddress | id | 9 | 32 | |
| oldAddress | id | 41 | 32 | |
| amount | uint64 | 73 | 8 | |
| approvals | id[16] | 81 | 512 | |
| approvalsCount | uint8 | 593 | 1 | |
| executed | uint8 | 594 | 1 | |
| active | uint8 | 595 | 1 |
structBridgeOrder
149B10 fields
fields
| name | type | offset | bytes | layout |
|---|---|---|---|---|
| qubicSender | id | 0 | 32 | |
| qubicDestination | id | 32 | 32 | |
| ethAddress | uint8[64] | 64 | 64 | |
| orderId | uint64 | 128 | 8 | |
| amount | uint64 | 136 | 8 | |
| orderType | uint8 | 144 | 1 | |
| status | uint8 | 145 | 1 | |
| fromQubicToEthereum | uint8 | 146 | 1 | |
| tokensReceived | uint8 | 147 | 1 | |
| tokensLocked | uint8 | 148 | 1 |