tokensale

package
v1.35.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Query

Types

type TokenSale

type TokenSale struct {
	mixin.Model[TokenSale]

	// Auditor Wallet
	wallet.WalletHolder `json:"-"`

	Name        string `json:"name"`
	TotalTokens int    `json:"totalTokens"`

	// Passphrase for the wallet accounts the order controls, never send to the client
	WalletPassphrase string `json:"-"`
}

func Fake

func Fake(db *datastore.Datastore) *TokenSale

func New

func New(db *datastore.Datastore) *TokenSale

func (*TokenSale) BeforeCreate

func (ts *TokenSale) BeforeCreate() error

Hooks

Jump to

Keyboard shortcuts

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