Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions contracts/BooJoint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,19 @@ contract BooJoint {
address _strategist,
address _tokenA,
address _tokenB,
address _router
address _router,
uint256 _pid
) public {
_initialize(_governance, _strategist, _tokenA, _tokenB, _router);
_initialize(_governance, _strategist, _tokenA, _tokenB, _router, _pid);
}

function _initialize(
address _governance,
address _strategist,
address _tokenA,
address _tokenB,
address _router
address _router,
uint256 _pid
) internal {
require(address(tokenA) == address(0), "Joint already initialized");

Expand All @@ -75,11 +77,12 @@ contract BooJoint {
tokenA = _tokenA;
tokenB = _tokenB;
router = _router;
pid = 1;
pid = _pid;

masterchef = IMasterchef(
address(0x2b2929E785374c651a81A63878Ab22742656DcDd)
);

reward = address(0x841FAD6EAe12c286d1Fd18d1d525DFfA75C7EFFE);
WETH = address(0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83);

Expand Down
2 changes: 1 addition & 1 deletion contracts/CakeJoint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ contract CakeJoint {
)
);

return string(abi.encodePacked("BooJointOf", ab));
return string(abi.encodePacked("JointOf", ab));
}

function createLP() internal {
Expand Down