rex

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AN = yta.AN
View Source
var ActN = yta.ActN
View Source
var PN = yta.PN
View Source
var REXAN = AN("eosio")

Functions

func NewBuyREX

func NewBuyREX(from yta.AccountName, amount yta.Asset) *yta.Action

func NewCancelREXOrder

func NewCancelREXOrder(owner yta.AccountName) *yta.Action

func NewCloseREX

func NewCloseREX(owner yta.AccountName) *yta.Action

func NewConsolidate

func NewConsolidate(owner yta.AccountName) *yta.Action

func NewDefundCPULoan

func NewDefundCPULoan(from yta.AccountName, loanNumber uint64, amount yta.Asset) *yta.Action

func NewDefundNetLoan

func NewDefundNetLoan(from yta.AccountName, loanNumber uint64, amount yta.Asset) *yta.Action

func NewDeposit

func NewDeposit(owner yta.AccountName, amount yta.Asset) *yta.Action

func NewFundCPULoan

func NewFundCPULoan(from yta.AccountName, loanNumber uint64, payment yta.Asset) *yta.Action

func NewFundNetLoan

func NewFundNetLoan(from yta.AccountName, loanNumber uint64, payment yta.Asset) *yta.Action

func NewMoveFromSavings

func NewMoveFromSavings(owner yta.AccountName, rex yta.Asset) *yta.Action

func NewMoveToSavings

func NewMoveToSavings(owner yta.AccountName, rex yta.Asset) *yta.Action

func NewREXExec

func NewREXExec(user yta.AccountName, max uint16) *yta.Action

func NewRentCPU

func NewRentCPU(
	from yta.AccountName,
	receiver yta.AccountName,
	loanPayment yta.Asset,
	loanFund yta.Asset,
) *yta.Action

func NewRentNet

func NewRentNet(
	from yta.AccountName,
	receiver yta.AccountName,
	loanPayment yta.Asset,
	loanFund yta.Asset,
) *yta.Action

func NewSellREX

func NewSellREX(from yta.AccountName, rex yta.Asset) *yta.Action

func NewUnstakeToREX

func NewUnstakeToREX(
	owner yta.AccountName,
	receiver yta.AccountName,
	fromNet yta.Asset,
	fromCPU yta.Asset,
) *yta.Action

func NewUpdateREX

func NewUpdateREX(owner yta.AccountName) *yta.Action

func NewWithdraw

func NewWithdraw(owner yta.AccountName, amount yta.Asset) *yta.Action

Types

type BuyREX

type BuyREX struct {
	From   yta.AccountName
	Amount yta.Asset
}

type CancelREXOrder

type CancelREXOrder struct {
	Owner yta.AccountName
}

type CloseREX

type CloseREX struct {
	Ownwer yta.AccountName
}

type Consolidate

type Consolidate struct {
	Owner yta.AccountName
}

type DefundCPULoan

type DefundCPULoan struct {
	From       yta.AccountName
	LoanNumber uint64
	Amount     yta.Asset
}

type DefundNetLoan

type DefundNetLoan struct {
	From       yta.AccountName
	LoanNumber uint64
	Amount     yta.Asset
}

type Deposit

type Deposit struct {
	Owner  yta.AccountName
	Amount yta.Asset
}

type FundCPULoan

type FundCPULoan struct {
	From       yta.AccountName
	LoanNumber uint64
	Payment    yta.Asset
}

type FundNetLoan

type FundNetLoan struct {
	From       yta.AccountName
	LoanNumber uint64
	Payment    yta.Asset
}

type MoveFromSavings

type MoveFromSavings struct {
	Owner yta.AccountName
	REX   yta.Asset
}

type MoveToSavings

type MoveToSavings struct {
	Owner yta.AccountName
	REX   yta.Asset
}

type REXExec

type REXExec struct {
	User yta.AccountName
	Max  uint16
}

type RentCPU

type RentCPU struct {
	From        yta.AccountName
	Receiver    yta.AccountName
	LoanPayment yta.Asset
	LoanFund    yta.Asset
}

type RentNet

type RentNet struct {
	From        yta.AccountName
	Receiver    yta.AccountName
	LoanPayment yta.Asset
	LoanFund    yta.Asset
}

type SellREX

type SellREX struct {
	From yta.AccountName
	REX  yta.Asset
}

type UnstakeToREX

type UnstakeToREX struct {
	Owner    yta.AccountName
	Receiver yta.AccountName
	FromNet  yta.Asset
	FromCPU  yta.Asset
}

type UpdateREX

type UpdateREX struct {
	Owner yta.AccountName
}

type Withdraw

type Withdraw struct {
	Owner  yta.AccountName
	Amount yta.Asset
}

Jump to

Keyboard shortcuts

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