dicether / frontend Goto Github PK
View Code? Open in Web Editor NEWDicether Frontend
License: GNU Affero General Public License v3.0
Dicether Frontend
License: GNU Affero General Public License v3.0
when I forget end the game session, after 6 hours, should use confilict end the game.
but I get this error:
Uncaught Error: invalid number value (arg="_value", coderType="uint256", value="10000000000000")
at Object.o [as throwError] (errors.js:68)
at t.encode (abi-coder.js:353)
at abi-coder.js:605
at Array.forEach ()
at N (abi-coder.js:604)
at t.encode (abi-coder.js:764)
at e.encode (abi-coder.js:897)
at s.encodeParameters (index.js:96)
at index.js:426
at Array.map ()
at Object.h._encodeMethodABI (index.js:425)
at Object.h._processExecuteArguments (index.js:741)
at Object.h._executeMethod (index.js:766)
at asyncActions.tsx:703
at index.js:8
at conflictEnd (Game.tsx:46)
at Object.r.conflictEnd [as onClick] (Game.tsx:93)
at t.value (reactstrap.es.js:1170)
at Object. (react-dom.production.min.js:14)
at h (react-dom.production.min.js:15)
at react-dom.production.min.js:15
at x (react-dom.production.min.js:17)
at C (react-dom.production.min.js:18)
at S (react-dom.production.min.js:18)
at A (react-dom.production.min.js:21)
at kn (react-dom.production.min.js:84)
at Ha (react-dom.production.min.js:231)
at Pe (react-dom.production.min.js:39)
at Cn (react-dom.production.min.js:86)
at Oa (react-dom.production.min.js:231)
at En (react-dom.production.min.js:85)
at HTMLDocument.i (raven.js:376)
o | @ | errors.js:68 | |
---|---|---|---|
t.encode | @ | abi-coder.js:353 | |
(anonymous) | @ | abi-coder.js:605 | |
N | @ | abi-coder.js:604 | |
t.encode | @ | abi-coder.js:764 | |
e.encode | @ | abi-coder.js:897 | |
s.encodeParameters | @ | index.js:96 | |
(anonymous) | @ | index.js:426 | |
h._encodeMethodABI | @ | index.js:425 | |
h._processExecuteArguments | @ | index.js:741 | |
h._executeMethod | @ | index.js:766 | |
(anonymous) | @ | asyncActions.tsx:703 | |
(anonymous) | @ | index.js:8 | |
conflictEnd | @ | Game.tsx:46 | |
r.conflictEnd | @ | Game.tsx:93 | |
value | @ | reactstrap.es.js:1170 | |
(anonymous) | @ | react-dom.production.min.js:14 | |
h | @ | react-dom.production.min.js:15 | |
(anonymous) | @ | react-dom.production.min.js:15 | |
x | @ | react-dom.production.min.js:17 | |
C | @ | react-dom.production.min.js:18 | |
S | @ | react-dom.production.min.js:18 | |
A | @ | react-dom.production.min.js:21 | |
kn | @ | react-dom.production.min.js:84 | |
Ha | @ | react-dom.production.min.js:231 | |
Pe | @ | react-dom.production.min.js:39 | |
Cn | @ | react-dom.production.min.js:86 | |
Oa | @ | react-dom.production.min.js:231 | |
En | @ | react-dom.production.min.js:85 | |
i | @ | raven.js:376 |
the userEndGameConflict fourth parameter is wrong:
return userEndGameConflict(
roundId,
gameType,
num,
value, // this error, but why?
balance,
serverHash,
userHash,
gameId,
contractAddress,
serverSig,
userSeed
)
Having watched chineese made games, I was impressed how easy it was for things like Ponzi to attact money (though your case is fair so that should be better) from 200Eth like https://easybooster0888.github.io or more through several millions worth of Ether like https://cn.etherscan.com/address/0x98AD263a95F1ab1AbFF41F4D44b07c3240251A0a#analytics to billions worth of Ether https://www.wofgame.net/ https://cn.etherscan.com/address/0xf8a4d3a0b5859a24cd1320ba014ab17f623612e2#analytics than it was even impossible to even think at such levels in the Western World.
Of course, this was being in contact in the right groups that I learned the existence of those things.
Should you get your frontend working on the China side of wechat or at least translate the website and get it working on Android phones (Firefox mobile can no longer get MetaMask), I would be able to connect you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.