TokenNetwork
Verified contract
Active on
Ethereum with 2,158 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x2d07…2bd0
Balances ($6,834.05)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 2.130713 | $3,207.40 |
$6,834.05 | |
ERC20 | ERC-20 | 0.99 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 10305145 | 4 years ago | | | 0 | 0.00096368798 | |
| 10305129 | 4 years ago | | | 0 | 0.0014460506 | |
| 10305047 | 4 years ago | | | 0 | 0.00094522861 | |
| 10305031 | 4 years ago | | | 0 | 0.0014578752 | |
| 10304783 | 4 years ago | | | 0 | 0.00070989356 | |
| 10304629 | 4 years ago | | | 0 | 0.0010191259 | |
| 10304614 | 4 years ago | | | 0 | 0.0015183025 | |
| 10304344 | 4 years ago | | | 0 | 0.0013593000 | |
| 10304331 | 4 years ago | | | 0 | 0.0020943609 | |
| 10304274 | 4 years ago | | | 0 | 0.0012633110 |
ABI
ABI objects
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(uint256) view returns (uint256 settle_block_number, uint8 state)
contractExists(address contract_address) view returns (bool)
getChannelIdentifier(address participant, address partner) view returns (uint256)
getChannelInfo(uint256 channel_identifier, address participant1, address participant2) view returns (uint256, uint8)
getChannelParticipantInfo(uint256 channel_identifier, address participant, address partner) view returns (uint256, uint256, bool, bytes32, uint256, bytes32, uint256)
getParticipantsHash(address participant, address partner) pure returns (bytes32)
getUnlockIdentifier(uint256 channel_identifier, address participant, address partner) pure returns (bytes32)
participants_hash_to_channel_identifier(bytes32) view returns (uint256)
State-modifying
Events closeChannel(uint256 channel_identifier, address partner, bytes32 balance_hash, uint256 nonce, bytes32 additional_hash, bytes signature)
deprecate()
openChannel(address participant1, address participant2, uint256 settle_timeout) returns (uint256)
setTotalDeposit(uint256 channel_identifier, address participant, uint256 total_deposit, address partner)
settleChannel(uint256 channel_identifier, address participant1, uint256 participant1_transferred_amount, uint256 participant1_locked_amount, bytes32 participant1_locksroot, address participant2, uint256 participant2_transferred_amount, uint256 participant2_locked_amount, bytes32 participant2_locksroot)
unlock(uint256 channel_identifier, address participant, address partner, bytes merkle_tree_leaves)
updateNonClosingBalanceProof(uint256 channel_identifier, address closing_participant, address non_closing_participant, bytes32 balance_hash, uint256 nonce, bytes32 additional_hash, bytes closing_signature, bytes non_closing_signature)
ChannelClosed(uint256 indexed channel_identifier, address indexed closing_participant, uint256 indexed nonce)
ChannelNewDeposit(uint256 indexed channel_identifier, address indexed participant, uint256 total_deposit)
ChannelOpened(uint256 indexed channel_identifier, address indexed participant1, address indexed participant2, uint256 settle_timeout)
ChannelSettled(uint256 indexed channel_identifier, uint256 participant1_amount, uint256 participant2_amount)
ChannelUnlocked(uint256 indexed channel_identifier, address indexed participant, address indexed partner, bytes32 locksroot, uint256 unlocked_amount, uint256 returned_tokens)
NonClosingBalanceProofUpdated(uint256 indexed channel_identifier, address indexed closing_participant, uint256 indexed nonce)
constructor(address _token_address, address _secret_registry, uint256 _chain_id, uint256 _settlement_timeout_min, uint256 _settlement_timeout_max, address _deprecation_executor)
This contract contains no fallback and receive objects.
This contract contains no error objects.