Documentation ¶
Index ¶
- Variables
- func NewBuyREX(from eos.AccountName, amount eos.Asset) *eos.Action
- func NewCancelREXOrder(owner eos.AccountName) *eos.Action
- func NewCloseREX(owner eos.AccountName) *eos.Action
- func NewConsolidate(owner eos.AccountName) *eos.Action
- func NewDefundCPULoan(from eos.AccountName, loanNumber uint64, amount eos.Asset) *eos.Action
- func NewDefundNetLoan(from eos.AccountName, loanNumber uint64, amount eos.Asset) *eos.Action
- func NewDeposit(owner eos.AccountName, amount eos.Asset) *eos.Action
- func NewFundCPULoan(from eos.AccountName, loanNumber uint64, payment eos.Asset) *eos.Action
- func NewFundNetLoan(from eos.AccountName, loanNumber uint64, payment eos.Asset) *eos.Action
- func NewMoveFromSavings(owner eos.AccountName, rex eos.Asset) *eos.Action
- func NewMoveToSavings(owner eos.AccountName, rex eos.Asset) *eos.Action
- func NewREXExec(user eos.AccountName, max uint16) *eos.Action
- func NewRentCPU(from eos.AccountName, receiver eos.AccountName, loanPayment eos.Asset, ...) *eos.Action
- func NewRentNet(from eos.AccountName, receiver eos.AccountName, loanPayment eos.Asset, ...) *eos.Action
- func NewSellREX(from eos.AccountName, rex eos.Asset) *eos.Action
- func NewUnstakeToREX(owner eos.AccountName, receiver eos.AccountName, fromNet eos.Asset, ...) *eos.Action
- func NewUpdateREX(owner eos.AccountName) *eos.Action
- func NewWithdraw(owner eos.AccountName, amount eos.Asset) *eos.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 = eos.AN
View Source
var ActN = eos.ActN
View Source
var PN = eos.PN
View Source
var REXAN = AN("eosio")
Functions ¶
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 NewDefundNetLoan ¶
func NewDeposit ¶
func NewFundCPULoan ¶
func NewFundNetLoan ¶
func NewMoveFromSavings ¶
func NewMoveToSavings ¶
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 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 ¶
Types ¶
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 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 UnstakeToREX ¶
type UnstakeToREX struct { Owner eos.AccountName Receiver eos.AccountName FromNet eos.Asset FromCPU eos.Asset }
type UpdateREX ¶
type UpdateREX struct {
Owner eos.AccountName
}
Click to show internal directories.
Click to hide internal directories.