Documentation ¶
Index ¶
- Variables
- func Config(r *http.Request) config.Config
- func CtxConfig(cfg config.Config) func(context.Context) context.Context
- func CtxLightweightState(registry *contracts.LightweightState) func(context.Context) context.Context
- func CtxLog(entry *logan.Entry) func(context.Context) context.Context
- func CtxSignedTransitStateMethod(method *abi.Method) func(context.Context) context.Context
- func CtxStateQ(stateQ data.StateQ) func(context.Context) context.Context
- func CtxVoteVerifierRegisterMethod(method *abi.Method) func(context.Context) context.Context
- func CtxVotingRegistry(registry *contracts.VotingRegistry) func(context.Context) context.Context
- func GetSignedState(w http.ResponseWriter, r *http.Request)
- func LightweightState(r *http.Request) *contracts.LightweightState
- func Log(r *http.Request) *logan.Entry
- func Register(w http.ResponseWriter, r *http.Request)
- func SignedTransitStateMethod(r *http.Request) *abi.Method
- func StateQ(r *http.Request) data.StateQ
- func TransitState(w http.ResponseWriter, r *http.Request)
- func Vote(w http.ResponseWriter, r *http.Request)
- func VoteVerifierRegisterMethod(r *http.Request) *abi.Method
- func VotingRegistry(r *http.Request) *contracts.VotingRegistry
Constants ¶
This section is empty.
Variables ¶
View Source
var ONE = 1000000000
ONE - One GWEI
Functions ¶
func CtxLightweightState ¶ added in v0.3.0
func CtxSignedTransitStateMethod ¶ added in v0.3.0
func CtxVotingRegistry ¶
func GetSignedState ¶ added in v0.3.4
func GetSignedState(w http.ResponseWriter, r *http.Request)
func LightweightState ¶ added in v0.3.0
func LightweightState(r *http.Request) *contracts.LightweightState
func SignedTransitStateMethod ¶ added in v0.3.0
func TransitState ¶ added in v0.3.0
func TransitState(w http.ResponseWriter, r *http.Request)
func VotingRegistry ¶
func VotingRegistry(r *http.Request) *contracts.VotingRegistry
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.