PCOLicenseClaimerFacet
Documentation for the PCOLicenseClaimerFacetV2 contract.
The
PCOLicenseClaimerFacet
is the action facet that implements the claiming of new Geo Web Land parcels. This includes both the Fair Launch and ongoing claim types.Claiming a parcel requires setting a
For Sale Price
, opening the required Network Fee stream, collecting a stream buffer, defining the shape, and paying a one-time claim payment (during the Fair Launch period). function _buildAndMint(address user, struct LibGeoWebParcelV2.LandParcel parcel) internal
Build a parcel and mint a license
Parameters
Name | Type | Description |
---|---|---|
user | address | Address of license owner to be |
parcel | struct LibGeoWebParcelV2.LandParcel | New parcel |
bytes32 STORAGE_POSITION
struct DiamondStorage {
uint256 auctionStart;
uint256 auctionEnd;
uint256 startingBid;
uint256 endingBid;
address beacon;
mapping(uint256 => address) beaconProxies;
mapping(address => uint256) userSalts;
}
function diamondStorage() internal pure returns (struct LibPCOLicenseClaimer.DiamondStorage ds)
function _requiredBid() internal view returns (uint256)
the current dutch auction price of a parcel.
Last modified 6mo ago