dapp_file

package
v0.0.0-...-d89582a Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DappFile

type DappFile struct {
	Name            string    `json:"name"`
	Domain          string    `json:"domain"`
	ContractAddress string    `json:"contract"`
	Timestamp       time.Time `json:"timestamp"`
	Signature       string    `json:"signature,omitempty"`
}

func Get

func Get(domain string) (*DappFile, error)

func (*DappFile) Validate

func (dapp *DappFile) Validate(host, contract, deployer string) (bool, error)

func (*DappFile) ValidateHostOnly

func (dapp *DappFile) ValidateHostOnly(host, deployer string) (bool, error)

Jump to

Keyboard shortcuts

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