Documentation ¶
Index ¶
- type API
- func (api *API) AddressOf(ctx context.Context, chainID uint64, username string) (*common.Address, error)
- func (api *API) ContentHash(ctx context.Context, chainID uint64, username string) ([]byte, error)
- func (api *API) ExpireAt(ctx context.Context, chainID uint64, username string) (string, error)
- func (api *API) GetRegistrarAddress(ctx context.Context, chainID uint64) (common.Address, error)
- func (api *API) OwnerOf(ctx context.Context, chainID uint64, username string) (*common.Address, error)
- func (api *API) Price(ctx context.Context, chainID uint64) (string, error)
- func (api *API) PublicKeyOf(ctx context.Context, chainID uint64, username string) (string, error)
- func (api *API) Register(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, ...) (string, error)
- func (api *API) RegisterEstimate(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, ...) (uint64, error)
- func (api *API) RegisterPrepareTx(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, ...) (interface{}, error)
- func (api *API) RegisterPrepareTxCallMsg(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, ...) (ethereum.CallMsg, error)
- func (api *API) Release(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, ...) (string, error)
- func (api *API) ReleaseEstimate(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, ...) (uint64, error)
- func (api *API) Resolver(ctx context.Context, chainID uint64, username string) (*common.Address, error)
- func (api *API) ResourceURL(ctx context.Context, chainID uint64, username string) (*URI, error)
- func (api *API) SetPubKey(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, ...) (string, error)
- func (api *API) SetPubKeyEstimate(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, ...) (uint64, error)
- func (api *API) SetPubKeyPrepareTx(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, ...) (interface{}, error)
- func (api *API) SetPubKeyPrepareTxCallMsg(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, ...) (ethereum.CallMsg, error)
- type Service
- type URI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func NewAPI ¶
func NewAPI(rpcClient *rpc.Client, accountsManager *account.GethManager, rpcFiltersSrvc *rpcfilters.Service, config *params.NodeConfig) *API
func (*API) ContentHash ¶
func (*API) GetRegistrarAddress ¶ added in v0.98.1
func (*API) PublicKeyOf ¶
func (*API) RegisterEstimate ¶ added in v0.93.2
func (api *API) RegisterEstimate(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, username string, pubkey string) (uint64, error)
func (*API) RegisterPrepareTx ¶ added in v0.94.6
func (api *API) RegisterPrepareTx(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, username string, pubkey string) (interface{}, error)
func (*API) RegisterPrepareTxCallMsg ¶ added in v0.94.6
func (api *API) RegisterPrepareTxCallMsg(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, username string, pubkey string) (ethereum.CallMsg, error)
func (*API) Release ¶ added in v0.93.2
func (api *API) Release(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, password string, username string) (string, error)
func (*API) ReleaseEstimate ¶ added in v0.93.2
func (api *API) ReleaseEstimate(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, username string) (uint64, error)
func (*API) ResourceURL ¶
func (*API) SetPubKeyEstimate ¶ added in v0.93.2
func (api *API) SetPubKeyEstimate(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, username string, pubkey string) (uint64, error)
func (*API) SetPubKeyPrepareTx ¶ added in v0.94.6
func (api *API) SetPubKeyPrepareTx(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, username string, pubkey string) (interface{}, error)
func (*API) SetPubKeyPrepareTxCallMsg ¶ added in v0.94.6
func (api *API) SetPubKeyPrepareTxCallMsg(ctx context.Context, chainID uint64, txArgs transactions.SendTxArgs, username string, pubkey string) (ethereum.CallMsg, error)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a browsers service.
func NewService ¶
func NewService(rpcClient *rpc.Client, accountsManager *account.GethManager, rpcFiltersSrvc *rpcfilters.Service, config *params.NodeConfig) *Service
NewService initializes service instance.
Click to show internal directories.
Click to hide internal directories.