ZunamiPoolControllerApsZunETH

Verified contract

Active on Ethereum with 213 txns
Deployed by via 0x003d201d at 19537949
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0xb8403fb3920aec47af480097311131fb4b5f0d7fdd3bf348004632c5e33e33d6
0x584144816f963b020cfa6a582bf1b102d9dcad6ba3aff6a17c7563a95efe345d
0x5ed009a943daa54bcb1b4ec81a167776cf63c509b8639bcb924825be683bbc6e
0xc62ea0a42deefb2a872fb7ad3967c3bae6a46b3070737314dd40a921cc76c495
0x5a9978bebe87668630124d713f435af62b91b4034bd8d78944bbec27700f75dd
0xbd46ad7763207ea55ba6ecf44843adfca60a3e84ae947411b1f9ccc7b6a558e3
0x145d2a048737398f29db5129a6600fecd8421548466c960fa03bea234a2488c3
0xfd69199f4acdd246c237822a8d9ea6ac69f92f4347f09b8a7ee27d34a0dc7883
0x8c6b2fa4154b931448cb6487fb016e14d8091245d7a8c1f3090d9cbaf0196f6a
0x1fbe03811ef9132c0728db0c6e12e894a3e4104b79f01e6ea1d664082d949373

Functions
Getter at block 21275615
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR(view returns (bytes32)
0xb360e5d1dfe98bc7a9c41af41ad45cb7c2eb0b13f2ece0d8fc9bd6e1d93de53b
FEE_DENOMINATOR(view returns (uint256)
1000
MAX_FEE(view returns (uint256)
300
MINIMUM_LIQUIDITY(view returns (uint256)
1000
MINIMUM_LIQUIDITY_LOCKER(view returns (address)
0x000000000000000000000000000000000000dead
POOL_ASSETS(view returns (uint8)
5
PRICE_MULTIPLIER(view returns (uint256)
1000000000000000000
collectedManagementFee(view returns (uint256)
82411580953568745
decimals(view returns (uint8)
18
defaultDepositSid(view returns (uint256)
0
defaultWithdrawSid(view returns (uint256)
3
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=Zunami ETH APS LP, version=1, chainId=1, verifyingContract=0xd8132d8cfca9ed8c95e46cb59ae6e2c9963da61f, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
feeDistributor(view returns (address)
0xd5d1acc9c7ebaf8bbf85c45aee2b8b3f3b1bd062
feeTokenId(view returns (uint256)
0
managementFeePercent(view returns (uint256)
150
name(view returns (string)
Zunami ETH APS LP
paused(view returns (bool)
false
pool(view returns (address)
0x5ab3aa11a40eb34f1d2733f08596532871bd28e2
rewardManager(view returns (address)
0x4d271afe204a32a06a916ab536b67f1a306a2286
symbol(view returns (string)
apsZunETHLP
tokenPrice(view returns (uint256)
1094537838735800575
totalSupply(view returns (uint256)
135506447178035858933
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
calcTokenPrice(uint256 _holdingsuint256 _tokenspure returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
nonces(address ownerview returns (uint256)
rewardTokens(uint256view returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
approve(address spenderuint256 valuereturns (bool)
autoCompoundAll(
claimManagementFee(
deposit(uint256[5] amountsaddress receiverreturns (uint256 shares)
grantRole(bytes32 roleaddress account
pause(
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setDefaultDepositSid(uint256 _newPoolId
setDefaultWithdrawSid(uint256 _newPoolId
setFeeDistributor(address _feeDistributor
setFeeTokenId(uint256 _tokenId
setManagementFeePercent(uint256 newManagementFeePercent
setRewardManager(address rewardManagerAddr
setRewardTokens(address[] rewardTokens_
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
unpause(
withdraw(uint256 sharesuint256[5] minTokenAmountsaddress receiver
Events
Approval(address indexed owneraddress indexed spenderuint256 value
AutoCompoundedAll(uint256 compoundedValue
ClaimedManagementFee(address feeTokenuint256 feeValue
Deposited(address indexed receiveruint256 assetsuint256 sharesuint256 sid
EIP712DomainChanged(
FeeDistributorSet(address oldFeeDistributoraddress newFeeDistributor
ManagementFeePercentSet(uint256 oldManagementFeeuint256 newManagementFee
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
SetDefaultDepositSid(uint256 sid
SetDefaultWithdrawSid(uint256 sid
SetFeeTokenId(uint256 tid
SetRewardManager(address rewardManager
SetRewardTokens(address[] rewardTokens
Transfer(address indexed fromaddress indexed touint256 value
Unpaused(address account
Withdrawn(address indexed withdraweruint256 sharesuint256 assetsuint256 sid
Constructor
constructor(address pool
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
ERC2612ExpiredSignature(uint256 deadline
ERC2612InvalidSigner(address signeraddress owner
EnforcedPause(
ExpectedPause(
FailedInnerCall(
FeeMustBeWithdrawn(
InvalidAccountNonce(address accountuint256 currentNonce
InvalidShortString(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
StringTooLong(string str
WrongFee(
WrongRewardTokens(address[] rewardTokens
WrongRewardTokensLength(uint256 length
WrongSid(
WrongTokenId(uint256 tid
ZeroAddress(
ZeroFeeTokenAddress(
ZeroRewardManager(
ZeroTokenAddress(uint256 index
ZeroTokenById(uint256 tid