NUTS Platform Docs
2.0.0
2.0.0
  • Introduction
  • Opportunity
    • Multiple Classes of Financial Instruments
      • Financial Instruments Supported
    • Reducing Barriers to Entry
    • Customization and Compatibility
  • Architecture Overview
    • Design Principles
    • Domain Model
    • Access Control
  • Implementation
    • Escrow
      • Common Functionalities
      • Instrument Escrow
      • Issuance Escrow
      • Deposit Escrow
    • Instrument Manager
    • Instrument Registry
    • Common Oracles
      • Timer Oracle
      • Price Oracle
    • Protobuf Solidity Generator
    • Interactions
      • Interaction - Instrument Management
      • Interaction - Issuance Creation
      • Interaction - Issuance Engagement
      • Interaction - Token Deposit
  • Platform Upgrade
  • API Reference
  • FSP Guidebook
    • Principles
    • Use Cases
      • Loan Instrument
      • Lockup Instrument
      • PIPE Instrument
      • ESOP Instrument
  • Appendix
    • FAQ
    • Glossary
Powered by GitBook
On this page

Was this helpful?

  1. Implementation

Protobuf Solidity Generator

PreviousPrice OracleNextInteractions

Last updated 5 years ago

Was this helpful?

NUTS Platform supports financial instruments with properties and parameters of various types, including complex struct. In order to address this requirements, NUTS Platform introduces a generic serialization/deserialization tools where instrument developers can use Protocol Buffer to define custom data structure, and the tool generates serialization/deserialization stubs that converts the custom data structure from and to bytes.

NUTS Platform is also designed to be forward compatible and should support upgrade. Even though NUTS Platform logic can be upgraded using Proxy, data format upgrade is more trickier. Protocol Buffer is extensible and works well in data structure upgrade.

For more information about our Protocol Buffer Solidity Generator, please refer to the .

repo