Documentation ¶
Index ¶
- Variables
- func NewBuyREX(from yta.AccountName, amount yta.Asset) *yta.Action
- func NewCancelREXOrder(owner yta.AccountName) *yta.Action
- func NewCloseREX(owner yta.AccountName) *yta.Action
- func NewConsolidate(owner yta.AccountName) *yta.Action
- func NewDefundCPULoan(from yta.AccountName, loanNumber uint64, amount yta.Asset) *yta.Action
- func NewDefundNetLoan(from yta.AccountName, loanNumber uint64, amount yta.Asset) *yta.Action
- func NewDeposit(owner yta.AccountName, amount yta.Asset) *yta.Action
- func NewFundCPULoan(from yta.AccountName, loanNumber uint64, payment yta.Asset) *yta.Action
- func NewFundNetLoan(from yta.AccountName, loanNumber uint64, payment yta.Asset) *yta.Action
- func NewMoveFromSavings(owner yta.AccountName, rex yta.Asset) *yta.Action
- func NewMoveToSavings(owner yta.AccountName, rex yta.Asset) *yta.Action
- func NewREXExec(user yta.AccountName, max uint16) *yta.Action
- func NewRentCPU(from yta.AccountName, receiver yta.AccountName, loanPayment yta.Asset, ...) *yta.Action
- func NewRentNet(from yta.AccountName, receiver yta.AccountName, loanPayment yta.Asset, ...) *yta.Action
- func NewSellREX(from yta.AccountName, rex yta.Asset) *yta.Action
- func NewUnstakeToREX(owner yta.AccountName, receiver yta.AccountName, fromNet yta.Asset, ...) *yta.Action
- func NewUpdateREX(owner yta.AccountName) *yta.Action
- func NewWithdraw(owner yta.AccountName, amount yta.Asset) *yta.Action
- type BuyREX
- type CancelREXOrder
- type CloseREX
- type Consolidate
- type DefundCPULoan
- type DefundNetLoan
- type Deposit
- type FundCPULoan
- type FundNetLoan
- type MoveFromSavings
- type MoveToSavings
- type REXExec
- type RentCPU
- type RentNet
- type SellREX
- type UnstakeToREX
- type UpdateREX
- type Withdraw
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 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 NewDefundNetLoan ¶
func NewDeposit ¶
func NewFundCPULoan ¶
func NewFundNetLoan ¶
func NewMoveFromSavings ¶
func NewMoveToSavings ¶
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 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 ¶
Types ¶
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 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 UnstakeToREX ¶
type UnstakeToREX struct { Owner yta.AccountName Receiver yta.AccountName FromNet yta.Asset FromCPU yta.Asset }
type UpdateREX ¶
type UpdateREX struct {
Owner yta.AccountName
}
Click to show internal directories.
Click to hide internal directories.