rex

package
v0.0.0-...-9ffcaaa Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AN = uos.AN
View Source
var ActN = uos.ActN
View Source
var PN = uos.PN
View Source
var REXAN = AN("uosio")

Functions

func NewBuyREX

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

func NewCancelREXOrder

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

func NewCloseREX

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

func NewConsolidate

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

func NewDefundCPULoan

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

func NewDefundNetLoan

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

func NewDeposit

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

func NewFundCPULoan

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

func NewFundNetLoan

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

func NewMoveFromSavings

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

func NewMoveToSavings

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

func NewREXExec

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

func NewRentCPU

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

func NewRentNet

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

func NewSellREX

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

func NewUnstakeToREX

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

func NewUpdateREX

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

func NewWithdraw

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

Types

type BuyREX

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

type CancelREXOrder

type CancelREXOrder struct {
	Owner uos.AccountName
}

type CloseREX

type CloseREX struct {
	Ownwer uos.AccountName
}

type Consolidate

type Consolidate struct {
	Owner uos.AccountName
}

type DefundCPULoan

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

type DefundNetLoan

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

type Deposit

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

type FundCPULoan

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

type FundNetLoan

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

type MoveFromSavings

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

type MoveToSavings

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

type REXExec

type REXExec struct {
	User uos.AccountName
	Max  uint16
}

type RentCPU

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

type RentNet

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

type SellREX

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

type UnstakeToREX

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

type UpdateREX

type UpdateREX struct {
	Owner uos.AccountName
}

type Withdraw

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

Jump to

Keyboard shortcuts

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