Expand description
Generated by the following Solidity interface…
interface HoprDummyProxyForNetworkRegistry {
event AccountDeregistered(address indexed account);
event AccountRegistered(address indexed account);
event AllowAllAccountsEligible(bool isAllowed);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor(address newOwner);
function MAX_REGISTRATION_PER_ACCOUNT() external view returns (uint256);
function canOperateFor(address, address) external pure returns (bool eligiblity);
function isAllAllowed() external view returns (bool);
function maxAllowedRegistrations(address account) external view returns (uint256);
function owner() external view returns (address);
function ownerAddAccount(address account) external;
function ownerBatchAddAccounts(address[] memory accounts) external;
function ownerBatchRemoveAccounts(address[] memory accounts) external;
function ownerRemoveAccount(address account) external;
function renounceOwnership() external;
function transferOwnership(address newOwner) external;
function updateAllowAll(bool _updatedAllow) external;
}
…which was generated by the following JSON ABI:
[
{
"type": "constructor",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "MAX_REGISTRATION_PER_ACCOUNT",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "canOperateFor",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "eligiblity",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "isAllAllowed",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "maxAllowedRegistrations",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "owner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "ownerAddAccount",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "ownerBatchAddAccounts",
"inputs": [
{
"name": "accounts",
"type": "address[]",
"internalType": "address[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "ownerBatchRemoveAccounts",
"inputs": [
{
"name": "accounts",
"type": "address[]",
"internalType": "address[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "ownerRemoveAccount",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "renounceOwnership",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferOwnership",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "updateAllowAll",
"inputs": [
{
"name": "_updatedAllow",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "AccountDeregistered",
"inputs": [
{
"name": "account",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "AccountRegistered",
"inputs": [
{
"name": "account",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "AllowAllAccountsEligible",
"inputs": [
{
"name": "isAllowed",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
}
]
Structs§
- Account
Deregistered - Event with signature
AccountDeregistered(address)
and selector0x0e63d629afe34b3ca5107c10f90abff5091b31551b371758bd50af76834dc074
. - Account
Registered - Event with signature
AccountRegistered(address)
and selector0xcd822dc9688e20acea68724a2fbcfe4f3e526d20ecaa37b18fe3047ab377d6a5
. - Allow
AllAccounts Eligible - Event with signature
AllowAllAccountsEligible(bool)
and selector0xafab23a4bc8c49250ba37eeb0625b0a9b271f55d1501838d24f54508c3b17342
. - Hopr
Dummy Proxy ForNetwork Registry Instance - A
HoprDummyProxyForNetworkRegistry
instance. - MAX_
REGISTRATION_ PER_ ACCOUNT Call - Function with signature
MAX_REGISTRATION_PER_ACCOUNT()
and selector0xf46c84b8
. - MAX_
REGISTRATION_ PER_ ACCOUNT Return - Container type for the return parameters of the
MAX_REGISTRATION_PER_ACCOUNT()
function. - Ownership
Transferred - Event with signature
OwnershipTransferred(address,address)
and selector0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0
. - canOperate
ForCall - Function with signature
canOperateFor(address,address)
and selector0xd85ad044
. - canOperate
ForReturn - Container type for the return parameters of the
canOperateFor(address,address)
function. - constructor
Call - Constructor`.
- isAll
Allowed Call - Function with signature
isAllAllowed()
and selector0xf67f5e6f
. - isAll
Allowed Return - Container type for the return parameters of the
isAllAllowed()
function. - maxAllowed
Registrations Call - Function with signature
maxAllowedRegistrations(address)
and selector0xb3544e82
. - maxAllowed
Registrations Return - Container type for the return parameters of the
maxAllowedRegistrations(address)
function. - owner
AddAccount Call - Function with signature
ownerAddAccount(address)
and selector0xa71b1b74
. - owner
AddAccount Return - Container type for the return parameters of the
ownerAddAccount(address)
function. - owner
Batch AddAccounts Call - Function with signature
ownerBatchAddAccounts(address[])
and selector0x486354e2
. - owner
Batch AddAccounts Return - Container type for the return parameters of the
ownerBatchAddAccounts(address[])
function. - owner
Batch Remove Accounts Call - Function with signature
ownerBatchRemoveAccounts(address[])
and selector0x5c5471e7
. - owner
Batch Remove Accounts Return - Container type for the return parameters of the
ownerBatchRemoveAccounts(address[])
function. - owner
Call - Function with signature
owner()
and selector0x8da5cb5b
. - owner
Remove Account Call - Function with signature
ownerRemoveAccount(address)
and selector0x4051f257
. - owner
Remove Account Return - Container type for the return parameters of the
ownerRemoveAccount(address)
function. - owner
Return - Container type for the return parameters of the
owner()
function. - renounce
Ownership Call - Function with signature
renounceOwnership()
and selector0x715018a6
. - renounce
Ownership Return - Container type for the return parameters of the
renounceOwnership()
function. - transfer
Ownership Call - Function with signature
transferOwnership(address)
and selector0xf2fde38b
. - transfer
Ownership Return - Container type for the return parameters of the
transferOwnership(address)
function. - update
Allow AllCall - Function with signature
updateAllowAll(bool)
and selector0x089ffa47
. - update
Allow AllReturn - Container type for the return parameters of the
updateAllowAll(bool)
function.
Enums§
- Hopr
Dummy Proxy ForNetwork Registry Calls - Container for all the
HoprDummyProxyForNetworkRegistry
function calls. - Hopr
Dummy Proxy ForNetwork Registry Events - Container for all the
HoprDummyProxyForNetworkRegistry
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
HoprDummyProxyForNetworkRegistry
contract instance.