浅谈持币生息DAPP项目模式系统开发技术讲解代码分析

2022-11-09 10:39:23 浏览数 (1)

Put digital assets into the interest bearing management In the financial system, according to the rules and system model of the platform, you can obtain static income or dynamic income. In the stage of strong market volatility, you can not only lose money, but also obtain a certain amount of money. This kind of money earning principle has naturally become a favorite game for many investors at this stage.

  首先了解一下什么是持币生息钱.包静态和动态:

  1.静态:和字面意思一样,主要在于恒定,不需要有任何的动作的,玩家只需要存币在平台里面去,根据平台规则比如定时给玩家反多少的利息等,这种和存款获得利息道理是一样的。

  2.动态:动态收.益需要玩家一些操作便能获得到一定的利息,常见的比如在平台存币的同时去推荐其朋友来平台存币,根据朋友的存量来获得额外的利息。

持币生息合约代码

代码语言:javascript复制
{
  "workbench.startupEditor": "newUntitledFile",
  "workbench.iconTheme": "material-icon-theme",
  "editor.fontSize": 15,
  "editor.fontFamily": "Monaco",
  "editor.tabSize": 2,
  "sublimeTextKeymap.promptV3Features": true,
  "editor.multiCursorModifier": "ctrlCmd",
  "editor.snippetSuggestions": "top",
  "editor.formatOnPaste": false,
  "editor.matchBrackets": false,
  "files.associations": {
    "*.jsx": "javascriptreact",
    "*.js": "javascriptreact"
  },
  "emmet.includeLanguages": {
    "javascript": "javascriptreact"
  },
  "emmet.triggerExpansionOnTab": true,
  "prettier.singleQuote": true,
  "explorer.confirmDragAndDrop": false,
  "explorer.confirmDelete": true,
  "extensions.ignoreRecommendations": true,
  "todohighlight.isEnable": true,
  "files.exclude": {
    "**/.idea": true
  },
  "prettier.eslintIntegration": true,
  "prettier.trailingComma": "all",
  "prettier.semi": false,
  "javascript.implicitProjectConfig.experimentalDecorators": true
}
  • "prettier.singleQuote": true, 单引号
  • "prettier.eslintIntegration": true, prettier按照eslint约定的规范来格式化
  • "prettier.trailingComma": "all", 所有的对象和数组最后一项的末尾都要写逗号
  • ·"prettier.semi": false, 不要分号
  • "javascript.implicitProjectConfig.experimentalDecorators": true js中使用装饰器不会报错

0 人点赞