Description of events issued by protocol contracts
event NewBet(
address indexed owner,
uint256 indexed betId,
uint256 indexed conditionId,
uint64 outcomeId,
uint128 amount,
uint256 odds,
uint128 fund1,
uint128 fund2
);
NewBet issued by bet(), betFor()
event BetterWin(address indexed better, uint256 tokenId, uint256 amount);
BetterWin issued by withdrawPayout()
event LiquidityAdded(address indexed account, uint256 amount, uint48 leaf);
LiquidityAdded issued by addLiquidity(), addLiquidityNative()
event LiquidityRemoved(address indexed account, uint256 amount);
LiquidityRemoved issued by withdrawLiquidity(), withdrawLiquidityNative()
event OracleRewardChanged(uint128 newOracleFee);
event DaoRewardChanged(uint128 newDaoFee);
event AzuroBetChanged(address newAzuroBet);
event PeriodChanged(uint64 newPeriod);
event MinDepoChanged(uint128 newMinDepo);
event WithdrawTimeoutChanged(uint64 newWithdrawTimeout);
event ReinforcementAbilityChanged(uint128 newReinforcementAbility);
event ConditionCreated(
uint256 indexed oracleConditionId,
uint256 indexed conditionId,
uint64 timestamp
);
ConditionCreated issued by createCondition()
event ConditionResolved(
uint256 indexed oracleConditionId,
uint256 indexed conditionId,
uint64 outcomeWin,
uint8 state,
uint256 amountForLp
);
ConditionResolved issued by resolveCondition(), cancelByOracle(), cancelByMaintainer()