contracts

package
v0.0.0-...-d57945e Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	helpers.BaseModel
	ABI      postgres.Jsonb `json:"abi"`
	Bytecode []byte         `json:"bytecode"`
	Address  string         `json:"address"`
}

Contract represents a smart contract published to the contracter API.

type MyContract

type MyContract struct {
	helpers.BaseModel
	AccountID  string
	Account    accounts.Account
	ContractID string
	Contract   Contract
}

MyContract represents the mapping between an Account and a linked Contracter platform Contract

Jump to

Keyboard shortcuts

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