TW202125368A - Shares transfer system based on security token and method thereof - Google Patents

Shares transfer system based on security token and method thereof Download PDF

Info

Publication number
TW202125368A
TW202125368A TW108147650A TW108147650A TW202125368A TW 202125368 A TW202125368 A TW 202125368A TW 108147650 A TW108147650 A TW 108147650A TW 108147650 A TW108147650 A TW 108147650A TW 202125368 A TW202125368 A TW 202125368A
Authority
TW
Taiwan
Prior art keywords
transfer
smart contract
tax
tax payment
host
Prior art date
Application number
TW108147650A
Other languages
Chinese (zh)
Inventor
林祐德
陳明惠
Original Assignee
帳聯網路科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 帳聯網路科技股份有限公司 filed Critical 帳聯網路科技股份有限公司
Priority to TW108147650A priority Critical patent/TW202125368A/en
Publication of TW202125368A publication Critical patent/TW202125368A/en

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

A shares transfer system based on security token and method thereof is disclosed. By providing a blockchain network with a transfer smart contract and a tax smart contract, and generating a plurality of security tokens on the blockchain network according to a number of shares. When want to transfer the shares from a sender account to a receiver account, first sends the same number of shares of security token to the transfer smart contract and calculates a tax, and allows the sender host to execute the transfer smart contract for transmitting the security tokens to the receiver account after the tax payment is completed and a tax payment certificate is generated. The mechanism is help to improve the convenience and legality when transferring shares.

Description

基於證券型代幣的股份轉讓系統及其方法Share transfer system and method based on security token

本發明涉及一種股份轉讓系統及其方法,特別是基於證券型代幣的股份轉讓系統及其方法。The invention relates to a share transfer system and method, in particular to a share transfer system and method based on securities tokens.

近年來,隨著數位貨幣的普及與蓬勃發展,各種數位貨幣便如雨後春筍般出現。其中又以證券型代幣(Security Token)最受矚目。In recent years, with the popularity and vigorous development of digital currencies, various digital currencies have sprung up. Among them, security tokens have attracted the most attention.

一般而言,證券型代幣的操作方式與傳統的數位貨幣相似,持有者的操作,如:發送及接收等,皆不會受到限制,也就是說交易十分容易,故非常適合做為未上市或上市股票的交易憑證。然而,礙於各國法規的規範,例如:避免股份被隨意轉讓、繼承、逃稅、不當交易等情況,導致實務上不允許證券型代幣無限制地被隨意轉送,所以如何合理限制證券型代幣的交易,使其兼顧股份轉讓的便利性及適法性便成為各家廠商亟欲解決的問題之一。Generally speaking, the operation of security tokens is similar to that of traditional digital currencies. The holder’s operations, such as sending and receiving, will not be restricted, which means that the transaction is very easy, so it is very suitable for future use. Trading certificates of listed or listed stocks. However, due to the regulations of various countries, such as: avoiding the arbitrary transfer of shares, inheritance, tax evasion, improper trading, etc., the practice does not allow the securities tokens to be transferred at will, so how to reasonably restrict the securities tokens The transaction, which allows them to take into account the convenience and legality of share transfer has become one of the problems that manufacturers urgently want to solve.

有鑑於此,便有廠商提出在智能合約中預先定義一個監管者角色,每當持有者欲發送證券型代幣時需要監管者同意。如此一來,便能夠有效監管交易並且容易合乎法規要求。然而,由於此方式需要預先在智能合約中定義監管者角色,所以不但缺乏彈性,而且當監管者改變時,需要付出龐大的更新成本。事實上,證券型代幣之所以不允許隨意轉送,有相當大的原因在於稅務及權益管控問題,倘若能夠解決股份轉讓所衍生的稅務問題,例如,每次交易時須先解決稅務問題,那麼,證券型代幣的發送及接收便能夠受到監管,同時也能夠被允許轉送,進而兼顧股份轉讓的便利性及適法性。In view of this, some manufacturers have proposed to predefine a supervisor role in the smart contract, and the supervisor's consent is required whenever the holder wants to send security tokens. In this way, transactions can be effectively monitored and easily comply with regulatory requirements. However, since this method needs to define the role of the supervisor in the smart contract in advance, it is not only inflexible, but also requires huge update costs when the supervisor changes. In fact, the reason why securities tokens are not allowed to be transferred at will is due to the tax and equity control issues. If the tax issues arising from the transfer of shares can be resolved, for example, tax issues must be resolved in each transaction. , The sending and receiving of security tokens can be supervised, and at the same time they can be allowed to be transferred, thus taking into account the convenience and legality of share transfer.

綜上所述,可知先前技術中長期以來一直存在如何兼顧股份轉讓的便利性及適法性之問題,因此實有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that in the prior art, there has been a problem of how to balance the convenience and legality of share transfer for a long time. Therefore, it is necessary to propose improved technical means to solve this problem.

本發明揭露一種基於證券型代幣的股份轉讓系統及其方法。The invention discloses a stock transfer system and method based on security tokens.

首先,本發明揭露一種基於證券型代幣的股份轉讓系統,此系統包含:區塊鏈網路、公司端主機及發起方主機。其中,區塊鏈網路由多個節點組成,此區塊鏈網路具有轉讓智能合約及繳稅智能合約;公司端主機作為節點其中之一,用以預先根據股份數量,在區塊鏈網路上生成多個證券型代幣,並且僅允許透過轉讓智能合約轉移證券型代幣。First of all, the present invention discloses a stock transfer system based on security tokens. The system includes a blockchain network, a company-side host, and an initiator host. Among them, the blockchain network is composed of multiple nodes. This blockchain network has smart contracts for transfer and tax payment; the company-side host is one of the nodes, which is used to advance on the blockchain network based on the number of shares. Generate multiple security tokens, and only allow the transfer of security tokens through the transfer of smart contracts.

至於發起方主機連接所述節點或作為節點其中之一,所述發起方主機包含:發送模組、繳稅模組及轉讓模組。其中,發送模組用以當使用者欲自發起方帳號轉讓股份至接受方帳號時,提供設置轉讓數量,並且執行區塊鏈交易以透過發起方帳號將持有的且與轉讓數量相同的證券型代幣發送至轉讓智能合約,並且根據轉讓數量計算稅金以進行顯示並提示繳稅;繳稅模組連接發送模組,用以在計算出稅金後,允許執行繳稅智能合約的鏈上繳稅函式,此鏈上繳稅函式包含接收發起方主機發送的數位貨幣以繳納所述稅金,以及在偵測到稅金繳納完成後生成繳稅證明;轉讓模組連接繳稅模組,用以在偵測到繳稅證明生成後,執行轉讓智能合約中的轉讓請求函式,並且將繳稅證明帶入轉讓請求函式,其中,轉讓請求函式包含驗證繳稅證明,以及在繳稅證明通過驗證後,將發送到轉讓智能合約的證券型代幣轉送至接受方帳號。As for the initiator host connecting to the node or serving as one of the nodes, the initiator host includes: a sending module, a tax payment module, and a transfer module. Among them, the sending module is used to set the transfer amount when the user wants to transfer shares from the initiator account to the recipient account, and execute the blockchain transaction to hold the same securities as the transfer amount through the initiator account Type tokens are sent to the transfer smart contract, and the tax is calculated based on the transferred amount to display and prompt for tax payment; the tax payment module is connected to the sending module to allow the execution of the tax payment smart contract to be paid on the chain after the tax is calculated Tax function. The tax payment function on this chain includes receiving the digital currency sent by the initiator host to pay the tax, and generating a tax payment certificate after detecting the completion of the tax payment; the transfer module connects to the tax payment module and uses After detecting that the tax payment certificate is generated, execute the transfer request function in the transfer smart contract, and bring the tax payment certificate into the transfer request function, where the transfer request function includes the verification tax payment certificate and the tax payment After the proof is verified, the security tokens sent to the transfer smart contract will be transferred to the recipient's account.

