Documentation ¶
Index ¶
- type Account
- func (a *Account) Address() string
- func (a *Account) Mnemonic() string
- func (a *Account) PrivateKey() string
- func (a *Account) PublicKey() string
- func (a *Account) SetAddress(address string)
- func (a *Account) SetMnemonic(mnemonic string)
- func (a *Account) SetPrivateKey(privateKey string)
- func (a *Account) SetPublicKey(publicKey string)
- type AccountInfo
- type BlockEventBean
- type ConfigInfo
- func (c *ConfigInfo) AuthorityAddress() common.Address
- func (c *ConfigInfo) ChargeAddress() common.Address
- func (c *ConfigInfo) Conn() *ethclient.Client
- func (c *ConfigInfo) Ddc1155Address() common.Address
- func (c *ConfigInfo) Ddc721Address() common.Address
- func (c *ConfigInfo) GasPrice() uint64
- func (c *ConfigInfo) HeaderKey() string
- func (c *ConfigInfo) HeaderValue() string
- func (c *ConfigInfo) OpbGatewayAddress() string
- func (c *ConfigInfo) SetAuthorityAddress(authorityAddress string)
- func (c *ConfigInfo) SetChargeAddress(chargeAddress string)
- func (c *ConfigInfo) SetConn(conn *ethclient.Client)
- func (c *ConfigInfo) SetDdc1155Address(ddc1155Address string)
- func (c *ConfigInfo) SetDdc721Address(ddc721Address string)
- func (c *ConfigInfo) SetGasPrice(gasPrice uint64)
- func (c *ConfigInfo) SetHeaderKey(headerKey string)
- func (c *ConfigInfo) SetHeaderValue(headerValue string)
- func (c *ConfigInfo) SetOpbGatewayAddress(opbGatewayAddress string)
- func (c *ConfigInfo) SetSignEventListener(signEventListener listener.SignEventListener)
- func (c *ConfigInfo) SignEventListener() listener.SignEventListener
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 (*Account) PrivateKey ¶
func (*Account) SetAddress ¶
func (*Account) SetMnemonic ¶
func (*Account) SetPrivateKey ¶
func (*Account) SetPublicKey ¶
type AccountInfo ¶
type AccountInfo struct { AccDID string AccName string AccRole uint8 LeaderDID string PlatformState uint8 OperatorState uint8 Field string }
func NewAccountInfo ¶
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
Click to show internal directories.
Click to hide internal directories.