This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { AirService } from '@mocanetwork/airkit'; | |
| export const API_BASE_URL = 'https://mv-hub-backend-dev-0358dc390a17.herokuapp.com/api/v1'; | |
| // Types for better type safety | |
| export interface UserProfile { | |
| id: string; | |
| email?: string; | |
| name?: string; | |
| avatarUrl?: string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use client'; | |
| import React, { | |
| createContext, | |
| useContext, | |
| useState, | |
| useCallback, | |
| useRef, | |
| ReactNode, | |
| } from 'react'; | |
| import type { AirUserDetails as AirKitUserDetails } from '@mocanetwork/airkit'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "@context": { | |
| "CIP100": "https://github.com/cardano-foundation/CIPs/blob/master/CIP-0100/README.md#", | |
| "CIP119": "https://github.com/cardano-foundation/CIPs/blob/master/CIP-0119/README.md#", | |
| "hashAlgorithm": "CIP100:hashAlgorithm", | |
| "body": { | |
| "@id": "CIP119:body", | |
| "@context": { | |
| "references": { | |
| "@id": "CIP119:references", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: Apache-2.0 | |
| pragma solidity ^0.8.11; | |
| // ========== External imports ========== | |
| import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; | |
| import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; | |
| import "@openzeppelin/contracts-upgradeable/interfaces/IERC2981Upgradeable.sol"; | |
| // ========== Internal imports ========== |