Skip to content

Helpful Core Contracts' Endpoints

This page provides a list of useful in practice functions for a Network across Symbiotic Core contracts.

FunctionUse-case
create(InitParams params) -> address, address, addressCreate a new Vault
Vault.delegator() → addressGet the Vault's delegator
Vault.slasher() → addressGet the Vault's slasher
BaseDelegator.TYPE() → uint64Get the delegator's type (0 - NetworkRestake, 1 - FullRestake, etc.)
BaseDelegator.stake(bytes32 subnetwork, address operator) → uint256Get 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) -> uint256Check 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) -> uint256Check 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) -> uint256Check 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) -> uint256Check 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) -> uint256Check the network's allocation
OperatorSpecificDelegator.operator() -> addressCheck the operator who receive all the allocations
OperatorSpecificDelegator.network() -> addressCheck the network who receive all the allocations
OperatorSpecificDelegator.operator() -> addressCheck the operator who receive all the allocations
BaseSlasher.TYPE() → uint64Get the slasher's type (0 - Slasher, 1 - VetoSlasher)