Skip to main content




emergencyShutdown() (external)

Initiates the shutdown process, in case of an emergency.

remargin() (external)

A core contract method called independently or as a part of other financial contract transactions.

It pays fees and moves money between margin accounts to make sure they reflect the NAV of the contract.

pfc() → struct FixedPoint.Unsigned (external)

Gets the current profit from corruption for this contract in terms of the collateral currency.

This is equivalent to the collateral pool available from which to pay fees. Therefore, derived contracts are expected to implement this so that pay-fee methods can correctly compute the owed fees as a % of PfC.