This file contains 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
Error: processing response error (body={"0":123,"1":34,"2":105,"3":100,"4":34,"5":58,"6":52,"7":52,"8":44,"9":34,"10":106,"11":115,"12":111,"13":110,"14":114,"15":112,"16":99,"17":34,"18":58,"19":34,"20":50,"21":46,"22":48,"23":34,"24":44,"25":34,"26":101,"27":114,"28":114,"29":111,"30":114,"31":34,"32":58,"33":123,"34":34,"35":109,"36":101,"37":115,"38":115,"39":97,"40":103,"41":101,"42":34,"43":58,"44":34,"45":86,"46":77,"47":32,"48":69,"49":120,"50":99,"51":101,"52":112,"53":116,"54":105,"55":111,"56":110,"57":32,"58":119,"59":104,"60":105,"61":108,"62":101,"63":32,"64":112,"65":114,"66":111,"67":99,"68":101,"69":115,"70":115,"71":105,"72":110,"73":103,"74":32,"75":116,"76":114,"77":97,"78":110,"79":115,"80":97,"81":99,"82":116,"83":105,"84":111,"85":110,"86":58,"87":32,"88":105,"89":110,"90":118,"91":97,"92":108,"93":105,"94":100,"95":32,"96":111,"97":112,"98":99,"99":111,"100":100,"101":101,"102":34,"103":44,"104":34,"105":99,"106":111,"107":100,"108":101,"109":34,"110":58,"111":45,"112":51,"113":50 |
This file contains 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
const stringA = | |
"0x6080604052600436106100865760003560e01c8063a6ba9bc611610059578063a6ba9bc614610118578063a7f3a2731461012b578063bdd85b961461013e578063ca0090ac1461013e578063eb9e71261461016057610086565b806342929d441461008b57806350c4adfd146100ad5780637b9b9348146100d6578063919afeb7146100f8575b600080fd5b34801561009757600080fd5b506100ab6100a6366004610abb565b610180565b005b6100c06100bb366004610b2f565b6102ff565b6040516100cd9190610e2a565b60405180910390f35b3480156100e257600080fd5b506100eb61036e565b6040516100cd9190610da6565b34801561010457600080fd5b506100c0610113366004610abb565b610392565b6100c0610126366004610aef565b6103ec565b6100ab610139366004610b2f565b61044a565b34801561014a57600080fd5b50610153610491565b6040516100cd9190610e21565b34801561016c57600080fd5b506100c061017b366004610bb0565b6104ac565b6040518060400160405280601581526020017420b1ba34b7b72a3930b739b332b91730b1ba34b7b760591b815250306001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161415816040516020016101f59190610cc0565 |
This file contains 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
{ | |
"contractName": "ActionTransfer", | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "origin", |
This file contains 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.6.8; | |
library GelatoDebug { | |
function revertWithErrorString(bytes memory _bytes, string memory _tracingInfo) | |
internal | |
pure | |
{ | |
// 68: 32-location, 32-length, 4-ErrorSelector, UTF-8 err | |
if (_bytes.length % 32 == 4) { | |
bytes4 selector; |
This file contains 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.6.8; | |
library GelatoDebug { | |
function revertWithErrorString(bytes memory _bytes, string memory _tracingInfo) | |
internal | |
pure | |
{ | |
// 68: 32-location, 32-length, 4-ErrorSelector, UTF-8 err | |
if (_bytes.length % 32 == 4) { |
This file contains 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 { task, types } from "@nomiclabs/buidler/config"; | |
import { utils } from "ethers"; | |
export default task("abi-encode-withselector") | |
.addPositionalParam("contractname") | |
.addPositionalParam("functionname") | |
.addOptionalVariadicPositionalParam( | |
"inputs", | |
"Array of function params", | |
undefined, |
This file contains 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
function createTwoGelatoUserProxy( | |
address _mastercopy, | |
bytes memory _initializer, | |
uint256 _saltNonce | |
) | |
public | |
payable | |
override | |
returns(address userProxy) | |
{ |
This file contains 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
[{"constant":true,"inputs":[],"name":"withdrawnTokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"calcMaxWithdraw","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"setup","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"walletWithdraw","outputs":[],"payable":false,"stateMutability":"nonpayable"," |
This file contains 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
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "executor", | |
"type": "address" | |
}, |
This file contains 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
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "executor", | |
"type": "address" | |
}, |