AccessControlledOffchainAggregator Management: Difference between revisions
From Chainlink Community Wiki
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
Payee Address | Payee Address | ||
OCR Config Public Key | |||
=== '''setConfig Variables''' === | |||
<code>'''_signers (address[])'''</code> : This is an array of signing addresses for each of the Chainlink Nodes making observations for this OCR Contract. It is critical that the ordering of the signing addresses and their respective transmitting addresses are identical. | |||
<code>'''_transmitters (address[])'''</code> : This is going to be an array of the the Account Addresses of each Chainlink Node participating in the feed. It is critical that each node be in the same sequential order as their respective <code>_signers</code> addresses. | |||
<code>'''_threshold (uint8)'''</code> : This value is the deviation threshold that you would like the contract to update at. It is formatted with 7 decimal places. For example, if you wanted the contract to update when the value changed more than <code>5%</code>, then the value would be <code>50000000</code>, and then as uint8 it would be <code>0x0000000000000000000000000000000000000000000000000000000000000080</code> | |||
<code>'''_encodedConfigVersion (uint64)'''</code> : This is a uint64 encoded value that tracks the version of the config. It can be set to 1, or as a unit64, <code>0x0000000000000000000000000000000000000000000000000000000000000001</code> | |||
<code>'''_encoded (bytes)'''</code> : |
Revision as of 16:48, 1 June 2022
This page provides guidance on managing your AccessControlledOffchainAggregator
(your OCR aggregator) contract.
For the sake of keeping things relatively simple, we'll be using Etherscan to manage the contract.
Please see the index to easily navigate between the various sections as there is a lot of information here.
Adding Chainlink Nodes to Your AccessControlledOffchainAggregator
So you've already deployed your OCR aggregator contract, and now you want to add some Chainlink Nodes to the contract.
In order to accomplish this, we will need some information from your Chainlink Node Operators:
Signing Address
Transmitter Address
Payee Address
OCR Config Public Key
setConfig Variables
_signers (address[])
: This is an array of signing addresses for each of the Chainlink Nodes making observations for this OCR Contract. It is critical that the ordering of the signing addresses and their respective transmitting addresses are identical.
_transmitters (address[])
: This is going to be an array of the the Account Addresses of each Chainlink Node participating in the feed. It is critical that each node be in the same sequential order as their respective _signers
addresses.
_threshold (uint8)
: This value is the deviation threshold that you would like the contract to update at. It is formatted with 7 decimal places. For example, if you wanted the contract to update when the value changed more than 5%
, then the value would be 50000000
, and then as uint8 it would be 0x0000000000000000000000000000000000000000000000000000000000000080
_encodedConfigVersion (uint64)
: This is a uint64 encoded value that tracks the version of the config. It can be set to 1, or as a unit64, 0x0000000000000000000000000000000000000000000000000000000000000001
_encoded (bytes)
: