Isle Finance
  • Introduction
    • What is Isle Finance?
    • What is Supply Chain Finance?
  • How Isle Finance Works
    • Glossary of Key Terms
    • Pool Admins
    • Buyers
    • Sellers
    • Liquidity Providers
    • Governance
    • Fees
  • Contract Documentation
    • Smart Contract Overview
    • Diagrams
    • Loan Accounting
    • Withdrawal Management
    • Upgradability
    • IsleGlobals
    • LoanManager
    • LoanManagerStorage
    • Pool
    • PoolAddressesProvider
    • PoolConfigurator
    • PoolConfiguratorStorage
    • Receivable
    • ReceivableStorage
    • WithdrawalManager
    • WithdrawalManagerStorage
    • abstracts
      • Governable
    • interfaces
      • IGovernable
      • IIsleGlobals
      • IIsleGlobalsEvents
      • ILoanManager
      • ILoanManagerEvents
      • ILoanManagerStorage
      • IPool
      • IPoolAddressesProvider
      • IPoolConfigurator
      • IPoolConfiguratorEvents
      • IPoolConfiguratorStorage
      • IReceivable
      • IReceivableEvent
      • IWithdrawalManager
      • IWithdrawalManagerStorage
    • libraries
      • Errors
      • PoolDeployer
      • ReentrancyGuardUpgradeable
      • types
        • PoolConfigurator
        • Loan
        • Receivable
        • WithdrawalManager
      • upgradability
        • UUPSProxy
        • VersionedInitializable
Powered by GitBook
On this page
  • State Variables
  • governor
  • pendingGovernor
  • ______gap
  • Functions
  • onlyGovernor
  • nominateGovernor
  • acceptGovernor
  • cancelPendingGovenor
  1. Contract Documentation
  2. abstracts

Governable

PreviousabstractsNextinterfaces

Last updated 5 months ago

Inherits:

See the documentation in {IGovernable}.

State Variables

governor

The address of the governor account or contract.

address public override governor;

pendingGovernor

The address of the pending governor account or contract.

address public override pendingGovernor;

______gap

uint256[50] private ______gap;

Functions

onlyGovernor

Reverts if called by any account other than the governor.

modifier onlyGovernor() virtual;

nominateGovernor

Configure the pendingGovernor to newGovnernor parameter.

function nominateGovernor(address newGovernor_) external virtual override onlyGovernor;

Parameters

Name
Type
Description

newGovernor_

address

The new governor.

acceptGovernor

The pending governor should accept and become the governor.

Only the pendingGovernor can trigger this function.

function acceptGovernor() external virtual override;

cancelPendingGovenor

Cancel the nominated pending governor.

Only the governor can trigger this function

function cancelPendingGovenor() external virtual override onlyGovernor;
Git Source
IGovernable