LedgerChannel
Verified contract
Active on
Ethereum with 2,598 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "LedgerChannel"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 6498650 | 6 years ago | | | 0.004207176 | 0.0010005800 | |
| 6498087 | 6 years ago | | | 0 | 0.0037534827 | |
| 6498080 | 6 years ago | | | 0 | 0.00031836750 | |
| 6498078 | 6 years ago | | | 0 | 0.0038299827 | |
| 6498074 | 6 years ago | | | 0 | 0.00031836750 | |
| 6498072 | 6 years ago | | | 0 | 0.00096416520 | |
| 6498068 | 6 years ago | | | 0 | 0.0039068703 | |
| 6498065 | 6 years ago | | | 0 | 0.00031836750 | |
| 6498063 | 6 years ago | | | 0 | 0.0039068703 | |
| 6498059 | 6 years ago | | | 0 | 0.00031836750 |
ABI
ABI objects
Getter at block 21158214
NAME() view returns (string)
Ledger Channel
VERSION() view returns (string)
0.0.1
numChannels() view returns (uint256)
379
Read-only
Channels(bytes32) view returns (uint256 sequence, uint256 confirmTime, bytes32 VCrootHash, uint256 LCopenTimeout, uint256 updateLCtimeout, bool isOpen, bool isUpdateLCSettling, uint256 numOpenVC, address token)
getChannel(bytes32 id) view returns (address[2], uint256[4], uint256[4], uint256[2], uint256, uint256, bytes32, uint256, uint256, bool, bool, uint256)
getVirtualChannel(bytes32 id) view returns (bool, bool, uint256, address, uint256, address, address, address, uint256[2], uint256[2], uint256[2])
virtualChannels(bytes32) view returns (bool isClose, bool isInSettlementState, uint256 sequence, address challenger, uint256 updateVCtimeout, address partyA, address partyB, address partyI, address token)
State-modifying
Events LCOpenTimeout(bytes32 _lcID)
byzantineCloseChannel(bytes32 _lcID)
closeVirtualChannel(bytes32 _lcID, bytes32 _vcID)
consensusCloseChannel(bytes32 _lcID, uint256 _sequence, uint256[4] _balances, string _sigA, string _sigI)
createChannel(bytes32 _lcID, address _partyI, uint256 _confirmTime, address _token, uint256[2] _balances) payable
deposit(bytes32 _lcID, address recipient, uint256 _balance, bool isToken) payable
initVCstate(bytes32 _lcID, bytes32 _vcID, bytes _proof, address _partyA, address _partyB, uint256[2] _bond, uint256[4] _balances, string sigA)
joinChannel(bytes32 _lcID, uint256[2] _balances) payable
settleVC(bytes32 _lcID, bytes32 _vcID, uint256 updateSeq, address _partyA, address _partyB, uint256[4] updateBal, string sigA)
updateLCstate(bytes32 _lcID, uint256[6] updateParams, bytes32 _VCroot, string _sigA, string _sigI)
DidLCClose(bytes32 indexed channelId, uint256 sequence, uint256 ethBalanceA, uint256 tokenBalanceA, uint256 ethBalanceI, uint256 tokenBalanceI)
DidLCDeposit(bytes32 indexed channelId, address indexed recipient, uint256 deposit, bool isToken)
DidLCJoin(bytes32 indexed channelId, uint256 ethBalanceI, uint256 tokenBalanceI)
DidLCOpen(bytes32 indexed channelId, address indexed partyA, address indexed partyI, uint256 ethBalanceA, address token, uint256 tokenBalanceA, uint256 LCopenTimeout)
DidLCUpdateState(bytes32 indexed channelId, uint256 sequence, uint256 numOpenVc, uint256 ethBalanceA, uint256 tokenBalanceA, uint256 ethBalanceI, uint256 tokenBalanceI, bytes32 vcRoot, uint256 updateLCtimeout)
DidVCClose(bytes32 indexed lcId, bytes32 indexed vcId, uint256 balanceA, uint256 balanceB)
DidVCInit(bytes32 indexed lcId, bytes32 indexed vcId, bytes proof, uint256 sequence, address partyA, address partyB, uint256 balanceA, uint256 balanceB)
DidVCSettle(bytes32 indexed lcId, bytes32 indexed vcId, uint256 updateSeq, uint256 updateBalA, uint256 updateBalB, address challenger, uint256 updateVCtimeout)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.