Documentation ¶
Index ¶
- type Adapter
- type GallacticAdapter
- func (ga *GallacticAdapter) ConvertLog(log sputnikvm.Log) evm.Log
- func (ga *GallacticAdapter) GetAmount() *big.Int
- func (ga *GallacticAdapter) GetData() []byte
- func (ga *GallacticAdapter) GetGasLimit() *big.Int
- func (ga *GallacticAdapter) GetGasPrice() *big.Int
- func (ga *GallacticAdapter) GetNonce() *big.Int
- func (ga *GallacticAdapter) GetTxHash() binary.HexBytes
- func (ga *GallacticAdapter) LastBlockHash() []byte
- func (ga *GallacticAdapter) LastBlockNumber() *big.Int
- func (ga *GallacticAdapter) TimeStamp() uint64
- type Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface { GetGasLimit() *big.Int GetGasPrice() *big.Int GetAmount() *big.Int GetData() []byte GetNonce() *big.Int GetTxHash() binary.HexBytes TimeStamp() uint64 LastBlockNumber() *big.Int LastBlockHash() []byte ConvertLog(log sputnikvm.Log) evm.Log // contains filtered or unexported methods }
type GallacticAdapter ¶
type GallacticAdapter struct { BlockChain *blockchain.Blockchain Cache *state.Cache Caller *account.Account Callee *account.Account GasLimit uint64 Amount uint64 Data []byte Nonce uint64 TxHash binary.HexBytes }
func (*GallacticAdapter) ConvertLog ¶ added in v0.5.0
func (ga *GallacticAdapter) ConvertLog(log sputnikvm.Log) evm.Log
func (*GallacticAdapter) GetAmount ¶
func (ga *GallacticAdapter) GetAmount() *big.Int
func (*GallacticAdapter) GetData ¶
func (ga *GallacticAdapter) GetData() []byte
func (*GallacticAdapter) GetGasLimit ¶
func (ga *GallacticAdapter) GetGasLimit() *big.Int
func (*GallacticAdapter) GetGasPrice ¶ added in v0.5.0
func (ga *GallacticAdapter) GetGasPrice() *big.Int
func (*GallacticAdapter) GetNonce ¶
func (ga *GallacticAdapter) GetNonce() *big.Int
func (*GallacticAdapter) GetTxHash ¶ added in v0.7.0
func (ga *GallacticAdapter) GetTxHash() binary.HexBytes
func (*GallacticAdapter) LastBlockHash ¶
func (ga *GallacticAdapter) LastBlockHash() []byte
func (*GallacticAdapter) LastBlockNumber ¶
func (ga *GallacticAdapter) LastBlockNumber() *big.Int
func (*GallacticAdapter) TimeStamp ¶
func (ga *GallacticAdapter) TimeStamp() uint64
Click to show internal directories.
Click to hide internal directories.