create(InitParams params) -> address, address, address | Create a new Vault |
Vault.delegator() → address | Get the Vault's delegator |
Vault.slasher() → address | Get the Vault's slasher |
BaseDelegator.TYPE() → uint64 | Get the delegator's type (0 - NetworkRestake, 1 - FullRestake, etc.) |
BaseDelegator.stake(bytes32 subnetwork, address operator) → uint256 | Get the operator-network's stake |
NetworkRestakeDelegator.setNetworkLimit(bytes32 subnetwork, uint256 amount) | Set a amount of collateral to allocate to the network |
NetworkRestakeDelegator.networkLimit(bytes32 subnetwork) -> uint256 | Check the network's allocation |
NetworkRestakeDelegator.setOperatorNetworkShares(bytes32 subnetwork, address operator, uint256 shares) | Set the operator's share from the network's allocation |
NetworkRestakeDelegator.operatorNetworkShares(bytes32 subnetwork, address operator) -> uint256 | Check the operator-network's shares |
FullRestakeDelegator.setNetworkLimit(bytes32 subnetwork, uint256 amount) | Set a amount of collateral to allocate to the network |
FullRestakeDelegator.networkLimit(bytes32 subnetwork) -> uint256 | Check the network's allocation |
NetworkRestakeDelegator.setOperatorNetworkLimit(bytes32 subnetwork, address operator, uint256 amount) | Set the operator's limit over the network's allocation |
NetworkRestakeDelegator.operatorNetworkLimit(bytes32 subnetwork, address operator) -> uint256 | Check the operator-network's limit |
OperatorSpecificDelegator.setNetworkLimit(bytes32 subnetwork, uint256 amount) | Set a amount of collateral to allocate to the network |
OperatorSpecificDelegator.networkLimit(bytes32 subnetwork) -> uint256 | Check the network's allocation |
OperatorSpecificDelegator.operator() -> address | Check the operator who receive all the allocations |
OperatorSpecificDelegator.network() -> address | Check the network who receive all the allocations |
OperatorSpecificDelegator.operator() -> address | Check the operator who receive all the allocations |
BaseSlasher.TYPE() → uint64 | Get the slasher's type (0 - Slasher, 1 - VetoSlasher) |