rex

package
Version: v0.8.17 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func NewBuyREX

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

func NewCancelREXOrder

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

func NewCloseREX

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

func NewConsolidate

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

func NewDefundCPULoan

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

func NewDefundNetLoan

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

func NewDeposit

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

func NewFundCPULoan

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

func NewFundNetLoan

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

func NewMoveFromSavings

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

func NewMoveToSavings

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

func NewREXExec

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

func NewRentCPU

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

func NewRentNet

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

func NewSellREX

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

func NewUnstakeToREX

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

func NewUpdateREX

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

func NewWithdraw

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

Types

type BuyREX

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

type CancelREXOrder

type CancelREXOrder struct {
	Owner eos.AccountName
}

type CloseREX

type CloseREX struct {
	Ownwer eos.AccountName
}

type Consolidate

type Consolidate struct {
	Owner eos.AccountName
}

type DefundCPULoan

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

type DefundNetLoan

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

type Deposit

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

type FundCPULoan

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

type FundNetLoan

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

type MoveFromSavings

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

type MoveToSavings

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

type REXExec

type REXExec struct {
	User eos.AccountName
	Max  uint16
}

type RentCPU

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

type RentNet

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

type SellREX

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

type UnstakeToREX

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

type UpdateREX

type UpdateREX struct {
	Owner eos.AccountName
}

type Withdraw

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL