Documentation ¶
Index ¶
- Constants
- type ECDSADataStruct
- type Median
- func (m *Median) Age(ctx context.Context) (time.Time, error)
- func (m *Median) Bar(ctx context.Context) (int, error)
- func (m *Median) Poke(ctx context.Context, val []*bn.DecFixedPointNumber, age []time.Time, v []uint8, ...) error
- func (m *Median) Val(ctx context.Context) (*bn.DecFixedPointNumber, error)
- func (m *Median) Wat(ctx context.Context) (string, error)
- type OpScribe
- type PokeData
- type PokeDataStruct
- type SchnorrData
- type SchnorrDataStruct
- type Scribe
- func (s *Scribe) Bar(ctx context.Context) (int, error)
- func (s *Scribe) Feeds(ctx context.Context) ([]types.Address, []uint8, error)
- func (s *Scribe) Poke(ctx context.Context, pokeData PokeData, schnorrData SchnorrData) error
- func (s *Scribe) Read(ctx context.Context) (*bn.DecFixedPointNumber, time.Time, error)
- func (s *Scribe) Wat(ctx context.Context) (string, error)
Constants ¶
View Source
const MedianPokeGesLimit = 200000
View Source
const MedianPokeMaxFeePerGas = 2000 * 1e9
View Source
const MedianPricePrecision = 18
View Source
const ScribeOpPokeGasLimit = 200000
View Source
const ScribeOpPokeMaxFeePerGas = 2000 * 1e9
View Source
const ScribePokeGasLimit = 200000
View Source
const ScribePokeMaxFeePerGas = 2000 * 1e9
View Source
const ScribePricePrecision = 18
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECDSADataStruct ¶
ECDSADataStruct represents the ECDSAData struct in the IScribe interface.
type Median ¶
type Median struct {
// contains filtered or unexported fields
}
type PokeDataStruct ¶
PokeDataStruct represents the PokeData struct in the IScribe interface.
type SchnorrData ¶
type SchnorrDataStruct ¶
type SchnorrDataStruct struct { Signature *big.Int `abi:"signature"` Commitment types.Address `abi:"commitment"` SignersBlob []byte `abi:"signersBlob"` }
SchnorrDataStruct represents the SchnorrData struct in the IScribe interface.
Click to show internal directories.
Click to hide internal directories.