@airdao/swap-router-contracts
Version:
Smart contracts for swapping on Astra Classic and CL
70 lines (69 loc) • 1.54 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "ITokenValidator",
"sourceName": "contracts/interfaces/ITokenValidator.sol",
"abi": [
{
"inputs": [
{
"internalType": "address[]",
"name": "tokens",
"type": "address[]"
},
{
"internalType": "address[]",
"name": "baseTokens",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "amountToBorrow",
"type": "uint256"
}
],
"name": "batchValidate",
"outputs": [
{
"internalType": "enum ITokenValidator.Status[]",
"name": "",
"type": "uint8[]"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "address[]",
"name": "baseTokens",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "amountToBorrow",
"type": "uint256"
}
],
"name": "validate",
"outputs": [
{
"internalType": "enum ITokenValidator.Status",
"name": "",
"type": "uint8"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}