Documentation ¶
Index ¶
- func NewSeroLight()
- type ContractTxReq
- type NilValue
- type SEROLight
- func (self *SEROLight) CheckNil()
- func (self *SEROLight) DeployContractTx(ctq ContractTxReq, password string) (txHash string, err error)
- func (self *SEROLight) ExecuteContractTx(ctq ContractTxReq, password string) (txHash string, err error)
- func (self *SEROLight) GetBalances(pk c_type.Uint512) (balances map[string]*big.Int, tickets map[string][]string, isSync bool)
- func (self *SEROLight) GetUtxoNum(pk c_type.Uint512) map[string]uint64
- func (self *SEROLight) SyncOut()
- type TokenReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSeroLight ¶
func NewSeroLight()
Types ¶
type ContractTxReq ¶
type ContractTxReq struct { From string `json:"from"` To string `json:"to"` Value string `json:"value"` GasPrice string `json:"gas_price"` Gas string `json:"gas"` Currency string `json:"cy"` Data string `json:"data"` Token TokenReq `json:"token"` //AssetTktReq map[string]interface{} `json:"tkt"` Catg string `json:"catg"` Tkt string `json:"tkt"` }
type SEROLight ¶
type SEROLight struct {
// contains filtered or unexported fields
}
func (*SEROLight) DeployContractTx ¶
func (self *SEROLight) DeployContractTx(ctq ContractTxReq, password string) (txHash string, err error)
func (*SEROLight) ExecuteContractTx ¶
func (self *SEROLight) ExecuteContractTx(ctq ContractTxReq, password string) (txHash string, err error)
func (*SEROLight) GetBalances ¶
func (*SEROLight) GetUtxoNum ¶
Click to show internal directories.
Click to hide internal directories.