PrimitiveManager
Verified contract
Active on
Ethereum with 2,512 txns
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 "PrimitiveManager"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20548043 | 3 months ago | | | 0 | 0.000024323000 | |
| 20548032 | 3 months ago | | | 0 | 0.000024239000 | |
| 19544183 | 8 months ago | | | 0 | 0.0046510090 | |
| 18754297 | a year ago | | | 0 | 0.0052646344 | |
| 17934599 | a year ago | | | 0 | 0.0011517371 | |
| 17482543 | a year ago | | | 0 | 0.0034875661 | |
| 17482511 | a year ago | | | 0 | 0.0039841401 | |
| 17482473 | a year ago | | | 0 | 0.0041154955 | |
| 17405370 | a year ago | | | 0 | 0.0040150623 | |
| 16982972 | 2 years ago | | | 0 | 0.0072994223 |
ABI
ABI objects
Getter at block 21256858
DOMAIN_SEPARATOR() view returns (bytes32)
0x494971f781f9b413b5c02bd38029a4c4f6e2171b8503047f2e569eced73bd503
WETH9() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
factory() view returns (address)
0x5ca2d631a37b21e5de2bcb0cbb892d723a96b068
positionDescriptor() view returns (address)
0xd4ea6381c0a7c9565fcdfa35c84a7939300176e7
Read-only
balanceOf(address account, uint256 id) view returns (uint256)
balanceOfBatch(address[] accounts, uint256[] ids) view returns (uint256[])
isApprovedForAll(address account, address operator) view returns (bool)
margins(address, address) view returns (uint128 balanceRisky, uint128 balanceStable)
nonces(address) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
uri(uint256 tokenId) view returns (string)
State-modifying
Events allocate(address recipient, bytes32 poolId, address risky, address stable, uint256 delRisky, uint256 delStable, bool fromMargin, uint256 minLiquidityOut) payable returns (uint256 delLiquidity)
allocateCallback(uint256 delRisky, uint256 delStable, bytes data)
create(address risky, address stable, uint128 strike, uint32 sigma, uint32 maturity, uint32 gamma, uint256 riskyPerLp, uint256 delLiquidity) payable returns (bytes32 poolId, uint256 delRisky, uint256 delStable)
createCallback(uint256 delRisky, uint256 delStable, bytes data)
deposit(address recipient, address risky, address stable, uint256 delRisky, uint256 delStable) payable
depositCallback(uint256 delRisky, uint256 delStable, bytes data)
multicall(bytes[] data) payable returns (bytes[] results)
permit(address owner, address operator, bool approved, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
refundETH() payable
remove(address engine, bytes32 poolId, uint256 delLiquidity, uint256 minRiskyOut, uint256 minStableOut) returns (uint256 delRisky, uint256 delStable)
safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data)
safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data)
selfPermit(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable
selfPermitAllowed(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable
selfPermitAllowedIfNecessary(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable
selfPermitIfNecessary(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable
setApprovalForAll(address operator, bool approved)
swap(struct ISwapManagerSwapParams params) payable
swapCallback(uint256 delRisky, uint256 delStable, bytes data)
sweepToken(address token, uint256 amountMin, address recipient) payable
unwrap(uint256 amountMin, address recipient) payable
withdraw(address recipient, address engine, uint256 delRisky, uint256 delStable)
wrap(uint256 value) payable
Allocate(address payer, address indexed recipient, address indexed engine, bytes32 indexed poolId, uint256 delLiquidity, uint256 delRisky, uint256 delStable, bool fromMargin)
ApprovalForAll(address indexed account, address indexed operator, bool approved)
Create(address indexed payer, address indexed engine, bytes32 indexed poolId, uint128 strike, uint32 sigma, uint32 maturity, uint32 gamma, uint256 delLiquidity)
Deposit(address indexed payer, address indexed recipient, address indexed engine, address risky, address stable, uint256 delRisky, uint256 delStable)
Remove(address indexed payer, address indexed engine, bytes32 indexed poolId, uint256 delLiquidity, uint256 delRisky, uint256 delStable)
Swap(address indexed payer, address recipient, address indexed engine, bytes32 indexed poolId, bool riskyForStable, uint256 deltaIn, uint256 deltaOut, bool fromMargin, bool toMargin)
TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)
TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)
URI(string value, uint256 indexed id)
Withdraw(address indexed payer, address indexed recipient, address indexed engine, address risky, address stable, uint256 delRisky, uint256 delStable)
constructor(address factory_, address WETH9_, address positionDescriptor_)
receive()
BalanceTooLowError(uint256 balance, uint256 requiredAmount)
DeadlineReachedError()
EngineNotDeployedError()
InvalidSigError()
LockedError()
MinLiquidityOutError()
MinRemoveOutError()
NotEngineError()
OnlyWETHError()
SigExpiredError()
TransferError()
WrongConstructorParametersError()
ZeroDelError()
ZeroLiquidityError()