contracts

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

TSN Contracts

This directory contains the Kuneiform contracts used in the Truflation Stream Network (TSN).

Contents

  • composed_stream_template.kf: Template for composed stream contracts
  • primitive_stream_template.kf: Template for primitive stream contracts
  • system_contract.kf: System-level contract for managing official streams
  • contracts.go: Go file for embedding contract contents

Purpose

These contracts define the core functionality of the TSN, including:

  • Data stream management
  • Permissions and access control
  • Index calculations
  • Metadata handling

Synchronization

We aim to keep these contracts in sync with the public versions in the sdk-go repository. This private repository serves as the primary development environment.

Additional Resources

For more information on contract methods and usage, please refer to the detailed documentation linked above.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ComposedStreamContent []byte
View Source
var ComposedStreamUnixContent []byte
View Source
var PrimitiveStreamContent []byte
View Source
var PrimitiveStreamUnixContent []byte
View Source
var SystemContractContent []byte
View Source
var SystemContractStringContent string

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL