Skip to content

Commit

Permalink
fix: Rename _owner to _governor
Browse files Browse the repository at this point in the history
  • Loading branch information
stonehengeLR committed Jul 4, 2024
1 parent e9cb33e commit cc82877
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/BlastYield.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ contract BlastYield {
* @param _blast Blast precompile
* @param _blastPoints Blast points
* @param _blastPointsOperator Blast points operator
* @param _owner Owner of the contract
* @param _governor Governor of the contract

This comment has been minimized.

Copy link
@0xhiroshi

0xhiroshi Jul 4, 2024

Collaborator

@stonehengeLR it's not the governor of the contract, the official definition is

The governor is the address that’s allowed to claim the contract’s yield and gas

This comment has been minimized.

Copy link
@stonehengeLR

stonehengeLR Jul 4, 2024

Author Contributor
* @param _usdb USDB address
* @param _weth WETH address
*/
constructor(
address _blast,
address _blastPoints,
address _blastPointsOperator,
address _owner,
address _governor,
address _usdb,
address _weth
) {
WETH = _weth;
USDB = _usdb;

IBlast(_blast).configure(IBlast__YieldMode.CLAIMABLE, IBlast__GasMode.CLAIMABLE, _owner);
IBlast(_blast).configure(IBlast__YieldMode.CLAIMABLE, IBlast__GasMode.CLAIMABLE, _governor);
IBlastPoints(_blastPoints).configurePointsOperator(_blastPointsOperator);
IERC20Rebasing(_weth).configure(IERC20Rebasing__YieldMode.CLAIMABLE);
IERC20Rebasing(_usdb).configure(IERC20Rebasing__YieldMode.CLAIMABLE);
Expand Down

0 comments on commit cc82877

Please sign in to comment.