Documentation ¶
Index ¶
- func Load()
- type AddressListRow
- type AddressListRows
- type AddressListTable
- type ContractCallRow
- type ContractCallRows
- type ContractCallTable
- type ContractRow
- type ContractRows
- type ContractTable
- type ISQLRows
- type TransactionRow
- type TransactionRows
- type TransactionTable
- type TransferRow
- type TransferRows
- type TransferTable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddressListRow ¶
type AddressListRows ¶
type AddressListRows struct {
simpleSQLDatabase.BasicRows
}
func (*AddressListRows) InsertSystemIssueBalance ¶
func (a *AddressListRows) InsertSystemIssueBalance(balance *big.Int, address string)
func (*AddressListRows) Table ¶
func (a *AddressListRows) Table() simpleSQLDatabase.ITable
type AddressListTable ¶
type AddressListTable struct { ID enum.Element `col:"c_id" ignoreInsert:"true"` Address enum.Element `col:"c_address"` Balance enum.Element `col:"c_balance"` UpdateHeight enum.Element `col:"c_update_height"` UpdateTime enum.Element `col:"c_update_time"` simpleSQLDatabase.BasicTable }
var AddressList AddressListTable
func (AddressListTable) Name ¶
func (a AddressListTable) Name() (name string)
func (AddressListTable) NewRows ¶
func (a AddressListTable) NewRows() interface{}
type ContractCallRow ¶
type ContractCallRows ¶
type ContractCallRows struct {
simpleSQLDatabase.BasicRows
}
func (*ContractCallRows) Insert ¶
func (t *ContractCallRows) Insert(tx smartAssetsLedger.Transaction, blk block.Entity)
func (*ContractCallRows) Table ¶
func (t *ContractCallRows) Table() simpleSQLDatabase.ITable
type ContractCallTable ¶
type ContractCallTable struct { ID enum.Element `col:"c_id" ignoreInsert:"true"` Height enum.Element `col:"c_height"` TxHash enum.Element `col:"c_tx_hash"` SequenceNumber enum.Element `col:"c_sequence_number"` Caller enum.Element `col:"c_caller"` ContractAddress enum.Element `col:"c_contract_address"` Data enum.Element `col:"c_data"` Result enum.Element `col:"c_result"` Value enum.Element `col:"c_value"` Time enum.Element `col:"c_time"` simpleSQLDatabase.BasicTable }
var ContractCall ContractCallTable
func (ContractCallTable) Name ¶
func (t ContractCallTable) Name() (name string)
func (ContractCallTable) NewRows ¶
func (t ContractCallTable) NewRows() interface{}
type ContractRow ¶
type ContractRows ¶
type ContractRows struct {
simpleSQLDatabase.BasicRows
}
func (*ContractRows) Insert ¶
func (t *ContractRows) Insert(tx smartAssetsLedger.Transaction, blk block.Entity)
func (*ContractRows) Table ¶
func (t *ContractRows) Table() simpleSQLDatabase.ITable
type ContractTable ¶
type ContractTable struct { ID enum.Element `col:"c_id" ignoreInsert:"true"` Height enum.Element `col:"c_height"` TxHash enum.Element `col:"c_tx_hash"` SequenceNumber enum.Element `col:"c_sequence_number"` Creator enum.Element `col:"c_creator"` CreationData enum.Element `col:"c_creation_data"` ContractAddress enum.Element `col:"c_contract_address"` ContractData enum.Element `col:"c_contract_data"` Memo enum.Element `col:"c_memo"` Time enum.Element `col:"c_time"` simpleSQLDatabase.BasicTable }
var Contract ContractTable
func (ContractTable) Name ¶
func (t ContractTable) Name() (name string)
func (ContractTable) NewRows ¶
func (t ContractTable) NewRows() interface{}
type ISQLRows ¶
type ISQLRows interface { simpleSQLDatabase.IRows Insert(tx smartAssetsLedger.Transaction, blk block.Entity) }
type TransactionRow ¶
type TransactionRows ¶
type TransactionRows struct {
simpleSQLDatabase.BasicRows
}
func (*TransactionRows) Insert ¶
func (t *TransactionRows) Insert(tx smartAssetsLedger.Transaction, blk block.Entity)
func (*TransactionRows) Table ¶
func (t *TransactionRows) Table() simpleSQLDatabase.ITable
type TransactionTable ¶
type TransactionTable struct { ID enum.Element `col:"c_id" ignoreInsert:"true"` Height enum.Element `col:"c_height"` TxHash enum.Element `col:"c_hash"` Type enum.Element `col:"c_type"` From enum.Element `col:"c_from"` To enum.Element `col:"c_to"` Value enum.Element `col:"c_value"` Data enum.Element `col:"c_data"` Memo enum.Element `col:"c_memo"` SerialNumber enum.Element `col:"c_serial_number"` SequenceNumber enum.Element `col:"c_sequence_number"` TxDataSeal enum.Element `col:"c_tx_data_seal"` Result enum.Element `col:"c_result"` Time enum.Element `col:"c_time"` simpleSQLDatabase.BasicTable }
var Transaction TransactionTable
func (TransactionTable) Name ¶
func (t TransactionTable) Name() (name string)
func (TransactionTable) NewRows ¶
func (t TransactionTable) NewRows() interface{}
type TransferRow ¶
type TransferRows ¶
type TransferRows struct {
simpleSQLDatabase.BasicRows
}
func (*TransferRows) Insert ¶
func (t *TransferRows) Insert(tx smartAssetsLedger.Transaction, blk block.Entity)
func (*TransferRows) Table ¶
func (t *TransferRows) Table() simpleSQLDatabase.ITable
type TransferTable ¶
type TransferTable struct { ID enum.Element `col:"c_id" ignoreInsert:"true"` Height enum.Element `col:"c_height"` TxHash enum.Element `col:"c_tx_hash"` SequenceNumber enum.Element `col:"c_sequence_number"` From enum.Element `col:"c_from"` To enum.Element `col:"c_to"` Value enum.Element `col:"c_value"` Memo enum.Element `col:"c_memo"` Time enum.Element `col:"c_time"` simpleSQLDatabase.BasicTable }
var Transfer TransferTable
func (TransferTable) Name ¶
func (t TransferTable) Name() (name string)
func (TransferTable) NewRows ¶
func (t TransferTable) NewRows() interface{}
Click to show internal directories.
Click to hide internal directories.