ExtendedAdapter
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "ExtendedAdapter"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ExtendedAdapter"
ABI
ABI objects
Getter at block 22954018
COL() view returns (address)
0x0000000000000000000000000000000000000000
CTF() view returns (address)
0x0000000000000000000000000000000000000000
FEE_DENOMINATOR() view returns (uint256)
10000
NO_TOKEN_BURN_ADDRESS() view returns (address)
0xa5ef39c3d3e10d0b270233af41cac69796b12966
VAULT() view returns (address)
0x0000000000000000000000000000000000000000
WCOL() view returns (address)
0x0000000000000000000000000000000000000000
auth() view returns (address)
0x0000000000000000000000000000000000000000
implementation() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
balanceOf(address owner_, uint256 id_) view returns (uint256)
balanceOfBatch(address[] owners_, uint256[] ids_) view returns (uint256[])
getConditionId(bytes32 questionId_) view returns (bytes32 conditionId)
getDetermined(bytes32 _marketId) view returns (bool)
getFeeBips(bytes32 _marketId) view returns (uint256)
getMarketData(bytes32 _marketId) view returns (bytes32)
getMarketId(address oracle_, uint256 feeBips_, bytes metadata_) pure returns (bytes32)
getOracle(bytes32 _marketId) view returns (address)
getOutcomeSlotCount(bytes32 conditionId_) view returns (uint256)
getPositionId(bytes32 questionId_, bool outcome_) view returns (uint256 positionId)
getPositionIdFromCollection(bytes32 collectionId_) view returns (uint256 positionId)
getPositionIdFromCondition(bytes32 conditionId_, bool outcome_) view returns (uint256 positionId)
getQuestionCount(bytes32 _marketId) view returns (uint256)
getQuestionId(bytes32 marketId_, uint8 index_) pure returns (bytes32)
getRedeemedAmount(address account) view returns (uint256)
getResult(bytes32 _marketId) view returns (uint256)
redeemedAmounts(address account) view returns (uint256 amount)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events __NegRiskAdapter_init(address authModule_, address ctf_, address collateral_, address wrappedCollateral_, address vault_)
convertPositions(bytes32 marketId_, uint256 indexSet_, uint256 amount_)
mergePositions(address collateralToken_, bytes32, bytes32 conditionId_, uint256[], uint256 amount_)
mergePositions(bytes32 conditionId_, uint256 amount_)
onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
prepareMarket(uint256 feeBips_, bytes metadata_) returns (bytes32 marketId)
prepareQuestion(bytes32 marketId_, bytes metadata_) returns (bytes32)
redeemPositions(bytes32 conditionId_, uint256[] amounts_) returns (uint256)
redeemPositionsFor(address account_, bytes32 conditionId_, uint256[] amounts_) returns (uint256)
redeemPositionsForBatch(bytes32 conditionId_, address[] account_, uint256[][] amounts_) returns (uint256[] payouts_)
reportOutcome(bytes32 questionId_, bool outcome_)
safeBatchTransferFrom(address from_, address to_, uint256[] ids_, uint256[] values_, bytes data_)
safeTransferFrom(address from_, address to_, uint256 id_, uint256 value_, bytes data_)
splitPosition(address collateralToken_, bytes32, bytes32 conditionId_, uint256[], uint256 amount_)
splitPosition(bytes32 conditionId_, uint256 amount_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Initialized(uint8 version)
MarketPrepared(bytes32 indexed marketId, address indexed oracle, uint256 feeBips, bytes data)
OutcomeReported(bytes32 indexed marketId, bytes32 indexed questionId, bool outcome)
PayoutRedemption(address indexed redeemer, bytes32 indexed conditionId, uint256[] amounts, uint256 payout)
PositionSplit(address indexed stakeholder, bytes32 indexed conditionId, uint256 amount)
PositionsConverted(address indexed stakeholder, bytes32 indexed marketId, uint256 indexed indexSet, uint256 amount)
PositionsMerge(address indexed stakeholder, bytes32 indexed conditionId, uint256 amount)
QuestionPrepared(bytes32 indexed marketId, bytes32 indexed questionId, uint256 index, bytes data)
Upgraded(address indexed implementation)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
DeterminedFlagAlreadySet()
FeeBipsOutOfBounds()
IndexOutOfBounds()
InvalidIndexSet()
InvalidWrappedCollateralOwner(address owner, address expected)
InvalidWrappedCollateralUnderlying(address underlying, address expected)
LengthMismatch()
MarketAlreadyDetermined()
MarketAlreadyPrepared()
MarketNotPrepared()
NoConvertiblePositions()
NotApprovedForAll(address account, address opperator)
OnlyOracle()
Unauthorized(address caller, bytes32 role)
UnexpectedCollateralToken(address token, address expected)