Module StrategyManager

Module StrategyManager 

Source
Expand description

Generated by the following Solidity interface…

interface StrategyManager {
    error CurrentlyPaused();
    error InputAddressZero();
    error InvalidNewPausedStatus();
    error InvalidShortString();
    error InvalidSignature();
    error MaxStrategiesExceeded();
    error OnlyDelegationManager();
    error OnlyPauser();
    error OnlyStrategyWhitelister();
    error OnlyUnpauser();
    error SharesAmountTooHigh();
    error SharesAmountZero();
    error SignatureExpired();
    error StakerAddressZero();
    error StrategyNotFound();
    error StrategyNotWhitelisted();
    error StringTooLong(string str);

    event BurnableSharesDecreased(address strategy, uint256 shares);
    event BurnableSharesIncreased(address strategy, uint256 shares);
    event Deposit(address staker, address strategy, uint256 shares);
    event Initialized(uint8 version);
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    event Paused(address indexed account, uint256 newPausedStatus);
    event StrategyAddedToDepositWhitelist(address strategy);
    event StrategyRemovedFromDepositWhitelist(address strategy);
    event StrategyWhitelisterChanged(address previousAddress, address newAddress);
    event Unpaused(address indexed account, uint256 newPausedStatus);

    constructor(address _delegation, address _pauserRegistry, string _version);

    function DEFAULT_BURN_ADDRESS() external view returns (address);
    function DEPOSIT_TYPEHASH() external view returns (bytes32);
    function addShares(address staker, address strategy, uint256 shares) external returns (uint256, uint256);
    function addStrategiesToDepositWhitelist(address[] memory strategiesToWhitelist) external;
    function burnShares(address strategy) external;
    function calculateStrategyDepositDigestHash(address staker, address strategy, address token, uint256 amount, uint256 nonce, uint256 expiry) external view returns (bytes32);
    function delegation() external view returns (address);
    function depositIntoStrategy(address strategy, address token, uint256 amount) external returns (uint256 depositShares);
    function depositIntoStrategyWithSignature(address strategy, address token, uint256 amount, address staker, uint256 expiry, bytes memory signature) external returns (uint256 depositShares);
    function domainSeparator() external view returns (bytes32);
    function getBurnableShares(address strategy) external view returns (uint256);
    function getDeposits(address staker) external view returns (address[] memory, uint256[] memory);
    function getStakerStrategyList(address staker) external view returns (address[] memory);
    function getStrategiesWithBurnableShares() external view returns (address[] memory, uint256[] memory);
    function increaseBurnableShares(address strategy, uint256 addedSharesToBurn) external;
    function initialize(address initialOwner, address initialStrategyWhitelister, uint256 initialPausedStatus) external;
    function nonces(address signer) external view returns (uint256 nonce);
    function owner() external view returns (address);
    function pause(uint256 newPausedStatus) external;
    function pauseAll() external;
    function paused(uint8 index) external view returns (bool);
    function paused() external view returns (uint256);
    function pauserRegistry() external view returns (address);
    function removeDepositShares(address staker, address strategy, uint256 depositSharesToRemove) external returns (uint256);
    function removeStrategiesFromDepositWhitelist(address[] memory strategiesToRemoveFromWhitelist) external;
    function renounceOwnership() external;
    function setStrategyWhitelister(address newStrategyWhitelister) external;
    function stakerDepositShares(address staker, address strategy) external view returns (uint256 shares);
    function stakerStrategyList(address staker, uint256) external view returns (address strategies);
    function stakerStrategyListLength(address staker) external view returns (uint256);
    function strategyIsWhitelistedForDeposit(address strategy) external view returns (bool whitelisted);
    function strategyWhitelister() external view returns (address);
    function transferOwnership(address newOwner) external;
    function unpause(uint256 newPausedStatus) external;
    function version() external view returns (string memory);
    function withdrawSharesAsTokens(address staker, address strategy, address token, uint256 shares) external;
}

…which was generated by the following JSON ABI:

