Skip to content

Instantly share code, notes, and snippets.

to = 0x2d8879046f1559E53eb052E949e9544bCB72f414 https://lineascan.build/address/0x2d8879046f1559E53eb052E949e9544bCB72f414#code

5 calls to OdosRouterV2.swapCompact()

Call 1

0x83bd37f90001176211869ca2b568f2a7d4ee941e073a821ee1ff0001efd81eec32b9a8222d1842ec3d99c7532c31e3480504121f29cc0a1305ee44f48c1f0000001999990001fb66e944021bf915cfb4dac2b20653930bf7d35a000000013f6177ca0b041b1a469f11261f8a8b007633ed48000000001908051b011e9c192403010001010201640106adba920a010003020101018cb0aa0a02000402010102efcb400a02000502010100d35b190a02000602010100ba15a80a020007020101013579f60a02000802010100663ed010020001090201fdb2093a090200020a0125b05d350a03000b020101346123ee0a03000c020101500ffbda0a03000d0201015f0818120a03000e0201017decc2f80a03000f0201000703000110020105a9bf9bc000000504617de60a0412120a00040a0412130a0007d60b1d2b00020608000014150200030003010101160a0196080301010011170196060a0101181901040a01011a1501ff00000000000000000000000000000000eacd56565ab642fb0dc2820b51547fe416ee8697176211869ca2b568f2a7d4ee941e073a821ee1ffb0091b7
@kyzooghost
kyzooghost / a.js
Created January 18, 2024 10:24
Contract creation
const transactionParameters = {
gasPrice: '0x174876E800', // 100 gwei gas price
gas: '0x30d40', // 200,000 gas limit
to: null, // KingFrogs contract address
from: ethereum.selectedAddress, // must match user's active address.
data: "0x60806040523480156200001157600080fd5b506040518060400160405280600281526020017f48690000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f486900000000000000000000000000000000000000000000000000000000000081525081600390816200008f919062000324565b508060049081620000a1919062000324565b5050506200040b565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200012c57607f821691505b602082108103620001425762000141620000e4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905
@kyzooghost
kyzooghost / 1-3-9.rs
Created March 10, 2022 21:17
Write a program that takes from standard input an expression without left parentheses and prints the equivalent infix expression with the parentheses inserted
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
// 1.3.9
// Write a program that takes from standard input an expression without left parentheses and prints the equivalent infix expression with the parentheses inserted.
// For example, given the input: 1 + 2 ) * 3 - 4 ) * 5 - 6 ) ) )
// Your program should print ( ( 1 + 2 ) * ( ( 3 -4 ) * ( 5 - 6 ) ) )
trait Stack<T> {
fn size(&self) -> usize;
pragma solidity >=0.7.0 <0.9.0;
contract SignatureDecoder {
/// @param pos which signature to read.
/// @param signatures concatenated signatures.
function signatureSplit(bytes memory signatures, uint256 pos)
internal
pure
returns (
uint8 v,
solidity;
address internal constant SENTINEL_OWNERS = address(0x1);
mapping(address => address) internal owners;
uint256 internal ownerCount;
address internal constant SENTINEL_OWNERS = address(0x1);
mapping(address => address) internal owners;
uint256 internal ownerCount;
@kyzooghost
kyzooghost / attestation.txt
Created March 27, 2021 12:59
ZKOPRU trusted setup attestation
I contributed to the ZKOPRU Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: zk_transaction_1_2
Contributor # 88
Hash: b51bc84d 845f1445 91474b54 b4c03b65
e81835af 39231423 8163ea7d d34d5d4e
f627fe9b 22ae1087 4d98dc6c d37e744d
33faf531 6a27ceb1 71b48bc3 5ac11503
@kyzooghost
kyzooghost / attestation.txt
Created March 27, 2021 12:59
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_4_4",
"ceremonyId": "xN7193Ldf8i0L2SfG8X4",
"time": "2021-03-27T12:59:37.026Z",
"contributionNumber": 65,
"hash": "adc3fe98 b47fa5b8 dad4a1c8 d2704d7b\n cf6be0a9 ed35e1ff 9bad7801 0c684e7b\n b5602a32 80e7d779 2fb96194 8ef54e4a\n b77dae3b 87848144 e10446b9 215d1687\n"
}
@kyzooghost
kyzooghost / attestation.txt
Created March 27, 2021 12:54
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_4_3",
"ceremonyId": "8i9TsuUmSnqh5cLIQoFd",
"time": "2021-03-27T12:54:41.334Z",
"contributionNumber": 65,
"hash": "0a24c9ff 8b334d70 335a8ef3 4d641847\n 03b9e8d1 fb36b3ae 7921c366 244d25d8\n 86bb90a4 c05306e4 cdab5695 9f479eaa\n 8593b91b eec4ff44 fa76c203 8c79019a\n"
}
@kyzooghost
kyzooghost / attestation.txt
Created March 27, 2021 12:50
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_4_2",
"ceremonyId": "NgqtzZuK1la2dU1LiFCN",
"time": "2021-03-27T12:50:04.104Z",
"contributionNumber": 66,
"hash": "1fc1120c 38f1f7b6 607a8090 20a73ae8\n 7263e2aa eab1d957 f99ca30b 5105e1e5\n 47f6fc38 772f6b04 0cae8dcb 837ba3a6\n 4888c8cd f3f349b5 f09d4322 52dd58cd\n"
}