-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newlevel safetoken #10
base: master
Are you sure you want to change the base?
Conversation
caa1895
to
5dfb2c0
Compare
|
||
|
||
Things that might help: | ||
* An [EVM bytecode decompiler](https://ropsten.etherscan.io/bytecode-decompiler?a=) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ropsten is deprecated, maybe is worth changing it for some other tool ? or the same from etherscan but in another chain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes sure, I'll look at that.
client/src/gamedata/authors.json
Outdated
@@ -147,6 +147,11 @@ | |||
"websites": [ | |||
"https://www.linkedin.com/in/kstasi/" | |||
] | |||
}, | |||
"AshiqAmien": { | |||
"name": "Ashiq Amien", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are all these meant to be arrays instead of single key values ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh thanks for the catch, changing now
client/src/gamedata/gamedata.json
Outdated
"revealCode": true, | ||
"deployParams": [], | ||
"deployFunds": 0, | ||
"deployId": "29", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This conflicts with OpenZeppelin#546
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we can merge this once 546 is merged. I will rebase it with master once 546 is merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes but we need to change deployId to 30
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import '@openzeppelin/contracts/token/ERC20/ERC20.sol'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this import be similar to the one of SafeTokenBackdoor
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes both are basically, same, we have
import 'openzeppelin-contracts-08/token/ERC20/ERC20.sol';
and
import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
To keep things consistent, we will keep it the same.
4c8e16c
to
ef69a3a
Compare
ef69a3a
to
d1a5032
Compare
moved files upgraded solidity levels upgraded contracts corrected the tests changed bytecode decompiler added review comment changes added images
d1a5032
to
f295f9b
Compare
edaa0f7
to
5b14709
Compare
Added the following changes on top of OpenZeppelin#193