Skip to content

Latest commit

 

History

History
242 lines (226 loc) · 8.93 KB

FeeSharingCollectorProxy.md

File metadata and controls

242 lines (226 loc) · 8.93 KB

FeeSharingCollectorProxy contract. (FeeSharingCollectorProxy.sol)

View Source: contracts/governance/FeeSharingCollector/FeeSharingCollectorProxy.sol

↗ Extends: FeeSharingCollectorStorage, UpgradableProxy

FeeSharingCollectorProxy contract

FeeSharingCollectorProxy contract should be upgradable, use UpgradableProxy. FeeSharingCollectorStorage is deployed with the upgradable functionality by using this contract instead, that inherits from UpgradableProxy the possibility of being enhanced and re-deployed.

Functions


constructor

Construct a new feeSharingCollectorProxy contract.

function (IProtocol _protocol, IStaking _staking) public nonpayable

Arguments

Name Type Description
_protocol IProtocol The address of the sovryn protocol.
_staking IStaking The address of the staking
Source Code
constructor(IProtocol _protocol, IStaking _staking) public {
        protocol = _protocol;
        staking = _staking;
    }

Contracts