另外,本發明揭露一種基於證券型代幣的股份轉讓方法,其步驟包括:提供由多個節點組成的區塊鏈網路,此區塊鏈網路上具有轉讓智能合約及繳稅智能合約;由作為所述節點其中之一的公司端主機,預先根據股份數量在區塊鏈網路上生成多個證券型代幣,並且僅允許透過轉讓智能合約轉移證券型代幣;當使用者欲自發起方帳號轉讓股份至接受方帳號時,於發起方主機設置轉讓數量,發起方主機執行區塊鏈交易以透過發起方帳號將持有的且與轉讓數量相同的證券型代幣發送至轉讓智能合約,並且根據轉讓數量計算稅金以進行顯示並提示繳稅;在計算出稅金後,允許發起方主機執行繳稅智能合約的鏈上繳稅函式,此鏈上繳稅函式包含接收發起方主機發送的數位貨幣以繳納所述稅金,以及在偵測到稅金繳納完成後生成繳稅證明;發起方主機偵測到繳稅證明生成後,執行轉讓智能合約中的轉讓請求函式,並且將繳稅證明帶入轉讓請求函式,其中,轉讓請求函式包含驗證繳稅證明,以及在繳稅證明通過驗證後,將發送到轉讓智能合約的證券型代幣轉送至接受方帳號。In addition, the present invention discloses a share transfer method based on security tokens, the steps of which include: providing a blockchain network composed of multiple nodes, and the blockchain network has a transfer smart contract and a tax payment smart contract; As one of the nodes, the company-side host generates multiple security tokens on the blockchain network according to the number of shares in advance, and only allows the transfer of security tokens through the transfer of smart contracts; when the user wants to self-initiate When the account transfers shares to the recipient account, the initiator host sets the transfer amount, and the initiator host executes the blockchain transaction to send the security tokens held by the initiator account and the same as the transfer amount to the transfer smart contract. And calculate the tax based on the transfer amount to display and prompt the tax payment; after the tax is calculated, the initiator host is allowed to execute the tax payment function on the chain of the tax payment smart contract. The tax payment function on this chain includes receiving the sender’s host The digital currency is used to pay the tax, and the tax payment certificate is generated after the tax payment is detected; the initiator host detects that the tax payment certificate is generated, executes the transfer request function in the transfer smart contract, and will pay the tax The certificate is brought into the transfer request letter, where the transfer request letter includes verification of the tax payment certificate, and after the tax payment certificate is verified, the security tokens sent to the transfer smart contract are transferred to the recipient's account.

本發明所揭露之系統與方法如上,與先前技術的差異在於本發明是透過提供具有轉讓智能合約及繳稅智能合約的區塊鏈網路,並且由公司端主機根據股份數量預先在區塊鏈網路上生成證券型代幣,當欲自發起方帳號轉讓股份至接收方帳號時,先將與轉讓數量相同的證券型代幣發送至轉讓智能合約並計算稅金,以及在繳稅完成且生成繳稅證明後,允許發起方主機執行轉讓智能合約,將發送到轉讓智能合約的證券型代幣轉送至接收方帳號。The system and method disclosed in the present invention are as above. The difference from the prior art is that the present invention provides a blockchain network with smart contracts for transfer and tax payment, and the company-side host pre-registers on the blockchain according to the number of shares. Security tokens are generated on the Internet. When you want to transfer shares from the originator’s account to the receiver’s account, first send the same security tokens as the transfer amount to the transfer smart contract and calculate the tax, and when the tax payment is completed and the payment is generated After the tax certificate, the initiator host is allowed to execute the transfer smart contract, and transfer the security tokens sent to the transfer smart contract to the recipient's account.

透過上述的技術手段,本發明可以達成兼顧股份轉讓的便利性及適法性之技術功效。Through the above-mentioned technical means, the present invention can achieve a technical effect that takes into account the convenience and legality of share transfer.

以下將配合圖式及實施例來詳細說明本發明之實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。The following describes the implementation of the present invention in detail with the drawings and embodiments, so as to fully understand and implement the implementation process of how the present invention uses technical means to solve technical problems and achieve technical effects.

在說明本發明所揭露之基於證券型代幣的股份轉讓系統及其方法之前,先對本發明所自行定義的名詞作說明,本發明所述的「轉讓智能合約」、「繳稅智能合約」、「簽章驗證智能合約」及「繳稅清單智能合約」皆是指發佈(Deploy)在區塊鏈網路上的智能合約(Smart Contract)。實際上,所述智能合約是指依據既定的條件及傳輸的資訊來驅動執行指令的電腦程式,具體而言,所述智能合約係透過程式語言,例如:Solidity、Serpent、LLL、EtherScript、Sidechain等等來撰寫,其可包含各種不同的函式(Function)、事件(Event)、參數狀態等等,以「Ethereum」為例,其智能合約是經編譯後得到二進位編碼及應用二進位介面(Application Binary Interface, ABI),以便將智能合約廣播至區塊鏈網路,等候礦工(Miner)或驗證者(Validator)將智能合約放上區塊鏈並得到相應的地址(或稱為合約地址),至此即透過區塊鏈交易完成智能合約的發佈。之後,各節點便可根據此地址執行相應的智能合約,並且藉由不同的指令來改變智能合約在區塊鏈上的狀態以及偵測事件是否被觸發。另外,所述「註冊(Registry)」是指執行智能合約的函式將另一個智能合約的地址儲存在智能合約中,如:儲存在陣列,亦即將智能合約註冊在另一個智能合約中,使兩個智能合約產生關聯。舉例來說,假設預先在區塊鏈上發佈第一個智能合約,其地址為「0x1a…」,之後又在區塊鏈上發佈相關聯的第二個智能合約,其地址為「0x2b…」,那麼在進行註冊時會將第二個智能合約的地址「0x2b…」儲存至地址為「0x1a…」的第一個智能合約中。如此一來,雖然在發佈第二個智能合約之前,各方無法得知第二個智能合約的地址,也不知道第二個智能合約會在甚麼時候發佈,但是藉由此註冊方式,當發佈第二個智能合約之後,各方便能夠透過第一個智能合約的變化即時得知第二個智能合約已經發佈,並且從中查到第二個智能合約的地址,進而根據第二個智能合約的地址呼叫/執行第二智能合約的函式。Before describing the stock transfer system and method based on security tokens disclosed in the present invention, the self-defined terms of the present invention will be explained. The “transfer smart contract”, “tax payment smart contract”, "Signature verification smart contract" and "Tax Payment List Smart Contract" both refer to the smart contract (Deploy) on the blockchain network (Smart Contract). In fact, the smart contract refers to a computer program that drives the execution of instructions based on established conditions and transmitted information. Specifically, the smart contract uses programming languages such as Solidity, Serpent, LLL, EtherScript, Sidechain, etc. It can include various functions, events, parameter states, etc., take "Ethereum" as an example. The smart contract is compiled to obtain binary code and apply binary interface ( Application Binary Interface, ABI) in order to broadcast the smart contract to the blockchain network, waiting for the miner or validator to put the smart contract on the blockchain and get the corresponding address (or called the contract address) , So far, the release of the smart contract is completed through the blockchain transaction. After that, each node can execute the corresponding smart contract according to this address, and use different commands to change the state of the smart contract on the blockchain and detect whether the event is triggered. In addition, the “Registry” refers to the function that executes the smart contract to store the address of another smart contract in the smart contract, such as storing in an array, that is, registering the smart contract in another smart contract to make Two smart contracts are related. For example, suppose that the first smart contract is published on the blockchain in advance, its address is "0x1a...", and then the second associated smart contract is published on the blockchain, and its address is "0x2b..." , Then when registering, the address of the second smart contract "0x2b..." will be stored in the first smart contract with the address "0x1a...". In this way, although the parties cannot know the address of the second smart contract or when the second smart contract will be released before the second smart contract is released, but with this registration method, when the second smart contract is released After the second smart contract, everyone can instantly know that the second smart contract has been released through the change of the first smart contract, and find the address of the second smart contract from it, and then according to the address of the second smart contract Call/execute the function of the second smart contract.

