OneSplit
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
24
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 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "OneSplit"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "OneSplit"
ABI
ABI objects
Getter at block 21307029
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
FACTORY_SETTER_ROLE() view returns (bytes32)
0xafffb39e42e2a1496bc4305c8783f904fa76641e3895205b6002a03336ee0975
_ethHandler() view returns (address)
0x0000000000000000000000000000000000000000
bridgeInstance() view returns (address)
0x0000000000000000000000000000000000000000
handlerAddress() view returns (address)
0x0000000000000000000000000000000000000000
nativeAddress() view returns (address)
0x0000000000000000000000000000000000000000
oneSplitView() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
reserveInstance() view returns (address)
0x0000000000000000000000000000000000000000
wnativeAddress() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
flagToAddress(uint256) view returns (address)
getExpectedReturn(address fromToken, address destToken, uint256 amount, uint256 parts, uint256 flags) view returns (uint256 returnAmount, uint256[] distribution)
getExpectedReturnETH(address srcStableFromToken, uint256 srcStableFromTokenAmount, uint256 parts, uint256 flags) view returns (uint256 returnAmount)
getExpectedReturnWithGas(address fromToken, address destToken, uint256 amount, uint256 parts, uint256 flags, uint256 destTokenEthPriceTimesGasPrice) view returns (uint256 returnAmount, uint256 estimateGasAmount, uint256[] distribution)
getExpectedReturnWithGasMulti(address[] tokens, uint256 amount, uint256[] parts, uint256[] flags, uint256[] destTokenEthPriceTimesGasPrices) view returns (uint256[] returnAmounts, uint256 estimateGasAmount, uint256[] distribution)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events grantRole(bytes32 role, address account)
initialize(address _oneSplitView, address _handlerAddress, address _reserveAddress, address _bridgeAddress, address ethHandler)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setBridgeAddress(address _bridgeAddress) returns (bool)
setEthHandler(address ethHandler)
setFlagToFactoryAddress(uint256 _flagCode, address _factoryAddress) returns (bool)
setFlagToFactoryAddressMulti(struct OneSplitDexesArgs[] dexesArgs) returns (bool)
setGetViewAddress(address _oneSplitView) returns (bool)
setHandlerAddress(address _handlerAddress) returns (bool)
setReserveAddress(address _reserveAddress) returns (bool)
setWNativeAddresses(address _native, address _wrappedNative) returns (bool)
swap(address fromToken, address destToken, uint256 amount, uint256 minReturn, uint256 flags, bytes dataTx, bool isWrapper) payable returns (uint256 returnAmount)
swapInSameChain(address[] tokens, uint256 amount, uint256 minReturn, uint256[] flags, bytes[] dataTx, bool isWrapper, address recipient, uint256 widgetID) payable returns (uint256 returnAmount)
swapMulti(address[] tokens, uint256 amount, uint256 minReturn, uint256[] flags, bytes[] dataTx, bool isWrapper) payable returns (uint256 returnAmount)
swapMultiWithRecipient(address[] tokens, uint256 amount, uint256 minReturn, uint256[] flags, bytes[] dataTx, bool isWrapper, address recipient) payable returns (uint256 returnAmount)
swapWithRecipient(address fromToken, address destToken, uint256 amount, uint256 minReturn, uint256 flags, bytes dataTx, bool isWrapper, address recipient) payable returns (uint256 returnAmount)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
withdraw(address tokenAddress, address recipient, uint256 amount) payable returns (bool)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Initialized(uint8 version)
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)
Swap(string indexed funcName, address[] tokenPath, uint256 amount, address indexed sender, address indexed receiver, uint256 finalAmt, uint256[] flags, uint256 widgetID)
Upgraded(address indexed implementation)
This contract contains no constructor objects.
receive()
This contract contains no error objects.