Expand description
Generated by the following Solidity interface…
library HoprChannels {
type Balance is uint96;
type TicketIndex is uint48;
type Timestamp is uint32;
}
interface HoprChannelsEvents {
event ChannelBalanceDecreased(bytes32 indexed channelId, HoprChannels.Balance newBalance);
event ChannelBalanceIncreased(bytes32 indexed channelId, HoprChannels.Balance newBalance);
event ChannelClosed(bytes32 indexed channelId);
event ChannelOpened(address indexed source, address indexed destination);
event DomainSeparatorUpdated(bytes32 indexed domainSeparator);
event OutgoingChannelClosureInitiated(bytes32 indexed channelId, HoprChannels.Timestamp closureTime);
event TicketRedeemed(bytes32 indexed channelId, HoprChannels.TicketIndex newTicketIndex);
}
…which was generated by the following JSON ABI:
[
{
"type": "event",
"name": "ChannelBalanceDecreased",
"inputs": [
{
"name": "channelId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "newBalance",
"type": "uint96",
"indexed": false,
"internalType": "HoprChannels.Balance"
}
],
"anonymous": false
},
{
"type": "event",
"name": "ChannelBalanceIncreased",
"inputs": [
{
"name": "channelId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "newBalance",
"type": "uint96",
"indexed": false,
"internalType": "HoprChannels.Balance"
}
],
"anonymous": false
},
{
"type": "event",
"name": "ChannelClosed",
"inputs": [
{
"name": "channelId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"type": "event",
"name": "ChannelOpened",
"inputs": [
{
"name": "source",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "destination",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "DomainSeparatorUpdated",
"inputs": [
{
"name": "domainSeparator",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OutgoingChannelClosureInitiated",
"inputs": [
{
"name": "channelId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "closureTime",
"type": "uint32",
"indexed": false,
"internalType": "HoprChannels.Timestamp"
}
],
"anonymous": false
},
{
"type": "event",
"name": "TicketRedeemed",
"inputs": [
{
"name": "channelId",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "newTicketIndex",
"type": "uint48",
"indexed": false,
"internalType": "HoprChannels.TicketIndex"
}
],
"anonymous": false
}
]
Structs§
- Channel
Balance Decreased - Event with signature
ChannelBalanceDecreased(bytes32,uint96)
and selector0x22e2a422a8860656a3a33cfa1daf771e76798ce5649747957235025de12e0b24
. - Channel
Balance Increased - Event with signature
ChannelBalanceIncreased(bytes32,uint96)
and selector0x5fa17246d3a5d68d42baa94cde33042180b783a399c02bf63ac2076e0f708738
. - Channel
Closed - Event with signature
ChannelClosed(bytes32)
and selector0xceeab2eef998c17fe96f30f83fbf3c55fc5047f6e40c55a0cf72d236e9d2ba72
. - Channel
Opened - Event with signature
ChannelOpened(address,address)
and selector0xdd90f938230335e59dc925c57ecb0e27a28c2d87356e31f00cd5554abd6c1b2d
. - Domain
Separator Updated - Event with signature
DomainSeparatorUpdated(bytes32)
and selector0x771f5240ae5fd8a7640d3fb82fa70aab2fb1dbf35f2ef464f8509946717664c5
. - Hopr
Channels Events Instance - A
HoprChannelsEvents
instance. - Outgoing
Channel Closure Initiated - Event with signature
OutgoingChannelClosureInitiated(bytes32,uint32)
and selector0x07b5c950597fc3bed92e2ad37fa84f701655acb372982e486f5fad3607f04a5c
. - Ticket
Redeemed - Event with signature
TicketRedeemed(bytes32,uint48)
and selector0x7165e2ebc7ce35cc98cb7666f9945b3617f3f36326b76d18937ba5fecf18739a
.
Enums§
- Hopr
Channels Events Events - Container for all the
HoprChannelsEvents
events.
Statics§
- BYTECODE
- The creation / init bytecode of the contract.
- DEPLOYED_
BYTECODE - The runtime bytecode of the contract, as deployed on the network.
Functions§
- deploy
- Deploys this contract using the given
provider
and constructor arguments, if any. - deploy_
builder - Creates a
RawCallBuilder
for deploying this contract using the givenprovider
and constructor arguments, if any. - new
- Creates a new wrapper around an on-chain
HoprChannelsEvents
contract instance.