[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_delegation",
        "type": "address",
        "internalType": "contract IDelegationManager"
      },
      {
        "name": "_pauserRegistry",
        "type": "address",
        "internalType": "contract IPauserRegistry"
      },
      {
        "name": "_version",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "DEFAULT_BURN_ADDRESS",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "DEPOSIT_TYPEHASH",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "addShares",
    "inputs": [
      {
        "name": "staker",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      },
      {
        "name": "shares",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "addStrategiesToDepositWhitelist",
    "inputs": [
      {
        "name": "strategiesToWhitelist",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "burnShares",
    "inputs": [
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "calculateStrategyDepositDigestHash",
    "inputs": [
      {
        "name": "staker",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      },
      {
        "name": "token",
        "type": "address",
        "internalType": "contract IERC20"
      },
      {
        "name": "amount",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "nonce",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "expiry",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "delegation",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IDelegationManager"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "depositIntoStrategy",
    "inputs": [
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      },
      {
        "name": "token",
        "type": "address",
        "internalType": "contract IERC20"
      },
      {
        "name": "amount",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "depositShares",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "depositIntoStrategyWithSignature",
    "inputs": [
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      },
      {
        "name": "token",
        "type": "address",
        "internalType": "contract IERC20"
      },
      {
        "name": "amount",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "staker",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "expiry",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "signature",
        "type": "bytes",
        "internalType": "bytes"
      }
    ],
    "outputs": [
      {
        "name": "depositShares",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "domainSeparator",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getBurnableShares",
    "inputs": [
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getDeposits",
    "inputs": [
      {
        "name": "staker",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      },
      {
        "name": "",
        "type": "uint256[]",
        "internalType": "uint256[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getStakerStrategyList",
    "inputs": [
      {
        "name": "staker",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getStrategiesWithBurnableShares",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address[]",
        "internalType": "address[]"
      },
      {
        "name": "",
        "type": "uint256[]",
        "internalType": "uint256[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "increaseBurnableShares",
    "inputs": [
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      },
      {
        "name": "addedSharesToBurn",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "initialize",
    "inputs": [
      {
        "name": "initialOwner",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "initialStrategyWhitelister",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "initialPausedStatus",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "nonces",
    "inputs": [
      {
        "name": "signer",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "nonce",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "owner",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "pause",
    "inputs": [
      {
        "name": "newPausedStatus",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "pauseAll",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "paused",
    "inputs": [
      {
        "name": "index",
        "type": "uint8",
        "internalType": "uint8"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "paused",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "pauserRegistry",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IPauserRegistry"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "removeDepositShares",
    "inputs": [
      {
        "name": "staker",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      },
      {
        "name": "depositSharesToRemove",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "removeStrategiesFromDepositWhitelist",
    "inputs": [
      {
        "name": "strategiesToRemoveFromWhitelist",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "renounceOwnership",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "setStrategyWhitelister",
    "inputs": [
      {
        "name": "newStrategyWhitelister",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "stakerDepositShares",
    "inputs": [
      {
        "name": "staker",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      }
    ],
    "outputs": [
      {
        "name": "shares",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "stakerStrategyList",
    "inputs": [
      {
        "name": "staker",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "strategies",
        "type": "address",
        "internalType": "contract IStrategy"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "stakerStrategyListLength",
    "inputs": [
      {
        "name": "staker",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "strategyIsWhitelistedForDeposit",
    "inputs": [
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      }
    ],
    "outputs": [
      {
        "name": "whitelisted",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "strategyWhitelister",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "transferOwnership",
    "inputs": [
      {
        "name": "newOwner",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "unpause",
    "inputs": [
      {
        "name": "newPausedStatus",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "version",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "withdrawSharesAsTokens",
    "inputs": [
      {
        "name": "staker",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      },
      {
        "name": "token",
        "type": "address",
        "internalType": "contract IERC20"
      },
      {
        "name": "shares",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "event",
    "name": "BurnableSharesDecreased",
    "inputs": [
      {
        "name": "strategy",
        "type": "address",
        "indexed": false,
        "internalType": "contract IStrategy"
      },
      {
        "name": "shares",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "BurnableSharesIncreased",
    "inputs": [
      {
        "name": "strategy",
        "type": "address",
        "indexed": false,
        "internalType": "contract IStrategy"
      },
      {
        "name": "shares",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "Deposit",
    "inputs": [
      {
        "name": "staker",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "strategy",
        "type": "address",
        "indexed": false,
        "internalType": "contract IStrategy"
      },
      {
        "name": "shares",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "Initialized",
    "inputs": [
      {
        "name": "version",
        "type": "uint8",
        "indexed": false,
        "internalType": "uint8"
      }
    ],
    "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
  },
  {
    "type": "event",
    "name": "Paused",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "newPausedStatus",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "StrategyAddedToDepositWhitelist",
    "inputs": [
      {
        "name": "strategy",
        "type": "address",
        "indexed": false,
        "internalType": "contract IStrategy"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "StrategyRemovedFromDepositWhitelist",
    "inputs": [
      {
        "name": "strategy",
        "type": "address",
        "indexed": false,
        "internalType": "contract IStrategy"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "StrategyWhitelisterChanged",
    "inputs": [
      {
        "name": "previousAddress",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "newAddress",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "Unpaused",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "newPausedStatus",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "type": "error",
    "name": "CurrentlyPaused",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InputAddressZero",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidNewPausedStatus",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidShortString",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidSignature",
    "inputs": []
  },
  {
    "type": "error",
    "name": "MaxStrategiesExceeded",
    "inputs": []
  },
  {
    "type": "error",
    "name": "OnlyDelegationManager",
    "inputs": []
  },
  {
    "type": "error",
    "name": "OnlyPauser",
    "inputs": []
  },
  {
    "type": "error",
    "name": "OnlyStrategyWhitelister",
    "inputs": []
  },
  {
    "type": "error",
    "name": "OnlyUnpauser",
    "inputs": []
  },
  {
    "type": "error",
    "name": "SharesAmountTooHigh",
    "inputs": []
  },
  {
    "type": "error",
    "name": "SharesAmountZero",
    "inputs": []
  },
  {
    "type": "error",
    "name": "SignatureExpired",
    "inputs": []
  },
  {
    "type": "error",
    "name": "StakerAddressZero",
    "inputs": []
  },
  {
    "type": "error",
    "name": "StrategyNotFound",
    "inputs": []
  },
  {
    "type": "error",
    "name": "StrategyNotWhitelisted",
    "inputs": []
  },
  {
    "type": "error",
    "name": "StringTooLong",
    "inputs": [
      {
        "name": "str",
        "type": "string",
        "internalType": "string"
      }
    ]
  }
]

Structs§

BurnableSharesDecreased
Event with signature BurnableSharesDecreased(address,uint256) and selector 0xd9d082c3ec4f3a3ffa55c324939a06407f5fbcb87d5e0ce3b9508c92c84ed839.
BurnableSharesIncreased
Event with signature BurnableSharesIncreased(address,uint256) and selector 0xca3e02a4ab7ad3c47a8e36e5a624c30170791726ab720f1babfef21046d953ff.
CurrentlyPaused
Custom error with signature CurrentlyPaused() and selector 0x840a48d5.
DEFAULT_BURN_ADDRESSCall
Function with signature DEFAULT_BURN_ADDRESS() and selector 0xf3b4a000.
DEFAULT_BURN_ADDRESSReturn
Container type for the return parameters of the DEFAULT_BURN_ADDRESS() function.
DEPOSIT_TYPEHASHCall
Function with signature DEPOSIT_TYPEHASH() and selector 0x48825e94.
DEPOSIT_TYPEHASHReturn
Container type for the return parameters of the DEPOSIT_TYPEHASH() function.
Deposit
Event with signature Deposit(address,address,uint256) and selector 0x5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f62.
Initialized
Event with signature Initialized(uint8) and selector 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
InputAddressZero
Custom error with signature InputAddressZero() and selector 0x73632176.
InvalidNewPausedStatus
Custom error with signature InvalidNewPausedStatus() and selector 0xc61dca5d.
InvalidShortString
Custom error with signature InvalidShortString() and selector 0xb3512b0c.
InvalidSignature
Custom error with signature InvalidSignature() and selector 0x8baa579f.
MaxStrategiesExceeded
Custom error with signature MaxStrategiesExceeded() and selector 0x0d0a21c8.
OnlyDelegationManager
Custom error with signature OnlyDelegationManager() and selector 0xf739589b.
OnlyPauser
Custom error with signature OnlyPauser() and selector 0x75df51dc.
OnlyStrategyWhitelister
Custom error with signature OnlyStrategyWhitelister() and selector 0x82e8ffe4.
OnlyUnpauser
Custom error with signature OnlyUnpauser() and selector 0x794821ff.
OwnershipTransferred
Event with signature OwnershipTransferred(address,address) and selector 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Paused
Event with signature Paused(address,uint256) and selector 0xab40a374bc51de372200a8bc981af8c9ecdc08dfdaef0bb6e09f88f3c616ef3d.
SharesAmountTooHigh
Custom error with signature SharesAmountTooHigh() and selector 0x4b18b193.
SharesAmountZero
Custom error with signature SharesAmountZero() and selector 0x840c364a.
SignatureExpired
Custom error with signature SignatureExpired() and selector 0x0819bdcd.
StakerAddressZero
Custom error with signature StakerAddressZero() and selector 0x16f2ccc9.
StrategyAddedToDepositWhitelist
Event with signature StrategyAddedToDepositWhitelist(address) and selector 0x0c35b17d91c96eb2751cd456e1252f42a386e524ef9ff26ecc9950859fdc04fe.
StrategyManagerInstance
A StrategyManager instance.
StrategyNotFound
Custom error with signature StrategyNotFound() and selector 0x5be2b482.
StrategyNotWhitelisted
Custom error with signature StrategyNotWhitelisted() and selector 0x5dfb2ca2.
StrategyRemovedFromDepositWhitelist
Event with signature StrategyRemovedFromDepositWhitelist(address) and selector 0x4074413b4b443e4e58019f2855a8765113358c7c72e39509c6af45fc0f5ba030.
StrategyWhitelisterChanged
Event with signature StrategyWhitelisterChanged(address,address) and selector 0x4264275e593955ff9d6146a51a4525f6ddace2e81db9391abcc9d1ca48047d29.
StringTooLong
Custom error with signature StringTooLong(string) and selector 0x305a27a9.
Unpaused
Event with signature Unpaused(address,uint256) and selector 0x3582d1828e26bf56bd801502bc021ac0bc8afb57c826e4986b45593c8fad389c.
addSharesCall
Function with signature addShares(address,address,uint256) and selector 0x50ff7225.
addSharesReturn
Container type for the return parameters of the addShares(address,address,uint256) function.
addStrategiesToDepositWhitelistCall
Function with signature addStrategiesToDepositWhitelist(address[]) and selector 0x5de08ff2.
addStrategiesToDepositWhitelistReturn
Container type for the return parameters of the addStrategiesToDepositWhitelist(address[]) function.
burnSharesCall
Function with signature burnShares(address) and selector 0x4b6d5d6e.
burnSharesReturn
Container type for the return parameters of the burnShares(address) function.
calculateStrategyDepositDigestHashCall
Function with signature calculateStrategyDepositDigestHash(address,address,address,uint256,uint256,uint256) and selector 0x9ac01d61.
calculateStrategyDepositDigestHashReturn
Container type for the return parameters of the calculateStrategyDepositDigestHash(address,address,address,uint256,uint256,uint256) function.
constructorCall
Constructor`.
delegationCall
Function with signature delegation() and selector 0xdf5cf723.
delegationReturn
Container type for the return parameters of the delegation() function.
depositIntoStrategyCall
Function with signature depositIntoStrategy(address,address,uint256) and selector 0xe7a050aa.
depositIntoStrategyReturn
Container type for the return parameters of the depositIntoStrategy(address,address,uint256) function.
depositIntoStrategyWithSignatureCall
Function with signature depositIntoStrategyWithSignature(address,address,uint256,address,uint256,bytes) and selector 0x32e89ace.
depositIntoStrategyWithSignatureReturn
Container type for the return parameters of the depositIntoStrategyWithSignature(address,address,uint256,address,uint256,bytes) function.
domainSeparatorCall
Function with signature domainSeparator() and selector 0xf698da25.
domainSeparatorReturn
Container type for the return parameters of the domainSeparator() function.
getBurnableSharesCall
Function with signature getBurnableShares(address) and selector 0xfd980423.
getBurnableSharesReturn
Container type for the return parameters of the getBurnableShares(address) function.
getDepositsCall
Function with signature getDeposits(address) and selector 0x94f649dd.
getDepositsReturn
Container type for the return parameters of the getDeposits(address) function.
getStakerStrategyListCall
Function with signature getStakerStrategyList(address) and selector 0xde44acb6.
getStakerStrategyListReturn
Container type for the return parameters of the getStakerStrategyList(address) function.
getStrategiesWithBurnableSharesCall
Function with signature getStrategiesWithBurnableShares() and selector 0x36a8c500.
getStrategiesWithBurnableSharesReturn
Container type for the return parameters of the getStrategiesWithBurnableShares() function.
increaseBurnableSharesCall
Function with signature increaseBurnableShares(address,uint256) and selector 0xdebe1eab.
increaseBurnableSharesReturn
Container type for the return parameters of the increaseBurnableShares(address,uint256) function.
initializeCall
Function with signature initialize(address,address,uint256) and selector 0x1794bb3c.
initializeReturn
Container type for the return parameters of the initialize(address,address,uint256) function.
noncesCall
Function with signature nonces(address) and selector 0x7ecebe00.
noncesReturn
Container type for the return parameters of the nonces(address) function.
ownerCall
Function with signature owner() and selector 0x8da5cb5b.
ownerReturn
Container type for the return parameters of the owner() function.
pauseAllCall
Function with signature pauseAll() and selector 0x595c6a67.
pauseAllReturn
Container type for the return parameters of the pauseAll() function.
pauseCall
Function with signature pause(uint256) and selector 0x136439dd.
pauseReturn
Container type for the return parameters of the pause(uint256) function.
paused_0Call
Function with signature paused(uint8) and selector 0x5ac86ab7.
paused_0Return
Container type for the return parameters of the paused(uint8) function.
paused_1Call
Function with signature paused() and selector 0x5c975abb.
paused_1Return
Container type for the return parameters of the paused() function.
pauserRegistryCall
Function with signature pauserRegistry() and selector 0x886f1195.
pauserRegistryReturn
Container type for the return parameters of the pauserRegistry() function.
removeDepositSharesCall
Function with signature removeDepositShares(address,address,uint256) and selector 0x724af423.
removeDepositSharesReturn
Container type for the return parameters of the removeDepositShares(address,address,uint256) function.
removeStrategiesFromDepositWhitelistCall
Function with signature removeStrategiesFromDepositWhitelist(address[]) and selector 0xb5d8b5b8.
removeStrategiesFromDepositWhitelistReturn
Container type for the return parameters of the removeStrategiesFromDepositWhitelist(address[]) function.
renounceOwnershipCall
Function with signature renounceOwnership() and selector 0x715018a6.
renounceOwnershipReturn
Container type for the return parameters of the renounceOwnership() function.
setStrategyWhitelisterCall
Function with signature setStrategyWhitelister(address) and selector 0xc6656702.
setStrategyWhitelisterReturn
Container type for the return parameters of the setStrategyWhitelister(address) function.
stakerDepositSharesCall
Function with signature stakerDepositShares(address,address) and selector 0xfe243a17.
stakerDepositSharesReturn
Container type for the return parameters of the stakerDepositShares(address,address) function.
stakerStrategyListCall
Function with signature stakerStrategyList(address,uint256) and selector 0xcbc2bd62.
stakerStrategyListLengthCall
Function with signature stakerStrategyListLength(address) and selector 0x8b8aac3c.
stakerStrategyListLengthReturn
Container type for the return parameters of the stakerStrategyListLength(address) function.
stakerStrategyListReturn
Container type for the return parameters of the stakerStrategyList(address,uint256) function.
strategyIsWhitelistedForDepositCall
Function with signature strategyIsWhitelistedForDeposit(address) and selector 0x663c1de4.
strategyIsWhitelistedForDepositReturn
Container type for the return parameters of the strategyIsWhitelistedForDeposit(address) function.
strategyWhitelisterCall
Function with signature strategyWhitelister() and selector 0x967fc0d2.
strategyWhitelisterReturn
Container type for the return parameters of the strategyWhitelister() function.
transferOwnershipCall
Function with signature transferOwnership(address) and selector 0xf2fde38b.
transferOwnershipReturn
Container type for the return parameters of the transferOwnership(address) function.
unpauseCall
Function with signature unpause(uint256) and selector 0xfabc1cbc.
unpauseReturn
Container type for the return parameters of the unpause(uint256) function.
versionCall
Function with signature version() and selector 0x54fd4d50.
versionReturn
Container type for the return parameters of the version() function.
withdrawSharesAsTokensCall
Function with signature withdrawSharesAsTokens(address,address,address,uint256) and selector 0x2eae418c.
withdrawSharesAsTokensReturn
Container type for the return parameters of the withdrawSharesAsTokens(address,address,address,uint256) function.

Enums§

StrategyManagerCalls
Container for all the StrategyManager function calls.
StrategyManagerErrors
Container for all the StrategyManager custom errors.
StrategyManagerEvents
Container for all the StrategyManager 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 given provider and constructor arguments, if any.
new
Creates a new wrapper around an on-chain StrategyManager contract instance.