Skip to main content

IMasterContractManager

Functions

setMasterContractApproval

function setMasterContractApproval(
address user,
address masterContract,
bool approved,
uint8 v,
bytes32 r,
bytes32 s
) external

Parameters

NameTypeDescription
useraddress
masterContractaddress
approvedbool
vuint8
rbytes32
sbytes32

withdraw

function withdraw(
address token,
address from,
address to,
uint256 amount,
uint256 shares
) external

Parameters

NameTypeDescription
tokenaddress
fromaddress
toaddress
amountuint256
sharesuint256

balanceOf

function balanceOf(
address token,
address owner
) external returns (uint256)

Parameters

NameTypeDescription
tokenaddress
owneraddress