Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultOrigin ¶
func (DefaultOrigin) GetOrigin ¶
func (d DefaultOrigin) GetOrigin() (res xcrypto.OriginData)
type DefaultOriginBuilder ¶
type DefaultOriginBuilder struct {
// contains filtered or unexported fields
}
func NewDefaultOriginBuilder ¶
func NewDefaultOriginBuilder() *DefaultOriginBuilder
func (*DefaultOriginBuilder) Build ¶
func (b *DefaultOriginBuilder) Build() *DefaultOrigin
func (*DefaultOriginBuilder) SetCurrentNetwork ¶
func (b *DefaultOriginBuilder) SetCurrentNetwork(network string) *DefaultOriginBuilder
func (*DefaultOriginBuilder) SetOpId ¶
func (b *DefaultOriginBuilder) SetOpId(id string) *DefaultOriginBuilder
func (*DefaultOriginBuilder) SetTxHash ¶
func (b *DefaultOriginBuilder) SetTxHash(tx string) *DefaultOriginBuilder
type Origin ¶
type Origin interface {
GetOrigin() xcrypto.OriginData
}
Origin stores information about deposit (lock) transaction
type StringOrigin ¶
type StringOrigin struct {
Str string
}
func (*StringOrigin) GetOrigin ¶
func (s *StringOrigin) GetOrigin() (res xcrypto.OriginData)
type StringOriginBuilder ¶
type StringOriginBuilder struct {
// contains filtered or unexported fields
}
func NewStringOriginBuilder ¶
func NewStringOriginBuilder() *StringOriginBuilder
func (*StringOriginBuilder) Build ¶
func (b *StringOriginBuilder) Build() *StringOrigin
func (*StringOriginBuilder) SetString ¶
func (b *StringOriginBuilder) SetString(str string) *StringOriginBuilder
Click to show internal directories.
Click to hide internal directories.