Skip to content

Instantly share code, notes, and snippets.

View ankurdubey521's full-sized avatar
⚒️

Ankur Dubey ankurdubey521

⚒️
View GitHub Profile
@ankurdubey521
ankurdubey521 / gist:c547b13fced507c835411710a9de7865
Created January 16, 2024 10:30
CallGasEstimationSimulator
0x6080604052600436106101395760003560e01c80638f41ec5a116100ab578063b760faf91161006f578063b760faf91461047d578063bb9fe6bf14610490578063c23a5cea146104a5578063d6383f94146104c5578063ee219423146104e5578063fc7e286d1461050557600080fd5b80638f41ec5a146103e8578063957122ab146103fd5780639b249f691461041d578063a61935311461043d578063ae03e4461461045d57600080fd5b80631fad948c116100fd5780631fad948c1461020c578063205c28781461022c57806335567e1a1461024c5780634b1d7cf51461026c5780635287ce121461028c57806370a08231146103a957600080fd5b80630396cb601461014e5780630bd28e3b146101615780631533a8c3146101815780631b2e01b8146101a15780631d732756146101ec57600080fd5b3661014957610147336105ba565b005b600080fd5b61014761015c36600461355d565b610621565b34801561016d57600080fd5b5061014761017c36600461359f565b6108b0565b34801561018d57600080fd5b5061014761019c366004613622565b6108e7565b3480156101ad57600080fd5b506101d96101bc36600461367d565b600160209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b3480156101f857600080fd5b506101d96102
@ankurdubey521
ankurdubey521 / gist:77ba99d902621b9779d3319692247532
Created January 10, 2024 12:18
CallGasEstimationProxy Deployed Bytecode
0x6080604052600436106101795760003560e01c80638f41ec5a116100cb578063b760faf91161007f578063d6383f9411610059578063d6383f94146105be578063ee219423146105de578063fc7e286d146105fe57600080fd5b8063b760faf914610576578063bb9fe6bf14610589578063c23a5cea1461059e57600080fd5b80639b249f69116100b05780639b249f6914610516578063a619353114610536578063ae03e4461461055657600080fd5b80638f41ec5a146104e1578063957122ab146104f657600080fd5b80631fad948c1161012d5780634b1d7cf5116101075780634b1d7cf51461031f5780635287ce121461033f57806370a082311461048e57600080fd5b80631fad948c1461024c578063205c28781461026c57806335567e1a1461028c57600080fd5b80631533a8c31161015e5780631533a8c3146101c15780631b2e01b8146101e15780631d7327561461022c57600080fd5b80630396cb601461018e5780630bd28e3b146101a157600080fd5b3661018957610187336106d8565b005b600080fd5b61018761019c366004614315565b610753565b3480156101ad57600080fd5b506101876101bc366004614368565b610ad6565b3480156101cd57600080fd5b506101876101dc3660046143f9565b610b1e565b3480156101ed57600080fd5b506102196101fc366004614455565b6001
@ankurdubey521
ankurdubey521 / main.rs
Last active July 7, 2023 11:36
Rust DFS
use core::panic;
use std::{
cell::RefCell,
collections::BTreeSet,
fmt::Display,
rc::{Rc, Weak},
};
enum NodePointer<T> {
Strong(Rc<RefCell<Node<T>>>),
@ankurdubey521
ankurdubey521 / tensorflow_self_check.py
Created April 28, 2020 09:04 — forked from mrry/tensorflow_self_check.py
[DEPRECATED] TensorFlow on Windows self-check
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,