IERC20
transferFrom
function transferFrom(address from, address to, uint256 amount) external returns (bool)
transfer
function transfer(address to, uint256 amount) external returns (bool)
approve
function approve(address spender, uint256 amount) external returns (bool)
balanceOf
function balanceOf(address owner) external returns (uint256)
totalSupply
function totalSupply() external view returns (uint256)
IRealityETH_v3_0
askQuestionWithMinBond
function askQuestionWithMinBond(uint256 template_id, string question, address arbitrator, uint32 timeout, uint32 opening_ts, uint256 nonce, uint256 min_bond) external payable returns (bytes32)
resultForOnceSettled
function resultForOnceSettled(bytes32 question_id) external view returns (bytes32)
getContentHash
function getContentHash(bytes32 question_id) external view returns (bytes32)
getTimeout
function getTimeout(bytes32 question_id) external view returns (uint32)
submitAnswer
function submitAnswer(bytes32 question_id, bytes32 answer, uint256 max_previous) external payable
IConditionalTokens
payoutNumerators
function payoutNumerators(bytes32 conditionId, uint256 index) external view returns (uint256)
payoutDenominator
function payoutDenominator(bytes32 conditionId) external view returns (uint256)
prepareCondition
function prepareCondition(address oracle, bytes32 questionId, uint256 outcomeSlotCount) external
reportPayouts
function reportPayouts(bytes32 questionId, uint256[] payouts) external
splitPosition
function splitPosition(address collateralToken, bytes32 parentCollectionId, bytes32 conditionId, uint256[] partition, uint256 amount) external
mergePositions
function mergePositions(address collateralToken, bytes32 parentCollectionId, bytes32 conditionId, uint256[] partition, uint256 amount) external
redeemPositions
function redeemPositions(address collateralToken, bytes32 parentCollectionId, bytes32 conditionId, uint256[] indexSets) external
getConditionId
function getConditionId(address oracle, bytes32 questionId, uint256 outcomeSlotCount) external pure returns (bytes32)
getCollectionId
function getCollectionId(bytes32 parentCollectionId, bytes32 conditionId, uint256 indexSet) external view returns (bytes32)
getPositionId
function getPositionId(address collateralToken, bytes32 collectionId) external pure returns (uint256)
getOutcomeSlotCount
function getOutcomeSlotCount(bytes32 conditionId) external view returns (uint256)
safeTransferFrom
function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes data) external
balanceOf
function balanceOf(address owner, uint256 id) external view returns (uint256)
IWrapped1155Factory
requireWrapped1155
function requireWrapped1155(address multiToken, uint256 tokenId, bytes data) external returns (contract IERC20)
unwrap
function unwrap(address multiToken, uint256 tokenId, uint256 amount, address recipient, bytes data) external