Skip to content

Instantly share code, notes, and snippets.

View AcefortuneRBH's full-sized avatar

Tim X AcefortuneRBH

View GitHub Profile
@AcefortuneRBH
AcefortuneRBH / .deps...# .py
Created April 6, 2025 04:26
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
use std::collections::HashMap;
#[derive(Debug, Clone)]le:
pub struct NFT {(self):
pub id: u64,cle_data = {}
pub owner: String,quests = {}
pub metadata: String,
} def request_data(self, request_id, source_url):
if request_id in self.oracle_requests:
#[derive(Debug)]rn None