I hereby claim:
- I am jaywelsh on github.
- I am revolution0x (https://keybase.io/revolution0x) on keybase.
- I have a public key ASCpsaeYnH1i3zRh49eTcmJXjPiTOrfD9xOe1NPwYiaRsgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
pragma solidity 0.5.7; | |
pragma experimental ABIEncoderV2; | |
import { IERC20 } from "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol"; | |
import { SafeMath } from "openzeppelin-solidity/contracts/math/SafeMath.sol"; | |
contract SimulatedKyber { | |
using SafeMath for uint256; | |
IERC20 public dai; |
const util = require('ethereumjs-util'); | |
const Web3 = require('web3'); | |
// msg is the plaintext message (preimage) | |
// sig is the signed message | |
// walletAddress is the address that you want to verify the message comes from | |
const verifySignature = async (msg, sig, walletAddress) => { | |
const web3 = new Web3(null); | |
const res = util.fromRpcSig(sig); |
{ | |
"a + a": "®cã\u0011VMMÛßãj$A+%ü¼ND\rK}\ný&ñì|", | |
"a + b": "&\u0003»NLU|Ô¾Þ\u0013ϸ¿é~P·h÷¿¬¶\u0017ø¬æyÕ", | |
"a + c": "¨7kÈ\u0018V¾ ú'õ¼Á\u0005\nÑ!\u001bÆ\u0015\u001c\u0000ÚáKIn0i", | |
"a + d": "©ßà\u0017ö\u0016ëiÆ8L\f;u º4G9&ú\u00047ö^o?", | |
"a + h": "\u000eÈ\u0019u\u0018È\u0013¼-_½CÊ=\u0011\u0018lÅÜBKYÆçJè3¾I", | |
"a + i": "Ôª®å!x´àÐß\u0004\u0006A¥þ)©,ö\u001a`\u000e\u0018QXUÐÔA", | |
"a + j": "\u0005ÁHãÙ\u0003pÂüH?ÄÖ¸5;^\u0013¥z\"ó\"Ìå\"\\9B", | |
"a + k": "\u00132Tyǡײ^lDUr±:\fÚÿ\u0001È]¾\u001dð´[Ò[.", | |
"a + l": "\u0004¦\u001bYp¤\u0007P5#P»\u0017\u0015\u0018O\"çQÿnWý¼\të", |
{ | |
"A + A": "_óI*6ø\u0018ý,ýÕr.¡\u00043©Â[>ð\u001f½õÊk£;", | |
"A + C": ">\t¾Sw9µ \\¸tOni\u0013»\u000büÖf9?çç\u000f\u0003\u0017 ", | |
"A + E": "X\u0012á0ÞÍ«ÃXø\u0010@¡þþa7àÅT'¦¨»\u0015Z\bàf", | |
"A + F": ")\u0019z8±\u000f\u0007\u001eè-dÄzMT=ãC[À\u001aob<Yì«bÙ\u0013?", | |
"A + G": "\u0010\u000e\u0000-¨-éËÿB®(\u001aP[[7:¦þ\u001bA½¨RJ\u0004", | |
"A + H": " BF1 ©3ª$Ò½íNqÍ ùJ*Ipît0\u0016\u0006", | |
"A + I": "6æ%¿µnºR[%íF(ôVðpA5ðÃF6Ü\bË/²", | |
"A + K": "±¼f¨Üé²íe Û\ns£\u0019x:!\u0007¸ì¡Î\nN", | |
"A + M": "\nÿËJç9CºÞ{ï¸\u0015( \u0006®)\rýô¡\u0015åeK", |
I was initially pointed towards https://github.com/ethereum-optimism/optimism/blob/c04cefe0258a3a13266fe7f3df830f392f4a14dc/packages/contracts-bedrock/src/universal/OptimismMintableERC20Factory.sol#L89C14-L89C53
However, this version of the OptimismMintableERC20Factory wasn't (and I think still isn't) officially deployed to a production environment for Base, and so it was suggested by the Optimism team to make the deployment of the latest code independently, there is more context on this here: ethereum-optimism/developers#143
This lead to me trying to make a deployment of the factory myself, however this was shortsighted of me in hindsight and lead to the suggestion to not deploy the whole factory but rather to just deploy the reference contract itself, without involving the factory side of things, more context: ethereum-optimism/developers#147