Class IStakeManager__factory

Hierarchy

  • IStakeManager__factory

Index

Properties

Methods

Properties

Static Readonly abi

abi: [{ anonymous: false; inputs: [{ indexed: true; internalType: "address"; name: "account"; type: "address" }, { indexed: false; internalType: "uint256"; name: "totalDeposit"; type: "uint256" }]; name: "Deposited"; type: "event" }, { anonymous: false; inputs: [{ indexed: true; internalType: "address"; name: "account"; type: "address" }, { indexed: false; internalType: "uint256"; name: "totalStaked"; type: "uint256" }, { indexed: false; internalType: "uint256"; name: "unstakeDelaySec"; type: "uint256" }]; name: "StakeLocked"; type: "event" }, { anonymous: false; inputs: [{ indexed: true; internalType: "address"; name: "account"; type: "address" }, { indexed: false; internalType: "uint256"; name: "withdrawTime"; type: "uint256" }]; name: "StakeUnlocked"; type: "event" }, { anonymous: false; inputs: [{ indexed: true; internalType: "address"; name: "account"; type: "address" }, { indexed: false; internalType: "address"; name: "withdrawAddress"; type: "address" }, { indexed: false; internalType: "uint256"; name: "amount"; type: "uint256" }]; name: "StakeWithdrawn"; type: "event" }, { anonymous: false; inputs: [{ indexed: true; internalType: "address"; name: "account"; type: "address" }, { indexed: false; internalType: "address"; name: "withdrawAddress"; type: "address" }, { indexed: false; internalType: "uint256"; name: "amount"; type: "uint256" }]; name: "Withdrawn"; type: "event" }, { inputs: [{ internalType: "uint32"; name: "_unstakeDelaySec"; type: "uint32" }]; name: "addStake"; outputs: []; stateMutability: "payable"; type: "function" }, { inputs: [{ internalType: "address"; name: "account"; type: "address" }]; name: "balanceOf"; outputs: [{ internalType: "uint256"; name: ""; type: "uint256" }]; stateMutability: "view"; type: "function" }, { inputs: [{ internalType: "address"; name: "account"; type: "address" }]; name: "depositTo"; outputs: []; stateMutability: "payable"; type: "function" }, { inputs: [{ internalType: "address"; name: "account"; type: "address" }]; name: "getDepositInfo"; outputs: [{ components: [{ internalType: "uint112"; name: "deposit"; type: "uint112" }, { internalType: "bool"; name: "staked"; type: "bool" }, { internalType: "uint112"; name: "stake"; type: "uint112" }, { internalType: "uint32"; name: "unstakeDelaySec"; type: "uint32" }, { internalType: "uint48"; name: "withdrawTime"; type: "uint48" }]; internalType: "struct IStakeManager.DepositInfo"; name: "info"; type: "tuple" }]; stateMutability: "view"; type: "function" }, { inputs: []; name: "unlockStake"; outputs: []; stateMutability: "nonpayable"; type: "function" }, { inputs: [{ internalType: "address payable"; name: "withdrawAddress"; type: "address" }]; name: "withdrawStake"; outputs: []; stateMutability: "nonpayable"; type: "function" }, { inputs: [{ internalType: "address payable"; name: "withdrawAddress"; type: "address" }, { internalType: "uint256"; name: "withdrawAmount"; type: "uint256" }]; name: "withdrawTo"; outputs: []; stateMutability: "nonpayable"; type: "function" }] = _abi

Methods

Static connect

  • connect(address: string, signerOrProvider: Signer | Provider): IStakeManager
  • Parameters

    • address: string
    • signerOrProvider: Signer | Provider

    Returns IStakeManager

Static createInterface