@0x:contracts-staking Added protocol fee functions to IStaking

This commit is contained in:
Alex Towle
2019-08-21 15:10:45 -07:00
parent 415af90ae7
commit 749c0354b3
2 changed files with 13 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
/*
Copyright 2018 ZeroEx Intl.
Copyright 2019 ZeroEx Intl.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -19,9 +19,17 @@
pragma solidity ^0.5.9;
// solhint-disable no-empty-blocks
interface IStaking {
/// THIS INTERFACE IS LEFT INTENTIONALLY BLANK ///
/// @TODO Generate this file before deploying.
/// @dev Pays a protocol fee in ETH.
/// @param makerAddress The address of the order's maker.
function payProtocolFee(address makerAddress)
external
payable;
/// @dev Records a protocol fee that was paid in WETH.
/// @param makerAddress The address of the order's maker.
function recordProtocolFee(address makerAddress)
external
payable;
}

View File

@@ -29,8 +29,8 @@ import * as MixinScheduler from '../generated-artifacts/MixinScheduler.json';
import * as MixinStake from '../generated-artifacts/MixinStake.json';
import * as MixinStakeBalances from '../generated-artifacts/MixinStakeBalances.json';
import * as MixinStakingPool from '../generated-artifacts/MixinStakingPool.json';
import * as MixinStakingPoolRewards from '../generated-artifacts/MixinStakingPoolRewards.json';
import * as MixinStakingPoolRewardVault from '../generated-artifacts/MixinStakingPoolRewardVault.json';
import * as MixinStakingPoolRewards from '../generated-artifacts/MixinStakingPoolRewards.json';
import * as MixinStorage from '../generated-artifacts/MixinStorage.json';
import * as MixinTimeLockedStake from '../generated-artifacts/MixinTimeLockedStake.json';
import * as MixinVaultCore from '../generated-artifacts/MixinVaultCore.json';