Expand description
ABI encoding for Polymarket Conditional Token split, merge, and redeem calls.
Structs§
- Position
Call - Encoded collateral-adapter call for a position operation.
- merge
Positions Call - Function with signature
mergePositions(address,bytes32,bytes32,uint256[],uint256)and selector0x9e7212ad. - merge
Positions Return - Container type for the return parameters of the
mergePositions(address,bytes32,bytes32,uint256[],uint256)function. - redeem
Positions Call - Function with signature
redeemPositions(address,bytes32,bytes32,uint256[])and selector0x01b7037c. - redeem
Positions Return - Container type for the return parameters of the
redeemPositions(address,bytes32,bytes32,uint256[])function. - split
Position Call - Function with signature
splitPosition(address,bytes32,bytes32,uint256[],uint256)and selector0x72ce4275. - split
Position Return - Container type for the return parameters of the
splitPosition(address,bytes32,bytes32,uint256[],uint256)function.
Functions§
- collateral_
adapter - Returns the canonical collateral adapter for a standard or negative-risk market.
- encode_
merge_ positions - Encodes a
mergePositionscall foramountpUSD of complete sets. - encode_
redeem_ positions - Encodes a
redeemPositionscall for both binary index sets. - encode_
split_ position - Encodes a
splitPositioncall foramountpUSD.