About

0

The NEO Smart Economy has a major limitation in that although smart contracts can receive funds (system assets like NEO or GAS) they cannot send funds without intervention of off-chain code that responds to events emitted by the smart contract and creates and broadcasts new transactions.

The introduction of NEP-7 in Neo 2.7.5 has eased some of the difficulties with receiving system assets by a smart contract. Now a contract will be able to be triggered upon receiving NEO/GAS, giving the contract the opportunity to perform actions or reject the transfer. The problem of the inability to send NEO/GAS in a single operation still remains, however.

Current NEP-5 tokens have more limitations than system assets:

The smart contract will receive no notification that the tokens were sent The smart contract will not be able to spend tokens it holds without coordination from an off-chain wallet holding the owner's key A change is needed to foster automated exchange of value between smart contracts and users. As a result of this need, we have created the Master Contract Token (MCT).

MCT is a NEP-5-compatible token implementation with some additional features. The most notable being the ability for third-party smart contracts to send, receive, and hold it.

0

Reply
PopularIn orderChat mode

No replies yet

Be the first one to reply to Master Contract Token

Joined discussion
0
0
0