PriceProviderChanger

View Source: contracts/changers/PriceProviderChanger.sol

↗ Extends: ChangeContract, Ownable

PriceProviderChanger - version: 0.1.10

This contract is used to update the configuration of MoCState with MoC --- governance.

Contract Members

Constants & Variables

contract MoCState public mocState;

address public priceProvider;

Functions

function (MoCState _mocState, address _priceProvider) public nonpayable

Arguments

Name
Type
Description

_mocState

MoCState

_priceProvider

address

execute

⤾ overrides ChangeContract.execute

function execute() external nonpayable

Arguments

setPriceProvider

function setPriceProvider(address _priceProvider) public nonpayable onlyOwner 

Arguments

Name
Type
Description

_priceProvider

address

Last updated