以下配合圖式對本發明基於證券型代幣的股份轉讓系統及其方法做進一步說明,請先參閱「第1圖」,「第1圖」為本發明基於證券型代幣的股份轉讓系統的系統方塊圖,此系統包含:區塊鏈網路110、公司端主機120、發起方主機130。其中,區塊鏈網路110由多個節點所組成,各節點分別為具有網路功能的計算機裝置,如:個人電腦、筆記型電腦、伺服器等等。另外,所述區塊鏈網路110包含比特幣(Bitcoin)區塊鏈網路、以太坊(Ethereum)區塊鏈網路或其它相似的區塊鏈網路,並且已預先在區塊鏈網路110上發佈有「轉讓智能合約」及「繳稅智能合約」。在實際實施上,每一節點之間為點對點(Peer to Peer, P2P)連線,並且由作為所述節點其中之一的監管端主機在區塊鏈網路110上發佈「轉讓智能合約」及「繳稅智能合約」;或者由監管端主機發佈「轉讓智能合約」,以及由作為所述節點其中之一的稅務端主機在區塊鏈網路110上發佈「繳稅智能合約」。另外,所述監管端主機還可在區塊鏈網路110上發佈簽章驗證智能合約及繳稅清單智能合約,所述簽章驗證智能合約用以驗證由鏈下繳稅函式生成的繳稅證明之數位簽章,所述繳稅清單智能合約提供繳稅智能合約註冊繳稅智能合約地址,當繳稅清單智能合約中存在繳稅智能合約地址時,即可判斷為繳稅證明通過驗證,舉例來說,每筆交易可產生相應的繳稅智能合約,並且在透過此繳稅智能合約完成繳稅後,將此繳稅智能合約的地址(即:繳稅智能合約地址)註冊至繳稅清單智能合約中。特別要說明的是,所述轉讓智能合約及繳稅智能合約分別具有相應的合約地址,以及可具有共同的標準介面,以便透過合約地址及標準介面允許轉讓智能合約及繳稅智能合約之間相互傳遞訊息及呼叫函式,舉例來說,假設欲經由「轉讓智能合約」呼叫「繳稅智能合約」時,可以給予「繳稅智能合約」的合約地址,以便讓「轉讓智能合約」能夠自動到「繳稅智能合約」檢驗繳稅情況,例如:呼叫「繳稅智能合約」中的函式來偵測區塊鏈上是否存在相應的繳稅證明,若存在代表已完成繳稅,反之則代表尚未完成繳稅;反過來也可以讓「繳稅智能合約」去呼叫「轉讓智能合約」中的函式,主動通知「轉讓智能合約」已完成繳稅,進而執行後續的其它相關動作,如:生成繳稅證明。The following diagrams will further explain the stock transfer system and method based on the security token of the present invention. Please refer to "Figure 1" first. The "Figure 1" is the system of the stock transfer system based on the security token of the present invention. As a block diagram, this system includes: a blockchain network 110, a company-side host 120, and an initiator host 130. Among them, the blockchain network 110 is composed of multiple nodes, and each node is a computer device with network functions, such as a personal computer, a notebook computer, a server, and so on. In addition, the blockchain network 110 includes a Bitcoin (Bitcoin) blockchain network, an Ethereum (Ethereum) blockchain network or other similar blockchain networks, and has been pre-registered on the blockchain network. "Transfer Smart Contract" and "Tax Payment Smart Contract" are published on Road 110. In actual implementation, each node is a peer-to-peer (P2P) connection, and the supervisory host as one of the nodes publishes the "transfer smart contract" on the blockchain network 110 and "Tax payment smart contract"; or a "transfer smart contract" issued by the supervisory host, and a "tax payment smart contract" issued by the tax host as one of the nodes on the blockchain network 110. In addition, the supervisory end host can also publish the signature verification smart contract and the tax payment list smart contract on the blockchain network 110. The signature verification smart contract is used to verify the payment generated by the off-chain tax payment function. The digital signature of the tax certificate. The smart contract of the tax payment list provides the address of the tax payment smart contract to register the tax payment smart contract. When the tax payment smart contract address exists in the tax payment list smart contract, it can be judged that the tax payment certificate has passed the verification For example, each transaction can generate a corresponding tax payment smart contract, and after the tax payment is completed through this tax payment smart contract, the address of this tax payment smart contract (ie: the tax payment smart contract address) is registered to the payment Tax list smart contract. In particular, the transfer smart contract and the tax payment smart contract have corresponding contract addresses, and may have a common standard interface, so as to allow the transfer of the smart contract and the tax payment smart contract to interact with each other through the contract address and the standard interface. Send messages and call functions. For example, if you want to call the "Tax Payment Smart Contract" via the "Transfer Smart Contract", you can give the contract address of the "Tax Payment Smart Contract" so that the "Transfer Smart Contract" can automatically arrive "Tax Payment Smart Contract" checks the tax payment situation, for example: calling the function in "Tax Payment Smart Contract" to detect whether there is a corresponding tax payment certificate on the blockchain. If there is a tax payment certificate, it means that the tax payment has been completed, otherwise it means Tax payment has not yet been completed; conversely, the "tax payment smart contract" can also call the function in the "transfer smart contract" to proactively notify the "transfer smart contract" that the tax payment has been completed, and then perform other subsequent related actions, such as: Generate tax payment certificate.

公司端主機120作為節點其中之一,用以預先根據股份數量,在區塊鏈網路110上生成多個證券型代幣,並且僅允許透過所述的「轉讓智能合約」轉移證券型代幣。在實際實施上,假設區塊鏈網路110是基於以太坊(Ethereum)的區塊鏈架構,那麼,生成證券型代幣的方式可以透過ERC20、ERC721、ERC1400或ERC1410等標準,以智能合約建立運行在此區塊鏈網路110上的代幣(Token)作為證券型代幣,舉例來說,假設股份數量為數值「10,000」,可根據此股份數量生成相同或等比數量的證券型代幣,例如:生成「10,000」個或其倍數的證券型代幣。另外,所述轉讓智能合約可以自動檢查接受者是否符合授與條件,例如,是否超過年度授與量、單一公司授與上限等等,倘若不符合便取消授與,以及驗證繳稅證明,當驗證成功後即可自動將證券型代幣轉發給接受者。The company host 120 is used as one of the nodes to generate multiple security tokens on the blockchain network 110 according to the number of shares in advance, and only allow the transfer of security tokens through the "transfer smart contract" . In actual implementation, assuming that the blockchain network 110 is based on the blockchain architecture of Ethereum, then the method of generating security tokens can be established with smart contracts through standards such as ERC20, ERC721, ERC1400 or ERC1410 Tokens running on this blockchain network 110 are used as security tokens. For example, if the number of shares is "10,000", the same or proportional number of security tokens can be generated based on the number of shares. Currency, for example: generate "10,000" or a multiple of security tokens. In addition, the transfer smart contract can automatically check whether the recipient meets the grant conditions, for example, whether it exceeds the annual grant amount, the upper limit of the single company grant, etc., if not, cancel the grant, and verify the tax payment certificate. After the verification is successful, the security token can be automatically forwarded to the recipient.

接著,在發起方主機130的部分,發起方主機130連接所述節點或作為節點其中之一,其包含:發送模組131、繳稅模組132及轉讓模組133。其中,發送模組131用以當使用者欲自發起方帳號轉讓股份至接受方帳號時,提供設置轉讓數量,並且執行區塊鏈交易以透過發起方帳號將持有的且與轉讓數量相同的證券型代幣發送至轉讓智能合約,並且根據轉讓數量計算稅金以進行顯示並提示繳稅。換句話說,當股份轉讓者(或稱之為使用者)要轉讓股份給股份接受者時,會先將相應數量的證券型代幣從股份轉讓者的帳號發送至轉讓智能合約,以便後續由這個轉讓智能合約判斷是否已完成繳稅,若是,便將接收到的證券型代幣發送至股份接受者的帳號,反之則不發送證券型代幣,也就是說,執行的轉讓智能合約在判斷轉讓股份尚未完成繳稅時,此轉讓智能合約便不允許將證券型代幣從股份轉讓者的帳號直接發送至股份接受者的帳號。在實際實施上,為了符合金融法規,所述股份轉讓者的帳號與股份接受者的帳號皆需要預先經過實名驗證,例如透過認識你的客戶(Know Your Customer, KYC)來實現實名驗證。另外,在計算稅金的部分,其可透過智能合約進行計算,例如在智能合約中預先宣告計算稅金的公式,當執行此智能合約並帶入轉讓數量時,即可自動將轉讓數量帶入公式計算出稅金。Then, in the part of the initiator host 130, the initiator host 130 connects to the node or serves as one of the nodes, which includes: a sending module 131, a tax payment module 132, and a transfer module 133. Among them, the sending module 131 is used for when the user wants to transfer shares from the originator account to the recipient account, it is used to set the transfer amount, and execute the blockchain transaction to hold the same amount as the transfer amount through the initiator account The security token is sent to the transfer smart contract, and the tax is calculated based on the transferred amount to display and prompt for tax payment. In other words, when the share transferor (or user) wants to transfer shares to the share receiver, the corresponding amount of security tokens will be sent from the share transferor’s account to the transfer smart contract for subsequent transfers. This transfer smart contract judges whether the tax payment has been completed. If it is, the received security token is sent to the account of the share taker. Otherwise, the security token is not sent, that is, the executed transfer smart contract is judging When the transfer of shares has not yet completed tax payment, this transfer smart contract does not allow the security tokens to be sent directly from the account of the share transferor to the account of the share receiver. In actual implementation, in order to comply with financial regulations, both the account of the share transferor and the account of the share taker need to undergo real-name verification in advance, for example, to achieve real-name verification through Know Your Customer (KYC). In addition, in the calculation of taxes, it can be calculated through smart contracts. For example, the formula for calculating taxes is announced in the smart contract. When the smart contract is executed and the transfer amount is brought in, the transfer amount can be automatically included in the formula calculation Tax out.

