Contracts
  • console
  • amm
    • AaveSwap
    • AaveSwapWrapper
    • AmplificationUtils
    • ILendingPool
    • LPToken
    • MathUtils
    • OwnerPausableUpgradeable
    • Swap
    • SwapDeployer
    • SwapEthWrapper
    • SwapFlashLoan
    • SwapUtils
    • helper
      • BaseSwapDeposit
      • FlashLoanBorrowerExample
      • GenericERC20
      • Multicall2
      • test
        • TestMathUtils
        • TestSwapReturnValues
    • interfaces
      • IFlashLoanReceiver
      • IMetaSwap
      • IMetaSwapDeposit
      • ISwap
      • ISwapFlashLoan
  • auxiliary
    • DummyWeth
    • DummyWethProxy
  • bridge
    • BridgeConfigV3
    • ECDSAFactory
    • ECDSANodeManagement
    • ERC20Migrator
    • HarmonySynapseBridge
    • IERC20Mintable
    • IFrax
    • MRSynapseBridge
    • MiniChefV2
    • PoolConfig
    • SynapseBridge
    • SynapseERC20
    • SynapseERC20DeterministicFactory
    • SynapseERC20Factory
    • interfaces
      • IECDSANodeManagement
      • IERC20Migrator
      • IMasterChef
      • IMetaSwapDeposit
      • IMiniChefV2
      • IRewarder
      • ISwap
      • ISynapseBridge
      • ISynapseERC20
    • libraries
      • SignedSafeMath
    • mocks
      • ERC20Mock
      • RewarderBrokenMock
      • RewarderMock
    • testing
      • NodeEnv
      • Synapse
    • utils
      • AddressArrayUtils
      • EnumerableStringMap
      • TimelockController
    • wrappers
      • AvaxJewelMigration
      • AvaxJewelMigrationV2
      • AvaxJewelSwap
      • GMXWrapper
      • HarmonyBridgeZap
      • IERC20Mintable
      • IFrax
      • IGMX
      • L1BridgeZap
      • L2BridgeZap
      • MigratorBridgeZap
      • MoonriverBridgeZap
  • messaging
    • AuthVerifier
    • GasFeePricing
    • MessageBus
    • MessageBusReceiver
    • MessageBusSender
    • apps
      • BatchMessageSender
      • PingPong
    • dfk
      • HeroCoreUpgradeable
      • IAssistingAuction
      • IHeroCoreUpgradeable
      • IStatScienceUpgradeable
      • StatScienceUpgradeable
      • auctions
        • AssistingAuctionUpgradeable
        • ERC721AuctionBaseUpgradeable
        • HeroAuctionUpgradeable
        • helpers
          • CrystalFeesUpgradeable
        • interfaces
          • IAssistingAuctionUpgradeable
      • bridge
        • HeroBridgeUpgradeable
        • TearBridge
      • inventory
        • GaiaTears
        • IInventoryItem
        • InventoryItem
      • libs
        • LibGeneScience
      • random
        • IRandomGenerator
        • RandomGenerator
    • framework
      • SynMessagingReceiver
      • SynMessagingReceiverUpgradeable
    • interfaces
      • IAuthVerifier
      • IGasFeePricing
      • IMessageBus
      • ISynMessagingReceiver
  • elin
    • contracts-4.3.1
      • access
        • AccessControl
        • IAccessControl
      • utils
        • Context
        • Strings
        • introspection
          • ERC165
          • IERC165
        • math
          • SafeMath
    • contracts-4.5.0
      • access
        • AccessControl
        • AccessControlEnumerable
        • IAccessControl
        • IAccessControlEnumerable
        • Ownable
      • security
        • Pausable
      • utils
        • Context
        • Strings
        • introspection
          • ERC165
          • IERC165
        • structs
          • EnumerableSet
      • token
        • ERC20
          • ERC20
          • IERC20
          • extensions
            • ERC20Burnable
            • ERC20Pausable
            • IERC20Metadata
          • presets
            • ERC20PresetMinterPauser
    • contracts-upgradeable-4.5.0
      • access
        • AccessControlUpgradeable
        • IAccessControlUpgradeable
        • OwnableUpgradeable
      • security
        • PausableUpgradeable
      • utils
        • AddressUpgradeable
        • ContextUpgradeable
        • StringsUpgradeable
        • introspection
          • ERC165Upgradeable
          • IERC165Upgradeable
      • proxy
        • utils
          • Initializable
      • token
        • ERC20
          • IERC20Upgradeable
        • ERC721
          • ERC721Upgradeable
          • IERC721ReceiverUpgradeable
          • IERC721Upgradeable
          • extensions
            • ERC721EnumerableUpgradeable
            • IERC721EnumerableUpgradeable
            • IERC721MetadataUpgradeable
    • contracts-upgradeable
      • access
        • AccessControlUpgradeable
        • OwnableUpgradeable
      • cryptography
        • ECDSAUpgradeable
      • drafts
        • EIP712Upgradeable
        • ERC20PermitUpgradeable
        • IERC20PermitUpgradeable
      • math
        • SafeMathUpgradeable
      • proxy
        • Initializable
      • utils
        • AddressUpgradeable
        • ContextUpgradeable
        • CountersUpgradeable
        • EnumerableSetUpgradeable
        • PausableUpgradeable
        • ReentrancyGuardUpgradeable
      • token
        • ERC20
          • ERC20BurnableUpgradeable
          • ERC20Upgradeable
          • IERC20Upgradeable
    • contracts
      • access
        • AccessControl
        • Ownable
      • cryptography
        • ECDSA
      • drafts
        • EIP712
        • ERC20Permit
        • IERC20Permit
      • math
        • SafeMath
      • proxy
        • Clones
      • utils
        • Address
        • Context
        • Counters
        • EnumerableSet
        • ReentrancyGuard
      • token
        • ERC20
          • ERC20
          • ERC20Burnable
          • IERC20
          • SafeERC20
  • ypto
    • boring-solidity
      • contracts
        • BaseBoringBatchable
        • BoringBatchable
        • BoringOwnable
        • BoringOwnableData
        • interfaces
          • IERC20
        • libraries
          • BoringERC20
          • BoringMath
          • BoringMath128
          • BoringMath32
          • BoringMath64
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub

Last updated 2 years ago

Was this helpful?

Contract module which allows children to implement an emergency stop mechanism that can be triggered by an authorized account. This module is used through inheritance. It will make available the modifiers whenNotPaused and whenPaused, which can be applied to the functions of your contract. Note that they will not be pausable by simply including this module, only once the modifiers are put in place.

Methods

paused

Returns true if the contract is paused, and false otherwise.

Returns

Name
Type
Description

Events

Paused

Emitted when the pause is triggered by account.

Parameters

Name
Type
Description

Unpaused

Emitted when the pause is lifted by account.

Parameters

Name
Type
Description
function paused() external view returns (bool)

_0

bool

undefined

event Paused(address account)

account

address

undefined

event Unpaused(address account)

account

address

undefined

  1. elin
  2. contracts-upgradeable
  3. utils

PausableUpgradeable

PreviousEnumerableSetUpgradeableNextReentrancyGuardUpgradeable
  • Methods
  • paused
  • Events
  • Paused
  • Unpaused