EOSTARTER is ready for Pomelo Season 2!

TokenSale Contract — Updates, Security Audit & Advanced Features

Hernan Arber
EOSTARTER
10 min readMar 23, 2022

--

EOSTARTER is Ready for POMELO Season 2

Translation in Chinese and Korean following the English Article…

Hello POMELO! Hernan @ EOSTARTER here :-)

First of all, let me start with a huge THANK YOU to the EOS Community and the ENF for the last season in which we came out as one of the most supported projects by amount of contributors. The funds we received from Pomelo allowed us to make progress that otherwise would have not been possible.

Before we ask the community for new contributions, we must update you on how the funds were used and where we stand as of today.

Even before the Pomelo season started, we were searching for the best development partners in the EOS Ecosystem to assist us with the development of our platform. We began talks with EOS Costa Rica and by the end of season one we entered a strategic partnership for the development of the TokenSale Smart Contract

Thanks to this collaboration and ongoing work together, EOSTARTER can proudly say: WE HAVE A TOKENSALE CONTRACT!

Of course, it’s important to mention that this is just the initial MVP Version with the basic functionality that allows for a project owner to set up a token sale and for investors to deposit EOS and obtain the Project’s Token in return on a linear vesting schedule set by the project.

The results of the partnership are now accessible and open to the whole community on our Github:

TokenSale Smart contract: https://github.com/eostarter/eostarter.sale-smart-contract

TokenSale Platform: https://github.com/eostarter/token-sale-platform

Here is a short Walk-through of the Current Capabilities of the Tokensale Contract:

CHECK OUT THE TOKENSALE CONTRACT WALKTHROUGH

Help us test the TokenSale Platform at https://tokensale.eosio.cr/

I will get into the details of what we have achieved so far in the smart contract:

We have 2 types of users and the Contract Admin, which in our case will be EOSTARTER.

The Actions for the INVESTOR are:

1 — Subscribe (subscribe)

Subscribe to a token pool (an approved user can subscribe to any pool, but they will only receive an allocation once the App Admin verifies them and determines their allocation before the sale)

2 — Deposit (eosio.token:transfer)

This Action is a regular transfer on EOS with the characteristics that it will reject any transfer of tokens other than EOS and a larger transfer than the allocated for the sale.

3 — Claim (investorclaim)

The investor receives a part of the tokens immediately after the end of the sale and the rest is vested linearly over a set amount of days. Any given day, the investor can login to the platform and claim the vested tokens so far, until all the tokens have been claimed by the user.

The Actions for the PROJECT OWNER are:

1 — Add Token Pool (addpool)

Project Owners can add any number of pools to the platform, but only the approved token pools will move to the PENDING_DEPOSIT state.

2 — Deposit Project Tokens (eosio.token:transfer)

Once the Token Pool is approved, the Project Owner must deposit the exact amount of project tokens declared for sale in order for the Token Pool to move to the READY_FOR_SALE State. Once the TokenSale is activated by the App Admin the pool will become an ACTIVE_SALE.

3 — Claim EOS (ownerclaim):

Once the TokenSale ends, the remaining project tokens and the immediate portion of the EOS are sent to the Project Owner. The rest of the EOS will vest linearly over the number of days determined in the Pool Details.

The ADMIN or SmartContract Account Owner has the most Actions since it is the account responsible for approving Tokensale Pools, Approving new users into the system, approving and enabling Token sales, and also starting and ending the sales according to the Start and End dates of each sale. All this requires user verification and previous token sale owner account verifications, and all of this eventually needs to be automated through the back end and coordinated through the FrontEnd for the final users to be able to run the token sales smoothly.

The APP ADMIN Actions are:

1 — Add User: Adding users by the Admin vs any User entering the system will allow us to verify user accounts and avoid Bot accounts entering the system automatically.

2 — Edit User (edituser)

3 — Approve a Token Pool (appovepool)

4 — Reject Pool (rejectpool)

5 — Start a Token Sale (startsale)

6 — End a Token Sale (endsale)

7 — Approve a subscription to a Token Sale (approvesubsc)

8 — Reject a Subscription to a Token Sale (rejectsubsc)

All these Actions on the Smart Contract allow us to create and perform token sales for projects and run them successfully with linear daily vesting for both the investors and the projects according to the token sale parameters.

