Skip to content

Instantly share code, notes, and snippets.

View dorothy-zbornak's full-sized avatar
🌴
Eating cheesecake on the lanai.

Lawrence Forman dorothy-zbornak

🌴
Eating cheesecake on the lanai.
View GitHub Profile
"use strict"
const { SwapQuoter } = require('@0x/asset-swapper');
const { RPCSubprovider, Web3ProviderEngine } = require('@0x/subproviders');
const { BigNumber, providerUtils } = require('@0x/utils');
(async () => {
const provider = new Web3ProviderEngine();
provider.addProvider(new RPCSubprovider(process.env.INFURA_MAINNET_RPC));
providerUtils.startProviderEngine(provider);
@dorothy-zbornak
dorothy-zbornak / config
Created September 4, 2019 19:27
aur/linux-mainline kernel config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.2.2-arch1 Kernel Configuration
#
#
# Compiler: gcc (GCC) 9.1.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90100
pragma solidity ^0.5;
// Results are consistent with ABIEncoderV2.
// pragma experimental ABIEncoderV2;
contract DecodeTest {
function runTests() external view returns (bool publicSameMemory, bool externalSameMemory) {
publicSameMemory = abiDecodeTestPublic(encode());
externalSameMemory = this.abiDecodeTestExternal(encode());
}