This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@pixi/math-extras"; | |
import { Point } from "pixi.js"; | |
/** | |
* | |
* Limit the magnitude of the point to the given max. | |
*/ | |
function limit(p: Point, max: number): Point { | |
const x = p.x; | |
const y = p.y; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: mit | |
pragma solidity >=0.6.12; | |
import "@sushiswap/bentobox/contracts/interfaces/IBentoBoxV1.sol"; | |
import "@sushiswap/bentobox/contracts/interfaces/IFlashBorrower.sol"; | |
import "@boringcrypto/boring-solidity/contracts/libraries/BoringERC20.sol"; | |
import "hardhat/console.sol"; | |
import "../shared/Withdrawable.old.sol"; | |
/** |
OlderNewer