繳稅模組132連接發送模組131,用以當使用在計算出稅金後,允許執行繳稅智能合約的鏈上繳稅函式,此鏈上繳稅函式包含接收發起方主機發送的數位貨幣以繳納所述稅金,以及在偵測到稅金繳納完成後生成繳稅證明。在實際實施上,所述繳稅證明可包含多個條件參數,如:識別碼、繳稅日期、繳稅金額及繳稅類別等訊息,並且允許多個驗證單位驗證此繳稅證明中的每一條件參數,當所有條件參數皆通過驗證時,才允許將已發送到轉讓智能合約的證券型代幣轉送至接受方帳號。實際上,假設繳稅是在鏈上進行(如:在鏈上透過數位貨幣繳納),那麼在繳納的同時可以直接在鏈上標註成已經繳納,用以作為繳稅證明;假設繳稅是在鏈下進行(如:在鏈下接收實體貨幣),就會需要由收到稅金的一方執行智能合約,讓繳稅證明的簽章或雜湊值可以透過智能合約上鏈以便作為勾稽之用。由於繳稅可透過鏈上或鏈下進行,所以如何偵測稅金繳納完成的方式,同樣也可分為鏈上繳稅及鏈下繳稅兩部分,前者可偵測指定帳戶是否收到來自稅務人的數位貨幣,後者則需要收稅方在完成收稅之後執行智能合約,以便在區塊鏈上提供繳稅證明的簽章或雜湊值,之後其他方即可在區塊鏈上偵測是否存在繳稅證明的簽章或雜湊值,若存在即代表繳納完成,反之則代表繳納未完成。The tax payment module 132 is connected to the sending module 131 to use the chain tax payment function that allows the execution of the tax payment smart contract after the tax is calculated. This chain tax payment function contains the digital data sent by the host host. Currency to pay the tax, and a tax payment certificate is generated after the completion of the tax payment is detected. In actual implementation, the tax payment certificate may include multiple condition parameters, such as identification code, tax payment date, tax payment amount, tax payment category and other information, and multiple verification units are allowed to verify each tax payment certificate. A condition parameter. Only when all condition parameters pass the verification, the security tokens that have been sent to the transfer smart contract are allowed to be transferred to the recipient account. In fact, assuming that the tax is paid on the chain (for example, the payment is made through digital currency on the chain), then it can be directly marked on the chain as a tax payment certificate while paying. It is assumed that the tax is paid in Off-chain (such as receiving physical currency off-chain) requires the party receiving the tax to execute the smart contract, so that the signature or hash value of the tax payment certificate can be uploaded to the chain through the smart contract for verification purposes. Since tax payment can be done on-chain or off-chain, how to detect the completion of tax payment can also be divided into two parts: on-chain tax payment and off-chain tax payment. The former can detect whether the specified account receives tax from tax Human digital currency, the latter requires the tax collector to execute a smart contract after completing the tax collection, so as to provide the signature or hash value of the tax payment certificate on the blockchain, and then other parties can detect whether it is on the blockchain If there is a signature or hash value of the tax payment certificate, if it exists, it means that the payment is completed, otherwise, it means that the payment is not completed.

轉讓模組133連接繳稅模組132,用以在偵測到繳稅證明生成後,執行轉讓智能合約中的轉讓請求函式,並且將繳稅證明帶入轉讓請求函式,其中,轉讓請求函式包含驗證繳稅證明,以及在繳稅證明通過驗證後,將發送到轉讓智能合約的證券型代幣轉送至接受方帳號。以驗證繳稅證明為例,假設未繳稅,可以將轉讓智能合約中作為繳稅證明的參數狀態設為數值「0」,假設已完成繳稅,可將轉讓智能合約中作為繳稅證明的參數狀態設為數值「1」。如此一來,可以透過偵測此參數狀態的數值來得知是否已完成繳稅。另外,所述參數狀態亦可儲存與繳稅相關的訊息,如:繳稅識別碼、繳稅日期、繳稅金額及繳稅類別等訊息,這些訊息還可以透過金融憑證進行數位簽章,以便在監管端主機於區塊鏈網路110上發佈簽章驗證智能合約的情況下,透過執行此簽章驗證智能合約來驗證數位簽章,用以判斷繳稅證明的資料真偽。舉例來說,可以將繳稅識別碼、繳稅日期、繳稅金額及繳稅類別等訊息儲存在智能合約中的陣列中,並且以金融憑證對這些訊息進行數位簽章後,將生成的數位簽章一併儲存在陣列中以提供驗證之用。The transfer module 133 is connected to the tax payment module 132 to execute the transfer request function in the transfer smart contract after detecting that the tax payment certificate is generated, and bring the tax payment certificate into the transfer request function, where the transfer request The function includes verification of the tax payment certificate, and after the tax payment certificate is verified, the security token sent to the transfer smart contract is transferred to the recipient account. Take verification of the tax payment certificate as an example. Assuming that the tax has not been paid, the parameter status of the tax payment certificate in the transfer smart contract can be set to the value "0". Assuming that the tax payment has been completed, the transfer smart contract can be used as the tax payment certificate The parameter status is set to the value "1". In this way, it is possible to know whether the tax payment has been completed by detecting the value of this parameter state. In addition, the parameter status can also store information related to tax payment, such as: tax payment identification code, tax payment date, tax payment amount, tax payment category and other information. These messages can also be digitally signed through financial certificates to facilitate When the supervising host publishes the signature verification smart contract on the blockchain network 110, the digital signature is verified by executing the signature verification smart contract to determine the authenticity of the tax payment certificate. For example, you can store information such as tax payment identification code, tax payment date, tax payment amount, and tax payment type in an array in a smart contract, and after digitally signing these messages with a financial certificate, the generated digital The signature is also stored in the array for verification purposes.

另外,本發明所述基於證券型代幣的股份轉讓系統還可包含收稅主機140,此收稅主機140作為所述節點其中之一,用以當使用者進行鏈下繳稅時,在收稅單位收到與稅金等值的法定貨幣後,執行繳稅智能合約的鏈下繳稅函式,用以直接生成繳稅證明。在實際實施上,此處直接生成繳稅證明的方式是指收稅單位在判斷已經收到稅金後,直接透過繳稅智能合約地址修改繳稅智能合約的參數狀態來生成繳稅證明,而不是先藉由繳稅智能合約偵測是否收到代表稅金的數位貨幣,接著再根據收到稅金生成相應的繳稅證明。In addition, the share transfer system based on security tokens of the present invention may also include a tax collection host 140. This tax collection host 140 is used as one of the nodes to collect taxes when users pay taxes off-chain. After the tax unit receives the legal currency equivalent to the tax, it executes the off-chain tax payment function of the tax payment smart contract to directly generate the tax payment certificate. In actual implementation, the method of directly generating a tax payment certificate here means that after the tax collector determines that the tax has been received, it directly generates the tax payment certificate by modifying the parameter status of the tax payment smart contract through the tax payment smart contract address, not First, the tax payment smart contract is used to detect whether the digital currency representing the tax has been received, and then the corresponding tax payment certificate is generated based on the received tax.

