Accounts
The iCoordinates protocol leverages distinct Solana account structures to operate seamlessly within the blockchain ecosystem, providing crucial functionalities and interactions for users. Below is a detailed description of the key account structures along with their corresponding code snippets:
MatrixInfo:
Contains essential details related to the coordinate matrix, such as range limits, base mint, and protocol fee information.
LuckyDrawInfo:
Holds information about lucky draw events, including coordinates, timestamps, and reward details.
Coordinates:
Represents essential information for a coordinate, including owner details, contact information, and state.
CoordinatesOnSale:
Contains details of coordinates available for sale, including coordinates and sale price.
OfferForCoordinates:
Captures data related to offers made on coordinates by users, such as coordinates, offered price, and offerer information.
CoordinatesOnAuction:
Contains auction-related information for coordinates, including starting price, auction end time, last bid details, and bid count.
These well-defined account structures serve as the backbone of the iCoordinates protocol, enabling smooth operation and interaction within the Solana blockchain ecosystem.
Last updated