Skip to content

Instantly share code, notes, and snippets.

@toukmanov
toukmanov / gist:8290feb057776d2a4e612c4b59a7ca84
Created October 17, 2019 12:55
ton_contest_swap_exploit
const Web3 = require('web3');
const BYTECODE = {
"linkReferences": {},
"object": "6080604052612a3060005534801561001657600080fd5b506108e3806100266000396000f3fe6080604052600436106100555760003560e01c80631da0b8fc1461005a57806399caf975146100bf578063b9e1aa0314610159578063f3fef3a3146101a7578063f8b2cb4f14610202578063fa89401a14610267575b600080fd5b34801561006657600080fd5b506100a96004803603602081101561007d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506102b8565b6040518082815260200191505060405180910390f35b3480156100cb57600080fd5b5061012e600480360360408110156100e257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610341565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b6101a56004803603604081101561016f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061037e565b005b3480156101b35
import {
defaultDocumentLoader,
} from "@transmute/lds-ecdsa-secp256k1-2019";
const vc = require("vc-js");
const {extendContextLoader, SECURITY_CONTEXT_URL, Ed25519KeyPair, suites: {Ed25519Signature2018}} = require("jsonld-signatures");
import {
defaultDocumentLoader,
} from "@transmute/lds-ecdsa-secp256k1-2019";
import {Schema} from "mongoose";
const vc = require("vc-js");
const {extendContextLoader, SECURITY_CONTEXT_URL, Ed25519KeyPair, suites: {Ed25519Signature2018}} = require("jsonld-signatures");
@toukmanov
toukmanov / VaultABI.json
Created December 16, 2021 12:23
Vault contracts and ABI for position state monitoring
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
pragma solidity >=0.5.0;
interface IPancakeFactory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) external view returns (address pair);
function allPairs(uint) external view returns (address pair);
AADSTS50105: Your administrator has configured the application Miro (formerly RealtimeBoard) ('c9795384-89d8-4996-b63b-6538c74a13d7') to block users unless they are specifically granted ('assigned') access to the application. The signed in user 'tukmanov.aa@lime-shop.com' is blocked because they are not a direct member of a group with access, nor had access directly assigned by an administrator. Please contact your administrator to assign access to this application.
Troubleshooting details
If you contact your administrator, send this info to them.
Copy info to clipboard
Request Id: 3ca51a7f-433b-4212-98d0-8353769a1900
Correlation Id: e4552216-e732-4b54-86c2-7c0e49792084
Timestamp: 2025-10-07T17:35:27Z
Message: AADSTS50105: Your administrator has configured the application Miro (formerly RealtimeBoard) ('c9795384-89d8-4996-b63b-6538c74a13d7') to block users unless they are specifically granted ('assigned') access to the application. The signed in user 'tukmanov.aa@lime-shop.com' is blocked because they are not
Session:
type: object
properties:
version:
type: integer
description: Schema version
example: 1
status:
type: string
description: Current session status