package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

staked_balance ctxt ~contract ~delegate returns contract's current staked tez. For delegate, it is their own frozen deposits. For delegators, their staking balance in pseudotokens is converted into tez using delegate's staked frozen deposits tez/pseudotokens rate.

The given delegate should be contract's delegate. Otherwise the given Tez.t amount will not make sense.

OCaml

Innovation. Community. Security.