YieldProxy

Verified contract

Active on Ethereum with 690 txns
Deployed by via 0x8d0060d2 at 11086592
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xcd86e92dbb1039df3a28b62a149d6d0bf8bb399e0bb0e9dcfaf304cd2794d6b0
0x42c173d1f9ebf62ae9fee310c035acfa215bc48756d91151594f24aed0a82f77
0x6afbc91523e017ab03ce34b2e2f6560ee38640fca567612b08797335015fc307
0xafd8c3539bd64cb4351f78e4b25d57970e77aca4891369636fd899171a24db4e
0x236bac4c4a2d2786f9def6dcb423440aab1da451605ce91bde591ad37a3e6e44
0x99129c10771a19a61c83fb60d027f3d8456f600ae3791ec60ff1c831d2dba7cb
0xd12de5f15ce750d0f614d0f3a71c435113f64925786f37199b3f6d5ad9728bee
0x4f7fa728357f0d8a926aaf8ac6e05f7312017dc6864b619b8b67962117c15e67
0xffff19f94348b61de8277c14ebb1630036dec355959fd969c0860095adeee2ac
0xc15ac847e44b49269621c68c4b572fbb75ef0e865ae2a36d5366ec7ea322db76

Functions
Getter at block 21306196
CHAI(view returns (bytes32)
0x4348414900000000000000000000000000000000000000000000000000000000
MTY(view returns (bool)
true
UNIT(view returns (uint256)
1000000000000000000000000000
WETH(view returns (bytes32)
0x4554482d41000000000000000000000000000000000000000000000000000000
YTM(view returns (bool)
false
chai(view returns (address)
0x06af07097c9eeb7fd685c692751d5c66db49c215
controller(view returns (address)
0xb94199866fe06b535d019c11247d3f921460b91a
dai(view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
daiJoin(view returns (address)
0x9759a6ac90977b93b58547b4a71c78317f391a28
treasury(view returns (address)
0xfa21de6f225c25b8f13264f1bff5e1e44a37f96e
vat(view returns (address)
0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
wethJoin(view returns (address)
0x2f0b23f53734252bda2277357e97e1517d6b042a
Read-only
pools(uint256view returns (address)
poolsMap(addressview returns (bool)
State-modifying
addLiquidity(address pooluint256 daiUseduint256 maxFYDaireturns (uint256)
authorizePool(address pooladdress frombytes daiSigbytes fyDaiSigbytes poolSig
borrowDaiForMaximumFYDai(address poolbytes32 collateraluint256 maturityaddress touint256 maximumFYDaiuint256 daiToBorrowreturns (uint256)
borrowMinimumDaiForFYDai(address poolbytes32 collateraluint256 maturityaddress touint256 fyDaiToBorrowuint256 minimumDaiToBorrowreturns (uint256)
buyDai(address pooladdress touint128 daiOutuint128 maxFYDaiInreturns (uint256)
buyDaiWithSignature(address pooladdress touint128 daiOutuint128 maxFYDaiInbytes signaturereturns (uint256)
buyFYDai(address pooladdress touint128 fyDaiOutuint128 maxDaiInreturns (uint256)
onboard(address frombytes daiSignaturebytes controllerSig
post(address topayable 
removeLiquidityEarlyDaiFixed(address pooluint256 poolTokensuint256 minimumFYDaiPrice
removeLiquidityEarlyDaiPool(address pooluint256 poolTokensuint256 minimumDaiPriceuint256 minimumFYDaiPrice
removeLiquidityMature(address pooluint256 poolTokens
repayDaiWithSignature(bytes32 collateraluint256 maturityaddress touint256 daiAmountbytes signaturereturns (uint256)
repayFYDaiDebtForMaximumDai(address poolbytes32 collateraluint256 maturityaddress touint256 fyDaiRepaymentuint256 maximumRepaymentInDaireturns (uint256)
repayMinimumFYDaiDebtForDai(address poolbytes32 collateraluint256 maturityaddress touint256 minimumFYDaiRepaymentuint256 repaymentInDaireturns (uint256)
sellDai(address pooladdress touint128 daiInuint128 minFYDaiOutreturns (uint256)
sellFYDai(address pooladdress touint128 fyDaiInuint128 minDaiOutreturns (uint256)
sellFYDaiWithSignature(address pooladdress touint128 fyDaiInuint128 minDaiOutbytes signaturereturns (uint256)
withdraw(address touint256 amount
Events

This contract contains no event objects.

Constructor
constructor(address controller_address[] _pools
Fallback and receive
receive(
Errors

This contract contains no error objects.