gointollc / etherep-contracts Goto Github PK
View Code? Open in Web Editor NEWEthereum smart contracts for etherep
License: Apache License 2.0
Ethereum smart contracts for etherep
License: Apache License 2.0
Error:
$ truffle migrate
Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.
Starting migrations...
======================
> Network name: 'development'
> Network id: 1565049600687
> Block gas limit: 0x6691b7
2_deploy_etherep.js
===================
Deploying 'RatingStore'
-----------------------
> transaction hash: 0x4b8da6ed423e360e9ddbc7a9de7163d665d95c087167fa87563c42ee4ed56362
> Blocks: 0 Seconds: 0
> contract address: 0xf763494fE934206253Fc433093a0a9432D72420c
> block number: 1
> block timestamp: 1565049621
> account: 0x3A91B51F4D6dB9a525AA9751B3cb2c9c8aE16597
> balance: 99.98004914
> gas used: 997543
> gas price: 20 gwei
> value sent: 0 ETH
> total cost: 0.01995086 ETH
Deploying 'Etherep'
-------------------
> transaction hash: 0xc93c41b3330dd13b0c1956cfc75738681bc898df6d862a1b34a57e06fe826263
> Blocks: 0 Seconds: 0
> contract address: 0xedCcDC5F9671E964c5cF9B2cE8C8256b42212D6D
> block number: 2
> block timestamp: 1565049622
> account: 0x3A91B51F4D6dB9a525AA9751B3cb2c9c8aE16597
> balance: 99.95761968
> gas used: 1121473
> gas price: 20 gwei
> value sent: 0 ETH
> total cost: 0.02242946 ETH
Error: Error: TypeError: rs.setController is not a function
at Object.run (/usr/lib/node_modules/truffle/build/webpack:/packages/truffle-migrate/index.js:92:1)
at process._tickCallback (internal/process/next_tick.js:68:7)
Truffle v5.0.30 (core: 5.0.30)
Node v10.16.0
Instead of erroring out and burning all gas, RatingStore.get
should probably return 0
s instead.
etherep-contracts/contracts/etherep.sol
Line 204 in e252597
Since senderCumulative is senderScore rounded to whole 100s here, the expression is equivalent to
(senderCumulative / 50 * absRating) + multiplier
, ranging from 100 to 150. It's unclear where these exact calculations originate from and why were they chosen.
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.