Saddle Cross-Asset Swap

Verified contract

Active on Ethereum with 152 txns
Deployed by via 0x6b3fc8d8 at 13232215
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "Saddle Cross-Asset Swap"

0x00ffd4959ad84292b929e0c76e43ea5931622c6881a49f09236195c390125f16
0x9f863d885901f66f30fb63f27e708e898a94d07810ba82af225c92163cd207e7
0x60fb001bb997644c100efc2c19c421911ef71ec4a5d4059708f0864d5f414c57
0x8572eb884b02c52e16597d9b933ac39899b170086081dd29017c5bd5ed166ad8
0x6b9634a073d2afba205c01572680781404eda753b666898f170e75f7f50350e8
0x460ca460b8111ab208244d3ba638de3b72d4e15a5a8bc911681651f321bbb502
0x06e5c3029c6c6de253ab3731f251401e4885aecffddc6bae111a7397353b887b
0x9a39b326e835f194fb3266827cd31ce802694dbfa6a2fd25c16fbc46c6fe87b1
0xafb7d4ad5694b3fa18c388039c8c44f3aa032a9e1e0789251735019e586c9b7f
0xaa1728c0b6c3f50924536055dc93b688e70a337830ee5a8a7c3c89e1bcfa2acc

Functions
Getter at block 21162610
EXCHANGER_NAME(view returns (bytes32)
0x45786368616e6765720000000000000000000000000000000000000000000000
EXCHANGE_RATES_NAME(view returns (bytes32)
0x45786368616e6765526174657300000000000000000000000000000000000000
MAX_UINT256(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
MAX_UINT8(view returns (uint8)
255
SYNTHETIX_RESOLVER(view returns (address)
0x4e3b31eb0e5cb73641ee1e65e7dcefe520ba3ef2
SYNTH_SWAPPER_MASTER(view returns (address)
0xdf815ea6b066ac9f3107d8863a6c19aa2a5d24d3
baseURI(view returns (string)
exchanger(view returns (address)
0x74e9a032b04d9732e826eecfc5c7a1c183602fb1
name(view returns (string)
Saddle Cross-Asset Swap
pendingSwapsLength(view returns (uint256)
69
symbol(view returns (string)
SaddleSynthSwap
totalSupply(view returns (uint256)
27
Read-only
balanceOf(address ownerview returns (uint256)
calcCompleteToToken(uint256 itemIduint256 swapAmountview returns (uint256)
calcSynthToToken(address swapbytes32 synthInKeyuint8 tokenToIndexuint256 synthInAmountview returns (uint256uint256)
calcTokenToSynth(address swapuint8 tokenFromIndexbytes32 synthOutKeyuint256 tokenInAmountview returns (uint256)
calcTokenToToken(address[2] swapsuint8 tokenFromIndexuint8 tokenToIndexuint256 tokenFromAmountview returns (uint256uint256)
getApproved(uint256 tokenIdview returns (address)
getPendingSwapInfo(uint256 itemIdview returns (uint8 swapTypeuint256 secsLeftaddress synthuint256 synthBalanceaddress tokenTo)
getProxyAddressFromTargetSynthKey(bytes32 synthKeyview returns (address)
getSynthAddress(address swapview returns (address)
getSynthIndex(address swapview returns (uint8)
getSynthKey(address swapview returns (bytes32)
isApprovedForAll(address owneraddress operatorview returns (bool)
ownerOf(uint256 tokenIdview returns (address)
pendingToSynthSwaps(uint256view returns (address swapperbytes32 synthKey)
pendingToTokenSwaps(uint256view returns (address swapperbytes32 synthKeyaddress swapuint8 tokenToIndex)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 indexview returns (uint256)
tokenOfOwnerByIndex(address owneruint256 indexview returns (uint256)
tokenURI(uint256 tokenIdview returns (string)
State-modifying
approve(address touint256 tokenId
completeToSynth(uint256 itemId
completeToToken(uint256 itemIduint256 swapAmountuint256 minAmountuint256 deadline
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes _data
setApprovalForAll(address operatorbool approved
setSynthIndex(address swapuint8 synthIndexbytes32 currencyKey
synthToToken(address swapbytes32 synthInKeyuint8 tokenToIndexuint256 synthInAmountuint256 minMediumSynthAmountreturns (uint256)
tokenToSynth(address swapuint8 tokenFromIndexbytes32 synthOutKeyuint256 tokenInAmountuint256 minAmountreturns (uint256)
tokenToToken(address[2] swapsuint8 tokenFromIndexuint8 tokenToIndexuint256 tokenFromAmountuint256 minMediumSynthAmountreturns (uint256)
transferFrom(address fromaddress touint256 tokenId
updateExchangerCache(
withdraw(uint256 itemIduint256 amount
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
Settle(address indexed requesteruint256 indexed itemIdaddress settleFromuint256 settleFromAmountaddress settleTouint256 settleToAmountbool isFinal
SynthIndex(address indexed swapuint8 synthIndexbytes32 currencyKeyaddress synthAddress
SynthToToken(address indexed requesteruint256 indexed itemIdaddress swapPoolbytes32 synthFromKeyuint256 synthFromInAmountuint8 tokenToIndex
TokenToSynth(address indexed requesteruint256 indexed itemIdaddress swapPooluint8 tokenFromIndexuint256 tokenFromInAmountbytes32 synthToKey
TokenToToken(address indexed requesteruint256 indexed itemIdaddress[2] swapPoolsuint8 tokenFromIndexuint256 tokenFromAmountuint8 tokenToIndex
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Withdraw(address indexed requesteruint256 indexed itemIdaddress synthuint256 synthAmountbool isFinal
Constructor
constructor(address synthSwapperAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.