dto

package
v0.0.0-...-73ba865 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

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

func NewAccount

func NewAccount(address string, publicKey string, privateKey string, mnemonic string) *Account

func (*Account) Address

func (a *Account) Address() string

func (*Account) Mnemonic

func (a *Account) Mnemonic() string

func (*Account) PrivateKey

func (a *Account) PrivateKey() string

func (*Account) PublicKey

func (a *Account) PublicKey() string

func (*Account) SetAddress

func (a *Account) SetAddress(address string)

func (*Account) SetMnemonic

func (a *Account) SetMnemonic(mnemonic string)

func (*Account) SetPrivateKey

func (a *Account) SetPrivateKey(privateKey string)

func (*Account) SetPublicKey

func (a *Account) SetPublicKey(publicKey string)

type AccountInfo

type AccountInfo struct {
	AccDID        string
	AccName       string
	AccRole       uint8
	LeaderDID     string
	PlatformState uint8
	OperatorState uint8
	Field         string
}

func NewAccountInfo

func NewAccountInfo(accDID string, accName string, accRole uint8, leaderDID string, platformState uint8, operatorState uint8, field string) *AccountInfo

type BlockEventBean

type BlockEventBean struct {
	Events    []interface{}
	Timestamp string
}

type ConfigInfo

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

func NewConfigInfo

func NewConfigInfo() *ConfigInfo

func (*ConfigInfo) AuthorityAddress

func (c *ConfigInfo) AuthorityAddress() common.Address

func (*ConfigInfo) ChargeAddress

func (c *ConfigInfo) ChargeAddress() common.Address

func (*ConfigInfo) Conn

func (c *ConfigInfo) Conn() *ethclient.Client

func (*ConfigInfo) Ddc1155Address

func (c *ConfigInfo) Ddc1155Address() common.Address

func (*ConfigInfo) Ddc721Address

func (c *ConfigInfo) Ddc721Address() common.Address

func (*ConfigInfo) GasPrice

func (c *ConfigInfo) GasPrice() uint64

func (*ConfigInfo) HeaderKey

func (c *ConfigInfo) HeaderKey() string

func (*ConfigInfo) HeaderValue

func (c *ConfigInfo) HeaderValue() string

func (*ConfigInfo) OpbGatewayAddress

func (c *ConfigInfo) OpbGatewayAddress() string

func (*ConfigInfo) SetAuthorityAddress

func (c *ConfigInfo) SetAuthorityAddress(authorityAddress string)

func (*ConfigInfo) SetChargeAddress

func (c *ConfigInfo) SetChargeAddress(chargeAddress string)

func (*ConfigInfo) SetConn

func (c *ConfigInfo) SetConn(conn *ethclient.Client)

func (*ConfigInfo) SetDdc1155Address

func (c *ConfigInfo) SetDdc1155Address(ddc1155Address string)

func (*ConfigInfo) SetDdc721Address

func (c *ConfigInfo) SetDdc721Address(ddc721Address string)

func (*ConfigInfo) SetGasPrice

func (c *ConfigInfo) SetGasPrice(gasPrice uint64)

func (*ConfigInfo) SetHeaderKey

func (c *ConfigInfo) SetHeaderKey(headerKey string)

func (*ConfigInfo) SetHeaderValue

func (c *ConfigInfo) SetHeaderValue(headerValue string)

func (*ConfigInfo) SetOpbGatewayAddress

func (c *ConfigInfo) SetOpbGatewayAddress(opbGatewayAddress string)

func (*ConfigInfo) SetSignEventListener

func (c *ConfigInfo) SetSignEventListener(signEventListener listener.SignEventListener)

func (*ConfigInfo) SignEventListener

func (c *ConfigInfo) SignEventListener() listener.SignEventListener

Jump to

Keyboard shortcuts

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