Skip to content

Big Picture: Implement system contracts in smart contracts #47

@andelf

Description

@andelf

NOTE: The official Tron foundation's big picture is in reverse! -- Adding more system contracts.😩

The question is, how many system contracts (builtin transaction type) can be implemented using smart contracts?

Easy to conclude that:

Can be implemented in plain smart contract:

  • TRC10 related, Assets
  • Exchange & Market related (Exchange is deprecated, Market is introduced in 4.1)

Requires a central registry contract

Or a powerful event query API.

  • AccountName, AccountId
  • TRC10 Issue, to implement "list asset" API

Requires a "System" contract

  • Resource model
  • Witness, proposal, voting
  • ... others

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions