Options
All
  • Public
  • Public/Protected
  • All
Menu

Parameters for initializing OracleQueueAccount

Hierarchy

  • OracleQueueInitParams

Index

Properties

authority: PublicKey

The account to delegate authority to for creating permissions targeted at the queue.

consecutiveFeedFailureLimit?: BN

Consecutive failure limit for a feed before feed permission is revoked.

consecutiveOracleFailureLimit?: BN

TODO: implement Consecutive failure limit for an oracle before oracle permission is revoked.

feedProbationPeriod?: number

After a feed lease is funded or re-funded, it must consecutively succeed N amount of times or its authorization to use the queue is auto-revoked.

metadata?: Buffer

Buffer for queue metadata

minStake: BN

The minimum amount of stake oracles must present to remain on the queue.

minimumDelaySeconds?: number

the minimum update delay time for Aggregators

mint: PublicKey
name?: Buffer

A name to assign to this OracleQueue

oracleTimeout?: BN

Time period we should remove an oracle after if no response.

queueSize?: number

Optionally set the size of the queue.

reward: BN

Rewards to provide oracles and round openers on this queue.

slashingEnabled?: boolean

Whether slashing is enabled on this queue.

unpermissionedFeeds?: boolean

Eanbling this setting means data feeds do not need explicit permission to join the queue.

unpermissionedVrf?: boolean

Eanbling this setting means data feeds do not need explicit permission to request VRF proofs and verifications from this queue.

varianceToleranceMultiplier?: number

The tolerated variance amount oracle results can have from the accepted round result before being slashed. slashBound = varianceToleranceMultiplier * stdDeviation Default: 2

Generated using TypeDoc