Documentation ¶
Index ¶
- type JSBlock
- type JSEthereum
- func (self *JSEthereum) Create(key, valueStr, gasStr, gasPriceStr, scriptStr string) otto.Value
- func (self *JSEthereum) GetBlock(hash string) otto.Value
- func (self *JSEthereum) GetKey() otto.Value
- func (self *JSEthereum) GetPeers() otto.Value
- func (self *JSEthereum) GetStateObject(addr string) otto.Value
- func (self *JSEthereum) Messages(object map[string]interface{}) otto.Value
- func (self *JSEthereum) Peers() otto.Value
- func (self *JSEthereum) Transact(key, recipient, valueStr, gasStr, gasPriceStr, dataStr string) otto.Value
- type JSMessage
- type JSRE
- type JSStateObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSBlock ¶
The JSEthereum object attempts to wrap the PEthereum object and returns meaningful javascript objects
type JSEthereum ¶
func (*JSEthereum) Create ¶
func (self *JSEthereum) Create(key, valueStr, gasStr, gasPriceStr, scriptStr string) otto.Value
func (*JSEthereum) GetKey ¶
func (self *JSEthereum) GetKey() otto.Value
func (*JSEthereum) GetPeers ¶
func (self *JSEthereum) GetPeers() otto.Value
func (*JSEthereum) GetStateObject ¶
func (self *JSEthereum) GetStateObject(addr string) otto.Value
func (*JSEthereum) Messages ¶
func (self *JSEthereum) Messages(object map[string]interface{}) otto.Value
func (*JSEthereum) Peers ¶ added in v0.6.5
func (self *JSEthereum) Peers() otto.Value
type JSMessage ¶
type JSMessage struct { To string `json:"to"` From string `json:"from"` Input string `json:"input"` Output string `json:"output"` Path int `json:"path"` Origin string `json:"origin"` Timestamp int32 `json:"timestamp"` Coinbase string `json:"coinbase"` Block string `json:"block"` Number int32 `json:"number"` }
func NewJSMessage ¶
type JSStateObject ¶
func (*JSStateObject) EachStorage ¶
func (self *JSStateObject) EachStorage(call otto.FunctionCall) otto.Value
Click to show internal directories.
Click to hide internal directories.