@azuro-org/abis
Version:
ABIs for Azuro protocol smart-contracts
445 lines (444 loc) • 9.3 kB
JSON
[
{
"inputs": [],
"name": "TooLargeReinforcement",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "ReinforcementLimitChanged",
"type": "event"
},
{
"inputs": [],
"name": "access",
"outputs": [
{
"internalType": "contract IAccess",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "core",
"type": "address"
},
{
"internalType": "uint256[]",
"name": "conditionIds",
"type": "uint256[]"
}
],
"name": "cancelConditions",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256[]",
"name": "gameIds",
"type": "uint256[]"
}
],
"name": "cancelGames",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "core",
"type": "address"
},
{
"components": [
{
"internalType": "uint256",
"name": "conditionId",
"type": "uint256"
},
{
"internalType": "uint64",
"name": "margin",
"type": "uint64"
}
],
"internalType": "struct IProxyOracle.changeMarginData[]",
"name": "data",
"type": "tuple[]"
}
],
"name": "changeMargins",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "core",
"type": "address"
},
{
"components": [
{
"internalType": "uint256",
"name": "conditionId",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "odds",
"type": "uint256[]"
}
],
"internalType": "struct IProxyOracle.ChangeOddsData[]",
"name": "data",
"type": "tuple[]"
}
],
"name": "changeOdds",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint128",
"name": "reinforcementLimit_",
"type": "uint128"
}
],
"name": "changeReinforcementLimit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "core",
"type": "address"
},
{
"components": [
{
"internalType": "uint256",
"name": "conditionId",
"type": "uint256"
},
{
"internalType": "uint128",
"name": "reinforcement",
"type": "uint128"
}
],
"internalType": "struct IProxyOracle.changeReinforcementData[]",
"name": "data",
"type": "tuple[]"
}
],
"name": "changeReinforcements",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "checkOwner",
"outputs": [],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "core",
"type": "address"
},
{
"components": [
{
"internalType": "uint256",
"name": "gameId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "conditionId",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "odds",
"type": "uint256[]"
},
{
"internalType": "uint64[]",
"name": "outcomes",
"type": "uint64[]"
},
{
"internalType": "uint128",
"name": "reinforcement",
"type": "uint128"
},
{
"internalType": "uint64",
"name": "margin",
"type": "uint64"
},
{
"internalType": "uint8",
"name": "winningOutcomesCount",
"type": "uint8"
},
{
"internalType": "bool",
"name": "isExpressForbidden",
"type": "bool"
}
],
"internalType": "struct IProxyOracle.CreateConditionData[]",
"name": "data",
"type": "tuple[]"
}
],
"name": "createConditions",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "gameId",
"type": "uint256"
},
{
"internalType": "uint64",
"name": "startsAt",
"type": "uint64"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"internalType": "struct IProxyOracle.CreateGameData[]",
"name": "data",
"type": "tuple[]"
}
],
"name": "createGames",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "access_",
"type": "address"
},
{
"internalType": "address",
"name": "lp_",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "lp",
"outputs": [
{
"internalType": "contract ILP",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "core",
"type": "address"
},
{
"components": [
{
"internalType": "uint256",
"name": "conditionId",
"type": "uint256"
},
{
"internalType": "uint64[]",
"name": "winningOutcomes",
"type": "uint64[]"
}
],
"internalType": "struct IProxyOracle.ResolveConditionData[]",
"name": "data",
"type": "tuple[]"
}
],
"name": "resolveConditions",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "gameId",
"type": "uint256"
},
{
"internalType": "uint64",
"name": "startsAt",
"type": "uint64"
}
],
"internalType": "struct IProxyOracle.ShiftGameData[]",
"name": "data",
"type": "tuple[]"
}
],
"name": "shiftGames",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "core",
"type": "address"
},
{
"components": [
{
"internalType": "uint256",
"name": "conditionId",
"type": "uint256"
},
{
"internalType": "bool",
"name": "flag",
"type": "bool"
}
],
"internalType": "struct IProxyOracle.StopConditionData[]",
"name": "data",
"type": "tuple[]"
}
],
"name": "stopConditions",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]