appfoundation

package
v1.12.4-0...-e320c17 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const AllowedVersionSmartContract = 2

Variables

This section is empty.

Functions

func GetCostCenter

func GetCostCenter() insolar.Reference

Get reference CostCenter contract.

func GetMigrationAdmin

func GetMigrationAdmin() insolar.Reference

Get reference on MigrationAdmin contract.

func GetMigrationAdminMember

func GetMigrationAdminMember() insolar.Reference

Get reference MigrationAdminMember contract.

func GetMigrationDaemon

func GetMigrationDaemon(migrationMember insolar.Reference) (insolar.Reference, error)

Get reference on migrationdaemon contract by migration member.

func IsEthereumAddress

func IsEthereumAddress(s string) bool

IsEthereumAddress Ethereum address format verifier

func IsMigrationDaemonMember

func IsMigrationDaemonMember(member insolar.Reference) bool

Check member is migration daemon member or not

Types

type SagaAcceptInfo

type SagaAcceptInfo struct {
	Amount     string
	FromMember insolar.Reference
	Request    insolar.Reference
}

type TransactionType

type TransactionType string
const (
	TTypeMigration  TransactionType = "migration"
	TTypeAllocation TransactionType = "allocation"
)

type VestingType

type VestingType int

VestingType type of vesting process

const (
	// Non-linear process for regular users
	DefaultVesting VestingType = iota
	// Deprecated: Never used
	Vesting1
	// Vesting type for funds (usually with zero vesting period and zero-step)
	Vesting2
	// Deprecated: Never used
	Vesting3
	// Deprecated: Never used
	Vesting4
)

func (VestingType) String

func (i VestingType) String() string

Jump to

Keyboard shortcuts

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