packages/contracts-rfq/deployments/optimism/SynapseIntentPreviewer.json
{
"address": "0x9519E8D136d0a89d7e10D1a66C97249E0135544B",
"constructorArgs": "0x",
"receipt": {
"hash": "0x928a7db8741fb992934302f73e076f7630075151384529b538cb133e797c4bac",
"blockNumber": 129029951
},
"abi": [
{
"type": "function",
"name": "NATIVE_GAS_TOKEN",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "previewIntent",
"inputs": [
{
"name": "swapQuoter",
"type": "address",
"internalType": "address"
},
{
"name": "forwardTo",
"type": "address",
"internalType": "address"
},
{
"name": "tokenIn",
"type": "address",
"internalType": "address"
},
{
"name": "tokenOut",
"type": "address",
"internalType": "address"
},
{
"name": "amountIn",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "amountOut",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "steps",
"type": "tuple[]",
"internalType": "struct ISynapseIntentRouter.StepParams[]",
"components": [
{
"name": "token",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "msgValue",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "zapData",
"type": "bytes",
"internalType": "bytes"
}
]
}
],
"stateMutability": "view"
},
{
"type": "error",
"name": "SIP__NoOpForwardNotSupported",
"inputs": []
},
{
"type": "error",
"name": "SIP__PoolTokenMismatch",
"inputs": []
},
{
"type": "error",
"name": "SIP__PoolZeroAddress",
"inputs": []
},
{
"type": "error",
"name": "SIP__RawParamsEmpty",
"inputs": []
},
{
"type": "error",
"name": "SIP__TokenNotNative",
"inputs": []
},
{
"type": "error",
"name": "ZapDataV1__InvalidEncoding",
"inputs": []
},
{
"type": "error",
"name": "ZapDataV1__TargetZeroAddress",
"inputs": []
}
]
}