builtin

package
v0.70.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builtin

type Builtin struct {
	// contains filtered or unexported fields
}

func New

func New(id string, asset *types.AssetDetails) *Builtin

func (*Builtin) GetAssetClass

func (b *Builtin) GetAssetClass() common.AssetClass

func (*Builtin) IsValid

func (b *Builtin) IsValid() bool

func (*Builtin) ProtoAsset

func (b *Builtin) ProtoAsset() *proto.Asset

func (*Builtin) SetEnabled

func (e *Builtin) SetEnabled()

func (*Builtin) SetPendingListing

func (e *Builtin) SetPendingListing()

func (*Builtin) SetRejected

func (e *Builtin) SetRejected()

func (*Builtin) SetValid

func (e *Builtin) SetValid()

func (*Builtin) SignBridgeWhitelisting

func (b *Builtin) SignBridgeWhitelisting() ([]byte, []byte, error)

func (*Builtin) SignWithdrawal

func (b *Builtin) SignWithdrawal() ([]byte, error)

func (*Builtin) String

func (b *Builtin) String() string

func (Builtin) Type

func (b Builtin) Type() *types.Asset

func (*Builtin) ValidateDeposit

func (b *Builtin) ValidateDeposit() error

func (*Builtin) ValidateWithdrawal

func (b *Builtin) ValidateWithdrawal() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL