@chainlink/contracts
Version:
Chainlink smart contracts
125 lines (124 loc) • 3.18 kB
JSON
[
{
"inputs": [
{
"components": [
{
"components": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "nativeBridgeFee",
"type": "uint256"
},
{
"internalType": "uint64",
"name": "remoteChainSelector",
"type": "uint64"
},
{
"internalType": "bytes",
"name": "bridgeData",
"type": "bytes"
}
],
"internalType": "struct ILiquidityManager.SendLiquidityParams[]",
"name": "sendLiquidityParams",
"type": "tuple[]"
},
{
"components": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint64",
"name": "remoteChainSelector",
"type": "uint64"
},
{
"internalType": "bool",
"name": "shouldWrapNative",
"type": "bool"
},
{
"internalType": "bytes",
"name": "bridgeData",
"type": "bytes"
}
],
"internalType": "struct ILiquidityManager.ReceiveLiquidityParams[]",
"name": "receiveLiquidityParams",
"type": "tuple[]"
}
],
"internalType": "struct ILiquidityManager.LiquidityInstructions",
"name": "instructions",
"type": "tuple"
}
],
"name": "exposeForEncoding",
"outputs": [],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "getAllCrossChainRebalancers",
"outputs": [
{
"components": [
{
"internalType": "address",
"name": "remoteRebalancer",
"type": "address"
},
{
"internalType": "contract IBridgeAdapter",
"name": "localBridge",
"type": "address"
},
{
"internalType": "address",
"name": "remoteToken",
"type": "address"
},
{
"internalType": "uint64",
"name": "remoteChainSelector",
"type": "uint64"
},
{
"internalType": "bool",
"name": "enabled",
"type": "bool"
}
],
"internalType": "struct ILiquidityManager.CrossChainRebalancerArgs[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getLiquidity",
"outputs": [
{
"internalType": "uint256",
"name": "currentLiquidity",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]