Skip to content

Commit

Permalink
remove converter
Browse files Browse the repository at this point in the history
  • Loading branch information
0x3bfc committed Aug 29, 2020
1 parent 4f73f45 commit dfe2bae
Show file tree
Hide file tree
Showing 7 changed files with 378 additions and 97 deletions.
3 changes: 1 addition & 2 deletions contracts/DTFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ pragma solidity ^0.5.7;
// Code is Apache-2.0 and docs are CC-BY-4.0

import './utils/Deployer.sol';
import './utils/Converter.sol';
import './interfaces/IERC20Template.sol';

/**
Expand All @@ -17,7 +16,7 @@ import './interfaces/IERC20Template.sol';
* New DataToken proxy contracts are links to the template contract's bytecode.
* Proxy contract functionality is based on Ocean Protocol custom implementation of ERC1167 standard.
*/
contract DTFactory is Deployer, Converter {
contract DTFactory is Deployer {
address private tokenTemplate;
address private communityFeeCollector;
uint256 private currentTokenCount = 1;
Expand Down
3 changes: 1 addition & 2 deletions contracts/balancer/BFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ pragma solidity ^0.5.7;
import './BPool.sol';
import './BConst.sol';
import '../utils/Deployer.sol';
import '../utils/Converter.sol';

/*
* @title BFactory contract
Expand All @@ -19,7 +18,7 @@ import '../utils/Converter.sol';
* implementation of ERC1167 standard.
*/

contract BFactory is BConst, Deployer, Converter {
contract BFactory is BConst, Deployer {

address private _bpoolTemplate;

Expand Down
66 changes: 0 additions & 66 deletions contracts/utils/Converter.sol

This file was deleted.

38 changes: 38 additions & 0 deletions docs/contracts/balancer/BFactory.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## `BFactory`






### `constructor(address bpoolTemplate)` (public)





### `newBPool() → address bpool` (public)





### `getBPool() → address` (external)






### `BPoolCreated(address newBPoolAddress, address bpoolTemplateAddress)`





### `BPoolRegistered(address bpoolAddress, address registeredBy, uint256 registeredAt)`





0 comments on commit dfe2bae

Please sign in to comment.