Skip to main content

FinancialContractsAdmin

FinancialContractsAdmin#

Allows appropriately permissioned admin roles to interact with financial contracts.

Functions#

callEmergencyShutdown(address financialContract) (external)

Calls emergency shutdown on the provided financial contract.

Parameters:#

  • financialContract: address of the FinancialContract to be shut down.
callRemargin(address financialContract) (external)

Calls remargin on the provided financial contract.

Parameters:#

  • financialContract: address of the FinancialContract to be remargined.
constructor() (internal)

Initializes the contract setting the deployer as the initial owner.

owner() → address (public)

Returns the address of the current owner.

renounceOwnership() (public)

Leaves the contract without owner. It will not be possible to call onlyOwner functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.

transferOwnership(address newOwner) (public)

Transfers ownership of the contract to a new account (newOwner). Can only be called by the current owner.

_transferOwnership(address newOwner) (internal)

Transfers ownership of the contract to a new account (newOwner). Internal function without access restriction.

_msgSender() → address (internal)
_msgData() → bytes (internal)

Events#

OwnershipTransferred(address previousOwner, address newOwner)

Modifiers#

onlyOwner()

Throws if called by any account other than the owner.