特別要說明的是,在實際實施上,本發明所述的各模組皆可利用各種方式來實現,包含軟體、硬體或其任意組合,例如,在某些實施方式中,各模組可利用軟體及硬體或其中之一來實現,除此之外,本發明亦可部分地或完全地基於硬體來實現,例如,系統中的一個或多個模組可以透過積體電路晶片、系統單晶片(System on Chip, SoC)、複雜可程式邏輯裝置(Complex Programmable Logic Device, CPLD)、現場可程式邏輯閘陣列(Field Programmable Gate Array, FPGA)等來實現。本發明可以是系統、方法及/或電腦程式。電腦程式可以包括電腦可讀儲存媒體,其上載有用於使處理器實現本發明的各個方面的電腦可讀程式指令,電腦可讀儲存媒體可以是可以保持和儲存由指令執行設備使用的指令的有形設備。電腦可讀儲存媒體可以是但不限於電儲存設備、磁儲存設備、光儲存設備、電磁儲存設備、半導體儲存設備或上述的任意合適的組合。電腦可讀儲存媒體的更具體的例子(非窮舉的列表)包括:硬碟、隨機存取記憶體、唯讀記憶體、快閃記憶體、光碟、軟碟以及上述的任意合適的組合。此處所使用的電腦可讀儲存媒體不被解釋爲瞬時信號本身,諸如無線電波或者其它自由傳播的電磁波、通過波導或其它傳輸媒介傳播的電磁波(例如,通過光纖電纜的光信號)、或者通過電線傳輸的電信號。另外,此處所描述的電腦可讀程式指令可以從電腦可讀儲存媒體下載到各個計算/處理設備,或者通過網路,例如:網際網路、區域網路、廣域網路及/或無線網路下載到外部電腦設備或外部儲存設備。網路可以包括銅傳輸電纜、光纖傳輸、無線傳輸、路由器、防火牆、交換器、集線器及/或閘道器。每一個計算/處理設備中的網路卡或者網路介面從網路接收電腦可讀程式指令,並轉發此電腦可讀程式指令,以供儲存在各個計算/處理設備中的電腦可讀儲存媒體中。執行本發明操作的電腦程式指令可以是組合語言指令、指令集架構指令、機器指令、機器相關指令、微指令、韌體指令、或者以一種或多種程式語言的任意組合編寫的原始碼或目的碼(Object Code),所述程式語言包括物件導向的程式語言,如:Common Lisp、Python、C++、Objective-C、Smalltalk、Delphi、Java、Swift、C#、Perl、Ruby與PHP等,以及常規的程序式(Procedural)程式語言,如:C語言或類似的程式語言。計算機可讀程式指令可以完全地在電腦上執行、部分地在電腦上執行、作爲一個獨立的軟體執行、部分在客戶端電腦上部分在遠端電腦上執行、或者完全在遠端電腦或伺服器上執行。In particular, it should be noted that, in actual implementation, each module described in the present invention can be implemented in various ways, including software, hardware, or any combination thereof. For example, in some embodiments, each module can be It can be implemented by software and hardware or one of them. In addition, the present invention can also be implemented partially or completely based on hardware. For example, one or more modules in the system can be implemented through integrated circuit chips, System on Chip (SoC), Complex Programmable Logic Device (CPLD), Field Programmable Gate Array (FPGA), etc. are implemented. The invention can be a system, a method and/or a computer program. The computer program may include a computer-readable storage medium loaded with computer-readable program instructions for enabling a processor to implement various aspects of the present invention. The computer-readable storage medium may be a tangible that can hold and store instructions used by an instruction execution device. equipment. The computer-readable storage medium can be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer-readable storage media include hard disks, random access memory, read-only memory, flash memory, optical disks, floppy disks, and any suitable combination of the foregoing. The computer-readable storage medium used herein is not interpreted as the instantaneous signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, optical signals through fiber optic cables), or through wires Transmission of electrical signals. In addition, the computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. To an external computer device or external storage device. The network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, hubs and/or gateways. The network card or network interface in each computing/processing device receives computer-readable program instructions from the network, and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device middle. The computer program instructions that perform the operations of the present invention can be combined language instructions, instruction set architecture instructions, machine instructions, machine-related instructions, micro instructions, firmware instructions, or source code or object code written in any combination of one or more programming languages (Object Code), the programming language includes object-oriented programming languages, such as: Common Lisp, Python, C++, Objective-C, Smalltalk, Delphi, Java, Swift, C#, Perl, Ruby and PHP, etc., as well as conventional programs Procedural programming language, such as C language or similar programming language. Computer-readable program instructions can be executed entirely on the computer, partly on the computer, executed as a stand-alone software, partly on the client computer and partly on the remote computer, or entirely on the remote computer or server Executed on.

請參閱「第2A圖」及「第2B圖」,「第2A圖」及「第2B圖」為本發明基於證券型代幣的股份轉讓方法的方法流程圖,應用在區塊鏈網路中,其步驟包括:提供由多個節點組成的區塊鏈網路110,此區塊鏈網路110上具有轉讓智能合約及繳稅智能合約(步驟210);由作為所述節點其中之一的公司端主機120,預先根據股份數量在區塊鏈網路110上生成多個證券型代幣,並且僅允許透過轉讓智能合約轉移證券型代幣(步驟220);當使用者欲自發起方帳號轉讓股份至接受方帳號時,於發起方主機130設置轉讓數量,發起方主機130執行區塊鏈交易以透過發起方帳號將持有的且與轉讓數量相同的證券型代幣發送至轉讓智能合約,並且根據轉讓數量計算稅金以進行顯示並提示繳稅(步驟230);在計算出稅金後,允許由發起方主機130執行繳稅智能合約的鏈上繳稅函式,此鏈上繳稅函式包含接收發起方主機130發送的數位貨幣以繳納所述稅金,以及在偵測到稅金繳納完成後生成繳稅證明(步驟240);發起方主機130偵測到繳稅證明生成後,執行轉讓智能合約中的轉讓請求函式,並且將繳稅證明帶入轉讓請求函式,其中,轉讓請求函式包含驗證繳稅證明,以及在繳稅證明通過驗證後,將發送到轉讓智能合約的證券型代幣轉送至接受方帳號(步驟250)。透過上述步驟,即可透過提供具有轉讓智能合約及繳稅智能合約的區塊鏈網路110,並且由公司端主機120根據股份數量預先在區塊鏈網路110上生成證券型代幣,當欲自發起方帳號轉讓股份至接收方帳號時,先將與轉讓數量相同的證券型代幣發送至轉讓智能合約並計算稅金,以及在繳稅完成且生成繳稅證明後,允許發起方主機130執行轉讓智能合約,將發送到轉讓智能合約的證券型代幣轉送至接收方帳號。Please refer to "Figure 2A" and "Figure 2B". "Figure 2A" and "Figure 2B" are the method flowcharts of the security token-based share transfer method of the present invention, which is applied in the blockchain network , The steps include: providing a blockchain network 110 composed of multiple nodes, the blockchain network 110 has a transfer smart contract and a tax payment smart contract (step 210); The company-side host 120 generates multiple security tokens on the blockchain network 110 according to the number of shares in advance, and only allows the transfer of security tokens through the transfer of smart contracts (step 220); when the user wants to self-initiate an account When transferring shares to the recipient account, set the transfer amount in the initiator host 130, and the initiator host 130 executes the blockchain transaction to send the security tokens held by the initiator account and the same as the transfer amount to the transfer smart contract , And calculate the tax based on the transfer amount to display and prompt for tax payment (step 230); after the tax is calculated, the initiator host 130 is allowed to execute the tax payment function on the chain of the tax payment smart contract, and the tax payment letter on this chain The formula includes receiving the digital currency sent by the initiator host 130 to pay the tax, and generating a tax payment certificate after detecting that the tax payment is completed (step 240); after the initiator host 130 detects that the tax payment certificate is generated, execute the transfer The transfer request function in the smart contract, and the tax payment certificate is brought into the transfer request function, where the transfer request function contains the verification tax payment certificate, and after the tax payment certificate is verified, it will be sent to the securities for the transfer smart contract The type token is transferred to the recipient account (step 250). Through the above steps, you can provide the blockchain network 110 with the transfer smart contract and the tax payment smart contract, and the company-side host 120 will pre-generate security tokens on the blockchain network 110 according to the number of shares. To transfer shares from the initiator account to the recipient account, first send the security tokens with the same amount of transfer to the transfer smart contract and calculate the tax, and after the tax payment is completed and the tax payment certificate is generated, the initiator host 130 is allowed Execute the transfer smart contract, and transfer the security tokens sent to the transfer smart contract to the recipient's account.

另外,在步驟240之後,還可在鏈上繳稅函式未接收到稅金時,允許收稅單位在收到與稅金等值的法定貨幣後,透過作為節點其中之一的收稅主機140執行繳稅智能合約的鏈下繳稅函式,用以直接生成繳稅證明(步驟241)。換句話說,在無法使用數位貨幣鏈上繳稅的情況下,可以在鏈下繳稅後,由收稅單位的收稅主機140執行繳稅智能合約的鏈下繳稅函式來生成繳稅證明,例如:直接文字、符號或數值等方式註記為已繳稅。In addition, after step 240, when the tax payment function on the chain does not receive the tax, the tax collector is allowed to execute the tax collection host 140 as one of the nodes after receiving the legal currency equivalent to the tax. The off-chain tax payment function of the tax payment smart contract is used to directly generate the tax payment certificate (step 241). In other words, in the case that the digital currency chain cannot be used to pay taxes, after the tax is paid off-chain, the tax collection host 140 of the tax collection unit executes the off-chain tax payment function of the tax payment smart contract to generate the tax payment. Proof, such as: direct words, symbols, or numerical values are marked as tax paid.