So what’s next for the TokenSale Contract? And why are we requesting more funding from Pomelo?

Security Audit

Every TokenSale Pool will effectively be in control of both our EOS and the Project’s token, and this will continue to be the case for as long as the Vesting period is established. This effectively turns the TokenSale Account Owner into a honey-pot for potential attacks. It is in all of our best interests that this contract is professionally audited and is as secure as possible to avoid loss of funds and potentially hinder the ability of projects to successfully launch.

We are already contacting different Auditing service companies to audit the contract, which will most likely require modifications to adhere to the security audit’s findings and observations.

Security Audits are not cheap, and the good companies are almost all fully booked for 2022 so it is important to get the audit soon and perform the required modifications as soon as possible.

With your help and this season’s matching pool, we are confident we will get the contract audited and we will all feel confident and secure to interact with it to run IDOs and Token Sales on EOS.

Advanced Features

The current version of the smart contract allows us to run token sales on EOS and already shows a lot of promising use cases. However, this is still just an initial version with the basic stuff to get new projects up and running. Some things we would like to develop and improve on the contract are:

  • Project Voting / Rating Platform
  • Multiple EOSIO token support
  • Monthly token vesting
  • Milestone-based token vesting for projects
  • Cross-chain support

The immediate next steps in regards to the TokenSale Platform are to set up the Backend and FrontEnd to implement the smart contract and integrate the Admin actions onto the backend automatically. All actions that are required to create new users, approve pool subscriptions, determine allocations, and allow for users not only to contribute to the sales but also to claim their tokens still need to be developed.

With your support and the matching funds from the ENF, we are confident that we will build a Top-Tier TokenSale Platform on EOS that will shine a light on the ecosystem and begin to gather interest from the broader crypto space and beyond.

From all the Team at EOSTARTER, Vero, Yevhen, Thian, Ami, and Myself, we thank you from the bottom of our hearts for your contributions and ongoing support.

Let’s get Pomelo Season 2 EOSTARTED!

EOSTARTER is the first Gamified Launchpad and Community-Powered Incubator for EOSIO Projects.

Follow us on Twitter

Join our Discord

Chat with us on Telegram

Watch our Videos

Visit our Website

EOSTARTER 代币销售平台

EOSTARTER的Pomelo第二季已经准备好了!

令牌销售智能合约-更新,安全审计和高级功能

你好,柚子!Hernan@EOStarter来了-)

首先,让我首先感谢EOS社区和ENF,感谢上一季我们作为贡献者支持最多的项目之一。我们从Pomelo那里收到的资金使我们取得了否则就不可能取得的进展。

在我们从社区获得新的捐款之前,重要的是我们要向你们更新我们的资金的使用方式以及我们今天的情况。

甚至在Pomelo开始之前,我们就已经在EOS生态系统中寻找最好的开发合作伙伴,以帮助我们开发我们的平台。我们开始与EOS哥斯达黎加进行谈判,在第一季结束时,我们建立了销售智能合同的战略伙伴关系

多亏了这次合作和正在进行的工作,我们可以自豪地说:我们有一份纪念品合同!

当然,重要的是要提到,这只是最初的MVP版本的基本功能,允许项目所有者建立一个令牌销售和投资者存EOS和获得项目的令牌作为回报线性时间表的项目。

合作伙伴关系的结果现在可以在我们的Github中向整个社区开放:

令牌销售智能合约:https://github.com/eostarter/eostarter.sale-smart-contract

标记销售平台:https://github.com/eostarter/token-sale-platform

以下是对托肯萨莱合同当前能力的简要介绍:

看看令牌销售智能合约演练

我将详细介绍我们到目前为止在智能合同中所取得的成就:

我们有两种类型的用户和合同管理员,在我们的情况中,管理员是EOSstarter。

投资者的动作包括:

1-订阅(订阅)

订阅令牌池(被批准的用户可以订阅任何池,但只有在应用管理员验证并确定其分配后,他们才会收到分配)

2-存款(eosio.代币:转账)

此操作是EOS上的定期转移,其特点是拒绝除EOS以外的任何令牌转移,并且比分配的转让更大。

3-索赔(投资索赔)

投资者在出售结束后立即收到部分代币,其余部分在规定的天数内被线性授予。任何一天,投资者都可以登录平台并声明已授予的令牌,直到用户声明所有令牌。

