AdminUpgradeabilityProxy

Verified contract

Proxy

Active on Ethereum with 1,346 txns
Deployed by via 0x35a1f0fe at 14177611
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
ERC-20
Value $100.42
ERC-20
Value $99.02
ERC-20
Value $49.18
ERC-20
Value $19.4
ERC-20
Value $18.37
ERC-20
Value $14.12
ERC-20
Value $3.12
ERC-20
Value $0
ERC-20
--
ERC-20
--
0x49066553dada34d282ddf76405171e98ebfb3581e1f7b976102118ddf8564512
0x18403163d3522185a09b1523a62a67d60edec70a5319b8729d89a754b71063e2
0x1bf6c761659e791719f041b01e020ce9baaff3184e170fe31fd521e3e517a9ce
0x841f6f16e9d459bc176f1b86c1f3a2ffd270b1baeda1688b39eda973fdb4991a
0xb5a6cd32ce483b1312f726ddd6770c370837017f7fa818afd796357fe81f7867
0x00ecbe2b47ba20b5c2d9bf727e4b1ae32aba1483b7780208ce9db0796f0a12d5
0x946cade5175c4df446a1868afa9f18c9fe49e5e1c207f09c2e15eaaff308d38f
0x43c38bfa32ce01fa88bec86e76379cfb9c3b5198d07f250fc7ffa5d40f259194
0x765ce740961adf821d8875270af5b3de7b5f70e62a37a97c2e8f7d4d2c5ca620
0xce4f4180ff69382cbd1dddb058f6667000ee1c5b915d7bb73646de3ea30dff33

Functions
Getter at block 21395006
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GOVERNANCE_FEE(view returns (uint256)
500000000000000
registry(view returns (address)
0x6646a35e74e35585b0b02e5190445a324e5d4d01
Read-only
REFERRAL_FEE(addressview returns (uint256)
getAmountIn(address _ammuint256[] _pairPathuint256[] _tokenPathuint256 _tokenAmountOutview returns (uint256 tokenAmountIn)
getAmountOut(address _ammuint256[] _pairPathuint256[] _tokenPathuint256 _tokenAmountInview returns (uint256 tokenAmountOut)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getSpotPrice(address _ammuint256[] _pairPathuint256[] _tokenPathview returns (uint256 spotPrice)
hasRole(bytes32 roleaddress accountview returns (bool)
State-modifying
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
collectGovernanceFee(address _tokenaddress _recipient
grantRole(bytes32 roleaddress account
initialize(address _registryaddress _admin
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setGovernanceFee(uint256 _fee
setReferral(address _recipientuint256 _fee
setRegistry(address _registry
swapExactAmountIn(address _ammuint256[] _pairPathuint256[] _tokenPathuint256 _tokenAmountInuint256 _minAmountOutaddress _touint256 _deadlineaddress _referralRecipientreturns (uint256 tokenAmountOut)
swapExactAmountOut(address _ammuint256[] _pairPathuint256[] _tokenPathuint256 _maxAmountInuint256 _tokenAmountOutaddress _touint256 _deadlineaddress _referralRecipientreturns (uint256 tokenAmountIn)
updateAllTokenApprovalOf(address _amm
updateFYTApprovalOf(address _amm
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
GovernanceFeeCollected(address _tokenuint256 _amountaddress _recipient
GovernanceFeeUpdated(uint256 _fee
ReferralFeePaid(address _recipientuint256 _feeAmount
ReferralRecipientAdded(address _recipient
ReferralRecipientRemoved(address _recipient
ReferralSet(address _recipientuint256 _fee
RegistrySet(address _registry
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenApproved(address _tokenaddress _amm
Constructor
constructor(address _logicaddress _adminbytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.