forked from eoscanada/eos-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.go
30 lines (26 loc) · 1.21 KB
/
init.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package rex
import eos "github.com/Jumper-Bridge/cyberway"
func init() {
eos.RegisterAction(REXAN, ActN("buyrex"), BuyREX{})
eos.RegisterAction(REXAN, ActN("closerex"), CloseREX{})
eos.RegisterAction(REXAN, ActN("cnclrexorder"), CancelREXOrder{})
eos.RegisterAction(REXAN, ActN("consolidate"), Consolidate{})
eos.RegisterAction(REXAN, ActN("defcpuloan"), DefundCPULoan{})
eos.RegisterAction(REXAN, ActN("defnetloan"), DefundNetLoan{})
eos.RegisterAction(REXAN, ActN("deposit"), Deposit{})
eos.RegisterAction(REXAN, ActN("fundcpuloan"), FundCPULoan{})
eos.RegisterAction(REXAN, ActN("fundnetloan"), FundNetLoan{})
eos.RegisterAction(REXAN, ActN("mvfrsavings"), MoveFromSavings{})
eos.RegisterAction(REXAN, ActN("mvtosavings"), MoveToSavings{})
eos.RegisterAction(REXAN, ActN("rentcpu"), RentCPU{})
eos.RegisterAction(REXAN, ActN("rentnet"), RentNet{})
eos.RegisterAction(REXAN, ActN("rexexec"), REXExec{})
eos.RegisterAction(REXAN, ActN("sellrex"), SellREX{})
eos.RegisterAction(REXAN, ActN("unstaketorex"), UnstakeToREX{})
eos.RegisterAction(REXAN, ActN("updaterex"), UpdateREX{})
eos.RegisterAction(REXAN, ActN("withdraw"), Withdraw{})
}
var AN = eos.AN
var PN = eos.PN
var ActN = eos.ActN
var REXAN = AN("eosio")