项目所有者的操作包括:

1-添加令牌池(添加池)

项目所有者可以向平台添加任意数量的池,但只有已批准的令牌池将移动到PENDING_DEPOSIT状态。

2-存款项目代币(eosio.代币:转账)

一旦令牌池被批准,项目所有者必须存入宣布出售的项目令牌的确切数量,以便使令牌池移动到READY_FOR_SALE状态。一旦令牌销售被应用程序管理激活,该池将成为一个ACTIVE_SALE。

3-索赔EOS(所有者索赔):

一旦令牌销售结束,剩余的项目令牌和EOS的直接部分将被发送给项目所有者。其余的EOS将在池细节中确定的天数内线性归属。

管理员或智能合同帐户所有者拥有最多的操作,因为它负责批准令牌池,批准系统中的新用户,批准和启用令牌销售,以及根据每次销售的开始和结束日期开始和结束销售。所有这些都需要用户验证和以前的代牌销售所有者账户验证,而所有这些最终都需要通过后端进行自动化,并通过前端进行协调,以便最终用户能够顺利地运行代牌销售。

APP管理操作包括:

1-添加用户:通过管理员添加用户与任何进入系统的用户相比,将允许我们验证用户帐户,并避免Bot帐户自动进入系统。

2 — 编辑用户(编辑用户)

3.批准一个令牌池(授权池)

4-拒绝池(拒绝池)

5-开始代币销售(开始销售)

结束代币销售(最终销售)

7-批准订阅代币销售(批准委员会)

拒绝订阅代币销售(拒绝订阅)

所有这些在智能合同上的行动使我们能够为项目创建和执行令币销售,并根据令币销售参数成功地为投资者和项目提供线性的每日授权来运行它们。

那么代牌销售合同的下一步是什么呢?为什么我们要向柚子请求更多的资金呢?

安全审计

每个令牌销售池都将有效地控制我们的EOS和项目的令牌,只要归属期确定,这种情况就将继续存在。这有效地将令牌销售账户的所有者变成了一个应对潜在攻击的蜜罐。经过专业审计,本合同尽可能安全,以避免资金损失,并可能阻碍项目成功启动的能力。

我们已经在联系了不同的审计服务公司来审计合同,这很可能需要修改,以遵守安全审计的结果和意见。

安全审计并不便宜,而且好的公司几乎都在2022年完成了登记,所以尽快进行审计并尽快执行所需的修改是很重要的。

在您的帮助和本赛季的匹配池下,我们相信我们将审核合同,我们都有信心与它进行互动,在EOS上运行IDOs和令牌销售。

高级功能

智能合约的当前版本允许我们在EOS上运行令牌销售,并且已经显示了很多有前途的用例。然而,这仍然只是一个初始版本,带有启动和运行新项目的基本内容。我们希望在合同基础上开发和改进的一些事情是:

项目投票/评级平台

  • 多个EOSIO融资令牌支持
  • 月令牌归属
  • 基于里程碑的项目代币归属
  • 跨链支撑

关于令牌销售平台的下一步步骤是设置后端和前端来实现智能合约,并将管理操作自动集成到后端。创建新用户、批准池订阅、确定分配以及允许用户不仅对销售做出贡献,而且还需要开发其令牌所需的所有操作。

通过您的支持和来自ENF的配套资金,我们相信我们将在EOS上建立一个顶级的令牌销售平台,这将照亮生态系统,并开始收集来自更广泛的加密领域和其他领域的兴趣。

EOSTARTER团队, Vero, Yevhen, Thian, Ami, 和我自己, 我们衷心感谢你们的支持

加油 Pomelo 第二季EOSTARTER!

EOSTARTER 第一款EOSIO 领域的 Gamified 启动器和社区驱动的加速器

加入 Twitter

加入 Discord

加入 Telegram

观看 Videos

访问 Website

안녕하세요! Pomelo 시즌 2로 다시 돌아온 EOSTARTER입니다!

토큰 세일즈 스마트계약 — 스마트계약 보안감사와 고급 기능에 대해

포멜로에 참여해주신 여러분 안녕하세요 ! EOSTARTER @ Hernan 입니다 :-)

