OPINION

Energy Business and Blockchain #5 (final) – Notable areas in the future based on analysis of areas of applicaiton
The previous article focused on ICO in the energy sector. The conclusion was that strengthening financial regulation is an irreversible global trend and that regulation-compliant security tokens and utility tokens for decentralized protocols are future possibilities. This article, the final article of the series, wraps up blockchain application in the energy sector as of June 2019. What business can take advantage of blockchain technology? I will try to analyze the area of application of blockchain technology in the energy sector. Setting aside whether it is good or not, many applications are seed oriented. In other words, it is not that solutions are developed out of social issues to solve, but that applications developed out of functionalities and characteristics of blockchain technology are proposed.   A short description of characteristics of blockchain technology, or distributed ledger technology to be exact, is that multiple participants that are connected in a peer-to-peer fashion in computer network approve transactions by following defined protocol and maintain record of transaction records. Cases of applications that take advantage of the characteristics of the technology can be organized as follows:   Many existing cases use the characteristic of “decentralized transactions” that trade energy (or ancillary objects to electricity such as attribute values associated with electricity and flexibility [1]). Those include cases that makes measured electricity digital assets, ones that performs settlements (financial transactions), and ones that combine the both. [1] Ability to respond to variations of demand and supply, not the value of electricity per-se   Energy transaction applications include peer-to-peer energy trading that is the most popular application in the energy sector, trading in wholesale market, grid management applications such as flexibility trading and virtual power plant (VPP), and disintermediation model that proposes means for consumers to access directly to wholesale market. Financial transaction applications include fundraising…

DEVELOPER ZONE

