Rigoblock Documentation
  • Welcome
  • Introduction to RigoBlock
  • Contracts
    • Protocol
      • RigoblockPoolExtended
      • Core
        • constants
        • immutables
        • storage
        • actions
        • owner actions
        • abstract
        • fallback
        • initializer
        • state
        • storage accessible
      • Deps
        • Authority
          • authority docs
        • PoolRegistry
          • pool registry docs
      • Extensions
        • AGovernance
          • Solidity API
        • AMulticall
          • aMulticall docs
        • AStaking
          • aStaking docs
        • AUniswap
          • aUniswap docs
        • EUpgrade
          • eUpgrade docs
        • EWhitelist
          • eWhitelist docs
      • Proxies
        • proxy
          • proxy docs
        • proxy factory
          • proxyFactory docs
    • GRG Token
      • RigoToken
        • rigoToken docs
      • Inflation
        • inflation docs
      • ProofOfPerformance
        • pop docs
    • GRG Staking
      • GrgVault
        • grgVault docs
      • StakingProxy
        • stakingProxy docs
      • Staking
        • staking docs
    • Governance
      • Solidity API
  • Deployments
    • deployed contracts - V4
    • deployed contracts
    • v1.5.0
    • v1.4.2
    • v1.4.1
    • v1.3.0
    • v1.1.1
    • v1.1.0
  • Governance
    • Rigoblock Governance
    • Supported Applications
    • Token Whitelists
    • Supported Methods
      • Selectors - V4
      • Selectors - V3
  • Bug Bounty
    • Known Issues
  • Oracles and Price Feeds
Powered by GitBook
On this page
  • MixinFallback
  • onlyDelegateCall
  • fallback
  • receive
  • _checkDelegateCall
  • _getApplicationAdapter
  1. Contracts
  2. Protocol
  3. Core

fallback

MixinFallback

onlyDelegateCall

modifier onlyDelegateCall()

fallback

fallback() external payable

Delegate calls to pool extension.

Delegatecall restricted to owner, staticcall accessible by everyone. Restricting delegatecall to owner effectively locks direct calls.

receive

receive() external payable

Allows transfers to pool.

Prevents accidental transfer to implementation contract.

_checkDelegateCall

function _checkDelegateCall() private view

_getApplicationAdapter

function _getApplicationAdapter(bytes4 selector) private view returns (address)

Returns the address of the application adapter.

Parameters

Name
Type
Description

selector

bytes4

Hash of the method signature.

Return Values

Name
Type
Description

[0]

address

Address of the application adapter.

PreviousabstractNextinitializer

Last updated 2 years ago