Skip to content

Instantly share code, notes, and snippets.

View sahilrajput03's full-sized avatar
I'm happy these days.

Sahil Rajput sahilrajput03

I'm happy these days.
View GitHub Profile

import 'package:flutter/material.dart';

void main() { runApp(const MyApp()); }

class MyApp extends StatelessWidget { const MyApp({super.key});

// This widget is the root of your application.

View haq-se-single-magnet-link.txt
View a.js
// post hooks for inserMany<MovieDocument[]>('insertMany', async function (docs, next) {
console.log('docs POST =', docs);
if (Array.isArray(docs) && docs.length) {
const correctData = => {
console.log('singelDoc post before added =', JSON.stringify(singleDoc));
// If id AND name are present, then we can use them to generate the sort_name
if ( > 0 && {
View a.json
"subscriber": {
"email_address": "",
"payer_id": "VZXRX2AG4RY6G",
"name": {
"given_name": "BarBuyer",
"surname": "Jones"
"shipping_address": {
"name": {
View Learn Upgradable Smart

Upgradable contracts - UUPS (better than Transparent Proxy)

Source: Official Openzeppelin youtube channel

All resources related to Upgradability from Openzeppelin: Click here

Depending on where we put the upgradeTo() function we decide b/w two types of upgradable smart contracts.