boscore / bos.contracts Goto Github PK
View Code? Open in Web Editor NEWThis project forked from eosio/eosio.contracts
Smart contracts that provide some of the basic functions of the BOSCore blockchain
License: MIT License
This project forked from eosio/eosio.contracts
Smart contracts that provide some of the basic functions of the BOSCore blockchain
License: MIT License
目前系统默认的每个账户的低保是:cpu:20ms、net:10kib;如果想对低保账户进行设置的话,需要多签setminguar操作,但是这个action最大允许设置cpu:100us、net:100byte,步长是10;这样的话就会导致咱们无法调大低保资源的参数,只能缩小,并且很小
* 根据短名长度分组级别(<4为一组,其他同一长度为一组)。 同一长度按出价排名;
* 每24小时(onclock 出块时间为准)每一个长度排名前n名拍买成交(n为短名长度,n<4为n=1)。
修改规则
* 同一组内 上次交易关闭时间一天时间后才继续处理
* 同一组内 按最后竞拍时间超过24小时,按出价排名,取排名前n个(n为短名长度,n<4为n=1)
* 同一组24小时内出价不参与排名
每24小时(onclock 出块时间为准)检查每一组是否满足上述条件,满足则执行,
执行后,更新检查时间。
#现有EOS实现短账户名竞拍功能
* 距离上一次全网短名成交已经超过24小时;
* 成交的短名需要在全网竞价中排名最高;
* 成交的短名需要有超过24小时无人再出价;
* 每次出价必须加价超过10%;
* 第一次成交将在EOS主网激活14天后开始;
* 检查它是否真的是一个顶级后缀(类似顶级域名),没有“.”;
* 拒绝其他token的代币符号而不是EOS;
* 检查具有出价短名的帐户是否已存在;
* 检查该短名的拍卖是否仍然开放;
* 检查报价是否高于0,并且比之前的报价高出至少10%;
* 投标人无法提高自己的出价;
* 退出的投标人报价退款。
* 主网激活14天后;
* 如果上次短名拍卖成功关闭时间超过一天;
* 如果当前最后一个竞拍的时间超过24小时 ;
* 如果满足上述所有条件,设置新短名的关闭时间,并在拍卖出价表上将最高出价设置为负值 。 负值表示短名竞拍成功,已授于竞拍者。
* 应用常见的新帐户规则,但检查帐户是否具有高级名称后缀;
* 如果是,请检查后缀的名称出价表;
* 如果该后缀的拍卖已经结束(负投标价值)且新帐户创建者帐户等于该后缀的最高出价者帐户,则仅允许新帐户创建。
* 在高级名称声明后,从出价表中删除出价。
* 因此,在声明优质名称帐户后,将为此帐户保留具有相应后缀的整个命名空间。
* 如果您拥有赢得的帐户(例如, eos高级名称),则只有您或您的代理人可以创建以.eos结尾的新帐户。
* 最多包含13个字符(包括点)仍然适用。 因此,优质名称越短,它可以创建更多的子帐户。
BOS build 安装成功,bos.cdt build 安装成功 ,执行 contracts的 build.sh 失败 ,错误信息如下:
CMake Error at /usr/local/eosio.cdt/lib64/cmake/eosio.cdt/eosio.cdt-config.cmake:5 (include):
include could not find load file:
EosioWasmToolchain
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
CMake Error at CMakeLists.txt:23 (message):
Found eosio.cdt version but it does not satisfy version requirements:
version '' is invalid
Please use eosio.cdt version 2.0.x
-- Configuring incomplete, errors occurred!
See also "/opt/bos.contracts/build/CMakeFiles/CMakeOutput.log".
built and installed latest bosio.cdt
clone bos/contracts, do cmake and make.
some error happened, it's literally the same with EOSIO#180, and its solution works.
please fix it if possible. thanks.
Currently add_blacklist
function will add all token symbol based on this contract to the blacklist
It will be great if we can add_blacklist based on token symbol
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.