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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Halo Privacy Token Interface</title> | |
| <script src="https://cdn.jsdelivr.net/npm/ethers@5.7.2/dist/ethers.umd.min.js"></script> | |
| <style> | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; |
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
| /** | |
| * @file campUSD integration with Nucleus SDK | |
| * @description Configuration and functions for bridging USDC <-> campUSD using Nucleus SDK | |
| */ | |
| import { | |
| prepareDepositTransactionData, | |
| prepareWithdrawTransactionData, | |
| prepareApproveDepositToken, | |
| prepareApproveWithdrawToken, |
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
| /** | |
| * @file Hook for campUSD operations using Nucleus SDK | |
| * @description Manages campUSD deposits and withdrawals using the Nucleus protocol | |
| */ | |
| import { useCallback, useState } from "react"; | |
| import { | |
| useAccount, | |
| useWriteContract, | |
| useWaitForTransactionReceipt, |
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 streamlit as st | |
| import pandas as pd | |
| import networkx as nx | |
| import plotly.graph_objects as go | |
| from dataclasses import dataclass | |
| from typing import Dict, List, Optional, Set, Tuple | |
| from decimal import Decimal | |
| import asyncio | |
| from datetime import datetime | |
| from tycho import TychoClient, TychoConfig |
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
| pragma circom 2.1.2; | |
| include "circomlib/poseidon.circom"; | |
| // include "https://github.com/0xPARC/circom-secp256k1/blob/master/circuits/bigint.circom"; | |
| Example () { | |
| signal input a; | |
| signal input b; | |
| signal output c; | |