Astral
  • Welcome
  • Astral Litepaper
  • GeoNFT
    • Ecological State
  • Spatial Data Registry
    • On-chain Spatial Data Registry
    • Celo/EVM Anchored Spatial Data Registry
      • Technical Design
        • Ingestion
        • Anchoring
        • Validation
        • List on Ocean Marketplace
      • Summary
    • CosmWasm Anchored Spatial Data Registry
  • Progress
  • ARCHIVE
    • Introduction
    • Spatial Data Primer
    • Background
      • Motivation
      • Value
      • The Stack
        • Data
        • Oracles
        • Spatial Contracts
    • A Web3-Native Geospatial Vision
      • A rationale for GeoDIDs
      • GeoTIFFs and IPLD
        • Encoding the GeoTIFF
        • Decoding the GeoTIFF
    • Spatial.sol
      • Design Considerations
    • Verifiable Spatial Data Registries
    • GeoDIDs
      • DID Primer
      • GeoDID Core
        • GeoDID Core Specification
        • GeoDID Collection Example
        • GeoDID Item Example
      • GeoDID Extensions
        • GeoJSON
        • GeoTIFF
          • IPLD-encoded GeoTIFF
          • Cloud-optimized GeoTIFF
        • STAC
          • STAC Items
          • STAC Catalogs
      • Build with GeoDIDs
        • Getting Started
        • @astralprotocol/core
          • API
          • Types
        • @astralprotocol/contracts
          • API
        • @astralprotocol/subgraph
      • GeoDIDs v0.2
    • Spatial Oracles
    • Universal Location Proofs
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. ARCHIVE
  2. GeoDIDs
  3. Build with GeoDIDs
  4. @astralprotocol/core

Types

Common Types used throughout the Project

IDocumentInfo

interface IDocumentInfo {
    geodidid: string;
    documentVal: any;
    parentid?: string;
}

ILoadInfo

interface LoadInfo {
    documentInfo: IDocumentInfo;
    powergateInstance: Powergate 
}

IPinInfo

interface IPinInfo {
    geodidid: string;
    cid: string;
    pinDate: Date;
    token: string
} 
PreviousAPINext@astralprotocol/contracts

Last updated 3 years ago

Was this helpful?