以下配合「第3圖」及「第4圖」以實施例的方式進行如下說明,請先參閱「第3圖」,「第3圖」為應用本發明轉讓股份之示意圖。假設使用者要將自己持有的股份轉讓給另一個人時,可開啟轉讓視窗300將相應數量的證券型代幣進行轉讓,其中,轉讓視窗300可使用不同的顯示區塊(311、312)分別顯示使用者的持有數量及帳號(即:發起方帳號)。接著,使用者可在輸入區塊321中輸入數值作為轉讓數量,以及在輸入區塊322輸入對方的帳號(即:接收方帳號)。當輸入數值作為轉讓數量後,可自動計算出稅金並顯示在顯示區塊313。接下來,假設使用者確認無誤即可點選轉讓元件323,使發起方主機130執行區塊鏈交易以透過發起方帳號將持有的且與轉讓數量相同的證券型代幣發送至轉讓智能合約,接著,由發起方主機130執行繳稅智能合約的鏈上繳稅函式,以便在鏈上繳稅函式接收到發起方主機發送的數位貨幣時,視為已繳納相應轉讓數量的稅金,並且生成相應的繳稅證明。此時,發起方主機130會偵測到繳稅證明已經被生成,故執行轉讓智能合約中的轉讓請求函式(如:「requestTransfer()」),並且將此繳稅證明帶入此轉讓請求函式,以便轉讓請求函式驗證繳稅證明,以及在繳稅證明通過驗證後,將發送到轉讓智能合約的證券型代幣轉送至接受方帳號。至此,即完成證券型代幣的轉移,同時也代表完成股份的轉讓。The following description will be given in the form of an embodiment in conjunction with "Figure 3" and "Figure 4". Please refer to "Figure 3" first. "Figure 3" is a schematic diagram of applying the present invention to transfer shares. Assuming that when a user wants to transfer his own shares to another person, he can open the transfer window 300 to transfer a corresponding amount of security tokens, where the transfer window 300 can use different display blocks (311, 312) respectively Display the number and account number of the user (ie: the initiator account). Then, the user can input a value in the input block 321 as the transfer amount, and input the other party's account number (ie, the recipient's account number) in the input block 322. After inputting the value as the transfer quantity, the tax can be automatically calculated and displayed in the display block 313. Next, assuming that the user confirms that they are correct, they can click on the transfer component 323 to enable the initiator host 130 to execute a blockchain transaction to send the security tokens held by the initiator and the same amount as the transfer to the transfer smart contract. , Then, the initiating host 130 executes the on-chain tax payment function of the tax payment smart contract, so that when the on-chain tax payment function receives the digital currency sent by the initiating host, it is deemed to have paid the tax for the corresponding transfer amount, And generate the corresponding tax payment certificate. At this point, the initiator host 130 will detect that the tax payment certificate has been generated, so it executes the transfer request function in the transfer smart contract (such as "requestTransfer()"), and brings the tax payment certificate into the transfer request The transfer request letter verifies the tax payment certificate, and after the tax payment certificate is verified, the security tokens sent to the transfer smart contract are transferred to the recipient’s account. At this point, the transfer of security tokens is completed, and it also represents the completion of the transfer of shares.

如「第4圖」所示意,「第4圖」為應用本發明以收稅主機生成繳稅證明之示意圖。在實際實施上,當計算出稅金後,除了允許發起方主機130執行繳稅智能合約的鏈上繳稅函式(如:「payTax()」)以接收作為稅金的數位貨幣之外,倘若鏈上繳稅函式還未接收到稅金時,也可以允許收稅單位,如:國稅局、稅捐稽徵單位等等,在收到與稅金等值的法定貨幣後,由設置在收稅單位且作為區塊鏈網路110的節點之一的收稅主機140顯示收稅視窗400,此收稅視窗400顯示具唯一性的識別碼(或稱之為繳稅編號)及繳稅日期(可取自系統時間),並且提供稅務人員在輸入區塊(411、412)分別輸入相關訊息,如:繳稅類別及繳稅金額。接著,確認無誤並點選確認元件413之後,即執行繳稅智能合約的鏈下繳稅函式,如:「uploadTaxPaymentInfo()」,並且同時將上述資料(如:識別碼、繳稅日期、繳稅類別及繳稅金額)帶入此函式,用以在區塊鏈網路110上直接生成繳稅證明,以便將此繳稅證明提供給其它智能合約進行查詢及驗證。換句話說,繳稅可以分為鏈上與鏈下兩種方式,其中,鏈上的方式是指透過財政部或監管單位(如:監管端主機)所發佈的「繳稅智能合約」,直接接受民眾發送數位貨幣進行繳稅;而鏈下的方式主要是傳統繳費方式,但是收稅單位可以透過收稅主機140在區塊鏈網路110上執行繳稅智能合約進行登記(例如:登記繳稅類別、繳稅日期、繳稅金額等等)以直接生成繳費證明。特別要說明的是,雖然上述以輸入繳稅類別及繳稅金額為例,然而本發明並未以此作限定,實際上,任何可供輸入的繳稅相關訊息皆不脫離本發明的應用範疇,如:所述輸入相關訊息還可包含承辦人簽章、繳稅簽章等等。As shown in "Figure 4", "Figure 4" is a schematic diagram of applying the present invention to the tax collection host to generate tax payment certificates. In actual implementation, after the tax is calculated, in addition to allowing the initiator host 130 to execute the on-chain tax payment function (such as "payTax()") of the tax payment smart contract to receive the digital currency as tax, if the chain When the tax payment letter has not yet received the tax, the tax collection unit can also be allowed, such as: the National Taxation Bureau, tax collection unit, etc., after receiving the legal currency equivalent to the tax, it will be set in the tax collection The tax collection host 140, which is a unit and one of the nodes of the blockchain network 110, displays a tax collection window 400. The tax collection window 400 displays a unique identification code (or called a tax payment number) and a tax payment date ( Can be taken from the system time), and provide tax personnel to input relevant information in the input block (411, 412), such as: tax type and tax amount. Then, after confirming that it is correct and clicking the confirmation component 413, the off-chain tax payment function of the tax payment smart contract is executed, such as: "uploadTaxPaymentInfo()", and the above data (such as: identification code, tax payment date, payment Tax category and tax payment amount) into this function to directly generate a tax payment certificate on the blockchain network 110, so that the tax payment certificate can be provided to other smart contracts for query and verification. In other words, tax payment can be divided into on-chain and off-chain methods. The on-chain method refers to the "tax payment smart contract" issued by the Ministry of Finance or the supervisory unit (such as the supervisory end host). Accept the public to send digital currency for tax payment; the off-chain method is mainly the traditional payment method, but the tax collection unit can execute the tax payment smart contract on the blockchain network 110 through the tax collection host 140 to register (for example: register to pay Tax category, tax payment date, tax payment amount, etc.) to directly generate payment certificates. In particular, although the above example takes the input of tax payment type and tax amount as an example, the present invention is not limited thereto. In fact, any tax payment related information that can be input does not deviate from the application scope of the present invention. For example, the input related information can also include the signature of the undertaker, the signature of tax payment, and so on.

綜上所述,可知本發明與先前技術之間的差異在於透過提供具有轉讓智能合約及繳稅智能合約的區塊鏈網路,並且由公司端主機根據股份數量預先在區塊鏈網路上生成證券型代幣,當欲自發起方帳號轉讓股份至接收方帳號時,先將與轉讓數量相同的證券型代幣發送至轉讓智能合約並計算稅金,以及在繳稅完成且生成繳稅證明後,允許發起方主機執行轉讓智能合約,將發送到轉讓智能合約的證券型代幣轉送至接收方帳號,藉由此一技術手段可以解決先前技術所存在的問題,進而達成兼顧股份轉讓的便利性及適法性之技術功效。In summary, it can be seen that the difference between the present invention and the prior art is that by providing a blockchain network with smart contracts for transfer and tax payment, and the company-side host generates it in advance on the blockchain network according to the number of shares. Security tokens, when you want to transfer shares from the originator account to the recipient account, first send the same amount of security tokens to the transfer smart contract and calculate the tax, and after the tax payment is completed and the tax payment certificate is generated , Allowing the initiator host to execute the transfer smart contract, and transfer the security tokens sent to the transfer smart contract to the recipient's account. This technical method can solve the problems of the previous technology and achieve the convenience of taking into account the transfer of shares And the technical effect of legality.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。Although the present invention is disclosed in the foregoing embodiments as above, it is not intended to limit the present invention. Anyone familiar with similar art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of patent protection shall be subject to the definition of the scope of patent application attached to this specification.