먼저 EOS 커뮤니티와 지난 시즌에 ENF에 아주 큰 감사의 인사를 전하는 것으로 시작하겠습니다. 저희는 지난 시즌 가장 많은 지원을 받은 프로젝트 중 하나입니다. 우리는 Pomelo로부터 받은 기금이 없었다면 불가능했을 수많은 발전을 이룰 수 있었습니다. 정말 감사합니다.

저희는 시즌2에 커뮤니티에 새로운 기금지원을 요청하기 앞서 기금이 어떻게 사용되었는지, 그리고 현재까지의 진행사항은 어떠한지에 대해 말씀드리겠습니다.

Pomelo가 시작되기 전부터 저희는 EOS 생태계에서 플랫폼 개발을 지원할 최고의 개발 파트너를 찾고 있었습니다. 우리는 EOS 코스타리카와 대화를 시작했었고 시즌 1이 끝날 때즈음 TokenSale 스마트 계약 개발을 위한 전략적 파트너십을 체결했습니다.

지속적 협력과 작업의 결과물로써 EOSTARTER는 자랑스럽게 말할 수 있습니다.

드디어 저희는 토큰 세일즈 계약을 구축했습니다!

물론 이것은 프로젝트 소유자가 토큰 판매를 설정할 수 있는 기본 기능과 함께 투자자가 EOS를 예치하고 프로젝트에 의해 설정된 선형 베스팅으로 프로젝트 토큰을 획득할 기능만을 갖춘 초기 버전의 MVP라는 점을 말씀드립니다.

파트너십 결과는 Github에서 모두가 접근할 수 있으며 공공에 공개될 것입니다.

토큰세일 스마트 계약: https://github.com/eostarter/eostarter.sale-smart-contract

토큰세일 플랫폼: https://github.com/eostarter/token-sale-platform

토큰 판매 계약의 현재 기능에 대한 간략한 설명입니다:

TOKENSALE CONTRACT WALKTHROUGH에 대해 여기에서 확인해보세요

스마트 계약 부분에서 현재까지의 진행상황에 대해 보다 자세히 알아보겠습니다.

저희 플랫폼에서는 두 타입의 사용자, 즉 실제 투자자와 계약관리자가 있습니다. 계약관리자는 EOSTARTER입니다.

투자자가 취할 수 있는 작업은 다음과 같습니다:

1 — 구독(subscribe)

토큰 풀 구독(승인된 사용자는 모든 풀을 구독할 수 있지만 앱 관리자가 토큰 풀을 확인하고 판매 전에 할당을 결정한 후에만 할당을 받습니다)

2 — 예치(eosio.token:transfer)

이 액션은 EOS 이외의 모든 토큰 전송을 거부하고 판매에 할당된 것보다 더 큰 전송을 거부한다는 특성을 가진 EOS의 주기적인 전송계약입니다.

3 — 클레임(investorclaim)

투자자는 판매 종료 직후 토큰의 일부를 받고 나머지는 일정 기간 동안 선형적으로 할당받습니다. 투자자는 플랫폼에 로그인해 모든 토큰을 청구할 때까지 획득한 토큰을 클레임할 수 있습니다.

프로젝트 소유자가 취할 수 있는 작업은 다음과 같습니다:

1 — 토큰 풀 추가(addpool)

프로젝트 소유자는 플랫폼에 풀을 원하는 수만큼 추가할 수 있지만 승인된 토큰 풀만 PENDING_DEPOSIT 상태가 됩니다.

2 — 프로젝트 토큰 예치(eosio.token:transfer)

토큰 풀이 승인되면 프로젝트 소유자는 토큰 풀을 READY_FOR_SALE 상태로 변경하기 위해 판매를 공표한 프로젝트 토큰의 정확한 양을 입금해야 합니다. 앱 관리자가 TokenSale을 활성화하면 풀은 ACTIVE_SALE이 됩니다.

3 — EOS 청구(ownerclaim):

TokenSale이 종료되면 판매되지 않은 프로젝트 토큰 및 판매대금 EOS의 일부분이 즉시 프로젝트 소유자에게 전송됩니다. 나머지 EOS는 풀 세부 정보에서 설정된 분배일수에 따라 선형적으로 전송됩니다.

ADMIN 또는 SmartContract 계정 소유자는 토큰 판매 풀 승인, 신규 사용자를 시스템에 승인하거나 토큰 판매 승인 및 활성화하고, 또는 시작 및 종료 날짜에 따라 판매 시작 및 종료를 담당할 수 있는 계정이기 때문에 가장 많은 작업을 할 수 있습니다.

