AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 1,346 txns
Unified storage
Map
Table
Raw
Constants and immutables
2Slot
XX
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
0x6646…4d01
-
variable spans 1 additional slot
Balances ($200.73)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
OHM | ERC-20 | 4.834721 | $15.66 |
$75.71 | |
WETH | ERC-20 | 0.025259 | $2,534.65 |
$64.02 | |
PSP | ERC-20 | 1.860555K | $0.014788 |
$27.51 | |
USDC | ERC-20 | 18.353982 | $0.999767 |
$18.35 | |
SDT | ERC-20 | 32.626538 | $0.26083 |
$8.51 | |
SUSHI | ERC-20 | 6.417055 | $0.678885 |
$4.36 | |
FARM | ERC-20 | 0.050868 | $44.42 |
$2.26 | |
USDT | ERC-20 | 0.0034 | $1.00 |
$0 | |
| ERC-20 | 5.282112K | -- | -- | |
90D-TrueFi-tfUSDC-0 | ERC-20 | 2.756569K | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17003370 | a year ago | | | 0 | 0.0061887543 | |
| 16915786 | a year ago | | | 0 | 0.0045554450 | |
| 16762962 | 2 years ago | | | 0 | 0.0093014987 | |
| 16737060 | 2 years ago | | | 0 | 0.0068805794 | |
| 16663107 | 2 years ago | | | 0 | 0.022843446 | |
| 16621549 | 2 years ago | | | 0 | 0.010951702 | |
| 16490440 | 2 years ago | | | 0 | 0.0047382720 | |
| 16448928 | 2 years ago | | | 0 | 0.0074021151 | |
| 16448919 | 2 years ago | | | 0 | 0.0061866174 | |
| 16448911 | 2 years ago | | | 0 | 0.0066493741 |
ABI
ABI objects
Getter at block 20796668
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GOVERNANCE_FEE() view returns (uint256)
500000000000000
registry() view returns (address)
0x6646a35e74e35585b0b02e5190445a324e5d4d01
Read-only
REFERRAL_FEE(address) view returns (uint256)
getAmountIn(address _amm, uint256[] _pairPath, uint256[] _tokenPath, uint256 _tokenAmountOut) view returns (uint256 tokenAmountIn)
getAmountOut(address _amm, uint256[] _pairPath, uint256[] _tokenPath, uint256 _tokenAmountIn) view returns (uint256 tokenAmountOut)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getSpotPrice(address _amm, uint256[] _pairPath, uint256[] _tokenPath) view returns (uint256 spotPrice)
hasRole(bytes32 role, address account) view returns (bool)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
collectGovernanceFee(address _token, address _recipient)
grantRole(bytes32 role, address account)
initialize(address _registry, address _admin)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setGovernanceFee(uint256 _fee)
setReferral(address _recipient, uint256 _fee)
setRegistry(address _registry)
swapExactAmountIn(address _amm, uint256[] _pairPath, uint256[] _tokenPath, uint256 _tokenAmountIn, uint256 _minAmountOut, address _to, uint256 _deadline, address _referralRecipient) returns (uint256 tokenAmountOut)
swapExactAmountOut(address _amm, uint256[] _pairPath, uint256[] _tokenPath, uint256 _maxAmountIn, uint256 _tokenAmountOut, address _to, uint256 _deadline, address _referralRecipient) returns (uint256 tokenAmountIn)
updateAllTokenApprovalOf(address _amm)
updateFYTApprovalOf(address _amm)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
GovernanceFeeCollected(address _token, uint256 _amount, address _recipient)
GovernanceFeeUpdated(uint256 _fee)
ReferralFeePaid(address _recipient, uint256 _feeAmount)
ReferralRecipientAdded(address _recipient)
ReferralRecipientRemoved(address _recipient)
ReferralSet(address _recipient, uint256 _fee)
RegistrySet(address _registry)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TokenApproved(address _token, address _amm)
constructor(address _logic, address _admin, bytes _data)
fallback()
receive()
This contract contains no error objects.