smartyield

package
v0.0.0-...-5fc2af4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const JuniorTranche = "JUNIOR"
View Source
const SeniorTranche = "SENIOR"

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

type Pool struct {
	ProtocolId          string
	ControllerAddress   string
	ModelAddress        string
	ProviderAddress     string
	PoolAddress         string
	OracleAddress       string
	JuniorBondAddress   string
	SeniorBondAddress   string
	ReceiptTokenAddress string
	UnderlyingAddress   string
	UnderlyingSymbol    string
	UnderlyingDecimals  int64
	StartAtBlock        int64
}

type TxType

type TxType string
const (
	JuniorDeposit         TxType = "JUNIOR_DEPOSIT"
	JuniorInstantWithdraw TxType = "JUNIOR_INSTANT_WITHDRAW"
	JuniorRegularWithdraw TxType = "JUNIOR_REGULAR_WITHDRAW"
	JuniorRedeem          TxType = "JUNIOR_REDEEM"
	SeniorDeposit         TxType = "SENIOR_DEPOSIT"
	SeniorRedeem          TxType = "SENIOR_REDEEM"
	JtokenSend            TxType = "JTOKEN_SEND"
	JtokenReceive         TxType = "JTOKEN_RECEIVE"
	JbondSend             TxType = "JBOND_SEND"
	JbondReceive          TxType = "JBOND_RECEIVE"
	SbondSend             TxType = "SBOND_SEND"
	SbondReceive          TxType = "SBOND_RECEIVE"
	JuniorStake           TxType = "JUNIOR_STAKE"
	JuniorUnstake         TxType = "JUNIOR_UNSTAKE"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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