model

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	LengthBytes uint32 `json:"lengthBytes"`
	Value       string `json:"value"`
}

type Payload

type Payload struct {
	Payload string `json:"payload"`
}

type PayloadConfig

type PayloadConfig struct {
	Secret     string
	PayloadTTL int64
}

type Proof

type Proof struct {
	Timestamp int64  `json:"timestamp"`
	Domain    Domain `json:"domain"`
	Signature string `json:"signature"`
	Payload   string `json:"payload"`
	StateInit string `json:"stateInit"`
}

type ProofConfig

type ProofConfig struct {
	Secret   string
	Domain   string
	ProofTTL int64
	TonProof TonProofRequest
}

type TonProofRequest

type TonProofRequest struct {
	Address   string `json:"address"`
	Network   string `json:"network"`
	PublicKey string `json:"publicKey"`
	Proof     Proof  `json:"proof"`
}

Jump to

Keyboard shortcuts

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