Class Burger:
def __init__(self, ingredients):
self.ingredients = ingredients
checks.........................: 100.00% ✓ 26999 ✗ 0
data_received..................: 6.0 MB 100 kB/s
data_sent......................: 1.2 MB 20 kB/s
dropped_iterations.............: 2 0.033328/s
http_req_blocked...............: avg=170.51µs min=0s med=1µs max=111.75ms p(90)=1µs p(95)=1µs
http_req_connecting............: avg=43.64µs min=0s med=0s max=21.82ms p(90)=0s p(95)=0s
http_req_duration..............: avg=18.37ms min=6.92ms med=9.59ms max=298.36ms p(90)=34.27ms p(95)=79.65ms
{ expected_response:true }...: avg=18.37ms min=6.92ms med=9.59ms max=298.36ms p(90)=34.27ms p(95)=79.65ms
http_req_failed................: 0.00% ✓ 0 ✗ 26999
import { get } from "k6/http";
import { check } from "k6";
export const options = {
scenarios: {
constant_request_rate: {
executor: "constant-arrival-rate",
rate: 450,
timeUnit: "1s",
const ENS = require('ethereum-ens')
const Web3 = require('web3')
const web3 = new Web3('https://mainnet.infura.io/v3/eedd5af85a6d4029934132713f40e6fd')
const ens = new ENS(web3);
(async () => {
console.log('start')
const address = await ens.resolver('megan.eth').addr();
/* eslint-env node, mocha */
/* global artifacts, contract, expect, web3 */
/* eslint no-underscore-dangle: 1 */
const Tx = require('ethereumjs-tx').Transaction
const ethereumUtil = require('ethereumjs-util')
const moment = require('moment')
const BigNumber = web3.utils.BN
pragma solidity ^0.5.10;
import "./Interfaces/IETHSender.sol";
import "./Utils/Withdrawable.sol";
import "openzeppelin-solidity/contracts/lifecycle/Pausable.sol";
import "openzeppelin-solidity/contracts/access/roles/SignerRole.sol";
/**
pragma solidity ^0.5.10;
import "./Utils/Withdrawable.sol";
import "openzeppelin-solidity/contracts/lifecycle/Pausable.sol";
import "solidity-bytes-utils/contracts/BytesLib.sol";
/**
* @title Proxy.
/**
* @dev Send ETH.
* This function can be call only from the owner of the smart contract.
* @param signer The signer of the operation.
* @param recipient The ETH recipient.
* @param amount The amount to be received.
*/
function sendETH(
address signer,
/**
* @dev Return the first param of the meta tx data field which must be an address.
* E.g: in transferFrom(sender, to, amount) sender address is returned.
* @param dataField The meta transactions data field.
*/
function getAddressFromData(bytes memory dataField)
public
pure
returns (address)
NewerOlder