Documentation
¶
Index ¶
- Variables
- func NewBuyREX(from roxe.AccountName, amount roxe.Asset) *roxe.Action
- func NewCancelREXOrder(owner roxe.AccountName) *roxe.Action
- func NewCloseREX(owner roxe.AccountName) *roxe.Action
- func NewConsolidate(owner roxe.AccountName) *roxe.Action
- func NewDefundCPULoan(from roxe.AccountName, loanNumber uint64, amount roxe.Asset) *roxe.Action
- func NewDefundNetLoan(from roxe.AccountName, loanNumber uint64, amount roxe.Asset) *roxe.Action
- func NewDeposit(owner roxe.AccountName, amount roxe.Asset) *roxe.Action
- func NewFundCPULoan(from roxe.AccountName, loanNumber uint64, payment roxe.Asset) *roxe.Action
- func NewFundNetLoan(from roxe.AccountName, loanNumber uint64, payment roxe.Asset) *roxe.Action
- func NewMoveFromSavings(owner roxe.AccountName, rex roxe.Asset) *roxe.Action
- func NewMoveToSavings(owner roxe.AccountName, rex roxe.Asset) *roxe.Action
- func NewREXExec(user roxe.AccountName, max uint16) *roxe.Action
- func NewRentCPU(from roxe.AccountName, receiver roxe.AccountName, loanPayment roxe.Asset, ...) *roxe.Action
- func NewRentNet(from roxe.AccountName, receiver roxe.AccountName, loanPayment roxe.Asset, ...) *roxe.Action
- func NewSellREX(from roxe.AccountName, rex roxe.Asset) *roxe.Action
- func NewUnstakeToREX(owner roxe.AccountName, receiver roxe.AccountName, fromNet roxe.Asset, ...) *roxe.Action
- func NewUpdateREX(owner roxe.AccountName) *roxe.Action
- func NewWithdraw(owner roxe.AccountName, amount roxe.Asset) *roxe.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 = roxe.AN
View Source
var ActN = roxe.ActN
View Source
var PN = roxe.PN
View Source
var REXAN = AN("roxe")
Functions ¶
func NewCancelREXOrder ¶
func NewCancelREXOrder(owner roxe.AccountName) *roxe.Action
func NewCloseREX ¶
func NewCloseREX(owner roxe.AccountName) *roxe.Action
func NewConsolidate ¶
func NewConsolidate(owner roxe.AccountName) *roxe.Action
func NewDefundCPULoan ¶
func NewDefundNetLoan ¶
func NewDeposit ¶
func NewFundCPULoan ¶
func NewFundNetLoan ¶
func NewMoveFromSavings ¶
func NewMoveToSavings ¶
func NewREXExec ¶
func NewREXExec(user roxe.AccountName, max uint16) *roxe.Action
func NewRentCPU ¶
func NewRentCPU( from roxe.AccountName, receiver roxe.AccountName, loanPayment roxe.Asset, loanFund roxe.Asset, ) *roxe.Action
func NewRentNet ¶
func NewRentNet( from roxe.AccountName, receiver roxe.AccountName, loanPayment roxe.Asset, loanFund roxe.Asset, ) *roxe.Action
func NewSellREX ¶
func NewUnstakeToREX ¶
func NewUnstakeToREX( owner roxe.AccountName, receiver roxe.AccountName, fromNet roxe.Asset, fromCPU roxe.Asset, ) *roxe.Action
func NewUpdateREX ¶
func NewUpdateREX(owner roxe.AccountName) *roxe.Action
func NewWithdraw ¶
Types ¶
type CancelREXOrder ¶
type CancelREXOrder struct {
Owner roxe.AccountName
}
type CloseREX ¶
type CloseREX struct {
Ownwer roxe.AccountName
}
type Consolidate ¶
type Consolidate struct {
Owner roxe.AccountName
}
type DefundCPULoan ¶
type DefundCPULoan struct {
From roxe.AccountName
LoanNumber uint64
Amount roxe.Asset
}
type DefundNetLoan ¶
type DefundNetLoan struct {
From roxe.AccountName
LoanNumber uint64
Amount roxe.Asset
}
type FundCPULoan ¶
type FundCPULoan struct {
From roxe.AccountName
LoanNumber uint64
Payment roxe.Asset
}
type FundNetLoan ¶
type FundNetLoan struct {
From roxe.AccountName
LoanNumber uint64
Payment roxe.Asset
}
type MoveFromSavings ¶
type MoveFromSavings struct {
Owner roxe.AccountName
REX roxe.Asset
}
type MoveToSavings ¶
type MoveToSavings struct {
Owner roxe.AccountName
REX roxe.Asset
}
type REXExec ¶
type REXExec struct {
User roxe.AccountName
Max uint16
}
type RentCPU ¶
type RentCPU struct {
From roxe.AccountName
Receiver roxe.AccountName
LoanPayment roxe.Asset
LoanFund roxe.Asset
}
type RentNet ¶
type RentNet struct {
From roxe.AccountName
Receiver roxe.AccountName
LoanPayment roxe.Asset
LoanFund roxe.Asset
}
type UnstakeToREX ¶
type UnstakeToREX struct {
Owner roxe.AccountName
Receiver roxe.AccountName
FromNet roxe.Asset
FromCPU roxe.Asset
}
type UpdateREX ¶
type UpdateREX struct {
Owner roxe.AccountName
}
Click to show internal directories.
Click to hide internal directories.