Expand description
Generated by the following Solidity interface…
interface HoprLedger {
event LedgerDomainSeparatorUpdated(bytes32 indexed ledgerDomainSeparator);
function LEDGER_VERSION() external view returns (string memory);
function ledgerDomainSeparator() external view returns (bytes32);
function updateLedgerDomainSeparator() external;
}
…which was generated by the following JSON ABI:
[
{
"type": "function",
"name": "LEDGER_VERSION",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "ledgerDomainSeparator",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "updateLedgerDomainSeparator",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "LedgerDomainSeparatorUpdated",
"inputs": [
{
"name": "ledgerDomainSeparator",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
}
],
"anonymous": false
}
]
Structs§
- Hopr
Ledger Instance - A
HoprLedger
instance. - LEDGER_
VERSION Call - Function with signature
LEDGER_VERSION()
and selector0xddad1902
. - LEDGER_
VERSION Return - Container type for the return parameters of the
LEDGER_VERSION()
function. - Ledger
Domain Separator Updated - Event with signature
LedgerDomainSeparatorUpdated(bytes32)
and selector0xa43fad83920fd09445855e854e73c9c532e17402c9ceb09993a2392843a5bdb9
. - ledger
Domain Separator Call - Function with signature
ledgerDomainSeparator()
and selector0xc966c4fe
. - ledger
Domain Separator Return - Container type for the return parameters of the
ledgerDomainSeparator()
function. - update
Ledger Domain Separator Call - Function with signature
updateLedgerDomainSeparator()
and selector0xdc96fd50
. - update
Ledger Domain Separator Return - Container type for the return parameters of the
updateLedgerDomainSeparator()
function.
Enums§
- Hopr
Ledger Calls - Container for all the
HoprLedger
function calls. - Hopr
Ledger Events - Container for all the
HoprLedger
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
HoprLedger
contract instance.