Saddle Cross-Asset Swap
Verified contract
Active on
Ethereum with 152 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "Saddle Cross-Asset Swap"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16852008 | 2 years ago | | | 0 | 0.00074098340 | |
| 14670000 | 3 years ago | | | 0 | 0.023789118 | |
| 14669989 | 3 years ago | | | 0 | 0.028833790 | |
| 14669953 | 3 years ago | | | 0 | 0.059126797 | |
| 14669938 | 3 years ago | | | 0 | 0.072315310 | |
| 14662347 | 3 years ago | | | 0 | 0.033454916 | |
| 14662298 | 3 years ago | | | 0 | 0.073713981 | |
| 14660145 | 3 years ago | | | 0 | 0.020091661 | |
| 14660112 | 3 years ago | | | 0 | 0.028273531 | |
| 14659541 | 3 years ago | | | 0 | 0.019345935 |
ABI
ABI objects
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 owner) view returns (uint256)
calcCompleteToToken(uint256 itemId, uint256 swapAmount) view returns (uint256)
calcSynthToToken(address swap, bytes32 synthInKey, uint8 tokenToIndex, uint256 synthInAmount) view returns (uint256, uint256)
calcTokenToSynth(address swap, uint8 tokenFromIndex, bytes32 synthOutKey, uint256 tokenInAmount) view returns (uint256)
calcTokenToToken(address[2] swaps, uint8 tokenFromIndex, uint8 tokenToIndex, uint256 tokenFromAmount) view returns (uint256, uint256)
getApproved(uint256 tokenId) view returns (address)
getPendingSwapInfo(uint256 itemId) view returns (uint8 swapType, uint256 secsLeft, address synth, uint256 synthBalance, address tokenTo)
getProxyAddressFromTargetSynthKey(bytes32 synthKey) view returns (address)
getSynthAddress(address swap) view returns (address)
getSynthIndex(address swap) view returns (uint8)
getSynthKey(address swap) view returns (bytes32)
isApprovedForAll(address owner, address operator) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
pendingToSynthSwaps(uint256) view returns (address swapper, bytes32 synthKey)
pendingToTokenSwaps(uint256) view returns (address swapper, bytes32 synthKey, address swap, uint8 tokenToIndex)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenByIndex(uint256 index) view returns (uint256)
tokenOfOwnerByIndex(address owner, uint256 index) view returns (uint256)
tokenURI(uint256 tokenId) view returns (string)
State-modifying
Events approve(address to, uint256 tokenId)
completeToSynth(uint256 itemId)
completeToToken(uint256 itemId, uint256 swapAmount, uint256 minAmount, uint256 deadline)
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes _data)
setApprovalForAll(address operator, bool approved)
setSynthIndex(address swap, uint8 synthIndex, bytes32 currencyKey)
synthToToken(address swap, bytes32 synthInKey, uint8 tokenToIndex, uint256 synthInAmount, uint256 minMediumSynthAmount) returns (uint256)
tokenToSynth(address swap, uint8 tokenFromIndex, bytes32 synthOutKey, uint256 tokenInAmount, uint256 minAmount) returns (uint256)
tokenToToken(address[2] swaps, uint8 tokenFromIndex, uint8 tokenToIndex, uint256 tokenFromAmount, uint256 minMediumSynthAmount) returns (uint256)
transferFrom(address from, address to, uint256 tokenId)
updateExchangerCache()
withdraw(uint256 itemId, uint256 amount)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
Settle(address indexed requester, uint256 indexed itemId, address settleFrom, uint256 settleFromAmount, address settleTo, uint256 settleToAmount, bool isFinal)
SynthIndex(address indexed swap, uint8 synthIndex, bytes32 currencyKey, address synthAddress)
SynthToToken(address indexed requester, uint256 indexed itemId, address swapPool, bytes32 synthFromKey, uint256 synthFromInAmount, uint8 tokenToIndex)
TokenToSynth(address indexed requester, uint256 indexed itemId, address swapPool, uint8 tokenFromIndex, uint256 tokenFromInAmount, bytes32 synthToKey)
TokenToToken(address indexed requester, uint256 indexed itemId, address[2] swapPools, uint8 tokenFromIndex, uint256 tokenFromAmount, uint8 tokenToIndex)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
Withdraw(address indexed requester, uint256 indexed itemId, address synth, uint256 synthAmount, bool isFinal)
constructor(address synthSwapperAddress)
This contract contains no fallback and receive objects.
This contract contains no error objects.