TokenNetwork

Verified contract

Active on Ethereum with 2,158 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $6,834.05
ERC-20
--
0xbdfd6caaa7b37083f189b961f20eaacc69c7ee6a0d534246480eabbbfd44029d
0x97672d42e04f99f376987799698a4390678e4165f9f1cf3bddd1fd8462e3772c
0xd998006a6d7c00e1c7dd2347d36337e3dbe3e6ad77de378460337b4fab43ec51
0x47cd170d059f777a85fc3c2fe9c168d8e398231ba4b33d512b7c6d0dd65fc110
0x52648895b6992e43dd7f9d53686fdaa41de055a769a1f1f85a7258165d6d2718
0xedf2fe85bb34cff650fe9bdd8da91223ccb83876cfd49329bbd33ced8550a78a
0xfa00f076e45d715bef06a42654dff517de3edfad0e87aaed7e865f095bbd398d
0x986af3702edcc5c29ed28b0c36ac060eb41f4da916a43df58feee5c7da81bd0a
0x74ad980a358fa2e2213ed81fe614f1d772ddf955db670c0a7d82f4c9cc41c308
0xd0ba15a29fe2f58c4babe9e7c26f52ed7020f40ee52eb34dc2454df986793eb7

Functions
Getter at block 21161424
MAX_SAFE_UINT256(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
chain_id(view returns (uint256)
1
channel_counter(view returns (uint256)
309
channel_participant_deposit_limit(view returns (uint256)
75000000000000000
contract_version(view returns (string)
0.4.0
deprecation_executor(view returns (address)
0x4acc8495159749c6a0f1580167bbf262cb462215
safety_deprecation_switch(view returns (bool)
false
secret_registry(view returns (address)
0x2d07731e878e4c59bda93ea3fe93e34fb0172bd0
settlement_timeout_max(view returns (uint256)
555428
settlement_timeout_min(view returns (uint256)
500
signature_prefix(view returns (string)
Ethereum Signed Message:
token(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
token_network_deposit_limit(view returns (uint256)
250000000000000000000
Read-only
channels(uint256view returns (uint256 settle_block_numberuint8 state)
contractExists(address contract_addressview returns (bool)
getChannelIdentifier(address participantaddress partnerview returns (uint256)
getChannelInfo(uint256 channel_identifieraddress participant1address participant2view returns (uint256uint8)
getChannelParticipantInfo(uint256 channel_identifieraddress participantaddress partnerview returns (uint256uint256boolbytes32uint256bytes32uint256)
getParticipantsHash(address participantaddress partnerpure returns (bytes32)
getUnlockIdentifier(uint256 channel_identifieraddress participantaddress partnerpure returns (bytes32)
participants_hash_to_channel_identifier(bytes32view returns (uint256)
State-modifying
closeChannel(uint256 channel_identifieraddress partnerbytes32 balance_hashuint256 noncebytes32 additional_hashbytes signature
deprecate(
openChannel(address participant1address participant2uint256 settle_timeoutreturns (uint256)
setTotalDeposit(uint256 channel_identifieraddress participantuint256 total_depositaddress partner
settleChannel(uint256 channel_identifieraddress participant1uint256 participant1_transferred_amountuint256 participant1_locked_amountbytes32 participant1_locksrootaddress participant2uint256 participant2_transferred_amountuint256 participant2_locked_amountbytes32 participant2_locksroot
unlock(uint256 channel_identifieraddress participantaddress partnerbytes merkle_tree_leaves
updateNonClosingBalanceProof(uint256 channel_identifieraddress closing_participantaddress non_closing_participantbytes32 balance_hashuint256 noncebytes32 additional_hashbytes closing_signaturebytes non_closing_signature
Events
ChannelClosed(uint256 indexed channel_identifieraddress indexed closing_participantuint256 indexed nonce
ChannelNewDeposit(uint256 indexed channel_identifieraddress indexed participantuint256 total_deposit
ChannelOpened(uint256 indexed channel_identifieraddress indexed participant1address indexed participant2uint256 settle_timeout
ChannelSettled(uint256 indexed channel_identifieruint256 participant1_amountuint256 participant2_amount
ChannelUnlocked(uint256 indexed channel_identifieraddress indexed participantaddress indexed partnerbytes32 locksrootuint256 unlocked_amountuint256 returned_tokens
NonClosingBalanceProofUpdated(uint256 indexed channel_identifieraddress indexed closing_participantuint256 indexed nonce
Constructor
constructor(address _token_addressaddress _secret_registryuint256 _chain_iduint256 _settlement_timeout_minuint256 _settlement_timeout_maxaddress _deprecation_executor
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.