ChannelManager

Verified contract

Active on Ethereum with 6,158 txns
Deployed by via 0x14e7f4ed at 6930585
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $187,043.41
ERC-20
Value $0.2
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x59abc1bcb24f69492ae9e2bf8376405f87fd1ad6bddc9da3b8fc30195022e348
0x8672a008890a8070c751955f1847eba29c7c70c57defd20680929b0ea24fa16c
0x1d2c6d0deffe99dd66afd307f4b192db5080c8ccc59ac73ce97ac66fa2410924
0xbc573ee3f46f21cdcb741b58f3ee525ba0aa0791acf5025eee58dde2ea0b18c9
0x98f99ddfcf7c7f0666c70b209c75f0424dc5504a25a91943a675eefdc8d6e601
0xff91075d3033edd54ec3a552e4969f6b1ef70de6c5a4f6c5ee48422013c2bff9
0x8b13b4c0b8d3b194a9c148f1addc90e8737258b3aed7ee15850e45cec318dd2a
0xbacc9ed5dd7825717e6804442cc25f9f027082c48076cff053f4a13bbd66999a
0x1f3da2a81f7af53e5957722674ca9d8c0ed7c617443c5093b0b7e97ee7917321
0x556f59b515194eca1a58f7d8170034c54a7a49186532388dd492d5d6b438e86f

Functions
Getter at block 21383500
NAME(view returns (string)
Channel Manager
VERSION(view returns (string)
0.0.1
approvedToken(view returns (address)
0x6b01c3170ae1efebee1a3159172cb3f7a5ecf9e5
challengePeriod(view returns (uint256)
86400
getHubReserveTokens(view returns (uint256)
909083516637997466807
getHubReserveWei(view returns (uint256)
0
hub(view returns (address)
0x526d0cd57a8b977d3628f12cdeceab12dd49297c
totalChannelToken(view returns (uint256)
8197219914435137756130
totalChannelWei(view returns (uint256)
48936188029127750134
Read-only
channels(addressview returns (bytes32 threadRootuint256 threadCountaddress exitInitiatoruint256 channelClosingTimeuint8 status)
getChannelBalances(address userview returns (uint256 weiHubuint256 weiUseruint256 weiTotaluint256 tokenHubuint256 tokenUseruint256 tokenTotal)
getChannelDetails(address userview returns (uint256 txCountGlobaluint256 txCountChainbytes32 threadRootuint256 threadCountaddress exitInitiatoruint256 channelClosingTimeuint8 status)
State-modifying
challengeThread(address senderaddress receiveruint256 threadIduint256[2] weiBalancesuint256[2] tokenBalancesuint256 txCountstring sig
emptyChannel(address user
emptyChannelWithChallenge(address[2] useruint256[2] weiBalancesuint256[2] tokenBalancesuint256[4] pendingWeiUpdatesuint256[4] pendingTokenUpdatesuint256[2] txCountbytes32 threadRootuint256 threadCountuint256 timeoutstring sigHubstring sigUser
emptyThread(address useraddress senderaddress receiveruint256 threadIduint256[2] weiBalancesuint256[2] tokenBalancesbytes proofstring sig
hubAuthorizedUpdate(address useraddress recipientuint256[2] weiBalancesuint256[2] tokenBalancesuint256[4] pendingWeiUpdatesuint256[4] pendingTokenUpdatesuint256[2] txCountbytes32 threadRootuint256 threadCountuint256 timeoutstring sigUser
hubContractWithdraw(uint256 weiAmountuint256 tokenAmount
nukeThreads(address user
startExit(address user
startExitThread(address useraddress senderaddress receiveruint256 threadIduint256[2] weiBalancesuint256[2] tokenBalancesbytes proofstring sig
startExitThreadWithUpdate(address useraddress[2] threadMembersuint256 threadIduint256[2] weiBalancesuint256[2] tokenBalancesbytes proofstring siguint256[2] updatedWeiBalancesuint256[2] updatedTokenBalancesuint256 updatedTxCountstring updateSig
startExitWithUpdate(address[2] useruint256[2] weiBalancesuint256[2] tokenBalancesuint256[4] pendingWeiUpdatesuint256[4] pendingTokenUpdatesuint256[2] txCountbytes32 threadRootuint256 threadCountuint256 timeoutstring sigHubstring sigUser
userAuthorizedUpdate(address recipientuint256[2] weiBalancesuint256[2] tokenBalancesuint256[4] pendingWeiUpdatesuint256[4] pendingTokenUpdatesuint256[2] txCountbytes32 threadRootuint256 threadCountuint256 timeoutstring sigHubpayable 
Events
DidChallengeThread(address indexed senderaddress indexed receiveruint256 threadIdaddress senderAddressuint256[2] weiBalancesuint256[2] tokenBalancesuint256 txCount
DidEmptyChannel(address indexed useruint256 senderIdxuint256[2] weiBalancesuint256[2] tokenBalancesuint256[2] txCountbytes32 threadRootuint256 threadCount
DidEmptyThread(address useraddress indexed senderaddress indexed receiveruint256 threadIdaddress senderAddressuint256[2] channelWeiBalancesuint256[2] channelTokenBalancesuint256[2] channelTxCountbytes32 channelThreadRootuint256 channelThreadCount
DidHubContractWithdraw(uint256 weiAmountuint256 tokenAmount
DidNukeThreads(address indexed useraddress senderAddressuint256 weiAmountuint256 tokenAmountuint256[2] channelWeiBalancesuint256[2] channelTokenBalancesuint256[2] channelTxCountbytes32 channelThreadRootuint256 channelThreadCount
DidStartExitChannel(address indexed useruint256 senderIdxuint256[2] weiBalancesuint256[2] tokenBalancesuint256[2] txCountbytes32 threadRootuint256 threadCount
DidStartExitThread(address useraddress indexed senderaddress indexed receiveruint256 threadIdaddress senderAddressuint256[2] weiBalancesuint256[2] tokenBalancesuint256 txCount
DidUpdateChannel(address indexed useruint256 senderIdxuint256[2] weiBalancesuint256[2] tokenBalancesuint256[4] pendingWeiUpdatesuint256[4] pendingTokenUpdatesuint256[2] txCountbytes32 threadRootuint256 threadCount
Constructor
constructor(address _hubuint256 _challengePeriodaddress _tokenAddress
Fallback and receive
fallback(
Errors

This contract contains no error objects.