Expand description
Generated by the following Solidity interface…
interface HoprNodeStakeFactory {
error TooFewOwners();
event NewHoprNodeStakeModule(address indexed moduleImplementation, address instance);
event NewHoprNodeStakeSafe(address instance);
constructor();
function clone(address moduleSingletonAddress, address[] memory admins, uint256 nonce, bytes32 defaultTarget) external returns (address, address payable);
function predictDeterministicAddress(address implementation, bytes32 salt) external view returns (address predicted);
function safeVersion() external pure returns (string memory);
}
…which was generated by the following JSON ABI:
[
{
"type": "constructor",
"inputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "clone",
"inputs": [
{
"name": "moduleSingletonAddress",
"type": "address",
"internalType": "address"
},
{
"name": "admins",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "nonce",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "defaultTarget",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "address",
"internalType": "address payable"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "predictDeterministicAddress",
"inputs": [
{
"name": "implementation",
"type": "address",
"internalType": "address"
},
{
"name": "salt",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "predicted",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "safeVersion",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "pure"
},
{
"type": "event",
"name": "NewHoprNodeStakeModule",
"inputs": [
{
"name": "moduleImplementation",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "instance",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "NewHoprNodeStakeSafe",
"inputs": [
{
"name": "instance",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "error",
"name": "TooFewOwners",
"inputs": []
}
]
Structs§
- Hopr
Node Stake Factory Instance - A
HoprNodeStakeFactory
instance. - NewHopr
Node Stake Module - Event with signature
NewHoprNodeStakeModule(address,address)
and selector0x813d391dc490d6c1dae7d3fdd555f337533d1da2c908c6efd36d4cf557a63206
. - NewHopr
Node Stake Safe - Event with signature
NewHoprNodeStakeSafe(address)
and selector0x8231d169f416b666ae7fa43faa24a18899738075a53f32c97617d173b189e386
. - TooFew
Owners - Custom error with signature
TooFewOwners()
and selector0x0d7fd1aa
. - clone
Call - Function with signature
clone(address,address[],uint256,bytes32)
and selector0x930f426a
. - clone
Return - Container type for the return parameters of the
clone(address,address[],uint256,bytes32)
function. - constructor
Call - Constructor`.
- predict
Deterministic Address Call - Function with signature
predictDeterministicAddress(address,bytes32)
and selector0x360d0fad
. - predict
Deterministic Address Return - Container type for the return parameters of the
predictDeterministicAddress(address,bytes32)
function. - safe
Version Call - Function with signature
safeVersion()
and selector0x7ef2721f
. - safe
Version Return - Container type for the return parameters of the
safeVersion()
function.
Enums§
- Hopr
Node Stake Factory Calls - Container for all the
HoprNodeStakeFactory
function calls. - Hopr
Node Stake Factory Errors - Container for all the
HoprNodeStakeFactory
custom errors. - Hopr
Node Stake Factory Events - Container for all the
HoprNodeStakeFactory
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
HoprNodeStakeFactory
contract instance.