@azuro-org/abis
Version:
ABIs for Azuro protocol smart-contracts
144 lines (143 loc) • 2.97 kB
JSON
[
{
"inputs": [],
"name": "IncorrectOdds",
"type": "error"
},
{
"inputs": [],
"name": "IncorrectValue",
"type": "error"
},
{
"inputs": [
{
"internalType": "enum SafeCast.Type",
"name": "to",
"type": "uint8"
}
],
"name": "SafeCastError",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "lp",
"type": "address"
},
{
"components": [
{
"internalType": "address",
"name": "core",
"type": "address"
},
{
"internalType": "address",
"name": "affiliate",
"type": "address"
},
{
"internalType": "uint64",
"name": "minOdds",
"type": "uint64"
},
{
"internalType": "uint128",
"name": "amount",
"type": "uint128"
},
{
"internalType": "uint64",
"name": "expiresAt",
"type": "uint64"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"internalType": "struct IBet.BetData[]",
"name": "data",
"type": "tuple[]"
}
],
"name": "bet",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract ICoreBase",
"name": "core",
"type": "address"
},
{
"components": [
{
"internalType": "uint256",
"name": "conditionId",
"type": "uint256"
},
{
"internalType": "uint128",
"name": "amount",
"type": "uint128"
},
{
"internalType": "uint128",
"name": "outcome",
"type": "uint128"
}
],
"internalType": "struct IProxyFront.CalcOddsData[]",
"name": "data",
"type": "tuple[]"
}
],
"name": "calcOdds",
"outputs": [
{
"internalType": "uint64[]",
"name": "",
"type": "uint64[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "address",
"name": "core",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"internalType": "struct IProxyFront.WithdrawPayoutData[]",
"name": "data",
"type": "tuple[]"
}
],
"name": "withdrawPayouts",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]