OneSplit

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xe89a2782 at 16048633
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 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots

No balances found for "OneSplit"

No transactions found for "OneSplit"


Functions
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(uint256view returns (address)
getExpectedReturn(address fromTokenaddress destTokenuint256 amountuint256 partsuint256 flagsview returns (uint256 returnAmountuint256[] distribution)
getExpectedReturnETH(address srcStableFromTokenuint256 srcStableFromTokenAmountuint256 partsuint256 flagsview returns (uint256 returnAmount)
getExpectedReturnWithGas(address fromTokenaddress destTokenuint256 amountuint256 partsuint256 flagsuint256 destTokenEthPriceTimesGasPriceview returns (uint256 returnAmountuint256 estimateGasAmountuint256[] distribution)
getExpectedReturnWithGasMulti(address[] tokensuint256 amountuint256[] partsuint256[] flagsuint256[] destTokenEthPriceTimesGasPricesview returns (uint256[] returnAmountsuint256 estimateGasAmountuint256[] distribution)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
grantRole(bytes32 roleaddress account
initialize(address _oneSplitViewaddress _handlerAddressaddress _reserveAddressaddress _bridgeAddressaddress ethHandler
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setBridgeAddress(address _bridgeAddressreturns (bool)
setEthHandler(address ethHandler
setFlagToFactoryAddress(uint256 _flagCodeaddress _factoryAddressreturns (bool)
setFlagToFactoryAddressMulti(struct OneSplitDexesArgs[] dexesArgsreturns (bool)
setGetViewAddress(address _oneSplitViewreturns (bool)
setHandlerAddress(address _handlerAddressreturns (bool)
setReserveAddress(address _reserveAddressreturns (bool)
setWNativeAddresses(address _nativeaddress _wrappedNativereturns (bool)
swap(address fromTokenaddress destTokenuint256 amountuint256 minReturnuint256 flagsbytes dataTxbool isWrapperpayable returns (uint256 returnAmount)
swapInSameChain(address[] tokensuint256 amountuint256 minReturnuint256[] flagsbytes[] dataTxbool isWrapperaddress recipientuint256 widgetIDpayable returns (uint256 returnAmount)
swapMulti(address[] tokensuint256 amountuint256 minReturnuint256[] flagsbytes[] dataTxbool isWrapperpayable returns (uint256 returnAmount)
swapMultiWithRecipient(address[] tokensuint256 amountuint256 minReturnuint256[] flagsbytes[] dataTxbool isWrapperaddress recipientpayable returns (uint256 returnAmount)
swapWithRecipient(address fromTokenaddress destTokenuint256 amountuint256 minReturnuint256 flagsbytes dataTxbool isWrapperaddress recipientpayable returns (uint256 returnAmount)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(address tokenAddressaddress recipientuint256 amountpayable returns (bool)
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Initialized(uint8 version
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Swap(string indexed funcNameaddress[] tokenPathuint256 amountaddress indexed senderaddress indexed receiveruint256 finalAmtuint256[] flagsuint256 widgetID
Upgraded(address indexed implementation
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors

This contract contains no error objects.