Skip to main content

BAMMDeposit

a contract to read manipulation resistant LUSD from BAMM

Functions

constructor

function constructor(
address core
) public

Parameters

NameTypeDescription
coreaddress

receive

function receive() external

deposit

function deposit() external

deposit into B Protocol BAMM

withdraw

function withdraw(
address to,
uint256 amount
) external

withdraw LUSD from B Protocol BAMM

Parameters

NameTypeDescription
toaddress
amountuint256

balance

function balance() public returns (uint256)

report LUSD balance of BAMM

claimRewards

function claimRewards() public