麒麟(QILIN)智能合约去中心化底池系统开发稳定版/案例项目/需求方案/源码详情

简介: uint public constant MAX_TOKENS = 2000; uint private constant TOKENS_RESERVED = 4;
uint public constant MAX_TOKENS = 2000;
uint private constant TOKENS_RESERVED = 4;

//normal whitelist price
uint public white_price = 0.008 ether;
//normal price
uint public price = 0.015 ether;

uint256 public constant MAX_MINT_PER_TX = 4;

bool public isSaleActive = false;
uint256 public totalSupply;
mapping(address => uint256) private mintedPerWallet;

string public baseUri;
string public baseExtension = ".json";

MAX_TOKENS指的是该合约最大能mint的数量
white_price指的是白名单价格(如果你的合约有白名单的话),注意这里价格会带上ether关键字后缀,表示每一个nft的单价
price指的是普通价格
MAX_MINT_PER_TX表示一个账户能mint的数量(如果你的合约有这个需求的话)
isSaleActive表示当前合约是否可以mint的状态
mintedPerWallet是一个map,记录了每一个账户mint的数量,对应MAX_MINT_PER_TX.

相关文章
|
9月前
|
安全 JavaScript 前端开发
质押理财dapp系统开发功能详细/步骤需求/方案项目/源码指南
The development of a pledge wealth management DApp system involves knowledge in various aspects such as blockchain technology, smart contracts, front-end development, and security. The following are the detailed steps for developing a pledge wealth management DApp system
|
9月前
|
存储 JSON 安全
|
7月前
|
开发框架 运维 监控
公链开发详情丨公链联盟链系统开发指南步骤/功能设计/项目案例
公链系统开发是一项复杂而综合的任务,涉及多个层面和环节。下面将为你提供一个大致的公链系统开发操作流程,涵盖了一些关键细节:
|
开发框架 供应链 监控
PancakeSwap去中心化薄饼交易所系统开发方案项目/案例开发/逻辑详情/源码稳定版
  区块链助推供应链上的数据更加透明,供应链上的企业可以准确的使用端到端的透明数据,区块链技术可以有效的对供应链上企业的交易进行数字化的处理,And it can establish a decentralized and immutable record of all transactions,which can achieve real-time data sharing and effectively reduce the time cost of data information acquisition.
|
存储 监控 安全
合约交易所开发详情丨合约交易所系统开发项目/成熟案例/方案逻辑/规则玩法/稳定版/源码部署
合约交易所系统开发是一个复杂的项目,它涉及多个方面,包括系统设计、规则制定、开发实现、部署和稳定运行等
|
9月前
|
区块链 数据库 数据安全/隐私保护
DAPP持币生息系统开发|源码部署|详情方案
随着互联网技术的飞速发展,人类社会正在经历着数字化、全球化和智能化的快速转型。
|
9月前
|
监控 供应链 安全
dapp智能合约只涨不跌系统开发步骤详细/开发案例/功能需求/方案项目/源码功能
需求分析:明确系统的功能需求和业务逻辑。确定系统需要支持的资产类型、交易规则和逻辑限制等。
交易所开发稳定版丨交易所系统开发指南步骤/方案逻辑/详细功能/需求设计/源码说明
The development of a digital currency exchange system refers to the design, construction, and implementation of an online platform for trading and managing digital currencies (such as Bitcoin, Ethereum, etc.). The system provides an infrastructure for digital asset trading,
|
开发框架 运维 测试技术
ARBT(阿尔比特)智能合约系统开发稳定版/详细案例/步骤逻辑/需求方案/成熟技术/源码架构
需求分析:与客户充分沟通,了解其业务需求和期望,明确系统的功能和性能要求。
IPPswap交易所系统开发详细指南丨需求设计丨教程方案丨源码项目
Based on the development of the IPPSwap exchange exchange exchange bottom pool LP pledge mining system you mentioned, the following is an overview of its basic process and elements