PrimitiveManager

Verified contract

Active on Ethereum with 2,512 txns
Deployed by via 0x16abc583 at 14438081
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "PrimitiveManager"

0xf5972094e310c617c1a5a7d5f92104fb1bcd9848a46706660ce3f69c382bffa5
0x6ed14e24811a8b4f4ee76f8bf9db7b07423ea6c5ce80d451ce4aaf3488713e35
0xd4bf498d43d623d08baa3a547f69711d4195e020545551a70d9826be748de6df
0xcc5e72ad7d45ff0379af715ba0e8d805598b3e509e912467c3354dbe5f576246
0x8de1d0497aedbbeca229e7592f6d322ae98c597b737ad43e79fd13a2f637c595
From
0x5f63b5ff0cc5e84e3076773d82bc0e7b33d3a1d5a9a6759018aec55525105914
0xd644478cf260bb6e2a9bfb275843228bf113591cdc973a5b131752cc93344db0
0x8809d9605dc835611ba5cbd1493e92941e3feee4a2dc43d99b3966256ee26bfd
0xa4c8c8830dcf8b36166f30ea5cda68bb8e6c3eb1e25d036cdac88f06b3bd5a47
0xffeca98a25c7f53336bd0bc7d7c7c7318699b2debe8d51381de4eb4330893e51

Functions
Getter at block 21159959
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 accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
isApprovedForAll(address accountaddress operatorview returns (bool)
margins(addressaddressview returns (uint128 balanceRiskyuint128 balanceStable)
nonces(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
uri(uint256 tokenIdview returns (string)
State-modifying
allocate(address recipientbytes32 poolIdaddress riskyaddress stableuint256 delRiskyuint256 delStablebool fromMarginuint256 minLiquidityOutpayable returns (uint256 delLiquidity)
allocateCallback(uint256 delRiskyuint256 delStablebytes data
create(address riskyaddress stableuint128 strikeuint32 sigmauint32 maturityuint32 gammauint256 riskyPerLpuint256 delLiquiditypayable returns (bytes32 poolIduint256 delRiskyuint256 delStable)
createCallback(uint256 delRiskyuint256 delStablebytes data
deposit(address recipientaddress riskyaddress stableuint256 delRiskyuint256 delStablepayable 
depositCallback(uint256 delRiskyuint256 delStablebytes data
multicall(bytes[] datapayable returns (bytes[] results)
permit(address owneraddress operatorbool approveduint256 deadlineuint8 vbytes32 rbytes32 s
refundETH(payable 
remove(address enginebytes32 poolIduint256 delLiquidityuint256 minRiskyOutuint256 minStableOutreturns (uint256 delRiskyuint256 delStable)
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] amountsbytes data
safeTransferFrom(address fromaddress touint256 iduint256 amountbytes data
selfPermit(address tokenuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 spayable 
selfPermitAllowed(address tokenuint256 nonceuint256 expiryuint8 vbytes32 rbytes32 spayable 
selfPermitAllowedIfNecessary(address tokenuint256 nonceuint256 expiryuint8 vbytes32 rbytes32 spayable 
selfPermitIfNecessary(address tokenuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 spayable 
setApprovalForAll(address operatorbool approved
swap(struct ISwapManagerSwapParams paramspayable 
swapCallback(uint256 delRiskyuint256 delStablebytes data
sweepToken(address tokenuint256 amountMinaddress recipientpayable 
unwrap(uint256 amountMinaddress recipientpayable 
withdraw(address recipientaddress engineuint256 delRiskyuint256 delStable
wrap(uint256 valuepayable 
Events
Allocate(address payeraddress indexed recipientaddress indexed enginebytes32 indexed poolIduint256 delLiquidityuint256 delRiskyuint256 delStablebool fromMargin
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
Create(address indexed payeraddress indexed enginebytes32 indexed poolIduint128 strikeuint32 sigmauint32 maturityuint32 gammauint256 delLiquidity
Deposit(address indexed payeraddress indexed recipientaddress indexed engineaddress riskyaddress stableuint256 delRiskyuint256 delStable
Remove(address indexed payeraddress indexed enginebytes32 indexed poolIduint256 delLiquidityuint256 delRiskyuint256 delStable
Swap(address indexed payeraddress recipientaddress indexed enginebytes32 indexed poolIdbool riskyForStableuint256 deltaInuint256 deltaOutbool fromMarginbool toMargin
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
Withdraw(address indexed payeraddress indexed recipientaddress indexed engineaddress riskyaddress stableuint256 delRiskyuint256 delStable
Constructor
constructor(address factory_address WETH9_address positionDescriptor_
Fallback and receive
receive(
Errors
BalanceTooLowError(uint256 balanceuint256 requiredAmount
DeadlineReachedError(
EngineNotDeployedError(
InvalidSigError(
LockedError(
MinLiquidityOutError(
MinRemoveOutError(
NotEngineError(
OnlyWETHError(
SigExpiredError(
TransferError(
WrongConstructorParametersError(
ZeroDelError(
ZeroLiquidityError(