This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
'id': 'bitcoin', | |
'symbol': 'btc', | |
'name': 'Bitcoin', | |
'web_slug': 'bitcoin', | |
'asset_platform_id': None, | |
'platforms': { | |
'': '' | |
}, | |
'detail_platforms': { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from functools import wraps | |
from quart import Quart, jsonify, request | |
from db import Config | |
import logging | |
import pprint | |
import aiohttp | |
import json | |
from tools.log import init_logger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// run via `node scripts/utils/getVerifiedContract.js` | |
const axios = require('axios'); | |
const fs = require('fs'); | |
const path = require('path'); | |
const contractAddress = '0x46a15b0b27311cedf172ab29e4f4766fbe7f4364'; | |
const apiKey = process.env.BSCSCAN_TOKEN; | |
const baseUrl = 'https://api.bscscan.com/api'; | |
async function getVerifiedContractCode(address) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity 0.8.9; | |
contract Conversion { | |
uint256 public p; | |
constructor () { | |
p = uint256(int256(-1)); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity =0.6.12; | |
pragma experimental ABIEncoderV2; | |
interface IDexioLock { | |
function lock( | |
address owner, | |
address token, | |
uint256 amount, | |
uint256 unlockDate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity 0.6.12; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
import "@openzeppelin/contracts/math/SafeMath.sol"; | |
import '@openzeppelin/contracts/utils/EnumerableSet.sol'; | |
import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
import "@openzeppelin/contracts/utils/Address.sol"; | |
library DateTime { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"name": "Vova"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity ^0.8.1; | |
import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
contract Vesting { | |
IERC20 public immutable token; | |
struct Lock { | |
address receiver; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.shortcuts import render | |
# def get_auctions | |
KM = 1000 | |
earth = 12742*KM | |
sun = 1.4 * 10**6 * KM | |
sun_dist = 150 * 10**6 * KM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rabbitmq: | |
image: rabbitmq:3-management | |
hostname: rabbitmq | |
environment: | |
RABBITMQ_DEFAULT_VHOST: vhost | |
RABBITMQ_DEFAULT_USER: guest | |
RABBITMQ_DEFAULT_PASS: guest |
NewerOlder