Skip to content

Solidity API

Diamond

This contract serves as the main entry point for the diamond pattern

Implementation of the diamond pattern (EIP-2535) for upgradeable contracts

fallback

solidity
fallback() external payable

Finds the appropriate facet for the called function and executes it

Fallback function to handle function calls

receive

solidity
receive() external payable

Allows the contract to receive Ether

Receive function to accept Ether