BAMMDeposit
a contract to read manipulation resistant LUSD from BAMM
Functions
constructor
function constructor(
address core
) public
Parameters
Name | Type | Description |
---|---|---|
core | address |
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
Name | Type | Description |
---|---|---|
to | address | |
amount | uint256 |
balance
function balance() public returns (uint256)
report LUSD balance of BAMM
claimRewards
function claimRewards() public