The Dai Savings Rate (DSR)
Multi-Collateral Dai (MCD) went live on November 18th. Now you can use both ETH and BAT as collateral. The Maker community is currently evaluating REP, and other tokens will be available as collateral in the future.
The Dai Savings Rate (DSR)
Multi-Collateral Dai (MCD) went live on November 18th. Now you can use both ETH and BAT as collateral. The Maker community is currently evaluating REP, and other tokens will be available as collateral in the future.
Build a Decentralized Lending App With Compound
With the Compound protocol, we can share unused crypto assets to borrowers who can make good use of it. The Compound is the crypto equivalent of Airbnb that allows lenders to earn up to 10% in the almost risk-free way.
Build an ETH & ERC20 Tokens Exchange App With Uniswap
Introduction Blockchain technology introduced a public ledger that everybody can use and nobody owns for the first time in the history of humankind. And yet, we have a bunch of centralized exchanges that control hashing power and private keys. Although centralized exchanges are necessary to exchange fiat money with cryptocurrencies, it goes against the original philosophy of bitcoin. The technology was supposed to transfer the power from institutions like the government and corporations to individuals.   How can we bring the control back to people? People have been building decentralized protocols to empower individuals. Among them is the decentralized exchange protocols. Each implementation has a different degree of decentralization, but I’m bullish on the Uniswap exchange protocol because they have a high degree of decentralization without compromising the user experience.   The only way to replace existing systems is to provide a better service that people want to use. As a developer, this means writing code and building things. We will do just that in this post. We will build a simple application that exchange Ether and ERC20 tokens using the Uniswap. If you follow along, you will be able to allow your dapp or wallet users to exchange Ether and ERC20 tokens easily.   I briefly talk about how the Uniswap works and then start building our application. Uniswap in a Nutshell Uniswap is a decentralized exchange protocol for Ether and ERC20 tokens. The whole process takes place on-chain and there are no gatekeepers. There is a separate exchange smart contract for each ERC20 token. These exchange contracts hold reserves of both Ether and their associated ERC20. Traders can make trades against the reserves at any time. They send Ether to the contract and get the ERC20 token out and vice versa. These reserves are deposited by liquidity providers…
Energy Business and Blockchain #5 (final) – Notable areas in the future based on analysis of areas of applicaiton
The previous article focused on ICO in the energy sector. The conclusion was that strengthening financial regulation is an irreversible global trend and that regulation-compliant security tokens and utility tokens for decentralized protocols are future possibilities. This article, the final article of the series, wraps up blockchain application in the energy sector as of June 2019. What business can take advantage of blockchain technology? I will try to analyze the area of application of blockchain technology in the energy sector. Setting aside whether it is good or not, many applications are seed oriented. In other words, it is not that solutions are developed out of social issues to solve, but that applications developed out of functionalities and characteristics of blockchain technology are proposed.   A short description of characteristics of blockchain technology, or distributed ledger technology to be exact, is that multiple participants that are connected in a peer-to-peer fashion in computer network approve transactions by following defined protocol and maintain record of transaction records. Cases of applications that take advantage of the characteristics of the technology can be organized as follows:   Many existing cases use the characteristic of “decentralized transactions” that trade energy (or ancillary objects to electricity such as attribute values associated with electricity and flexibility [1]). Those include cases that makes measured electricity digital assets, ones that performs settlements (financial transactions), and ones that combine the both. [1] Ability to respond to variations of demand and supply, not the value of electricity per-se   Energy transaction applications include peer-to-peer energy trading that is the most popular application in the energy sector, trading in wholesale market, grid management applications such as flexibility trading and virtual power plant (VPP), and disintermediation model that proposes means for consumers to access directly to wholesale market. Financial transaction applications include fundraising…
Going Through the CDP Life Cycle of Multi-Collateral DAI
Introduction MakerDAO released SAI as the Alpha version in December 2016, and DAI was released as a beta version in December 2017. DAI is currently a single-collateral model, which means you can lock only a single type of asset. Thus, DAI support only ETH(PETH, precisely speaking) right now, but they will upgrade this single-collateral DAI to multi-collateral DAI where they support more than one collateral types(PETH will be removed and regular ETH will be usable among other collateral). For example, they are planning to use Digix as its next asset, which is a token backed by physical gold. Eventually, multiple assets could be used to create a single CDP, including ETH, other ERC20 tokens, non-fungible tokens or other fungible token standards like ERC777.   This upgrade is expected to make it easy for people to create DAI and reduce the risk of under-collateralization through diversification of their collateral. People will have more options when they lock up their collateral. It’s risky to invest only with ETH because the collateralization ratio depends solely on the price of ETH. If you don’t understand how single-collateral DAI system works, I suggest that you read my previous blog before proceeding.   There are already the smart contracts for multi-collateral DAI test releases on Kovan testnet. They have also updated their tools to help us interact with the MCD system. You can check out a CDP portal site, a command line tool, Dai.js library and others. In this post, we are going to use their command line tool, mcd-cli, to go through the lifecycle of CDPs.   This guide is based on MakerDAO’s official guide on mcd-cli, but I added some explanations and set up instructions as I had a hard time understanding some parts of it. Also, keep in mind that this guide is…
Why Is DAI Stable?
Last year, a part of my salary was paid with ether. It made sense for both my client and me because it was easy and cost-efficient. As you may know, the market price of ether plummeted last year, and as a lazy person who didn’t bother exchanging it immediately with fiat money, I lost a fair amount of money. It was around that time of the bear market that I first seriously looked into stable coins. How wonderful is it if cryptocurrencies protect us from downward fluctuations without going through a tedious process of exchanging volatile cryptocurrencies with fiat money?
“FiNANCiE” aims to be the next Facebook or Instagram, but what is it? Founder Hironao Kunimitsu’s successful blockchain scenario
FiNANCiE, a new social network supporting personal dreams, released its open beta on March 7, 2019. It is the latest in a string of services such as crowdfunding and closed online communities that allow individuals to gather support and raise funds. But what makes FiNANCiE unique is that it uses blockchain technology to provide mechanisms not only for fundraising but also community mobilization, for example through service transparency and participant incentives. We asked founder Hironao Kunimitsu, who describes FiNANCiE as “next-generation social media to replace the approval-craving social media of today”, about the project’s development, technical aspects, and goals.
Energy Business and Blockchain #4 The latest trends in energy ICO
In my previous article, I looked at the dawn, present and future potential of energy trading platforms, the most popular application of blockchain technology in the energy sector. In this article, I will cover energy-sector ICOs. After first taking a bird’s-eye view of overall ICO trends beyond energy, we will then consider the future of ICOs in the energy sector. The current state of ICOs Following a sharp increase in ICOs in 2017, the first half of 2018 saw ICOs continue to boom with over 100 each month. A downward trend began in the second half, however, and according to Coin Schedule, January 2019 had only 24. Figure 1 shows Coin Schedule’s number of ICOs implemented each month from January 2016 to January 2019.1  1. Although the numbers differ depending on the source, this data is quoted from Coin Schedule, which provides data from 2016 to the present. I believe it is sufficient to observe the trend. Other sources include ICObench and Coindesk ICO tracker.   Figure 2 shows the change in the amount of capital raised through ICOs and the cryptocurrency market capitalization over the same period. The peaks are shifted slightly from the cryptocurrency market cap but show the same trend – a current downturn. The March and June 2018 peaks consist primarily of the super-large Telegram and EOS ICOs, which raised $1.7 billion (approx. 187 billion yen2) and $4.2 billion (approx. 462 billion yen) respectively. 2. The exchange rate is 110 yen per $1. Overview of energy-sector ICOs According to Coin Schedule, of ICOs implemented in 2018, “Energy and Utilities” projects raised $322 million (approx. 35.4 billion yen), 1.5% of the total. From the second quarter of 2017 to the first quarter of 2018, blockchain-related energy-sector startups raised almost the same amount, $324 million, 75% of which…
The birth of a new DApp project – Gene A.I.dols: Developers talk AI, blockchain, and other details
A new virtual celebrity DApp game, “Gene A.I.dols” (pronounced “Gene Idols”), was announced on February 14, 2019. In a nutshell, Gene A.I.dols is a blockchain-based DApp game in which players create and collect their own unique virtual idols (celebrities).
LINE’s new challenge: Realizing a token economy with the LINK blockchain
In 2018, LINE announced the concept of a LINE token economy, unveiling its efforts to develop its own blockchain and DApps platform. Establishing itself as a platform, not merely a smartphone app, it is becoming a major presence in areas such as games, music distribution, shopping, news, and AI. As it expands even into the financial sector, what does the company hope to accomplish with blockchain? This is what we asked Toshimasa Nasu, head of LINE Blockchain Lab, and Shinichiro Isago, who serves as a pipeline with the developer community.
Energy Business and Blockchain #3 Setting off the second wave of energy trading platform
In my previous article, I presented the trend of democratization of energy infrastructure investment that used be largely led by nations and corporations with large capitals, and the trend of proliferating infrastructure funds and financing that uses cryptocurrencies. I also reviewed benefit of applying characteristics of blockchain technology to energy infrastructure investment. In this article, I will discuss penetration of energy trading platform, the most popular application of blockchain technology in the energy sector. The first wave that started in 2016 2016 was the year when blockchain technology was first brought to the energy industry and exciting pilot projects that envisages future of energy industry started in different parts of the world. First, in April 2016, LO3 Energy, a startup company in the U.S.A. started operation of Brooklyn Microgrid in a corner of of Brooklyn, New York. It allows local residents to trade attributes of clean electricity generated by rooftop solar PVs of the local community in a peer-to-peer (P2P) fashion using blockchain technology. A novel concept of sharing energy among neighbours in the era of abundant distributed energy resources such as solar PVs drew attention.   In May, in the headquarter of Nasdaq in New York, a demonstration was conducted that converted electricity generated by solar PV in the Western U.S.A into certificates tradable on Nasdaq Linq, a blockchain-based market, using IoT technology developed by a Nevada-based startup, Filament. This demonstration presented that electricity can be easily traded using blockchain technology after being converted to a digital asset.   Subsequently in August, Power Ledger, an Australian startup company commenced a pilot of a P2P energy trading in National Lifestyle Village in Western Australia. Further, the company also started another pilot in Auckland, New Zealand, partnering with Vector Ltd., a New Zealand distribution utility. Like LO3 Energy, those are the…
DApp market pioneer: Good Luck 3 Inc. CEO Kazuhisa Inoue #02 – Putting all types of entertainment on the blockchain
Blockchain games, also called DApps (decentralized applications), play an important role as a component of the token economy. Successes such as CryptoKitties have emerged, but game design and revenue models unique to the blockchain continue to be discussed and explored within the industry. Amid this, Good Luck 3 Inc., together with CERES Inc., has developed Japan’s first Ethereum-based blockchain game, “Crypt-oink”. For part two of this two-part series, we asked Good Luck 3 CEO Kazuhisa Inoue, who says his entire company is focused on blockchain and DApps, about the DApp platform it is developing and his future outlook.
DApp market pioneer: Good Luck 3 Inc. CEO Kazuhisa Inoue #01 – Expanding the potential of blockchain games with “Crypt-oink”
Blockchain games, also called DApps (decentralized applications), play an important role as a component of the token economy. Successes such as CryptoKitties have emerged, but game design and revenue models unique to the blockchain continue to be discussed and explored within the industry. Amid this, Good Luck 3 Inc., together with CERES Inc., has developed Japan’s first Ethereum-based blockchain game, “Crypt-oink”. For part one of this two-part series, we asked Good Luck 3 CEO Kazuhisa Inoue, who says his entire company is focused on blockchain and DApps, about how it got into DApps and how business is going.
Energy Business and Blockchain #2 Financing in the era of infrastructure democratization
In my previous article, I reviewed the trend of deregulation and liberalization of the utility sector and explained that transactions that used to be self-contained internally are now being externalized, that customers’ DERs (Distributed Energy Resources) are being utilized for grid management upon increase in variable renewable energy such as solar PV and wind, and that platforms are being developed to realize the new concept of peer-to-peer (P2P) energy trading. In this article, I will discuss how blockchain technology and ICO (Initial Coin Offering) can be utilized for democratization of energy infrastructure. Still halfway on democratization of infrastructure Power generation plants, positioned on the upstream of energy infrastructure, used to be large scale, centralized, and built by state-run corporations or corporations with large capital. However, building power generation plants has become much less difficult because of cost reduction of solar PV and wind power technology in the past decade. A small-scale plant can be built on the rooftop of a house, unused land, or in a factory. Energy is being decentralized, and a foundation is being built for the democratization of infrastructure.   In Japan, solar PV has been booming since 2012, the year feed-in-tariff (FIT) started until around 2015. “Mega solar, ” megawatt-class (1MW=1,000kW, a 1MW plant can power approx. 200 houses) solar PV plants have been built all over Japan mainly for investment purpose. Solar PV plants of this scale require capital of 100s million yen (millions US dollars), and only corporations that have capitals in addition to capabilities of land procurement and development can built mega solar PV plants.   Under the current policy, owners of generation plants receive sales of energy that is funded by “renewable energy generation promotion levy” paid by organizations and households on top of electricity charges. If a owner of generation plants…
Energy Business and Blockchain #1 Utility System Reform and Uber/Airbnb
From the editor: Industries undergoing major reform tend to see aggressive implementation of new technologies and methods. This series looks at the electric utility/energy industry which, amid system reform, is producing numerous cases of blockchain applications and ICOs. Yasuhiko Ogushi, an expert in this field, will guide us through the topic. This first article gives a bird’s eye view of the changes occurring in the energy industry, while subsequent articles will go deeper into individual themes and case studies. New models emerging amid Around the world, blockchain application to the energy sector is increasing. There are over 80 organizations and consortiums leading development, and over 100 organizations implementing blockchain in the energy sector if companies participating as consortium members are included (writer’s own research; see writer’s blog covering the topic).   I believe this increase in application of blockchain to the energy sector is founded on changes over the past decades. In other words, if not for the changes in the electric utility industry in the last 20 years, experimental blockchain applications would not have penetrated the electric utility/energy industry to this extent.   What are these foundational changes? One is the liberalization of retail and generation as well as the unbundling of generation and transmission. Countries and regions have implemented this in different ways and at different times, but in Japan this is part of its Utility System Reform from 2015 to 2020. Traditionally, power companies have been vertically integrated, with generation, transmission, distribution, and retail carried out within the same organization. Japan was divided into ten regions, each having a vertically-integrated power company with a regional monopoly. However, after liberalization and unbundling, while transmission and distribution remained part of the regulated domain that provides and manages public infrastructure, generation and retail became competitive domains into which diverse businesses…
The challenge of credibility according to Vitalik Buterin – 4th Global Blockchain Summit in Shanghai
On September 11 and 12, the 4th Global Blockchain Summit was held in Shanghai, organized by China’s Wanxiang Blockchain Labs. Vitalik Buterin, founder of the Ethereum Foundation and chief scientist at Wanxiang, took to the stage again this year to discuss the possibilities and challenges associated with the blockchain from the perspective of mechanism design in a speech entitled “New Development of Blockchain Technology”. The following is an overview of his talk.  Resource allocation and system design through mathematical research Mechanism design is a field of economics that considers resource allocation rules and social system design. According to Buterin, mechanisms can be used for “incentivizing the production of things that are very valuable to not one person but to entire communities. They can be used for coordinating behavior in different ways.” Because of advances in mathematical research in recent years, opportunities to apply mechanisms to society more broadly are mounting. “I think that there are a lot of interesting synergies between [mechanisms and blockchains] and how blockchains as a technology can help implement many kinds of mechanisms, be a testing ground for many kinds of mechanisms, and what the limits of blockchain technology are in this area,” he said.   As examples, Buterin gave established mechanisms such as voting, auctions, and markets as well as recent focuses of discussion such as currency exchanges, including decentralized exchanges (DEX), and the Ethereum Name Service (ENS), a replacement for the Internet’s Domain Name System (DNS). ENS uses auctions, incorporating many economic and game theoretic components.   As an example of new ideas emerging outside of the blockchain, he introduced the concept of radical liberalism as found in Eric Glen Weyl’s book Radical Markets. Quadratic voting, also from the book, is an idea to reduce bias in voting, which is useful for optimizing fundraising…
The tide of decentralized business: Crowd Realty attempting to establish a P2P capital market – Takeshi Kito (Part 2)
Crowd Realty is a platform that matches fundraisers and investors like a peer-to-peer (P2P) investment bank. Could Crowd Realty represent a new fundraising model for the coming decentralized society? In Part 2, we ask Crowd Realty CEO Takeshi Kito about past projects and his goals.
The tide of decentralized business: Crowd Realty attempting to establish a P2P capital market – Takeshi Kito (Part 1)
Crowd Realty is a platform that matches fundraisers and investors like a peer-to-peer (P2P) investment bank. Offering a service combining real estate securitization and crowdfunding, it is unique in that it breaks with the received wisdom of high-entry-barrier public offering fundraising and allows organizations and even individuals to become project proposers and raise amounts ranging from small to comparable to J-REITs (Japanese real estate investment trusts). Could Crowd Realty represent a new fundraising model for the coming decentralized society? In Part 1, we ask Crowd Realty CEO Takeshi Kito about the company’s founding and business model.
How To Prevent Rich People From Gaming The DAICO System
The DAICO Model I have been thinking about the healthier practices of ICOs for a while, and this January I was intrigued by DAICO model that proposed a new way to think about a post-ICO governance. In a simple term, it allows token holders to assert meaningful control over the funds by bringing the concept of DAO(DAO * ICO = DAICO). If you don’t know what DAICO is, here is a summary. You can read the original post by Vitalik Buterin here.   The DAICO model cannot solve all the issues, but it is a step forward towards a more reasonable ICO market. The mere existence of a tap in the DAICO can make it impossible for token issuers to just run away with all of their funds.I am part of a team that implements this DAICO model, and we are facing some challenges especially in voting system. In this post, I discuss the biggest challenge in the voting. How To Prevent Rich People From Gaming The System The biggest concern in the DAICO, in terms of its likelihood, is how to prevent rich people from gaming the voting system. When the governance is tied to the ICO, it is not difficult to imagine that concentration of wealth yields concentration of political power. The paradox in the DAICO is that we have democracy and capitalism at once. Citizens in a democracy go to the ballot box with one vote for each; participants in a capitalist economy come to the marketplace with unequal resources and leave the marketplace with unequal rewards. These two concepts are inherently different because democracy depends on equality, capitalism on inequality(although even democratic voting system ends up non-democratic because of the political funding issue).   Unfortunately, we cannot have one person one vote system on the blockchain…
The coming age of ICOs? #03 GREEN FUNDING Takehiko Numata “ICOs break through the limits of crowdfunding and support diverse culture”
We asked Takehiko Numata, one of the first to use the internet to fundraise and a driver of the industry, about the potential and challenges of ICOs.
DAICO Open-source Framework, Part 5: DaicoPool.sol
In this part 5 of a series, we will cover the DaicoPool contract that manages the funds raised.   Each TokenSale contract sends the funds to the DaicoPool contract when it is finalized. Thus, all the funds raised through the token sales will be pooled in this contract, and then it starts to release the funds by following the tap amount you set up before the sale.   Here is the constructor: [crayon-647436f27aa9e723243018/]   You literally give the tap amount[wei/sec] to tap_amount. The project owner should give the same amount they specified in their white paper. Since the tap amount is in public, you could lose the trust from investors if you give the different value to it.   By the same token, you specify the amount of wei for your initial release for your_initialRelease. Inside the constructor, the Voting contract will be deployed and the tap amount and the self-destruction will be managed by the Voting contract.   State Transition The DaicoPool contract has three states. Initializing(before the project is in progress) The funds won’t be released yet. It receives the funds from the TokenSalecontract. ProjectInProgress(the project is in progress) The funds release depending on the tap amount. Destructed(after the self-destruction) This is the self-destructed state after the proposal of the self-destruction is passed. The funds won’t be released anymore, and token holders can get a refund.   Variables These are variables in this contract. [crayon-647436f27aaa8948587919/]   The Association with the TokenSaleManager The DaicoPool contract associates itself with the TokenSaleManager with the setTokenSaleContract() function in the DaicoPool contract when the TokenSaleManager contract is deployed. This setTokenSaleContract()function cannot be executed more than once.   The TokenSaleManager will be able to trigger the release of the funds with the startProject() function.   [crayon-647436f27aaad088514298/]   Start The Release of The Funds The TokenSaleManager contract executes the startProject() function in the DaicoPool when it is finalized after the token sale. This changes the state from Initializing to ProjectInProgress, which release the initial funds and start to release the tap depending on the amount you…
DAICO Open-source Framework, Part 4: TokenController.sol
I will talk about the TokenController contract in this post. The TokenController contract manages the issuance of tokens: it mints tokens as the owner of the token contract. It also serves as a controller that manages permission to mint tokens in each three phases of the token sale.   This is the constructor: [crayon-647436f27aed1169848081/]   State Transition The TokenContoller changes its state in this order below: before the token sale during the token sale after the token sale This is how the states are written in the contract: [crayon-647436f27aed9090327079/]   Mint Permission Here is how the TokenController manages permission to mint tokens: Before the token sale, only the project owner(the owner of the TokenController contract) can mint tokens. During the token sale, only the TokenSaleManager can issue tokens. When it receives ETH from an investor, the TokenController mints tokens via the TokenSaleManager. The project owner can no longer mint tokens at this state. After the token sale, nobody can issue tokens anymore. However, in the upcoming updates, we might make it possible to issue tokens when the proposal to issue extra tokens garners support from a majority. In this case, only the Voting contract will have the permission. This permission management is implemented in the mint() function. [crayon-647436f27aede558974589/]   Operation Flow Here is the operation flow of the TokenController. You can check the whole operation flow in the part 2 of this series. Deploy the TokenController (state: “before the token sale”) Transfer the ownership of the token contract to the TokenController The project owner(the owner of the TokenController) distributes tokens before the token sale with TokenController.mint() function. Change the state to “during the token sale” with TokenController.openTokenSale(). The TokenSaleManager executes the token sale. Finalize the TokenSaleManager, which calls closeTokenSale() in the TokenController. The state changes to “after the token sale”.   State Transition Functions Firstly, the constructor() changes the state to Init(before the token sale). Secondly, the openTokenSale() changes the state to the TokenSale(during the token sale). Finally, the closeTokenSale() changes the state to Public(after the token sale). [crayon-647436f27aee2483616588/]   Other Getter Functions…
DAICO Open-source Framework, Part 3: DaicovoStandardToken.sol
In part 1, we explained the structure of DAICOVO. And in part 2, we talked about the deployment and operation flow. In this part 3 of the series, we will look at the most basic contract: the token contract. Requirements of a Token We have DaicovoStandardToken contract as a template of a token contract. This contract is ERC20 compatible token with some extended features from ERC223. You can either use this template to issue tokens or use other types of tokens to start your ICOs with the DAICOVO. However, keep in mind that your token needs to meet requirements below.   ERC20 Interface [crayon-647436f27b291138963227/] Mintable Interface [crayon-647436f27b29a137099045/] Ownable Interface [crayon-647436f27b29d419756017/]   In the DAICOVO, tokens are issued(minted) through the TokenController: mint(address _to, uint256 _amount) function will be called from theTokenController. As only the owner of the contract can call mint, you need to transfer the ownership to the TokenController. Structure of DaicovoStandardToken The DaicovoStandardToken is the ERC20 compatible token contract template. We also borrowed some functions from the ERC223 token standard that eliminates the problem of lost tokens. On top of that, there are other functions and variables for flexibility. They also help us to solve known issues. You can see the members of the DaicovoStandardToken contract below.   We won’t mention members in ERC20 in this post. You can find more than enough articles about this standard online. *The DaicovoStandardToken contract is based on the code from ERC20 compatible contract in OpenZeppelin and ERC223 compatible contract from Dexaran. Both of them are OSS under the MIT license. Problems with ERC20 The problem with ERC20 is that tokens will be lost forever when ERC20 tokens are transferred to a contract address. This is why we borrowed some functions from ERC223 in the DaicovoStandardToken.   When you send ERC20 tokens in your balance, you use the transfer()function. If the recipient were an EOA(Externaly Owned Account), they will know that they receive tokens because humans are…
DAICO Open-source Framework, Part 2: Deployment and Operation Flow
In this part 2 of the series, we will talk about a deployment and operation flow of the DAICOVO. If you were going to use our contracts as it is, you can operate it by simply following the operation flow below.   We will cover the whole process in order: before the token sale, during the token sale, after the token sale, voting period and after the approval to the proposal. Until the Initial Token Distribution Deploy the DaicovoStandardToken contract. [crayon-647436f27b759646264569/] You may use your own ERC20 compatible token. But in that case, you need to inherit Mintable and Ownable contracts.   Register your white paper to WhitepaperVersioning contract(optional). This is optional. You don’t need to use this contract unless you want to execute your ICO on top of ICOVO platform. This contract prevents project owners from tempering with their white paper.   [crayon-647436f27b762027060078/] WhitepaperVersioning has an instance globally. You register your white paper on this instance. To be more specific, you register the white paper itself on IPFS and add the hash to the WhitepaperVersioning contract. This way, you can trace the change history. You can update the white paper every time you execute pushWhitepaper( ).   _contract should be Ownable and only the owner can register initially. For further updates, you can register from the address you registered first. This means that the initial registrar will have the authority to update for good even if the owner of _contract change later on.   Deploy the TokenController contract. [crayon-647436f27b766911231238/]   Transfer the ownership of the token. [crayon-647436f27b769033635327/] You change the owner to the TokenController by executing thetransferOwnership() function. The WhitepaperVersioning should be taken care of before this process because it changes the owner. After this change, the TokenController will be in charge of issuing tokens.   Issue tokens via the TokenController contract. They can distribute the tokens that will be allocated to their team members or marketing expenses. If you were to have closed sales, you can…