DSFLP

Verified contract

Active on Ethereum with 313 txns
Deployed by via 0xc786cd91 at 16104240
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
-
variable spans 2 additional slots
ERC-20
Value $1
ERC-20
Value $0
0xe68f3049a955c7667cbc47e3fefb57a3e28fb4a0a942397f9e979c8b5da650cc
0xeff31c899025b86a6210b6e1661ba42954fe233a5e50dbcff0d8d101eda4fea5
0x30173c35fb5c1cd6250111b47d7a5f45eda4b766c0e2157371dcd6443e0c159e
0x48c0973879e90d662af3f6866c9998cbe84117eec35a0a031e702ee6c301a506
0x01d88eed6e0c011859c0bb2610dacf710cd4c3fe10455c0a7202a747b9d4efc5
0xdac9ca57f0e86dd71d7f925122f6de8251e41d0b13068f2d11b535d36e13b69a
0x88cc165b63ec9f61f2ded76ed32887a3b0cc181c4eb1311a48f1e7fca9a4a98f
0x913a5cdea2cb3dd653016b3a8a6901991abc445ab497b43527c9d855d69c4a90
0x15889c19d831855c0dab7ee84e8770620c8541ca154f05c88d2391b45ad3e97e
0x65241a92c55963e55bae368e24c82d1acd275280eee01b4508f17e185ab60684

Functions
Getter at block 21158605
ALL_WITHDRAWAL_TYPES_MASK(view returns (uint8)
3
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
FEE_DENOMINATOR(view returns (uint256)
1000
FUNDS_DENOMINATOR(view returns (uint256)
10000
LP_RATIO_MULTIPLIER(view returns (uint256)
1000000000000000000
MIN_LOCK_TIME(view returns (uint256)
86400
OPERATOR_ROLE(view returns (bytes32)
0x97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929
POOL_ASSETS(view returns (uint8)
3
availableWithdrawalTypes(view returns (uint8)
3
decimals(view returns (uint8)
18
defaultDepositPid(view returns (uint256)
0
defaultWithdrawPid(view returns (uint256)
0
launched(view returns (bool)
true
 
lpPrice(view returns (uint256)
managementFee(view returns (uint256)
150
name(view returns (string)
DSFLP
paused(view returns (bool)
false
poolCount(view returns (uint256)
1
symbol(view returns (string)
DSFLP
totalDeposited(view returns (uint256)
554260328353439505721201
 
totalHoldings(view returns (uint256)
totalSupply(view returns (uint256)
480679993887613513899053
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
calcManagementFee(uint256 amountview returns (uint256)
calcSharesAmount(uint256[3] tokenAmountsbool isDepositview returns (uint256 lpShares)
calcWithdrawOneCoin(uint256 lpSharesuint128 tokenIndexview returns (uint256 tokenAmount)
decimalsMultipliers(uint256view returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
pendingDeposits(address userview returns (uint256[3])
pendingDepositsToken(address useruint256 tokenIndexview returns (uint256)
pendingWithdrawals(address userview returns (struct DSFPendingWithdrawal)
poolInfo(uint256 pidview returns (struct DSFPoolInfo)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokens(uint256view returns (address)
State-modifying
addPool(address _strategyAddr
approve(address spenderuint256 amountreturns (bool)
autoCompoundAll(
claimAllManagementFee(
completeFeesOptimizationDeposits(address[] userList
completeFeesOptimizationWithdrawals(address[] userList
completeFeesOptimizationWithdrawalsMk2(address[] userList
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256[3] amountsreturns (uint256)
feesOptimizationDeposit(uint256[3] amounts
feesOptimizationWithdrawal(uint256 lpSharesuint256[3] tokenAmounts
grantRole(bytes32 roleaddress account
increaseAllowance(address spenderuint256 addedValuereturns (bool)
launch(
moveFundsBatch(uint256[] _strategiesuint256[] withdrawalsPercentsuint256 _receiverStrategyId
pause(
removePendingDeposit(
removePendingWithdrawal(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setAvailableWithdrawalTypes(uint8 newAvailableWithdrawalTypes
setDefaultDepositPid(uint256 _newPoolId
setDefaultWithdrawPid(uint256 _newPoolId
setManagementFee(uint256 newManagementFee
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
unpause(
updateOperator(address _newOperator
withdraw(uint256 lpSharesuint256[3] tokenAmountsuint8 withdrawalTypeuint128 tokenIndex
withdrawStuckToken(address _token
Events
AddedPool(uint256 pidaddress strategyAddruint256 startTime
Approval(address indexed owneraddress indexed spenderuint256 value
AutoCompoundAll(
ClaimedAllManagementFee(uint256 feeValue
CreatedPendingDeposit(address indexed depositoruint256[3] amounts
CreatedPendingWithdrawal(address indexed withdraweruint256 lpSharesuint256[3] tokenAmounts
Deposited(address indexed depositoruint256[3] amountsuint256 lpShares
FailedDeposit(address indexed depositoruint256[3] amountsuint256 lpShares
FailedWithdrawal(address indexed withdraweruint256[3] amountsuint256 lpShares
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetDefaultDepositPid(uint256 pid
SetDefaultWithdrawPid(uint256 pid
Transfer(address indexed fromaddress indexed touint256 value
Unpaused(address account
Withdrawn(address indexed withdraweruint8 withdrawalTypeuint256[3] tokenAmountsuint256 lpSharesuint128 tokenIndex
Constructor
constructor(address[3] _tokens
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.