110:區塊鏈網路 120:公司端主機 130:發起方主機 131:發送模組 132:繳稅模組 133:轉讓模組 140:收稅主機 300:轉讓視窗 311~313:顯示區塊 321、322:輸入區塊 323:轉讓元件 400:收稅視窗 411、412:輸入區塊 413:確定元件 步驟210:提供由多個節點組成的一區塊鏈網路,該區塊鏈網路上具有一轉讓智能合約及一繳稅智能合約 步驟220:由作為所述節點其中之一的一公司端主機,預先根據一股份數量在該區塊鏈網路上生成多個證券型代幣,並且僅允許透過該轉讓智能合約轉移所述證券型代幣 步驟230:當使用者欲自一發起方帳號轉讓股份至一接受方帳號時,於一發起方主機設置一轉讓數量,該發起方主機執行區塊鏈交易以透過該發起方帳號將持有的且與該轉讓數量相同的所述證券型代幣發送至該轉讓智能合約,並且根據該轉讓數量計算一稅金以進行顯示並提示繳稅 步驟240:在計算出該稅金後,允許由該發起方主機執行該繳稅智能合約的一鏈上繳稅函式,該鏈上繳稅函式包含接收該發起方主機發送的數位貨幣以繳納該稅金,以及在偵測到該稅金繳納完成後生成一繳稅證明 步驟241:當該鏈上繳稅函式未接收到該稅金時,允許收稅單位在收到與該稅金等值的法定貨幣後,透過作為所述節點其中之一的一收稅主機執行該繳稅智能合約的一鏈下繳稅函式,用以直接生成該繳稅證明 步驟250:該發起方主機偵測到該繳稅證明生成後,執行該轉讓智能合約中的一轉讓請求函式,並且將該繳稅證明帶入該轉讓請求函式,其中,該轉讓請求函式包含驗證該繳稅證明,以及在該繳稅證明通過驗證後,將發送到該轉讓智能合約的所述證券型代幣轉送至該接受方帳號110: Blockchain network 120: company-side host 130: initiator host 131: Send module 132: Tax payment module 133: Transfer Module 140: tax collection host 300: Transfer window 311~313: display block 321, 322: Input block 323: transfer components 400: Tax collection window 411, 412: Input block 413: Determine component Step 210: Provide a blockchain network composed of multiple nodes. The blockchain network has a transfer smart contract and a tax payment smart contract Step 220: A company host as one of the nodes generates multiple security tokens on the blockchain network in advance according to the number of shares, and only allows the transfer of the security tokens through the transfer smart contract Token Step 230: When the user wants to transfer shares from an initiator account to a recipient account, set a transfer amount in an initiator host, and the initiator host performs a blockchain transaction to hold the shares through the initiator account And the security token with the same transfer amount is sent to the transfer smart contract, and a tax is calculated based on the transfer amount for display and prompt payment Step 240: After the tax is calculated, the initiator host is allowed to execute a chain tax payment function of the tax payment smart contract, and the chain tax payment function includes receiving the digital currency sent by the initiator host for payment The tax, and a tax payment certificate will be generated after detecting the completion of the tax payment Step 241: When the tax payment function on the chain does not receive the tax, after receiving the legal currency equivalent to the tax, the tax collector is allowed to execute the tax through a tax collection host as one of the nodes The off-chain tax payment function of the tax payment smart contract is used to directly generate the tax payment certificate Step 250: After the initiator host detects that the tax payment certificate is generated, it executes a transfer request function in the transfer smart contract, and brings the tax payment certificate into the transfer request function, where the transfer request letter The formula includes verifying the tax payment certificate, and after the tax payment certificate is verified, the security token sent to the transfer smart contract is transferred to the recipient account

第1圖為本發明基於證券型代幣的股份轉讓系統之系統方塊圖。 第2A圖及第2B圖為本發明基於證券型代幣的股份轉讓方法之方法流程圖。 第3圖為應用本發明轉讓股份之示意圖。 第4圖為應用本發明以收稅主機生成繳稅證明之示意圖。Figure 1 is a system block diagram of the stock transfer system based on security tokens of the present invention. Figures 2A and 2B are flow charts of the method for transferring shares based on security tokens of the present invention. Figure 3 is a schematic diagram of applying the present invention to transfer shares. Figure 4 is a schematic diagram of using the present invention to generate a tax payment certificate with a tax collection host.

110:區塊鏈網路110: Blockchain network

120:公司端主機120: company-side host

130:發起方主機130: initiator host

131:發送模組131: Send module

132:繳稅模組132: Tax payment module

133:轉讓模組133: Transfer Module

140:收稅主機140: tax collection host

Claims (10)