이 모든 것은 사용자 신원확인 및 기존 토큰 판매 소유자 계정의 확인이 필요하며 최종 사용자가 토큰 판매를 원활하게 실행할 수 있도록 모든 것이 백엔드를 통해 자동화되어야하고 FrontEnd를 통해 조정되어야 합니다.

앱 관리자가 할 수 있는 작업은 다음과 같습니다.

스마트 계약에 대한 이러한 작업들을 통해 프로젝트 토큰 판매를 수행하고 토큰 판매 매개변수에 따라 투자자와 프로젝트 모두에 대해 선형적 일일 베스팅을 성공적으로 실행할 수 있습니다.

지금까지 저희의 TokenSale 계약을 말씀드렸습니다. 그 다음 단계는 무엇일까요? Pomelo에 더 많은 기금지원을 요청하는 이유는 무엇일까요?

스마트계약 보안 감사

각각의 모든 TokenSale Pool은 EOS와 프로젝트 토큰을 효과적으로 구속할 것이며, 이는 Vesting 기간 동안지속될 것입니다. 이는 TokenSale 계정 소유자를 잠재적인 공격에 대응할 벙커로 피신시킵니다. 이러한 스마트 계약의 전문감사가 진행되어 자금 손실을 미연에 방지하고 프로젝트의 성공적인 시작을 방해하지 않도록 가능한 안전한 환경을 제공하는 것이 저희의 최선입니다.

저희는 이미 계약을 감사하기 위해 계약 감사를 제공하는 여러 회사에 연락하고 있으며 보안 감사의 결과를 준수하기 위해 스마트 계약 수정이 필요할 가능성이 높다고 여겨집니다.

보안 감사는 저렴하지 않으며 평판이 좋은 회사는 2022년의 예약이 거의 모두 완료되었습니다. 가능한 한 빨리 감사를 받고 필요한 수정을 수행하는 것은 아무리 강조해도 지나치지 않을 것입니다.

여러분의 도움과 이번 포멜로 시즌의 매칭 풀을 통해 스마트 계약 감사를 진행할 기금을 마련할 수 있다고 확신합니다. 그리고 저희는 EOS에서 IDO 및 토큰 판매를 실행하기 위해 안전한 스마트 계약을 제공할 수 있도록 노력하겠습니다.

고급 기능

현재 버전의 스마트 계약을 통해 EOS에서 토큰 판매를 실행할 수 있으며 이미 유효한 많은 사용 사례를 보여주었습니다. 그러나 이는 여전히 새 프로젝트를 시작하고 실행하기 위한 기초적 사항만이 구현된 초기 버전입니다. 저희가 앞으로 계약을 개발하고 개선하고자 하는 사항은 다음과 같습니다.

  • 프로젝트 투표 및 평가
  • 다중 EOSIO 펀딩 토큰 지원
  • 월간 토큰 베스팅
  • 프로젝트 마일스톤 기반 토큰 베스팅
  • 크로스체인 지원

TokenSale 플랫폼과 관련된 단기적 목표단계는 백엔드 및 프론트엔드를 설정해 스마트 계약을 구현하고 관리 작업을 백엔드에 자동화할 수 있도록 통합하는 것입니다. 새 사용자를 생성하고, 풀 구독을 승인하고, 할당을 결정하고, 사용자가 판매에 기여할 수 있을 뿐만 아니라 토큰을 청구하도록 도와줄 수 있는 개발작업은 아직도 여전히 진행되어야 하는 상황입니다.

여러분의 지원과 ENF의 매칭 펀드로, 우리는 EOS 생태계에 빛을 비추고 더 넓은 크립토 공간 너머에서 관심을 모으기 시작할 EOS의 최상위 TokenSale 플랫폼을 구축할 수 있을 것입니다.

EOSTARTER, Vero, Yevhen, Thian, Ami 그리고 저를 포함한 모든 팀원들은 여러분의 따듯한 관심과 지속적인 지원에 진심으로 감사드립니다.

EOSTARTER 가즈아!!!

--

--

Hernan Arber
EOSTARTER

CEO @ Soundwork / Founder @ Arber Tech / Co-Founder @ Quantum Consulting