BeaconDiamond
Documentation for the BeaconDiamond contract.
BeaconDimaond
is a facade contract for ongoing land market operations. There is a separate instance of the contract for each Geo Web land parcel.It
delegatecall
s to the CFABasePCOFacet
, CFAPenaltyBidFacet
, and CFAReclaimerFacets
based on the mapping provided in the DiamondCut
. This hybrid Diamonds-Beacon Proxy architecture maintains extensibility by allowing a single update transaction to the
PCOLicenseBeacon
to propagate to all land parcels.Separate instances of this contract for each land parcel (along with Superfluid Access Control List functionality in the downstream facets) is required to maintain distinct network fee payment streams per parcel.
error BeaconDiamond__NoFacetForSignature()
constructor(address _contractOwner, contract IDiamondReadable _beacon) public payable
function _getImplementation() internal view returns (address)
get logic implementation address
Return Values
Name | Type | Description |
---|---|---|
[0] | address | implementation address |
bytes32 STORAGE_POSITION
struct DiamondStorage {
contract IDiamondReadable beacon;
}
function diamondStorage() internal pure returns (struct LibBeaconDiamond.DiamondStorage ds)
function setBeacon(contract IDiamondReadable beacon) internal
Last modified 4mo ago