burrow: github.com/hyperledger/burrow/util/natives/templates Index | Files

package templates

import "github.com/hyperledger/burrow/util/natives/templates"


Package Files

indent_writer.go solidity_templates.go

func NewIndentWriter Uses

func NewIndentWriter(indentLevel uint, indentString string,
    writer io.Writer) *indentWriter

indentWriter indents all lines written to it with a specified indent string indented the specified number of indents

func NewSolidityContract Uses

func NewSolidityContract(contract *native.Contract) *solidityContract

Create a templated solidityContract from an native contract description

func NewSolidityFunction Uses

func NewSolidityFunction(function *native.Function) *solidityFunction

Create a templated solidityFunction from an native function description

Package templates imports 7 packages (graph) and is imported by 4 packages. Updated 2020-07-02. Refresh now. Tools for package owners.