Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func NewResolver ¶
NewResolver create new ethereum resolver.
func (*Resolver) BlockchainID ¶
func (*Resolver) Resolve ¶
func (r *Resolver) Resolve( ctx context.Context, did w3c.DID, opts *services.ResolverOpts, ) (services.IdentityState, error)
func (*Resolver) ResolveGist ¶
type ResolverOption ¶ added in v0.0.5
type ResolverOption func(*Resolver)
type StateContract ¶
type StateContract interface { GetGISTRoot(opts *bind.CallOpts) (*big.Int, error) GetGISTRootInfo(opts *bind.CallOpts, root *big.Int) (contract.IStateGistRootInfo, error) GetGISTProofByRoot(opts *bind.CallOpts, id *big.Int, root *big.Int) (contract.IStateGistProof, error) GetStateInfoById(opts *bind.CallOpts, id *big.Int) (contract.IStateStateInfo, error) GetStateInfoByIdAndState(opts *bind.CallOpts, id *big.Int, state *big.Int) (contract.IStateStateInfo, error) }
Click to show internal directories.
Click to hide internal directories.