一種基於證券型代幣的股份轉讓系統,該系統包含: 一區塊鏈網路,由多個節點組成,該區塊鏈網路上具有一轉讓智能合約及一繳稅智能合約; 一公司端主機,作為所述節點其中之一,用以預先根據一股份數量,在該區塊鏈網路上生成多個證券型代幣,並且僅允許透過該轉讓智能合約轉移所述證券型代幣;以及 一發起方主機,連接所述節點或作為所述節點其中之一,該發起方主機包含: 一發送模組,用以當使用者欲自一發起方帳號轉讓股份至一接受方帳號時,提供設置一轉讓數量,並且執行區塊鏈交易以透過該發起方帳號將持有的且與該轉讓數量相同的所述證券型代幣發送至該轉讓智能合約,並且根據該轉讓數量計算一稅金以進行顯示並提示繳稅; 一繳稅模組,連接該發送模組,用以在計算出該稅金後,允許執行該繳稅智能合約的一鏈上繳稅函式,該鏈上繳稅函式包含接收該發起方主機發送的數位貨幣以繳納該稅金,以及在偵測到該稅金繳納完成後生成一繳稅證明;以及 一轉讓模組,連接該繳稅模組,用以在偵測到該繳稅證明生成後,執行該轉讓智能合約中的一轉讓請求函式,並且將該繳稅證明帶入該轉讓請求函式,其中,該轉讓請求函式包含驗證該繳稅證明,以及在該繳稅證明通過驗證後,將發送到該轉讓智能合約的所述證券型代幣轉送至該接受方帳號。A share transfer system based on security tokens, the system includes: A blockchain network consisting of multiple nodes. The blockchain network has a transfer smart contract and a tax payment smart contract; A company-side host, as one of the nodes, is used to generate multiple security tokens on the blockchain network based on the number of shares in advance, and only allow the transfer of the security tokens through the transfer smart contract Currency; and An initiator host, connected to the node or as one of the nodes, the initiator host includes: A sending module is used for when the user wants to transfer shares from an initiator account to a recipient account, set a transfer quantity, and execute a blockchain transaction to transfer shares held by the initiator account to the recipient account. The security tokens with the same transfer amount are sent to the transfer smart contract, and a tax is calculated according to the transfer amount for display and prompt payment; A tax payment module, connected to the sending module, used to allow the execution of the tax payment smart contract after the tax is calculated, a chain tax payment function that includes receiving the initiator host Send the digital currency to pay the tax, and generate a tax payment certificate after detecting the completion of the tax payment; and A transfer module, connected to the tax payment module, used to execute a transfer request function in the transfer smart contract after detecting that the tax payment certificate is generated, and bring the tax payment certificate into the transfer request letter Wherein, the transfer request letter includes verifying the tax payment certificate, and after the tax payment certificate is verified, the security token sent to the transfer smart contract is transferred to the recipient account. 根據申請專利範圍第1項之基於證券型代幣的股份轉讓系統,其中該系統更包含一收稅主機,該收稅主機作為所述節點其中之一,用以當該鏈上繳稅函式未接收到該稅金時,允許收稅單位在收到與該稅金等值的法定貨幣後,由該收稅主機執行該繳稅智能合約的一鏈下繳稅函式,用以直接生成該繳稅證明。According to the first item of the scope of patent application, the share transfer system based on security tokens, wherein the system further includes a tax collection host, the tax collection host as one of the nodes, used as a tax payment function on the chain When the tax is not received, the tax collector is allowed to execute the off-chain tax payment function of the tax payment smart contract after receiving the legal currency equivalent to the tax, to directly generate the payment Tax certificate. 根據申請專利範圍第1項之基於證券型代幣的股份轉讓系統,其中每一節點之間為點對點連線,並且由作為所述節點其中之一的一監管端主機在該區塊鏈網路上發佈該轉讓智能合約及該繳稅智能合約;或是由該監管端主機發佈該轉讓智能合約,以及由作為所述節點其中之一的一稅務端主機在該區塊鏈網路上發佈該繳稅智能合約。According to the first item of the scope of patent application, the share transfer system based on security tokens, each node is connected to each other by a peer-to-peer connection, and a supervisory host as one of the nodes is on the blockchain network Publish the transfer smart contract and the tax payment smart contract; or the supervisor host publishes the transfer smart contract, and a tax host as one of the nodes publishes the tax payment on the blockchain network Smart contract. 根據申請專利範圍第3項之基於證券型代幣的股份轉讓系統,其中該監管端主機在該區塊鏈網路上發佈一簽章驗證智能合約及一繳稅清單智能合約,該簽章驗證智能合約用以驗證由該鏈下繳稅函式生成的該繳稅證明之數位簽章,該繳稅清單智能合約提供該繳稅智能合約註冊一繳稅智能合約地址,當該繳稅清單智能合約中存在該繳稅智能合約地址時,判斷為該繳稅證明通過驗證。According to item 3 of the scope of patent application, the stock transfer system based on security tokens, where the supervisory host publishes a signature verification smart contract and a tax payment list smart contract on the blockchain network, and the signature verification smart The contract is used to verify the digital signature of the tax payment certificate generated by the tax payment letter under the chain. The tax payment list smart contract provides the tax payment smart contract to register a tax payment smart contract address. When the tax payment list smart contract When there is the tax payment smart contract address in it, it is judged that the tax payment certificate has passed the verification. 根據申請專利範圍第1項之基於證券型代幣的股份轉讓系統,其中該轉讓智能合約及該繳稅智能合約分別具有相應的一合約地址,以及具有共同的一標準介面,透過所述合約地址及該標準介面允許該轉讓智能合約及該繳稅智能合約之間相互傳遞訊息及呼叫函式。According to the first item of the scope of patent application, the share transfer system based on security tokens, wherein the transfer smart contract and the tax payment smart contract respectively have a corresponding contract address and a common standard interface, through the contract address And the standard interface allows the transfer smart contract and the tax payment smart contract to transfer messages and call functions to each other. 一種基於證券型代幣的股份轉讓方法,其步驟包括: 提供由多個節點組成的一區塊鏈網路,該區塊鏈網路上具有一轉讓智能合約及一繳稅智能合約; 由作為所述節點其中之一的一公司端主機,預先根據一股份數量在該區塊鏈網路上生成多個證券型代幣,並且僅允許透過該轉讓智能合約轉移所述證券型代幣; 當使用者欲自一發起方帳號轉讓股份至一接受方帳號時,於一發起方主機設置一轉讓數量,該發起方主機執行區塊鏈交易以透過該發起方帳號將持有的且與該轉讓數量相同的所述證券型代幣發送至該轉讓智能合約,並且根據該轉讓數量計算一稅金以進行顯示並提示繳稅; 在計算出該稅金後,允許該發起方主機執行該繳稅智能合約的一鏈上繳稅函式,該鏈上繳稅函式包含接收該發起方主機發送的數位貨幣以繳納該稅金,以及在偵測到該稅金繳納完成後生成一繳稅證明;以及 該發起方主機偵測到該繳稅證明生成後,執行該轉讓智能合約中的一轉讓請求函式,並且將該繳稅證明帶入該轉讓請求函式,其中,該轉讓請求函式包含驗證該繳稅證明,以及在該繳稅證明通過驗證後,將發送到該轉讓智能合約的所述證券型代幣轉送至該接受方帳號。A method for transferring shares based on security tokens, the steps include: Provide a block chain network composed of multiple nodes, the block chain network has a transfer smart contract and a tax payment smart contract; A company host as one of the nodes generates multiple security tokens on the blockchain network in advance according to the number of shares, and only allows the transfer of the security tokens through the transfer smart contract; When a user wants to transfer shares from an initiator account to a recipient account, set a transfer amount on an initiator host, and the initiator host performs a blockchain transaction to transfer shares held by the initiator account and share The security tokens with the same transfer amount are sent to the transfer smart contract, and a tax is calculated according to the transfer amount for display and prompt payment; After calculating the tax, allow the initiator host to execute a chain tax payment function of the tax payment smart contract, the chain tax payment function including receiving digital currency sent by the initiator host to pay the tax, and Generate a tax payment certificate after detecting the completion of the tax payment; and After the initiator host detects that the tax payment certificate is generated, it executes a transfer request function in the transfer smart contract, and brings the tax payment certificate into the transfer request function, where the transfer request function includes verification The tax payment certificate, and after the tax payment certificate is verified, the security token sent to the transfer smart contract is transferred to the recipient account. 根據申請專利範圍第6項之基於證券型代幣的股份轉讓方法,其中該方法更包含當該鏈上繳稅函式未接收到該稅金時,允許收稅單位在收到與該稅金等值的法定貨幣後,透過作為所述節點其中之一的一收稅主機執行該繳稅智能合約的一鏈下繳稅函式,用以直接生成該繳稅證明的步驟。According to the 6th item of the scope of patent application, the method for transferring shares based on security tokens, the method further includes that when the tax payment function on the chain does not receive the tax, the tax collection unit is allowed to receive the equivalent value of the tax. After the legal currency of, execute the off-chain tax payment function of the tax payment smart contract through a tax collection host as one of the nodes to directly generate the tax payment certificate. 根據申請專利範圍第6項之基於證券型代幣的股份轉讓方法,其中每一節點之間為點對點連線,並且由作為所述節點其中之一的一監管端主機在該區塊鏈網路上發佈該轉讓智能合約及該繳稅智能合約;或是由該監管端主機發佈該轉讓智能合約,以及由作為所述節點其中之一的一稅務端主機在該區塊鏈網路上發佈該繳稅智能合約。According to the 6th item of the scope of patent application, the stock transfer method based on security tokens, wherein each node is connected to a point-to-point connection, and a supervisory host as one of the nodes is on the blockchain network Publish the transfer smart contract and the tax payment smart contract; or the supervisor host publishes the transfer smart contract, and a tax host as one of the nodes publishes the tax payment on the blockchain network Smart contract. 根據申請專利範圍第8項之基於證券型代幣的股份轉讓方法,其中該監管端主機在該區塊鏈網路上發佈一簽章驗證智能合約及一繳稅清單智能合約,該簽章驗證智能合約用以驗證由該鏈下繳稅函式生成的該繳稅證明之數位簽章,該繳稅清單智能合約提供該繳稅智能合約註冊一繳稅智能合約地址,當該繳稅清單智能合約中存在該繳稅智能合約地址時,判斷為該繳稅證明通過驗證。According to the 8th item of the scope of patent application, the stock transfer method based on security tokens, the supervisory host publishes a signature verification smart contract and a tax payment list smart contract on the blockchain network, and the signature verification smart The contract is used to verify the digital signature of the tax payment certificate generated by the tax payment letter under the chain. The tax payment list smart contract provides the tax payment smart contract to register a tax payment smart contract address. When the tax payment list smart contract When there is the tax payment smart contract address in it, it is judged that the tax payment certificate has passed the verification. 根據申請專利範圍第6項之基於證券型代幣的股份轉讓方法,其中該轉讓智能合約及該繳稅智能合約分別具有相應的一合約地址,以及具有共同的一標準介面,透過所述合約地址及該標準介面允許該轉讓智能合約及該繳稅智能合約之間相互傳遞訊息及呼叫函式。According to the 6th item of the scope of patent application, the share transfer method based on security tokens, wherein the transfer smart contract and the tax payment smart contract respectively have a corresponding contract address and a common standard interface, through the contract address And the standard interface allows the transfer smart contract and the tax payment smart contract to transfer messages and call functions to each other.
TW108147650A 2019-12-25 2019-12-25 Shares transfer system based on security token and method thereof TW202125368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108147650A TW202125368A (en) 2019-12-25 2019-12-25 Shares transfer system based on security token and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108147650A TW202125368A (en) 2019-12-25 2019-12-25 Shares transfer system based on security token and method thereof

Publications (1)

Publication Number Publication Date
TW202125368A true TW202125368A (en) 2021-07-01

Family

ID=77908459

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108147650A TW202125368A (en) 2019-12-25 2019-12-25 Shares transfer system based on security token and method thereof

Country Status (1)

Country Link
TW (1) TW202125368A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI832119B (en) * 2021-11-26 2024-02-11 香港商元睿資本有限公司 Creating and trading system for tokenized open-end funds and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI832119B (en) * 2021-11-26 2024-02-11 香港商元睿資本有限公司 Creating and trading system for tokenized open-end funds and method thereof

Similar Documents

Publication Publication Date Title
US10977632B2 (en) Electronic bill management method, apparatus, and storage medium
US11316690B2 (en) Blockchain token-based cloud orchestration architecture for discrete virtual network instances
KR20180101355A (en) Systems and methods for improving security in exchanges of block-chain assets
KR20190019004A (en) The trading system and the method based on a blockchain
TWI772654B (en) Escrowing system for cross-blockchain third-party settlement and method thereof
CN112613877B (en) Intelligent contract triggering method and device applied to block chain network and related equipment
US11316933B2 (en) Service meshes and smart contracts for zero-trust systems
KR102274702B1 (en) System for providing platform for peer-to-peer finance
CN117321619A (en) System and method for performing electronic transactions and tokenization using a distributed settlement platform
CN107580000A (en) Digital certificate authentication method and device
TWM566363U (en) Intermediary system for lending consumption based on blockchain
KR101995316B1 (en) Blockchain-based aggregate transaction system and method
TW201905813A (en) Smart contract executing system with permission rating and avoid duplication and method thereof
TW202125368A (en) Shares transfer system based on security token and method thereof
US20220405747A1 (en) Computer-implemented system and method
KR20200051135A (en) Method for connecting dapp service with cryptocurrency wallet server and cryptocurrency wallet server therefor
KR20200080462A (en) System for token transaction based on block chain
TW202036439A (en) Interbank transaction failure noticing system based on blockchain and method thereof
KR20200078069A (en) Verification apparatus and method for interworking of blockchain network and financial system
TWI693573B (en) Digital currency issuing system with regulatory and total controllable and method thereof
TWI702555B (en) Dividend distribution system based on security token and method thereof
TWI682347B (en) Crowdfunding system based on security token and method thereof
TWM629330U (en) Test transaction processing system providing self-testing functions for inter-bank financial transactions
TWI720761B (en) Trading system for integrating stock transferring and tax filing and method thereof
TWI818171B (en) Multi-party loan consumption system based on blockchain and smart contract and method thereof