Documentation ¶
Index ¶
- Constants
- type RegistryService
- func (r *RegistryService) GetAddressByFid(fid uint64) (string, error)
- func (r *RegistryService) GetAddressByFname(fname string) (string, error)
- func (r *RegistryService) GetFidByAddress(address string) (uint64, error)
- func (r *RegistryService) GetFidByFname(fname string) (uint64, error)
- func (r *RegistryService) GetFnameByAddress(address string) (string, error)
- func (r *RegistryService) GetFnameByFid(fid uint64) (string, error)
Constants ¶
View Source
const ( FIR_DEPLOYMENT_BLOCK = 7_648_795 FNR_DEPLOYMENT_BLOCK = 7_648_795 FIR_CONTRACT_ADDRESS = "0xda107a1caf36d198b12c16c7b6a1d1c795978c42" FNR_CONTRACT_ADDRESS = "0xe3be01d99baa8db9905b33a3ca391238234b79d1" REGISTER_TOPIC = "0x3cd6a0ffcc37406d9958e09bba79ff19d8237819eb2e1911f9edbce656499c87" TRANSFER_TOPIC = "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegistryService ¶
type RegistryService struct {
// contains filtered or unexported fields
}
func NewRegistryService ¶
func NewRegistryService(providerWs string) *RegistryService
func (*RegistryService) GetAddressByFid ¶
func (r *RegistryService) GetAddressByFid(fid uint64) (string, error)
func (*RegistryService) GetAddressByFname ¶
func (r *RegistryService) GetAddressByFname(fname string) (string, error)
func (*RegistryService) GetFidByAddress ¶
func (r *RegistryService) GetFidByAddress(address string) (uint64, error)
func (*RegistryService) GetFidByFname ¶
func (r *RegistryService) GetFidByFname(fname string) (uint64, error)
func (*RegistryService) GetFnameByAddress ¶
func (r *RegistryService) GetFnameByAddress(address string) (string, error)
func (*RegistryService) GetFnameByFid ¶
func (r *RegistryService) GetFnameByFid(fid uint64) (string, error)
Click to show internal directories.
Click to hide internal directories.