OptimizedTransparentUpgradeableProxy
Verified contract
Proxy
Active on
Base with 3,170 txns
Unified storage
Map
Table
Raw
Constants and immutables
5
Slot
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 46 additional slots
-
variable spans 44 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
2 additional
variables
Balances ($75,771.73)
Native
Value
$21,735.04
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 6.546443 | $3,320.13 |
$21,735.04 | |
TOSHI | ERC-20 | 61.257903M | $0.000272 |
$16,653.57 | |
USDC | ERC-20 | 15.031684K | $1.001 |
$15,046.72 | |
WETH | ERC-20 | 4.363486 | $3,317.00 |
$14,473.68 | |
KEREN | ERC-20 | 10.469363M | $0.00022 |
$2,300.01 | |
BVM | ERC-20 | 118.48483K | $0.018503 |
$2,192.35 | |
SEXY | ERC-20 | 4.578182K | $0.203647 |
$932.33 | |
ANDY | ERC-20 | 16.474512K | $0.029154 |
$480.3 | |
DEGEN | ERC-20 | 21.737103K | $0.019412 |
$421.96 | |
BOLT | ERC-20 | 177.616947K | $0.001804 |
$320.35 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22721606 | 16 hours ago | | | 0 | 0.0000020518542 | |
| 22719088 | 18 hours ago | | | 0 | 0.0000039546924 | |
| 22719021 | 18 hours ago | | | 0 | 0.0000039545247 | |
| 22718983 | 18 hours ago | | | 0 | 0.0000039546924 | |
| 22718925 | 18 hours ago | | | 0 | 0.0000015969099 | |
| 22718857 | 18 hours ago | | | 0 | 0.0000012908841 | |
| 22718807 | 18 hours ago | | | 0 | 0.0000054386243 | |
| 22714771 | 20 hours ago | | | 0 | 0.0000017513063 | |
| 22714731 | 20 hours ago | | | 0 | 0.0000019424676 | |
| 22712247 | 21 hours ago | | | 0 | 0.0000021852596 |
ABI
ABI objects
Getter at block 22750891 pairs() view returns (address[2][])
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
controllerType() pure returns (uint16)
1
paused() view returns (bool)
false
roleAdmin() pure returns (bytes32)
0x2172861495e7b85edac73e3cd5fbb42dd675baadf627720e687bcfdaca025096
roleEmergencyStopper() pure returns (bytes32)
0xf28f409b8cbe6b50c7ca45afe893f01f69626f8a4e33cb480bc1bc2d618c0845
roleFeesManager() pure returns (bytes32)
0x24a843cae781765d8cdc3bca1cc42497522c0508f4e621c2ca36ceea2fda7b16
tradingFeePPM() view returns (uint32)
7000
version() pure returns (uint16)
2
Read-only
accumulatedFees(address token) view returns (uint256)
calculateTradeSourceAmount(address sourceToken, address targetToken, struct TradeAction[] tradeActions) view returns (uint128)
calculateTradeTargetAmount(address sourceToken, address targetToken, struct TradeAction[] tradeActions) view returns (uint128)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
pair(address token0, address token1) view returns (struct Pair)
pairTradingFeePPM(address token0, address token1) view returns (uint32)
strategiesByPair(address token0, address token1, uint256 startIndex, uint256 endIndex) view returns (struct Strategy[])
strategiesByPairCount(address token0, address token1) view returns (uint256)
strategy(uint256 id) view returns (struct Strategy)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events admin() returns (address admin_)
implementation() returns (address implementation_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
createPair(address token0, address token1) returns (struct Pair)
createStrategy(address token0, address token1, (uint128, uint128, uint64, uint64)[2] orders) payable returns (uint256)
deleteStrategy(uint256 strategyId)
grantRole(bytes32 role, address account)
initialize()
pause()
postUpgrade(bytes data)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setPairTradingFeePPM(address token0, address token1, uint32 newPairTradingFeePPM)
setTradingFeePPM(uint32 newTradingFeePPM)
tradeBySourceAmount(address sourceToken, address targetToken, struct TradeAction[] tradeActions, uint256 deadline, uint128 minReturn) payable returns (uint128)
tradeByTargetAmount(address sourceToken, address targetToken, struct TradeAction[] tradeActions, uint256 deadline, uint128 maxInput) payable returns (uint128)
unpause()
updateStrategy(uint256 strategyId, (uint128, uint128, uint64, uint64)[2] currentOrders, (uint128, uint128, uint64, uint64)[2] newOrders) payable
withdrawFees(address token, uint256 amount, address recipient) returns (uint256)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
FeesWithdrawn(address indexed token, address indexed recipient, uint256 indexed amount, address sender)
Initialized(uint8 version)
PairCreated(uint128 indexed pairId, address indexed token0, address indexed token1)
PairTradingFeePPMUpdated(address indexed token0, address indexed token1, uint32 prevFeePPM, uint32 newFeePPM)
Paused(address account)
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)
StrategyCreated(uint256 id, address indexed owner, address indexed token0, address indexed token1, struct Order order0, struct Order order1)
StrategyDeleted(uint256 id, address indexed owner, address indexed token0, address indexed token1, struct Order order0, struct Order order1)
StrategyUpdated(uint256 indexed id, address indexed token0, address indexed token1, struct Order order0, struct Order order1, uint8 reason)
TokensTraded(address indexed trader, address indexed sourceToken, address indexed targetToken, uint256 sourceAmount, uint256 targetAmount, uint128 tradingFeeAmount, bool byTargetAmount)
TradingFeePPMUpdated(uint32 prevFeePPM, uint32 newFeePPM)
Unpaused(address account)
constructor(address _logic, address admin_, bytes _data)
fallback()
receive()
AccessDenied()
AlreadyInitialized()
BalanceMismatch()
DeadlineExpired()
GreaterThanMaxInput()
IdenticalAddresses()
InsufficientCapacity()
InsufficientLiquidity()
InsufficientNativeTokenReceived()
InvalidAddress()
InvalidFee()
InvalidIndices()
InvalidRate()
InvalidTradeActionAmount()
InvalidTradeActionStrategyId()
LowerThanMinReturn()
NativeAmountMismatch()
OrderDisabled()
OutDated()
Overflow()
PairAlreadyExists()
PairDoesNotExist()
UnknownDelegator()
UnnecessaryNativeTokenReceived()
ZeroValue()