Skip to content

Commit

Permalink
updated mainnet artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
yudilevi committed Dec 11, 2023
1 parent d130cb8 commit 8c54664
Show file tree
Hide file tree
Showing 5 changed files with 1,365 additions and 839 deletions.
5 changes: 3 additions & 2 deletions contracts/pol/interfaces/ICarbonPOL.sol
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ interface ICarbonPOL is IUpgradeable {
function ethSaleAmount() external view returns (EthSaleAmount memory);

/**
* @notice returns the min eth sale amount - resets the current eth sale amount if below this amount after a trade
* @notice returns the min eth sale amount
*/
function minEthSaleAmount() external view returns (uint128);

Expand Down Expand Up @@ -108,7 +108,8 @@ interface ICarbonPOL is IUpgradeable {

/**
* @notice trades ETH for *targetAmount* of token based on the current token price (trade by target amount)
* @notice if token == ETH, trades BNT for amount of ETH
* @notice if token == ETH, trades BNT for amount of ETH and also
* @notice resets the current eth sale amount if it's below the min amount after a trade
*/
function trade(Token token, uint128 targetAmount) external payable;
}
3 changes: 2 additions & 1 deletion deployments/mainnet/.migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"0005-CarbonController-upgrade": 1686064433,
"0006-CarbonVortex-upgrade": 1688648259,
"0007-CarbonController-upgrade": 1692109910,
"0008-CarbonPOL": 1694526794
"0008-CarbonPOL": 1694526794,
"0009-CarbonPOL-upgrade": 1702289595
}
216 changes: 200 additions & 16 deletions deployments/mainnet/CarbonPOL.json

Large diffs are not rendered by default.

Loading

0 comments on commit 8c54664

Please sign in to comment.