Documentation ¶
Overview ¶
Package for transactions related to Etheruem
Package for transactions related to Etheruem ¶
Package for transactions related to Etheruem ¶
Package for transactions related to Etheruem ¶
Package for transactions related to Etheruem ¶
Package for transactions related to Etheruem
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableInternalETH ¶
Types ¶
type ERC20Lock ¶ added in v0.14.0
Lock is a struct for one-Ledger transaction for ERC20 Lock
func (ERC20Lock) Signers ¶ added in v0.14.0
Signers return the Address of the owner who created the transaction
type ERC20Redeem ¶ added in v0.14.0
type ERC20Redeem struct { Owner action.Address //User Oneledger address To ethcommon.Address //User Ethereum address ETHTxn []byte }
Lock is a struct for one-Ledger transaction for ERC20 Redeem
func (ERC20Redeem) Marshal ¶ added in v0.14.0
func (E ERC20Redeem) Marshal() ([]byte, error)
Marshal ERC20Redeem to byte array
func (ERC20Redeem) Signers ¶ added in v0.14.0
func (E ERC20Redeem) Signers() []action.Address
Signers return the Address of the owner who created the transaction
func (ERC20Redeem) Tags ¶ added in v0.14.0
func (E ERC20Redeem) Tags() kv.Pairs
Tags creates the tags to associate with the transaction
func (ERC20Redeem) Type ¶ added in v0.14.0
func (E ERC20Redeem) Type() action.Type
Type returns the type of current action
func (*ERC20Redeem) Unmarshal ¶ added in v0.14.0
func (E *ERC20Redeem) Unmarshal(data []byte) error
type Lock ¶
Lock is a struct for one-Ledger transaction for Ether Lock
type Redeem ¶
type Redeem struct { Owner action.Address //User Oneledger address To ethcommon.Address //User Ethereum address ETHTxn []byte }
Redeem is a struct for one-Ledger transaction for Ether Redeem
type ReportFinality ¶
type ReportFinality struct { TrackerName ethereum.TrackerName Locker action.Address ValidatorAddress action.Address VoteIndex int64 Success bool }
func (*ReportFinality) Marshal ¶
func (m *ReportFinality) Marshal() ([]byte, error)
func (*ReportFinality) Signers ¶
func (m *ReportFinality) Signers() []action.Address
func (*ReportFinality) Tags ¶
func (m *ReportFinality) Tags() kv.Pairs
func (*ReportFinality) Type ¶
func (m *ReportFinality) Type() action.Type
func (*ReportFinality) Unmarshal ¶
func (m *ReportFinality) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.